Multiple star or snow flake schema for universe
Hi,
I would like to know following things
1. Can we use more than one star or snow flake schema for an universe? and how to do this?
2. Using multiple shemas for one universe is it good practice or not?
Regards,
Manjunath
Manjunath,
This is exactly where BusinessObjects excels.
When dealing with multiple fact tables, you use contexts.
Contexts are very simple to understand and you must take your time to do so if you are going to successfully develop universes based on more than one fact table. No matter what universe you build, the rule for contexts is always the same; there are no different circumstances based on, say, industry.
Each context starts with a base table, typically a fact table, where all its joins are at the many end of the relationship. The joins are then followed out through the joined tables up other joins where they in turn are at the many end, as in a snowflake schema.
For example, consider the very basic schema below:
D1 -< D2 -< F1 >- D3 -< F2 >- D4
There are two tables that only have many joins attached to them - F1 and F2.
Starting with F1, I can move to D2. I can also move from there to D1. In the other direction, I can move from F1 to D3. However, I cannot move from D3 to F2 because the join cardinalities are in the wrong direction. So, I've found all the joins that belong in the first context. They are D1-D2, D2-F1 and F1-D3. By the same process, I will get to the second context containing joins D3-F2 and F2-D4.
It doesn't work well with many-to-many joins, but you really shouldn't be facing these in a well-designed multi-star.
As for one-to-one joins, set the cardinality as one-to-many in the direction that you know the relationship should be in for the ownership to work out correctly..
The process that I've described above is essentially how the Detect Contexts algorithm works.
The only remaining thing for you to read up on is the SQL parameters but essentially you need ot be able to select multiple contexts and generate multiple sql statements for each context. Otherwise, what's the point in defining them?!!
Hope that clears it up for you.
Regards,
Mark
Similar Messages
-
Question for integration star and snow flake schema in data warehouse
Dear Reader,
I facing a problem like that
I have two data warehouse, one use star schema, other use snow flake schema. I would like to integrate both of them into one data warehouse. What is the strategy should these two data warehouse adopt in order to integrate int one data warehouse?
Should I scrap both data warehouse and build a new one instead, or scrap one of them and use the other?
What factors should be considered in order for me to more easily resolve the differences between the two data warehouses.
Please advise. Thank you very much.Hi Mallis,
This is a very broad question and the answer depends on so many factors. Please go through the following articles to get an
understanding of what the differences are when to use which.
When do you use a star schema and when to use a snowflake schema -
http://www.information-management.com/news/10000243-1.html
Star vs Snowflake Schemas – what’s your belief? –
http://www.networkworld.com/community/blog/star-vs-snowflake-schemas-%E2%80%93-what%E2%80%99s-your-belie
Hope this helps! -
Snow flake schema to star schema
Hi Gurus,
I am having a snow flake schema how can i turn it into star schema.
thanks,
kumarIn Obiee You can use multiple table source and join 2 tables abd make as singel table.
EX A->B->C
Now we need to join B,C and call it D. Then A->D is star Schema.
Steps is. Join B and C in the physical layer. join B to A Drop B into the Logical layer, Now Drop C on top od the B.
Table B wil get all the column from C. Here it wont create 2 sources, It will look like single source only.
IN the column mapping you can mpa the column to desired physical table.
Later as usula you can join B and A in logical layer.
Get A and B into presentaion layer.
mak if correct/helpful
fiaz -
Star schema and snow flake schema
can any one tell star schema is better or snow flake schema is better why
thx in advanceHi,
Difference : http://www.diffen.com/difference/Snowflake_Schema_vs_Star_Schema
When it comes to OBIEE star schema will be easy to configure because it don't involve much tables where as snow flake schema need to denormalize the tables in BMM layer to get the desired model but again it all depends on how your system was designed
HR schema which is more like a snow-flake schema structure
Refer http://www.varanasisaichand.com/2012/05/denormalizing-physical-tables-in-bmm.html
Thanks,
Saichand -
Hi Experts,
Can any one post few scenarios regarding Implementation of snow flake schema which can not be converted to star schema in BMM layer for better under standing about schemas. I searched my blogs but i did not found exact answer.
Regards,
RafiRafi,
Check these links
http://iniu.net/content/obiee-define-star-schema-over-snowflake-data-model-data-source
http://www.varanasisaichand.com/2012/05/denormalizing-physical-tables-in-bmm.html
http://majendi.blogspot.com/2009/01/obiee-snowflakes-and-stars-part-3.html
http://blogs.datadirect.com/2012/02/obiee-oracle-business-intelligence-integration-with-salesforce-com-crm-and-database-com-via-odbc.html
In general if you follow the OBI best practices you never get snowflake schema in BMM layer.
If helps pls mark -
anybody give me some knowledge about snow flake schema.
in which type of situations,useually snow flake schema creates in data model.
can you please provide me with example?
Thanks in Advance.In case of large dimesnsion, we will split them to smaller dimensions, this is to make the table better manageable.
Let's take an example you have a Dimension table which stores the information about the shop details, you may have a seperate dimension table which hold the dempgraphic information of the sales area this provide the logical separation of data.
You have to decide based on your data and requirement whether to go for snowflake or Star.
If you have snowflake defined, will be flattened the same in the logical layer of OBIEE.
Thanks,
Vino -
How to make snow flake schema to star in Business layer
i have snow flake data model.
anybody tell me how can i convert that snow flake to star by doing the adding multiple sources to a dimention.
how to do the joins with 2 dimention tables in the business layerHi
we can do that for example we have dimension table that connected with another dimension table in physical layer
solution- create one new dimension table in bmm layer and drag the columns from two dimension table which in physical layer and give the join condition it ll work,...
Regards
prabhu haridass -
URGENT MODELING SNOW FLAKE SCHEMA
Hi i have 2 fact tables fact1 and fact 2 and four dimension tables D1,D2,D3 ,D4 & D1.1 ,D1.2 the relations in the data model is like this :
NOTE: D1.1 and D1.2 are derived from D1
[( D1.. 1:M..> Fact 1 , D1.. 1:M..> Fact 2 ), (D2.. 1:M..> Fact 1 , D2.. 1:M..> Fact 2 ), ( D3.. 1: M.> Fact 1 , D3.. 1:M..> Fact 2 ),( D4.. 1:M..> Fact 1 , D4 ... 1:M..> Fact 2 )]
Now from D1 there is a child level like this: [D1 --(1:M)..> D1.1 and from D1.1.. 1:M..> D1.2.. 1:M..> D4]
Please help me how to design in physical layer and BMM layer. I will be very glad to you guys this is very urgent requirement.
PS: Deepak Gupta you are very helpful earlier please help me.
Thanks,
chThey too are snowflake.... but we speak snowflake w.r.t dimension attached to FACT...
Alternate solution, but of the same type..
First of all create aliases for all the Tables in physical layer... but create two aliases for D1 , say D1.A1 & D1.A2
Note: you need to create joins between aliases only, no need of creating joins between original tables ..
In Physical Layer, just have all the joins as Physical Foreign Key Join, just the way you have described, making sure that
D1.A1 is connected only to both the facts aliases...
and
D1.A2 is connected only to D1.1 alias
Drag all the aliases in BMM
Now work with Aliases only in BMM Layer
Here D4 is snowflaked...
So in BMM just bring D4 Alias from Physical Layer and onto it, drop D1.1 alias, D1.2 alias and D1.A2 alias , so that now you have 4 logical table sources under 'Logical Table folder' D4.
This is it....
The Only thing is that you ll have to create two Aliases for D1...
Thanks
Ashish Gupta -
how to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header ,20 for detail and 30 for footer.
here is the sample file
DDWTYBILL13092502572 1000000112\\NHLSFS\ORACLE\ORACLE\BILLING\VERIFY\ 2013/09/25 01:19:08 BILLEND
DDWTYBILL13092502572 2000000212PRIVATE PRIVATE STY5572142 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731543 Suspect TB ?CA, (L) EMPIEEM Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000312PRIVATE PRIVATE STY5572149 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731548 Empyema BPF Ward A2 TYGERBERG HOSPITAL Z03.9 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000412PRIVATE PRIVATE STY5572351 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731584 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000512PRIVATE PRIVATE STY5572352 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731585 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000612MAJOR MAJOR STY5577530 010700 INV 12ZTYG000009 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS ZOZI,S,SIYAMBONGA 27-MAR-2010 TYG D3 DR MAHOMED 5602181 113799662 TB731663 Lymphadenitis Ward D3 TYGERBERG HOSPITAL I88.9 Z03.9 H1 07-AUG-201307-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 2000000712MAJOR MAJOR STY5577537 010700 INV 12ZTYG000009 06-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS DLAMINI,N,NTLANTLA 09-OCT-1976 TYG F1 DR WZESE 5602181 135524676 TB731666 Suspect TB Ward F1 TYGERBERG HOSPITAL Z03.0 Z03.9 H1 07-AUG-201314-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 30003034120000003032ENDYou can create an nXSD using Native Format Builder and use lookAhead attribute to read values at specific position and use that as the choice. You can find an example here
http://docs.oracle.com/cd/E11036_01/integrate.1013/b28994/nfb.htm#BGBBAJFD -
Star schema for a uploaded data sheet
Hi All gurus,
I am new to this tech . I have a requirement like this , I have to prepare the star schema for this data sheet as below .
REPORT_DATE PREPARED_BY Units On-time Units Late Non-Critical On-time Non-Critical Lates Non-Critical DK On-time Non-Critical DK Lates
2011 -01 Team1 1
2011-02 Team1
2011-03 Team1
2011 -01 Team2
2011-02 Team2 7 1
2011-03 Team2 4 5
2011 -01 Team3
2011-02 Team3
2011-03 Team3 1 3
(Take blank fields as zeros)
Note : There are 3 report date types 2011-01,02,03 and three teams team 1,2,3 as text data and all others columns contain number data .
I am given Time as dimensional table containing the Report Date and Whole sheet as Data table . So how to define the relationship for this in Physical and BMM ?
I am thinking to make Time as Dimensional Table and the whole table(as Data) as a fact table in the Physical layer . And then in the BMM , I want to carve out a Logical Dimension called Group from the Data Physical Table and then make Group and Time as dimensional Table and Data as Fact table .
Is this approach is correct ? please suggest me and if have any better Idea ,then please note down what are the tables to be taken as Dimension and Fact table in both physical and BMM . Your help willl be appreciated ,so thanks in advance . You can also advice for any change in no of Physical tables in the Physical schema design ..Your' s suggestion utterly anticipated ..
-
Hello gurus,
I have about 25 tables in ABC schema
I want to grant all privialges to XYZ schema for all the 25 tables which is in ABC schema.... So is there is SQL statement or script i can run to grant privilages to all the tables.
Something similar to these....
SELECT 'create synonym ' || table_name || ' for ' || table_name
FROM user_tables {code}
So i get all the table names ....then i can run as a script.... U r help is greatly appriciated gurus!!!
Thank you!!!Connected as administrator:
set head off
set pages 0
set feed off
spool myscript.sql
Select 'grant select, insert, update, delete on abc.'||table_name||' to xyz;'
from dba_tables
where owner = 'ABC';
Select 'create synonym xyz.'||table_name||' for abc.'||table_name||';'
from dba_tables
where owner = 'ABC';
spool off;Obviously this doesn't manage any new table that will be created in the future on schema ABC...
Max
[My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/02/07/aggiornare-una-tabella-con-listruzione-merge/] -
Hello
whats the procedure to resolve the problem if we are able to only build a snowflake schema
my tables are like this:
fact table: sales
dimesion tables: customers, products, orders
other tables that are connected to dimension tables with primary keys are "countries" is connected to "customers" and orders_inventory is connected to orders
so it is forming a snow flake in physical layer and how to we do make in BMM to form a star schema
if we are dragging columns from countries to customers in BMM, will that work effiecently as expected because as a user i am not able to see the data from both the tables. i am working on SH schema from ORACLE 10g database
thanks
rakerake,
I suggest you do some reading on dimensional modeling and use aliases and multi-source LTSs
You'd need to model in such a way as to avoid circular joins. -
Forms pulling Multiple Records from an XML Schema and XML data files - Adobe LiveCycle Designer
I built a form in Adobe LiveCycle with an xml schema and data file. The problem is with how the form renders the xml data file.
I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.
But here's the problem: When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
(example of placeholder: <statementName type="String"/> )in the xml for that field, my form pulls the field value from the NEXT statement.
This corrupts all the rest of the statement records, as this field is shifted up for all the rest.
I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder. And where is the problem? In the Schema? The xml data file? My form? And the 64-thousand-dollar question: How to fix it?If your <statement> element is the one that repeats, it should be bound to a subform with the binding string of something like $.statement[*]. Then in that subform should be your fields and they should have bindings of $.statementID, $.statementName, $.statementAddress, etc.
Kyle -
Error Extending eDirectory Schema for Radius in iManager
I am working on integrating eDirectory with FreeRADIUS on our OES 11 SP2 servers. I have been following all the steps in the "Integrating Novell eDirectory with FreeRADIUS" guide located here: https://www.netiq.com/documentation/edir_radius/. I did not have any problems installing FreeRADIUS or modifying its config files for LDAP authentication.
I am now stuck trying to extend the eDirectory schema for radius. In iManager, I go to Roles and Tasks --> radius --> Extend Schema, and I keep getting the following error: "RADIUS plugin encountered an error. Click the Details button for more information." When I click "details" it shows the following:
java.lang.NullPointerException\n at java.util.StringTokenizer.(StringTokenizer.java:88 )\n at java.util.StringTokenizer.(StringTokenizer.java:66 )\n at com.novell.ldap.LDAPConnection.connect(Unknown Source)\n at com.novell.nps.radius.NovellLDAPAuthenticator.logi n(NovellLDAPAuthenticator.java:155)\n at com.novell.nps.radius.ExtendRadiusSchema.showIniti alForm(ExtendRadiusSchema.java:178)\n at com.novell.nps.radius.ExtendRadiusSchema.execute(E xtendRadiusSchema.java:96)\n at com.novell.emframe.dev.Task.execute(Task.java:505) \n at com.novell.nps.gadgetManager.BaseGadgetInstance.pr ocessRequest(BaseGadgetInstance.java:858)\n at com.novell.nps.gadgetManager.GadgetManager.delegat eToGadget(GadgetManager.java:4256)\n at com.novell.nps.gadgetManager.LaunchService.onDeleg ateAction(LaunchService.java:86)\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)\n at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:60)\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:37)\n at java.lang.reflect.Method.invoke(Method.java:611)\n at com.novell.nps.gadgetManager.BaseGadgetInstance.ha ndleAction(BaseGadgetInstance.java:2371)\n at com.novell.nps.gadgetManager.GadgetManager.process InstanceRequest(GadgetManager.java:1609)\n at com.novell.nps.gadgetManager.GadgetManager.process ServiceRequest(GadgetManager.java:1062)\n at com.novell.nps.PortalServlet.handleFrameService(Po rtalServlet.java:509)\n at com.novell.nps.PortalServlet.processRequest(Portal Servlet.java:373)\n at com.novell.nps.PortalServlet.doPost(PortalServlet. java:279)\n at com.novell.nps.PortalServlet.doGet(PortalServlet.j ava:262)\n at javax.servlet.http.HttpServlet.service(HttpServlet .java:617)\n at com.novell.emframe.fw.servlet.AuthenticatorServlet .service(AuthenticatorServlet.java:332)\n at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)\n at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)\n at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)\n at com.novell.emframe.fw.filter.CrossScriptingFilter. doFilter(CrossScriptingFilter.java:25)\n at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)\n at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)\n at com.novell.emframe.fw.filter.AntiCsrfServletFilter .doFilter(AntiCsrfServletFilter.java:275)\n at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)\n at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)\n at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)\n at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)\n at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:530)\n at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)\n at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)\n at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)\n at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286)\n at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:190)\n at org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:291)\n at org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:769)\n at org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:698)\n at org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:891)\n at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:690)\n at java.lang.Thread.run(Thread.java:761)\n
Can anyone give me an idea of what is going on here? Everything I've been able to dig up so far has dealt with schema conflict errors and ssl/tls connection issues. I don't think that is what's going on here. I am getting the same error on multiple servers with eDirectory and iManager installed. Any help is appreciated. Thank you.
ScotOriginally Posted by bjunker
I am working on integrating eDirectory with FreeRADIUS on our OES 11 SP2 servers. I have been following all the steps in the "Integrating Novell eDirectory with FreeRADIUS" guide located here: https://www.netiq.com/documentation/edir_radius/. I did not have any problems installing FreeRADIUS or modifying its config files for LDAP authentication.
I am now stuck trying to extend the eDirectory schema for radius. In iManager, I go to Roles and Tasks --> radius --> Extend Schema, and I keep getting the following error: "RADIUS plugin encountered an error. Click the Details button for more information." When I click "details" it shows the following:
Can anyone give me an idea of what is going on here? Everything I've been able to dig up so far has dealt with schema conflict errors and ssl/tls connection issues. I don't think that is what's going on here. I am getting the same error on multiple servers with eDirectory and iManager installed. Any help is appreciated. Thank you.
Scot
Seems like there is a know bug for this issue, I suggest you to open a SR if you can?
Thomas -
How can I define an XML schema for this kind of XML
Hi, There:
I want to generate an XML file like:
<customer>
</customer>
<transaction>
</transaction>
<customer>
</customer>
which have multiple customer elements and multiple transactions as well, and they can happen in mixed sequence. Can any one give me some idea about how can I create an XML schema for this kind of xml? (<xsd:complextype> <xsd:sequence> ) seems not work)
Thanks in advance
DavidUse a group then make it a choice, like this;
<xs:element name="Parent">
<xs:complexType>
<xs:group ref="Group" minOccurs="1" maxOccurs="unbounded" />
</xs:complexType>
</xs:element>
<xs:group name="Group">
<xs:choice>
<xs:element ref="OptionOne" type="xs:string" />
<xs:element ref="OptionTwo" />
</xs:choice>
</xs:group>
<xs:element name="OptionOne">
<xs:complexType>
<xs:attribute name="name" type="xs:string" />
<xs:attribute name="Type" type="xs:string" />
</xs:complexType>
</xs:element>
<xs:element name="OptionTwo">
<xs:complexType>
<xs:attribute name="name" type="xs:string" />
<xs:attribute name="Type" type="xs:string" />
</xs:complexType>
</xs:element>
This allows XML like this
<Parent>
<OptionTwo ........ />
<OptionOne ........ />
<OptionTwo ........ />
<OptionOne ........ />
<OptionOne ........ />
</Parent>
HH
Maybe you are looking for
-
Recebimento de Transferencia na Zona Franca - Erro M7050 Saldo nao nulo. Transacao MB0A
Pessoal, Boa noite, Estou com um problema e preciso da ajuda de vocês. ERRO M7050 - Saldo não nulo: 28,04 - Debito: 28,08 Credito: 0,04 Quando realizo a entrada da transferência através da transação MB0A, ele executa esse erro. Quero acreditar que o
-
How to use iMovie with an External Hard DIsk
This seems to be a common question for the obvious reason that Movie folders rapidly become too large for the main HD, especially on a laptop, or if you want to use the same Movies folder on two Macs (eg iMac and MBP). Searching Apple Support and the
-
Ffmpeg installation on Solaris 10 AMD opteron processor
Hi All, I would like to know whether ffmpeg can be installed on Solaris 10 AMD opteron processor. -BR
-
I can't update my iPod to version 5.0.1
I own a 3rd generation iPod Touch (model A1318) and I have already updated it so that it runs on software version 4.1. Whenever I plug it into iTunes, the "Summary" tab tells me "A newer version of the iPod software is available (version 5.0.1). To u
-
HI there! I am trying to unzip a book I downloaded from a website and cannot. I have tried with Winrar, RAR and the unarchiver and the only thing I get is to double the icon of the document which never opens because everytime I click it to open it pr