Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Order of Joins in OBIEE

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.
Answers
-
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.
0 -
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
0 -
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....
0 -
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.
0 -
Rotten??
That would make a nice three letter acronym, the RMP; "Rotten Model Paradigm" ;-)
As in; - Looks like you have a real RMP there...
0 -
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...
0 -
A good analogy on a number of levels
0 -
If your question is answered could you kindly close it / mark correct / helpful as appropriate.
0