New call-to-action
Results 1 to 6 of 6

Thread: Incredibly slow reponse time.

  1. #1
    Member
    Real Name
    Pat Sonnek
    Join Date
    Jan 2009
    Posts
    40

    Default Incredibly slow reponse time.

    I am still trying to squeeze better performance out of this product. I am trying to pull a select group of records out of our massive QuickBooks database. Below is me select statement on the passive link table:

    SELECT Salesreceiptlineamount, Salesreceiptlinequantity, Txndate, Salesreceiptlineitemreflistid
    FROM SalesReceiptLine
    WHERE (Txndate >= :StartDate
    AND TxnDate <= :EndDate
    AND SalesReceiptLineItemRefFullName IN (‘ELCU3166-ST’,’ELCU3167-ST’)
    OR (Txndate >= :StartDate
    AND TxnDate <= :EndDate
    AND SalesReceiptLineItemRefFullName LIKE ‘KIS%’)

    I entered a startdate of 2009/10/11 and an enddate of 2009/10/17

    The pull has been running for 1 hour 21 minutes and counting. My Quickbooks file is huge. Is there any addtional tweaking I can do to this query to get it to run faster?

  2. #2
    Member
    Real Name
    Pat Sonnek
    Join Date
    Jan 2009
    Posts
    40

    Default Re: Incredibly slow reponse time.

    Along with this, when I am refreshing a table, why does it appear the Qreportbuilder is reading the table twice? Making a 2 1/2 hour refresh actually take 5 hours? Is there some option or setting that I am missing?

  3. #3
    Volunteer Moderator
    Real Name
    Alan Buchholz
    Join Date
    Oct 2000
    Location
    Delavan, Wisconsin
    Posts
    9,666

    Default Re: Incredibly slow reponse time.

    Quote Originally Posted by phsonnek View Post
    I am still trying to squeeze better performance out of this product. I am trying to pull a select group of records out of our massive QuickBooks database. Below is me select statement on the passive link table:

    SELECT Salesreceiptlineamount, Salesreceiptlinequantity, Txndate, Salesreceiptlineitemreflistid
    FROM SalesReceiptLine
    WHERE (Txndate >= :StartDate
    AND TxnDate <= :EndDate
    AND SalesReceiptLineItemRefFullName IN (‘ELCU3166-ST’,’ELCU3167-ST’)
    OR (Txndate >= :StartDate
    AND TxnDate <= :EndDate
    AND SalesReceiptLineItemRefFullName LIKE ‘KIS%’)

    I entered a startdate of 2009/10/11 and an enddate of 2009/10/17

    The pull has been running for 1 hour 21 minutes and counting. My Quickbooks file is huge. Is there any addtional tweaking I can do to this query to get it to run faster?
    Not sure what you are running into..

    I'm curious if this query is different.

    SELECT Salesreceiptlineamount, Salesreceiptlinequantity, Txndate, Salesreceiptlineitemreflistid
    FROM SalesReceiptLine
    WHERE (Txndate >= :StartDate
    AND TxnDate <= :EndDate
    AND (SalesReceiptLineItemRefFullName IN (‘ELCU3166-ST’,’ELCU3167-ST’)
    OR SalesReceiptLineItemRefFullName LIKE ‘KIS%’))


    It looks like the commutative property of math.
    Al Buchholz
    Bookwood Systems, LTD
    Weekly QReportBuilder Webinars Thursday 1 pm CST

    Occam's Razor - KISS
    Normalize till it hurts - De-normalize till it works.
    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
    When we triage a problem it is much easier to read sample systems than to read a mind.

  4. #4
    Member
    Real Name
    Pat Sonnek
    Join Date
    Jan 2009
    Posts
    40

    Default Re: Incredibly slow reponse time.

    It does not matter which version of the Query I use, it still taks a rediculous amount of time to process the data.

    To make matters worse, after processing for 5.5 hours today, I received the following error.
    =========================================
    Could not create local cahe for data from your Database. Your database reported the following error.

    Database API Specific error
    Your database returned the following error code and description to Alpha Five
    Consult your database documentation for further information.

    10004 - '[QODBC] error
    SQL state is 42500 while converting result set to DBF table'
    =====================================================

    Again, this is after 5.5 hours, 499230 records, twice and I still don't have my table refreshed so that I can generate my report.

    This program is slow and not very useful for large volumes of data.

  5. #5
    Volunteer Moderator
    Real Name
    Alan Buchholz
    Join Date
    Oct 2000
    Location
    Delavan, Wisconsin
    Posts
    9,666

    Default Re: Incredibly slow reponse time.

    Pat

    Another option that can make sense is to build a test QB company file that has a limited amount of data in it.

    I usually load the slimest amount of data into it.

    Build the query to work and then turn it loose against the 'big' company file.
    Al Buchholz
    Bookwood Systems, LTD
    Weekly QReportBuilder Webinars Thursday 1 pm CST

    Occam's Razor - KISS
    Normalize till it hurts - De-normalize till it works.
    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
    When we triage a problem it is much easier to read sample systems than to read a mind.

  6. #6
    Volunteer Moderator
    Real Name
    Alan Buchholz
    Join Date
    Oct 2000
    Location
    Delavan, Wisconsin
    Posts
    9,666

    Default Re: Incredibly slow reponse time.

    SELECT Salesreceiptlineamount, Salesreceiptlinequantity, Txndate, Salesreceiptlineitemreflistid,SalesReceiptLineItemRefFullName
    FROM SalesReceiptLine
    WHERE (Txndate >= :StartDate
    AND TxnDate <= :EndDate)

    Try a simpler query and then filter on the full name on the passive link table. That might perform much better...
    Al Buchholz
    Bookwood Systems, LTD
    Weekly QReportBuilder Webinars Thursday 1 pm CST

    Occam's Razor - KISS
    Normalize till it hurts - De-normalize till it works.
    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
    When we triage a problem it is much easier to read sample systems than to read a mind.

Similar Threads

  1. Slow Response Time in A5W Page
    By secondcircuits in forum Application Server Version 9 - Web/Browser Applications
    Replies: 1
    Last Post: 09-05-2008, 04:59 PM
  2. A5 localhost slow – is real world that slow
    By oldtony in forum Web Application Server v6
    Replies: 4
    Last Post: 07-20-2005, 09:38 AM
  3. Child filtering incredibly slow
    By Tom Mills in forum Alpha Five Version 5
    Replies: 2
    Last Post: 04-29-2003, 04:02 AM
  4. Incredibly Basic Question #2
    By Tom Mills in forum Alpha Five Version 5
    Replies: 1
    Last Post: 02-10-2003, 03:46 PM
  5. An incredibly basic question...
    By Tom Mills in forum Alpha Five Version 5
    Replies: 4
    Last Post: 02-04-2003, 07:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •