Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

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
Contributor III

Re: Connection to a remote DB: Load hanging

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
Contributor II

Re: Connection to a remote DB: Load hanging

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

Re: Connection to a remote DB: Load hanging

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

adnan_rafiq
Contributor II

Re: Connection to a remote DB: Load hanging

thanks a lot for prompt response.

adnan_rafiq
Contributor II

Re: Connection to a remote DB: Load hanging

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
Valued Contributor III

Re: Connection to a remote DB: Load hanging

Hi,

You could in turns comment some sections and run.

You will be able to narrow down.

thanks,

Rajesh Vaswani

Not applicable

Re: Connection to a remote DB: Load hanging

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

Re: Connection to a remote DB: Load hanging

Hi,

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

Regards,

Kaushik Solanki

rajeshvaswani77
Valued Contributor III

Re: Connection to a remote DB: Load hanging

Hi,

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

thanks,

Rajesh Vaswani

Community Browser