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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Load data without where condition in optimize way

hello

i have 1 table which is contain South, North, West, East data,i want to show data for only North region but i dont want to used where condition in it then how it is possible by using optimize way.

Thanks..

26 Replies
ziadm
Specialist
Specialist

I think what the question is to use Inner Join

region:

LOAD South,

      North,

      West,

      east

FROM News;

inner Join Load

North

from Table2;

Anil_Babu_Samineni

We have different approach even without WHERE clause, Can you explain proper manner whats your intention. Does this is Field or Some Value?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
its_anandrjs
Champion III
Champion III

Hi,

What is the mean for this

region:

LOAD South, North, West, east

FROM News;

do you mean there is separate fields for the regions in your data base table please provide more info for this, if so then load only North field.

Ex:-

region:

LOAD North

FROM News;

Regards

Anand

Anonymous
Not applicable
Author

first tell me one thing, which query known as optimized and which is unoptimized with example..

thank you

RSvebeck
Specialist
Specialist

You find most things about QVD optimization in this great blog post:


https://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/



Svebeck Consulting AB
Digvijay_Singh

Check this -

What is optimised QVD?

avinashelite

QVD load without where clause is called the Optimized load

QVD load with where clause (except the exists option) is called the un-Optimized load


I feel his intention was to get the answer to use the exits key word

Kushal_Chawda

Do like this

First load the value through inline table which you want to filter

Region:

LOAD * inline [

Region

North ];

Data:

LOAD *

FROM Table

where exists (Region);

Note:

Field Name of inline table should match with the name in Actual table

If in your data table region field value in upper case, in inline table also you need to write value in upper case.

In above table only rename field is allowed to make the load optimize (if condition or any operation on field is not allowed for optimize load). where exists (Region) is already optimize.

RSvebeck
Specialist
Specialist

I hope he was not aiming for an single answer but rather for a better and deeper understanding on your Qlik script skill level by seeing how you were reasoning around optimized loads, where clauses and data modelling.


There is some basic strategies I use when loading big amounts (>50m rows) of data as fast as possible into QV.


1. Load biggest tables first

2. Always do optimized loads first, and after (if needed) load them resident with complex where clauses.

3. Drop unused tables asap

4. Drop unused fields asap

5. Group by and join with as little data as possible as late as possible.



There are a lot if details on every step, especially step 2: Where exist can sometimes work, still keeping optimized load. Concatenate can be optimized in some scenarios.



Svebeck Consulting AB
Anonymous
Not applicable
Author

news:

LOAD South,

     North,

     West,

     east

FROM region

where exists(North);

you mean above load is Optimized load?

i tried above load but after reloading it doesn't show data.