Sage 100

 View Only
  • 1.  I am working with a 2017 Advanced user where a siz

    Posted 04-20-2018 12:40
    I am working with a 2017 Advanced user where a sizeable (< 500 MB) table read via ODBC sometimes takes 10 times longer than usual. It normally takes 2-3 minutes, but 1 or 2 times per week it takes 30 minutes - it always completes successfully. The failures aren't always with the same table, just large ones. The (recently rebuilt) tables involved are SO_SalesOrderHistoryHeader and Detail. All users are out of the system and I am using MS Access to read the ODBC via a pass-though query. No other server activity (e.g. backups or other resource competition) is apparent. Has anyone else see this odd behavior or have any ideas? TIA


  • 2.  RE: I am working with a 2017 Advanced user where a siz

    Posted 04-20-2018 12:48
    Are you accessing directly from the server, not workstation?


  • 3.  RE: I am working with a 2017 Advanced user where a siz

    Posted 04-20-2018 12:53
    CS-ODBC not enabled for the user?


  • 4.  RE: I am working with a 2017 Advanced user where a siz

    Posted 04-20-2018 13:11
    From the server and w/o CS-ODBC enabled.


  • 5.  RE: I am working with a 2017 Advanced user where a siz

    Posted 04-21-2018 18:22
    Generally speaking, with ProvideX ODBC you'll get a faster result if your SELECT query can explicitly ORDER BY the key fields. I've seen 30 minute response times with AR_InvoiceHistoryDetail when it doesn't. So in your case if possible with your PTQs, if not already this way, you might consider doing it like this: SELECT * FROM SO_SalesOrderHistoryHeader ORDER BY SalesOrderNo SELECT * FROM SO_SalesOrderHistoryDetail ORDER BY SalesOrderNo, SequenceNo