Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

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

Forum : Super slow querySearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v7 Forum

 New Topic 
 
 Post Reply 
[1]  
 Super slow query 
 Author   Message 
  Jared 
  
 Group: Members 
 Posts: 1 
 Joined: 2007-01-16 
 Profile
 Posted : 2007-01-16 17:30:16
Im not sure I can post this question without sounding like an idiot.  I am using the read version of QODBC with quickbooks enterprise 2007 and the query takes a very long time.  Is there an alternative method other than linked server to get the data from quickbooks to sql 2005?  Or is there a method that will increase the performance of the linked server? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-01-16 20:33:20

The first thing is, don't use SELECT * type queries, ask for the columns you need only. For example:

SELECT ListID, Name FROM QODBC...Customer

The Advanced tab in QODBC Setup has defaults for Use Iterators and Iterator or Chunk Size fields. This allows you to turn off iterators. This may be needed on systems like MS-SQL Server and Web Servers that use multiple threads. Using Iterators is faster but is only available to USA QuickBooks 2006 and USA QuickBooks 2007 users.

Iterator or Chunk Size determines the size of the rowsets that are retrieved from QuickBooks. Set this value high if you are exporting records from QuickBooks. The maximun Iterator or Chunk size that can be set is 100000 (higher than that and it resets itself back to the default of 500). A good setting is either 10,000 or 20,000 if you have lots of data. 

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to