Hi everyone!
Is it possible to get the physical sql query generated programmatically?
I mean, I want a script or something like that, to get the sql right after report runs.
Any idea?
You can get that (if you have the proper privileges) via Administration --> Manage Sessions.
Select the action that you want to see the physical SQL of. You can see in the information column which item has generated the sql.
Down below in the log will be the physical SQL statement(s).
An other way to get the same is to copy the logical SQL from the advanced tab when you are editing an analysis. You can issue this sql via Administration --> Issue SQL which will also generate a log entry containing the Physical SQL.
EDIT: Also, your logging level needs to be set to 2
In addition to what @Martin van Donselaar has suggested, you can get this information from your Usage Tracking tables if you have enabled Usage Tracking.
Thanks Martin, but I don't want to do it manually. I need a way to automate this action...
Hi Joel,
I like your suggestion, I will investigate.
Thank you!
Hi,
For more hints on how to achieve what you are asking it would help if you set a context ...
As it's a client-server architecture the concept of "right after report runs" is a bit vague, as you can have none, one or 1258 concurrent users.
Well, that's one of the things that usage tracking does as Joel already said. Really wondering what exactly you want to achieve?
@TomasJuarez-Oracle since you do not state what you are trying to achieve in spite of multiple questions...
https://www.rittmanmead.com/blog/2014/01/automated-regression-testing-for-obiee/
^-- the command line can automate just about anything
Description: The Oracle Fusion Data Intelligence (FDI) Product Roadmap Update provides an overview of the latest developments and future plans for FDI. Oracle Product Management experts will share upcoming capabilities, key enhancements, and product direction, helping attendees understand what is changing and how these…
it is observed that in OAC while using case statements the output is not expected.For example if we have a case statment like case when table1.column1=table2.column1 then 'yes' else 'No' end as Attribute1 Now if i use this attribute with a fact-amount column attribute 1|| Amount on a report then we dont get the aggregation…
Once I select that value from the list box Region I created, I want to filter the table by my selection. See the images
Hi, While using OAS or OAC latest version can we generate a report to view complete defition of semantic model/subject area. It helps to document and troubleshoot. thanks
I want to export all OAC RPD joins and conditions, is there a way to export or extract joins information. please suggest. Repository documentation doesn't gives joins, if any other way pls suggest.