Advertisement

07.17.2008 at 11:03AM PDT, ID: 23574275 | Points: 250
[x]
Attachment Details

Excel - Access client server app runs incredibly slowly

Asked by dpetersen112 in Microsoft Excel Spreadsheet Software, Microsoft Access Database, MS Live Communications Server

Tags: Microsoft, Access and Excel, Office 2003, client / server app, VB

I developed an Excel app that pulls data from an Access database that I also developed. The Access database and it's related app have been in use for about 7 years (originally developed in Office 2000). When I run it on my slow old notebook it takes about 10 minutes to successfully complete.
Then I took it to a client that has a Dell duo core server (that I installed) running Win2003 that is used only as a file server. They have about 10 XP Pro workstations talking to the server. It easily handles the load. When I run the Excel - Access app from a workstation it runs incredibly slowly. I estimate that it would take 27+ hours to complete.
So then I installed the app on the server and ran it locally - amazingly no improvement. I reconfigured the server to give higher priority to foreground tasks, still no improvement. When I look at TaskMgr it shows the cpu at about 1% - 2%. Excel or Access get a little bit of run time (fractions of a second) and then the cpu is idle for several seconds. When I run the app on my laptop the CPU is maxed for the whole 10 minutes.
The Excel app is accessing a live DB, but I set the locking to essentially ReadOnly. So, I seriously doubt that it is stalling on locks. Also, it is accessing about 35,000 records from the DB. The other users would at most have 4 - 5 in use. There is one query that gets a set of records and then a loop in VB in Excel to process each record. I put in a MsgBox to fire every 100 records processed. That's how I came up with the 27 hour estimate.Start Free Trial
[+][-]07.17.2008 at 11:06AM PDT, ID: 22028221

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 11:16AM PDT, ID: 22028341

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 11:25AM PDT, ID: 22028476

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 12:15PM PDT, ID: 22029032

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 12:22PM PDT, ID: 22029114

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 12:27PM PDT, ID: 22029209

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 03:27PM PDT, ID: 22031001

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 03:29PM PDT, ID: 22031015

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 03:52AM PDT, ID: 22101973

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 01:59PM PDT, ID: 22106768

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628