0% found this document useful (0 votes)
62 views2 pages

BI Apps Foreign & Primary Keys

Out of the box BI Apps does not define foreign keys or primary keys on dimension and fact tables because the data is stored in a star schema optimized for analysis. For custom facts, the user will need to create primary and foreign keys to link the custom fact table to the dimension tables. Dimension tables have a single primary key that is used to join each dimension to the corresponding fact tables and any associated hierarchy tables. The star schema design was chosen to best support the analysis requirements of Oracle BI applications.

Uploaded by

Asad Hussain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views2 pages

BI Apps Foreign & Primary Keys

Out of the box BI Apps does not define foreign keys or primary keys on dimension and fact tables because the data is stored in a star schema optimized for analysis. For custom facts, the user will need to create primary and foreign keys to link the custom fact table to the dimension tables. Dimension tables have a single primary key that is used to join each dimension to the corresponding fact tables and any associated hierarchy tables. The star schema design was chosen to best support the analysis requirements of Oracle BI applications.

Uploaded by

Asad Hussain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

9/22/2016

Document1144113.1

BIAppsForeginKeysAndPrimaryKeys(DocID1144113.1)
InthisDocument
Goal
Solution

ThisdocumentisbeingdeliveredtoyouviaOracleSupport'sRapidVisibility(RaV)processandthereforehasnotbeen
subjecttoanindependenttechnicalreview.

APPLIESTO:
BusinessIntelligenceServerEnterpriseEditionVersion:10.1.3.4.1[1900]andlater[Release:andlater]
Informationinthisdocumentappliestoanyplatform.

GOAL
===ODMQuestion===
Question1
=========
OutoftheboxBIAppsdoesnothaveforeignkeysorprimarykeysdefinedonfactsanddimensions.IsitOKifwegoahead
andcreatethesekeys?
Question2
========
Creatingsuchkeys(Pk,Fk)oncustomfactsneedtocheckifthisisneeded,recommendedornot.

SOLUTION
===ODMAnswer===
Answer1
======
Dimensiontableshaveasingleprimarykeyjoinedtothefacttable
Uniquenumerickey(ROW_WID)foreachdimensiontableisgeneratedduringtheloadprocess.
Keyisusedto:
joineachdimensiontablewithitscorrespondingfacttables
jointhedimensionwithanyassociatedhierarchyorextensiontable
TheOBAWdatamodelwasdesignedusingdimensionalmodelingtechniquetosupportanalysisrequirementofOracleBusiness
Intelligence(BI)applications.Thestarschemaisoptimizedfordetailedanalysis.InOBAW,datastoredinprebuiltstar
schema.
StarSchema:
Isademoralizedformatthatismoreeffectiveforqueryprocessing
IspopulatedbyETLprocess
Iscomposedof:
Onefactable
Asetofdimensiontables
Thejoinsthatrelatethedimensiontablestothefacttable
SoforOOTBtables,thereisnoneedtocreatePK,FKseparatelyforthese.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=s6607364d_126&id=1144113.1

1/2

9/22/2016

Document1144113.1

Answer2
======
Forcustomfactsuserwillneedtocreatethekeys.
Didn'tfindwhatyouarelookingfor?

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=s6607364d_126&id=1144113.1

2/2

You might also like