Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sub Query Taking long time in QlikView

 

Hi,

We are using a query to fetch the data from oracle database (around 90,000 records are there). The query contains 7 sub query.  If we execute the query directly in TOAD it takes only 50 seconds. But when executing the same from QlikView it is taking 4 hours. Please could you advise the options to optimize this. Or is there any limitation in using sub queries in the QlikView.

We are using QlikView 10 SR4.

Thanks,

Sijo Joseph

2 Replies
Not applicable
Author

Hello Sijo,

We must avoid using sub-queries since they are not that performance oriented. As far as qlikview is concerned, as per my understanding, the QlikView lets the database engine take its time to run query and then use the result set.

Are you doing any aggregations on the result set as well? That might make it slow.

Also you can load individual tables in QlikView and then create a data model as required in using the sub-queries. Things can be made fast through scripting.

Thanks,

angad

Not applicable
Author

Thanks for the details

We are uding ORACLE OLEDB. in the last 3 months 45,000 records has been added and then the issue has started. Please can you advise.

Thanks,

Sijo