{"id":54,"date":"2005-02-24T08:54:28","date_gmt":"2005-02-24T15:54:28","guid":{"rendered":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/?p=54"},"modified":"2005-02-24T08:54:28","modified_gmt":"2005-02-24T15:54:28","slug":"psoug-owb-lecture-datamart-in-90-minutes","status":"publish","type":"post","link":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/2005\/02\/24\/psoug-owb-lecture-datamart-in-90-minutes\/","title":{"rendered":"PSOUG OWB LECTURE : DATAMART IN 90 MINUTES"},"content":{"rendered":"<p>I recently did some training on OWB at my local <a href=\"http:\/\/www.psoug.org\">PSOUG<\/a> user group, which is not your &#8220;run of the mill&#8221; user group.  Their focus on peer to peer education and quality, technical presenations makes this group stand out in my mind.  If you are in the Puget Sound area (the greater Seattle, WA area for those not familiar with US regional geography) you should definitely check out the meetings.  The handout from the meeting is here (<a href=\"\/entry_images\/psoug_feb23.pdf\">PDF<\/a>, <a href=\"\/entry_images\/PSOUG-Feb-23-2005.doc\">Word<\/a>).  Watch for an email about an OWB course at the PSOUG lab!<\/p>\n<p>I promised those in attendance that I would post some notes so that you can do the same excercise.  Here are those promised notes, and I hope you find it useful to get you ready and in a state ready to &#8220;recreate&#8221; the excercise.  Please <a href=\"mailto:ngoodman@bayontechnologies.com\">email me<\/a> with any questions you might have, or if you are planning a Data Warehouse or Data Mart using OWB.  I&#8217;d love to help out by providing additional coaching, solution planning, or actual implementation.<\/p>\n<p>Step 1 : Install Oracle Database 10g<\/p>\n<blockquote><p>\nWe assume you know how to install Oracle software and how to use DBCA to create a database.  Download the Oracle DB 10g release 1 from OTN <a href=\"http:\/\/www.oracle.com\/technology\/software\/products\/database\/oracle10g\/index.html\">here<\/a>.  Follow the instructions to install the product onto your machine.  During the process (or after using DBCA) create a database using the Data Warehouse Template, and <b>make sure and install the sample schemas<\/b>.\n<\/p><\/blockquote>\n<p>Step 2 : Install Oracle Warehouse Builder 10g<\/p>\n<blockquote><p>\nThere&#8217;s not a lot to do at this point.  Download <a href=\"http:\/\/www.oracle.com\/technology\/software\/products\/warehouse\/index.html\">OWB from OTN<\/a>, and follow the instructions on the screen and install OWB into a <b>SEPERATE ORACLE HOME.<\/b>\n<\/p><\/blockquote>\n<p>Step 3 : Create an OWB Design Repository<\/p>\n<blockquote><p>\nRun the following program from your OWB installation ($ORACLE_HOME\/owb\/bin\/unix\/reposinst.sh (or if you&#8217;re on windows run %ORACLE_HOME\\owb\\bin\\win32\\reposinst.bat).<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owbrep_welcome.jpg\"><br \/>\nClick &#8220;Next&#8221;<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_step2.jpg\"><br \/>\nEnter your sys username, password, Service name, and port number<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_step3.jpg\"><br \/>\nSelect &#8220;Create a new Warehouse Builder Repository&#8221;<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_step4.jpg\"><br \/>\nCreate and install into a new user<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_step5.jpg\"><br \/>\nCall it OWB_REP and give it an easy password<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_step6.jpg\"><br \/>\nThe default tablespaces are usually fine, but if you have installed your db differently feel free to change these.<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_step7.jpg\"><br \/>\nAmerican English is fine in most circumstances and for this demo<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_step8.jpg\"><br \/>\nReview the information for correctness and then click &#8220;Finish&#8221;<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_installation_progress.jpg\"><br \/>\nHopefully you&#8217;re watching this work and<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_success.jpg\"><br \/>\nget one of these.  You&#8217;ve installed an OWB DESIGN REPOSITORY into your database.\n<\/p><\/blockquote>\n<p>Step 4 : Create an OWB Runtime Repository<\/p>\n<blockquote><p>\nRun $ORACLE_HOME\/owb\/bin\/unix\/runtimeinst.sh (or corresponding file for windows)<br \/>\nEnter in your sys information (sys\/password\/singapore\/1521\/bdev.bayontechnologies.com)<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step1.jpg\"><br \/>\nSelect Runtime Repository<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step2.jpg\"><br \/>\nSelect Create New Warehouse Builder Repository<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step3.jpg\"><br \/>\nCreate and install into a new schema<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step4.jpg\"><br \/>\nEnter in owb_rt and an easy password twice<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step5.jpg\"><br \/>\nThe warnings are nothing major&#8230; click OK<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step6.jpg\"><br \/>\nDefault Tablespaces are fine<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step7.jpg\"><br \/>\nInstall a new runtime access user<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step8.jpg\"><br \/>\nEnter in owb_user and an easy password twice<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step9.jpg\"><br \/>\nPort number is fine (very few people actually use the name\/address cleansing and it costs extra)<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step10.jpg\"><br \/>\nReview and Click Finish<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step11.jpg\"><br \/>\nClick &#8220;Yes&#8221; to create a target schema<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step12.jpg\"><br \/>\nSelect Target Schema<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step13.jpg\"><br \/>\nCreate a new OWB Target Schema<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step14.jpg\"><br \/>\nThis is the Runtime Repository we just created, owb_rt\/password<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step15.jpg\"><br \/>\nCreate and install into New user schema<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step16.jpg\"><br \/>\nowb_tst\/easy password twice<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step17.jpg\"><br \/>\nClick OK again on the warning<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step18.jpg\"><br \/>\nDefault tablespaces are fine<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step19.jpg\"><br \/>\nReview and click Finish<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owb_rt_step20.jpg\"><br \/>\nYou&#8217;ve successfully created a runtime repository and a target schema to deploy your test OWB objects to!\n<\/p><\/blockquote>\n<p>Step 5 : Install OWF 2.6.3<\/p>\n<blockquote><p>\nDownload OWF Server from OTN <a href=\"http:\/\/www.oracle.com\/technology\/software\/htdocs\/devlic.html?http:\/\/www.oracle.com\/technology\/software\/products\/workflow\/htdocs\/linuxsoft.html\">here<\/a>.<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owf_step1.jpg\"><br \/>\nClick &#8220;Next&#8221;<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owf_step2.jpg\"><br \/>\nThis is really important&#8230; You must use your database 10g home for installation<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owf_step3.jpg\"><br \/>\nSelect &#8220;Oracle Workflow&#8221;<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owf_step4.jpg\"><br \/>\nReview and Click Install<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owf_step5.jpg\"><br \/>\nNow run $ORACLE_HOME\/wf\/install\/wfinstall.csh (or corresponding .bat if windows)<br \/>\nInstall into OWF_MGR, Install, your connection info (bdev, singapore, singapore:1521:bdev.bayontechnologies.com) (LocalName TNSNames, hostname, JDBC string)<br \/>\n<img decoding=\"async\" src=\"\/entry_images\/owf_config_step1.jpg\"><br \/>\nUsing the SYSDBA account grant execute any procedure to OWF MGR<\/p>\n<pre>\nSQL&gt; grant execute any procedure to owf_mgr;\nGrant succeeded.\n<\/pre>\n<\/blockquote>\n<p>Step  6 : Unlock the SCOTT account by running the following script as SYSDBA<\/p>\n<blockquote>\n<pre>\nSQL&gt; alter user scott account unlock;\nUser altered.\n<\/pre>\n<\/blockquote>\n<p>Step  7 : Allow OWB_TST to select from SCOTT tables<\/p>\n<blockquote>\n<pre>\ngrant select on emp to PUBLIC;\ngrant select on dept to PUBLIC;\ngrant select on salgrade to PUBLIC;.\n<\/pre>\n<\/blockquote>\n<p>Step 8 : Get the demo materials<\/p>\n<blockquote><p>\nDownload the following items which were used during the demonstration:<\/p>\n<ul>\n<li><a href=\"\/entry_images\/payroll_data_thru2004.csv\">Example payroll company data file, Comma Seperated<\/a>\n<li><a href=\"\/entry_images\/payroll_detail_thru2004.txt\">Example payroll company data file, Tab Seperated<\/a>\n<li><a href=\"\/entry_images\/tid_bits.sql\">SQL I was running through the presentation<\/a>\n<li><a href=\"\/entry_images\/psoug_feb23.mdl\"> The finished datamart that you can import into OWB if you get stuck <\/a>\n<li><a href=\"\/entry_images\/datamodel.gif\"> Model of the source data and the star schema we&#8217;re creating<\/a>\n<\/ul>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I recently did some training on OWB at my local PSOUG user group, which is not your &#8220;run of the mill&#8221; user group. Their focus on peer to peer education and quality, technical presenations makes this group stand out in my mind. If you are in the Puget Sound area (the greater Seattle, WA area [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/posts\/54"}],"collection":[{"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":0,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}