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.
Where AI meets business outcomes Oracle AI World brings the Oracle community together to explore how AI and other technology innovations are driving real business outcomes across industries. Discover what’s new through: Mainstage keynotes to hear the latest directly from Oracle leadership Product demonstrations Customer…
I creates a parameter "Role Name" and then I put the Role name field in the filter and made a bind to the parameter, When I add the value in the parameter, it works. When I delete it from the parameter it give me <empty> How do I get rid of the <empty>
Hi Team, Has anyone upgrade OAS system from the 2024 to 2026 version? if yes, could you please share the resposne files. Regards, Chand
We need to download a report with the order number as the file name. In the main report, we have a data action (hyperlink) on each order number. When we click an order number, the linked report is downloaded with the corresponding order details. Currently, the file is downloaded using the report name. We need to download…
I tried the following expression and it blows up when I select more that one value in the list see image
We are using Oracle Analytics Server 2026 with WebLogic Server 14.1.2. Our Account Statement report is accessed through '/xmlpserver'. We need to capture the following details in the OAS/Publisher log files whenever a user runs the report: Username Report name and path Report execution timestamp Account Number From Date To…