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
We have migrated OBIEE dashboards to Oracle Analytics Cloud and need to automate exporting an entire Classic dashboard page as PDF or xls or csv. Our requirement is to: Pass Business Date and Credit Support ID dynamically. Export the complete dashboard page, including multiple analyses and conditional sections. Invoke the…
We are troubleshooting a BI Publisher price-book report where DCL and DCF Customer Price Groups are missing. The existing report uses the CPG pricing matrix dimension, where we found DC1, DC2, INX, and XST, but not DCL/DCF. DCF was found separately under: LineCustomerPriceGroup = DCF Adjustment Type = PRICE_OVERRIDE…
Dear Oracle Support Team, I need assistance uninstalling Oracle AI Database 26ai Free from my Windows 11 Home laptop. System configuration Operating System: Windows 11 Home Processor: Intel Core i5 RAM: 8 GB Oracle Product: Oracle AI Database 26ai Free Product Version: 23.0.0.0 Installer:…
Hello Oracle Analytics Community, We are investigating a dashboard compatibility issue between Oracle Analytics Server (OAS) 7.6 and OAS 7.0. Some dashboards originally created in Oracle BI 12c can be opened in OAS 7.6 but fail to open after being archived and imported into OAS 7.0. During our investigation, we found the…
We have a requirement Creating a Bar graph using Cost Center Tree hierarchy as prompt/filter in DV. Created a Bar Graph using Cost Center Tree Hierarchy as a prompt. When I'm selecting values through selection steps from Cost Center Tree Hierarchy, the Bar Graph not refreshing as the selected values are not passing to…