Does The Order of Joins Matter in SQL? If Yes, How Can we make OBIEE generate the SQL in the required order.
For Example:
Filtering the records for particular Year first then Joining the tables.
Thanks.
The short answer is 'no', join order is not relevant.
Type of join, yes, but you can specify that in the logical layer when joining logical tables.
OBIEE will use metadata configured in the rpd, like levels and no of elements to optimise your queries.
And of course the best foundation for speed is report against a data warehouse consisting of star schemas, as opposed to 3NF modelling, which whilst possible will always be sub-optimal.
Hii 3051209,
Where are you trying to filter out the records - At RPD Level or at Analysis/Report Level?
Also, is this filtering based on the inputs the users will provide?
If yes, I think you can get the help of Session Variable in RPD and Request Variable in Analysis to achieve this.
I hope this link will help you understand the things as well. (How to Use Presentation Variable in RPD? )
Also, you will have to use this in WHERE section of BMM layer.
Thanks,
Sonkar
But if; -
Fact -> Time Dimension
Where -> is fact.time_key = Time.Key
And filter is; -
Time.Year = '2018' (or whatever descriptor)
Then OBIEE will NOT do full table scan on fact table and access will 'lead' by smaller time data set.
Unless something is badly wrong with your data model....
If you look at all the answers, then...long story short: The problem is probably something completely different than an "order of joins".
Adding to Robert's comments I'd also say: If you are in the situation where your join multiplies the result rows because you're joining in N corresponding rows then there is definitely something rotten with your model to begin with.
Rotten??
That would make a nice three letter acronym, the RMP; "Rotten Model Paradigm" ;-)
As in; - Looks like you have a real RMP there...
And if you have several of them, it will make the project sound like it's going down a stony road on wooden tires: rmp, rmp, rmp, rmp...
A good analogy on a number of levels
If your question is answered could you kindly close it / mark correct / helpful as appropriate.
Learn how to deploy an AI Data Platform agent, register it to the AI Registry, and introduce it to business users through Agent Hub. This session covers how to prepare an agent for deployment, configure endpoint access and authentication, invoke a deployed agent, and monitor it after deployment. The session also introduces…
Can you please help resolve this error. WebLogic version is 12c. OAS is 6.4
So I have an action passing a value to another workbook. On the other workbook, I have an expression filter and a parameter I created and it does not seem to work. Any ideas. See the images
We know you can directly export workbooks and folders from within OAC, and we know you can migrate OAC content using the FDI Content bundle. However, it's unclear what settings or steps are required in order to ensure any calculations in "Shared Objects" still carry over. When making a .dva artifact export from OAC for…
The user icon in the upper-right corner of OAC (DV) is displaying more menu options for our non-admin users than we wish to display. We would like to restrict these to only "Profile" and "Sign Out" for regular users. Is there a way to customize these menu items? Especially if we can control this via security, that would be…
What is wrong with this code