Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Performance on load table from SQL Server

Hi,

I suppose to load all rows from SQLServer table, It's supposed to be ~5 Million Rows.

In the table there are 20 columns, and i need to pull 10 of them.

In a matter only of traffic, and  overload on the system what is the efficient way to load:

Load* or load field1,Field2....

Thanks,

Jacob

13 Replies
tresesco
MVP
MVP

With WHERE you reduce the number of rows(records) while using Load/Select Field1, Filed2 ....Field10       you reduce number of fields(attributes). Hope it helps.

Not applicable
Author

I know it's reduce number of rows.. the question is about the DB is there a load difference between two approaches on his side..

rbecher
MVP
MVP

It depends. Usually a where clause reduces processing time on a database. This can lead into faster query results if you have an index on the column..

Astrato.io Head of R&D
ashfaq_haseeb
Champion III
Champion III

Hi,

I would prefer you to use proper Index on the table to give you better performance.

Regards

ASHFAQ