Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

Moving Complicated Queries into a Universe

$
0
0

Greetz!

 

I'm a newbie to BOBJ and have been asked to take an existing report that has been done in Excel and create a BOXI 3.1 SP7 reporting solution to replace it.

 

The Excel version was using ODBC to connect to an Oracle box and running SQL statemements that originated from Explorer and used them pretty much verbatim.

 

The query (actually alot of them fit this mold) has a few case statements in the select which use the results of a subquery in the from clause. There are multiple subqueries in the from clause. The Where clause has Case statements as does the group by.

 

 

I currently have it setup as a Derived Table that is using these SQL statements and I have replaced the dynamic bits in the where clauses with a prompt. It works fine and I'm happy to leave it as is except for this little nagging voice that is complaining about the loss of performance with the derived tables. Also, the queries for my next report do away with the filter in the Where clause and each query runs for ALOT longer than the reports I'm currently working on.

 

So is it possible to take these complicated, long running queries that use nested subqueries and create BO objects from them to avoid Derived Tables?  When I've attempted to break these down into individual Universe objects, the queries get rewritten in the WEBI reports so that they end up producing markedly different results or no reults at all. Perhaps I should live with the performance hit and just schedul the jobs to run in the off hours. by a long time I mean about an 1 to 2 hours for all queries to execute.

 

Again, I am using BOXI 3.1 SP7 with an Oracle 11g backend.

 

Thanks!


Viewing all articles
Browse latest Browse all 1291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>