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

This widget could not be displayed.

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

what is optimised load and unoptimised load with example ??

Hey,

Can anyone tell me what is optimised load and unoptimised load with example ??

THanx.

This widget could not be displayed.
1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

This is the content in that thread

Hi,

QVD files can be read in two modes: standard (fast) and optimized (faster). The selected mode is determined automatically by the QlikView script engine. Optimized mode can be utilized only when all loaded fields are read without any transformations (formulas acting upon the fields), though the renaming of fields is allowed. A WHERE clause causing QlikView to unpack the records will also disable the optimized load.

1)F1 as NewField  -  Renaming allowed, so it is optimized load

Ex:

LOAD

Field1 AS Date,

Field2 AS Sales

FROM DataSource;

2)F1 * 2 as NewField – Transformation is not allowed, so it is non optimized load

Ex:

LOAD

Field1 AS Date,

Field2 AS Sales,

Discount,

Field2 - Discount AS NetSales   // This is a transformation

FROM DataSource;

3)1 as NewField – Cannot add a new field, so it is non optimized load

LOAD

Field1 AS Date,

Field2 AS Sales,

1 AS Flag   // Adding new field

FROM DataSource;

4)WHERE Exists(F1) –  We can use Single Field in Exists(), so it is an Optimized load

LOAD

Field1 AS Date,

Field2 AS Sales

FROM DataSource

WHERE Exists(Field1);

5)where exists(F1, Some Transformation) – We cannot use Multiple Field in Exists(), so it is a non Optimized load

LOAD

FirstName,

LastName,

Sales

FROM DataSource

WHERE Exists(Field1, FirstName& ' ' &LastName);

Hope this helps.

Regards,

Jagan.

View solution in original post

This widget could not be displayed.
13 Replies
MK_QSL
MVP
MVP

This widget could not be displayed.
jagan
Partner - Champion III
Partner - Champion III

Hi,

Check this thread

Optimized and Non Optimized loading

Regards,

Jagan.

This widget could not be displayed.
nikhilgarg
Specialist II
Specialist II
Author

HEy,

THe following message is coming when i click on the link:

Access to this place or content is restricted. If you think this is a mistake, please contact your administrator or the person who directed you here.

This widget could not be displayed.
nikhilgarg
Specialist II
Specialist II
Author

Hey,

Thanks but i still did not get the idea what does this optimised and unoptimised deals with. Can you please explain breifly when load is optimised and when unoptimised ??

Thanks.

This widget could not be displayed.
jagan
Partner - Champion III
Partner - Champion III

Hi,

This is the content in that thread

Hi,

QVD files can be read in two modes: standard (fast) and optimized (faster). The selected mode is determined automatically by the QlikView script engine. Optimized mode can be utilized only when all loaded fields are read without any transformations (formulas acting upon the fields), though the renaming of fields is allowed. A WHERE clause causing QlikView to unpack the records will also disable the optimized load.

1)F1 as NewField  -  Renaming allowed, so it is optimized load

Ex:

LOAD

Field1 AS Date,

Field2 AS Sales

FROM DataSource;

2)F1 * 2 as NewField – Transformation is not allowed, so it is non optimized load

Ex:

LOAD

Field1 AS Date,

Field2 AS Sales,

Discount,

Field2 - Discount AS NetSales   // This is a transformation

FROM DataSource;

3)1 as NewField – Cannot add a new field, so it is non optimized load

LOAD

Field1 AS Date,

Field2 AS Sales,

1 AS Flag   // Adding new field

FROM DataSource;

4)WHERE Exists(F1) –  We can use Single Field in Exists(), so it is an Optimized load

LOAD

Field1 AS Date,

Field2 AS Sales

FROM DataSource

WHERE Exists(Field1);

5)where exists(F1, Some Transformation) – We cannot use Multiple Field in Exists(), so it is a non Optimized load

LOAD

FirstName,

LastName,

Sales

FROM DataSource

WHERE Exists(Field1, FirstName& ' ' &LastName);

Hope this helps.

Regards,

Jagan.

This widget could not be displayed.
nikhilgarg
Specialist II
Specialist II
Author

Hey,

Thanks. So should i assume that the cases that you have mentioned above are the only cases for Optimisation and Non optimisation ?? No other case except these will come under optimisation and non optimisation ??

THanks.

This widget could not be displayed.
jagan
Partner - Champion III
Partner - Champion III

Hi,

I think Yes.

Regards,

Jagan.

This widget could not be displayed.
nikhilgarg
Specialist II
Specialist II
Author

Hey,

Can you also tell em when will be qvd load in standard mode ??

This widget could not be displayed.
jagan
Partner - Champion III
Partner - Champion III

Hi,

If you are doing any transformations like calculations then it is in Standard mode.

Column1 * Column2 AS NewColumn1

Regards,

Jagan.

This widget could not be displayed.