Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
QODBC Driver Performance Issues |
Author |
Message |
eds |
|
Group | : Members |
Posts | : 1 |
Joined | : 2008-01-30 |
|
Profile |
|
Posted : 2008-01-30 08:18:12 |
We have code to read some tables from QuickBooks. The connection is Open though
ADODB.Connection cn = new ADODB.Connection();
try
{
String connStr = "Driver={QODBC Driver for QuickBooks};
DFQ=\\Vaquick01\qbcf\Production\Network Solutions - Manual Billing Production.QBW;OpenMode=M;OLE DB Services=-2";
cn.Open(connStr, null, null, 0);
}
And the read statement is
rs.Open("Select * from " + sourceTableNames[i] + " NOSYNC", sourceConn, ADODB.CursorTypeEnum.adOpenStatic, ADODB.LockTypeEnum.adLockOptimistic, 0);
The connection is open fine. Our problem is on read statement. If we don’t add "NOSYNC" we have very bad performance issue and one specific process might run for more than 6-7 hours. The read statement is running for couple hours without getting any data back. After we add "NOSYNC" the performance issue seems gone but we got inconsistent data with Quickbook. Sometimes the last couple days data are missing. It may or may not get refreshed in next day run. The whole process does not have any exception thrown.
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-01-30 12:09:01 |
|
|
|
|