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.
Hi Team, We would like to raise an enhancement request for the SSO/SAML configuration guidance for OAS 2026. We have already raised multiple SRs regarding OAS 2026 SSO configuration. However, we are facing difficulties getting the required guidance, as the available documentation does not clearly cover the OAS 2026 SSO…
We are planning to archive the Contract and Lease data currently sourced from the External Source as Contract and Lease accounting functions are being migrated to Oracle's CLM and Lease Accounting modules. At this stage, only active and partially closed records are being converted into Oracle and the remaining historical…
The difference column is a calculation, and I would like to average that row.
We are trying to convert our OAS reports to OAC and one of the parameters in the where clause of the report is what I am trying to make in OAC. I created a calculation as follows and I am trying to put it into a filter . The code validates EVALUATE('GREATEST ( TRUNC ( NVL (%1, TO_DATE (''1/1/2013'', ''mm/dd/yyyy'') ) ),…
Hi , I am calling one parameter in another parameter and it is not working. 1st parameter is showing values, while calling the 1st parameter in second it is not showing any values. Regards, Sree Hari M