Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Connection to a remote DB: Load hanging

hi all,

I am connecting to a Mysql Database from my local computer. I have already created an ODBC with is working (the connection test is successfull in QV).

Now in the QV script editor , i am loading some table from the database.  QV loads all the tables but "close" button is not activated (see picture attached). It is like qlikview is hanging, and i don't know the reason .

Can someone help me to find out what could be the reason of this behaviour ?

Best Regards

Cherif

10 Replies
hallquist_nate
Partner - Creator III
Partner - Creator III

QV could be creating all the joins and associations.  If you have a lot of keys, it can take a long time to make all the joins.  Can you post your script?

Nate

adnan_rafiq
Partner - Creator II
Partner - Creator II

Hi Cherif,

I am not still sure that if you are hanging on to this problem. I guess Actual problem is due that there are still some table needs to be fetched. but your due to time lags in query, odbc is sending queries again and again which is causing a lot of load on database server. Its not only hanging your system but also database program you are using.

If you have found any solution to this I would appreciate if you can share.

Regards

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     If Unit table is the last table you are fetching then, Qlikview is linking the tables. So if you have more than 1 field common between two or more table, it will create the syn table and thus it is taking time.

     If Unit table is not the last table in your script then, qlikview is waiting for your database to reply the data set.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
adnan_rafiq
Partner - Creator II
Partner - Creator II

thanks a lot for prompt response.

adnan_rafiq
Partner - Creator II
Partner - Creator II

but I guess I am fetching data and dropping all tables after storing them. There is no key being formed, synthetic key is too fat fetched here.

rajeshvaswani77
Specialist III
Specialist III

Hi,

You could in turns comment some sections and run.

You will be able to narrow down.

thanks,

Rajesh Vaswani

Not applicable
Author

Hello

You can also generate log file for qvw and as others mentioned, the joining and associations might be taking much time.

Limit the data and try loading it.

Thanks,

ASINGH

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Make sure that after fetching one table you drop that table and then fetch another table.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
rajeshvaswani77
Specialist III
Specialist III

Hi,

You could in debug mode select limited load of 10 records and then finally see the schema.

thanks,

Rajesh Vaswani