Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Load and sql select

     Hi all,

Can we write

Load * Where Condition ;

Sql select fields from tablename;

Will it increase the performance .i tried this but it is fectching records very slow

Thanks

6 Replies
Clever_Anjos
Employee
Employee

Yes, you can, but this could perform better

Load * ;

Sql select fields from tablename Where Condition;

Anonymous
Not applicable
Author

Hi,

It's like loading all the data from SQL first and getting only what you require from preceding load. Why not apply the where condition on the SQL itself?

Not applicable
Author

Better do optimized load, speed will increase.

Gysbert_Wassenaar

Try adding the where condition to the sql statement. That way it won't load all the data from the source database, but only those matching the where clause.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Hi All,

I have used where condition in sql statement too. Actually i used this statement its taking more time to load

Clever_Anjos
Employee
Employee

using where at SQL clause is taking more time?

Are you familiar with Execution Plans? Could you post it here?