<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Oracle on Alok Regmi</title>
		<link>https://alokregmi.com/tags/oracle/</link>
		<description>Recent content in Oracle on Alok Regmi</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Tue, 18 Aug 2020 07:54:57 +0545</lastBuildDate>
		
			<atom:link href="https://alokregmi.com/tags/oracle/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>RA</title>
				<link>https://alokregmi.com/braindump/2020/08/ra/</link>
				<pubDate>Tue, 18 Aug 2020 07:54:57 +0545</pubDate>
				<guid>https://alokregmi.com/braindump/2020/08/ra/</guid>
				<description>&lt;h2 id=&#34;basic-terminologies&#34;&gt;Basic terminologies:&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Dimensions&lt;/li&gt;&#xA;&lt;li&gt;Facts&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;table-and-table-naming-conventions&#34;&gt;Table and table naming conventions&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;initial 3 letter prefix: DWH, ODS etc.&lt;/li&gt;&#xA;&lt;li&gt;Content: e.g. PRD, SLS&lt;/li&gt;&#xA;&lt;li&gt;Dimension or Fact: D, F&lt;/li&gt;&#xA;&lt;li&gt;Granularity : Department, day/week etc.&lt;/li&gt;&#xA;&lt;li&gt;Suffix as use case: Lookup vs Base Vs Aggregate vs Matrix&lt;/li&gt;&#xA;&lt;li&gt;Naming: data region + dimension_or_fact + content + granularity + usage&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;column-naming&#34;&gt;Column naming:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Naming: Attribute or measure  + data type&lt;/li&gt;&#xA;&lt;li&gt;Attribute: Price etc.&lt;/li&gt;&#xA;&lt;li&gt;Data type: KEY, ID, DESC&lt;/li&gt;&#xA;&lt;li&gt;Maintenance columns: insert timestamp, update, close, close_dt&lt;/li&gt;&#xA;&lt;li&gt;Business calendar: 4-4-5 or 4-5-4 or 5-4-4 and 13 period calendar.&lt;/li&gt;&#xA;&lt;li&gt;Matrices are designated with MTX suffix.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;dimension-tables&#34;&gt;Dimension Tables:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Examples of naming:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;DWH_D_TIM_YR_LU : data warehouse, dimension table, timestamp, year, Lookup&lt;/li&gt;&#xA;&lt;li&gt;CURR_TIM : curr timestamp&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;!--list-separator--&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Some examples&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Organization Dimension:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;company &amp;gt; chain &amp;gt; area &amp;gt; region &amp;gt; district &amp;gt; location&lt;/li&gt;&#xA;&lt;li&gt;dimension tables: center, market area, market statistics area, converted location,&#xA;location_day_attr, week attribute, history attribute,&#xA;commercial_invoice attri, omni channel attri, location outage,&#xA;location group matrix etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Product dimension:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;division &amp;gt; group &amp;gt; department &amp;gt; class &amp;gt; subclass&lt;/li&gt;&#xA;&lt;li&gt;other: style, color, size, item,&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Supplier and Partner:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Supplier, supplier trait, trait matrix, partner matrix&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Customer:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;customer, customer rfmp, household&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>ODI</title>
				<link>https://alokregmi.com/braindump/2020/04/odi/</link>
				<pubDate>Sun, 19 Apr 2020 16:00:19 +0545</pubDate>
				<guid>https://alokregmi.com/braindump/2020/04/odi/</guid>
				<description>&lt;ul&gt;&#xA;&lt;li&gt;Full package for ETL&lt;/li&gt;&#xA;&lt;li&gt;Automation tool: UC4&lt;/li&gt;&#xA;&lt;li&gt;RMS Server&lt;/li&gt;&#xA;&lt;li&gt;Database&#xA;&lt;ul&gt;&#xA;&lt;li&gt;These work together; ODI isn&amp;rsquo;t standalone.&lt;/li&gt;&#xA;&lt;li&gt;All stuffs may be installed in the same RMS server.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;jobs&#34;&gt;Jobs&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Handled by (ksh) scripts to run different jobs&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;uc4&#34;&gt;UC4&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Scheduler&lt;/li&gt;&#xA;&lt;li&gt;Agent: defined in uc4 to connect to RMS server.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;defines path of scripts&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;odi-agent&#34;&gt;ODI agent&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Connect between server &amp;amp; ODI&lt;/li&gt;&#xA;&lt;li&gt;Can also automate UC4 tasks in newer versions.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;architecture&#34;&gt;Architecture&lt;/h2&gt;&#xA;&lt;h3 id=&#34;design&#34;&gt;Design&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Mapping&lt;/li&gt;&#xA;&lt;li&gt;Transform&lt;/li&gt;&#xA;&lt;li&gt;Making of Project&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;operator&#34;&gt;Operator&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Logging&lt;/li&gt;&#xA;&lt;li&gt;Status of jobs&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;topology&#34;&gt;Topology&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Defining connections : physical and logical&lt;/li&gt;&#xA;&lt;li&gt;Physical connections ==&amp;gt; Mapped to logical connections&lt;/li&gt;&#xA;&lt;li&gt;Data model ==&amp;gt; Map table columns to table columns and so on.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;!--list-separator--&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Data Models&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sub Folders and data stores&lt;/li&gt;&#xA;&lt;li&gt;Reversing: Ability to sync between data models and database tables&lt;/li&gt;&#xA;&lt;li&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>Warehouse</title>
				<link>https://alokregmi.com/braindump/2020/04/warehouse/</link>
				<pubDate>Sun, 19 Apr 2020 15:59:59 +0545</pubDate>
				<guid>https://alokregmi.com/braindump/2020/04/warehouse/</guid>
				<description>&lt;p&gt;Basic terminologies:&lt;/p&gt;&#xA;&lt;p&gt;Dimensions&#xA;Facts&lt;/p&gt;&#xA;&lt;h2 id=&#34;table-and-table-naming-conventions&#34;&gt;Table and table naming conventions&lt;/h2&gt;&#xA;&lt;p&gt;initial 3 letter prefix: DWH, ODS etc.&#xA;Content: e.g. PRD, SLS&#xA;Dimension or Fact: D, F&#xA;Granularity : Department, day/week etc.&#xA;Suffix as use case: Lookup vs Base Vs Aggregate vs Matrix&#xA;Naming: data region + dimension_or_fact + content + granularity + usage&lt;/p&gt;&#xA;&lt;h2 id=&#34;column-naming&#34;&gt;Column naming:&lt;/h2&gt;&#xA;&lt;p&gt;Naming: Attribute or measure  + data type&#xA;Attribute: Price etc.&#xA;Data type: KEY, ID, DESC&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Maintenance columns: insert timestamp, update, close, close_dt&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Business calendar: 4-4-5 or 4-5-4 or 5-4-4 and 13 period calendar.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Matrices are designated with MTX suffix.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>obiee</title>
				<link>https://alokregmi.com/braindump/2020/04/obiee/</link>
				<pubDate>Sun, 19 Apr 2020 15:59:53 +0545</pubDate>
				<guid>https://alokregmi.com/braindump/2020/04/obiee/</guid>
				<description>&lt;h2 id=&#34;steps&#34;&gt;Steps&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Catalog &amp;ndash;&amp;gt; Get to columns and filters.&lt;/li&gt;&#xA;&lt;li&gt;Change defaults tab to criteria&lt;/li&gt;&#xA;&lt;li&gt;save as&lt;/li&gt;&#xA;&lt;li&gt;give a proper name for result&lt;/li&gt;&#xA;&lt;li&gt;change all columns and  filters as necessary.&lt;/li&gt;&#xA;&lt;li&gt;save again&lt;/li&gt;&#xA;&lt;li&gt;go to results then.&lt;/li&gt;&#xA;&lt;li&gt;export results.&#xA;if &amp;gt; 2500 : export to csv.&lt;/li&gt;&#xA;&lt;li&gt;Edit the sheet&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;rms-sales-recon&#34;&gt;RMS Sales recon&lt;/h2&gt;&#xA;&lt;h3 id=&#34;tran-data&#34;&gt;Tran data&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In tran_data we have item, units, tran_code as major fields.&lt;/li&gt;&#xA;&lt;li&gt;if it belongs to a pack, then it has a ref_pack_no which is a packitem object.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;packitem&#34;&gt;Packitem&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It has pack_no and seq_no as main fields: seq_no for multiple items in a pack&#xA;and make it unique.&lt;/li&gt;&#xA;&lt;li&gt;it has item inside it&lt;/li&gt;&#xA;&lt;li&gt;item_parent if available.&lt;/li&gt;&#xA;&lt;li&gt;either item has to be there or item_parent has to be there. Both can&amp;rsquo;t be null.&lt;/li&gt;&#xA;&lt;li&gt;pack_qty has quantity of items.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;packitem-breakout&#34;&gt;Packitem breakout&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;pack may contain a pack, if so the nested pack and it&amp;rsquo;s items are inside&#xA;packitem breakout table.&lt;/li&gt;&#xA;&lt;li&gt;similar to packitem&lt;/li&gt;&#xA;&lt;li&gt;COMP_PACK_NO: Contains the inner pack item number if a pack item is added to an outer pack.&lt;/li&gt;&#xA;&lt;li&gt;COMP_PACK_QTY: This field is null if comp_pack_no is not populated. Else if comp_pack_no is&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;populated then this field contains the quantity of comp_pack_no in a pack_no.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
