Aliases and Contexts Which once will give the better
performence when resolve the loops?
Answers were Sorted based on User's Feedback
Answer / vasanth
alias is used when two dim tables and one fact table are there in the loop ,alias is used for one dim table which has less outer joins.
Context are used when there are 2 fact tables and one dim table in the loop,we create context for one join between one fact and dim in the loop.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / narender reddy
Join path: a join path is a series of joins that a query can use to access data in the tables linked by the joints. Join path problems can arise from the limited way that lookup and fact tables are related in a relational data base. The three major join problems that you encounter when designing a schematic are the following:
1. Loops
2. Chasm traps
3. Fan traps
Queries can return incorrect results due to the limitations in tha way that joins are performed in relational databases.
Loops: joins between tables form a continues path
Solved by: shortcut join(3 tables), aliases( more than 3 tables with one fact table), context( more than 3tables with more than one fact table),
Chasm traps: many to one joins from two fact tables converge on a single lookup table. This type of join convergence can lead to a join path problem called as a chasm trap.
Solved by: context, creating multiple SQL statements for each measure, creating multiple universes( webi only),
Fan traps: a one to many join links a table which is in turn linked by a one to many join. This type of serial many to one joins can lead to a join path problem called a fan trap.
Solved by: alias, using multiple SQL statements for each measure, creating the context using the alias.
Aliases: An alias is a table that is a exact duplicate of the original table, with a different name. The data in the table is exactly the same as the original table. Using aliases resolve loops and fan traps.
Context: context is a collection of joins which provide a valid query path for user to generate SQL. Using contexts we can resolve loops and chasm traps and assisting in some solutions of fan traps.
-------- when we use alias to resolve the loop we are using extra duplicate table, if we have more tables in schema it will decrease the performance so alias always decrease the performance compair to context.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / raj
*If a loop contains only one lookup table then the loop can be resolved by detecting the alias.
*If a loop is having 2 or more fact tables (multiple fact tables) then the loop can be resolved by
detecting context.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is security domain in Business Objects?
How to create a tooltip in Webi? Is there a way to create Tooltips in Webi reports for non- hyperlinked columns? Users should be able to hover over a value in a column in the report and that should show a tooltip box with more detail regarding that column value. This is possible when you hyperlinked the column,Is it possible when you dn't have hyperlinking? Thanks in advance.
how to find the size of the report
How can we improve performance?
How to create universe in business objects enterprise 11.5
when will use compatible and incompatible objects?
1 Answers Business Intelligence Analytics, iGate, TCS,
How to resolve the partial result error in the report
HOW DO YOU SCHEDULE THE REPORTS?
How much data hold in one universe 336 can any one explain about core dimension, balanced dimension, and dirty dimension?
What is #refresh,#hash,#Comupation error and How to resolve #refresh,#hash error.
What happens in BO when a user logs in to Infoview and a rich client like webi?
any body can give hirarchy of bussness object...i mean who will see reports after reports developing is fineshed...then next....