Results 1 to 3 of 3

Thread: SLOW ADO

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374

    Angry

    I have a DBGrid and ADODC connected to an two tables on an Access DB on a Novell server. One table has about 10,000 records and the other around 150,000. Access can run the query in under a minute, but with ADODC the program appears to lock up and takes over five minutes to retrieve just 30-50 records.

    I have seen other posts about similar problems but no one seems to know the solution. Has anyone a CLUE as to how to speed up ADO?

    Thanks in advance,

    Andrew

  2. #2
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    363
    Is Access running under a minute if you run it from the client-side or the server? If you're issuing a SQL statement in VB from the client-side, all 150,000+ records are being returned to the client where the filtering occurs. If you were in SQL Server, you could use a Stored Procedure to do the filtering on the server. In Access, you maybe could use a parameter query. You need something to do the bulk of that processing on the server where you have greater resources.
    Wade

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374
    Hi Wade, thanks for the tips. Being inexperienced with stored procedures, do you know of anywhere where I could find an example of using one to connect to an Access DB from the client side in VB? I've changed the code around and cut the hang time down, but it still locks for 2-3 minutes.

Posting Permissions

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



Click Here to Expand Forum to Full Width