Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 202213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:16:03+00:00 2026-05-11T17:16:03+00:00

The problem: We use a program written by our biggest customer to receive orders,

  • 0

The problem:

We use a program written by our biggest customer to receive orders, book tranports and do other order-related stuff. We have no other chance but to use the program and the customer is very unsupportive when it comes to problems with their program. We just have to live with the program.

Now this program is most of the time extremely slow when using it with two or more user so I tried to look behind the curtain and find the source of the problem.

Some points about the program I found out so far:

  • It’s written in VB 6.0
  • It uses a password-protected Access-DB (Access 2000 MDB) that is located a folder on one user’s machine.
  • That folder is shared over the network and used by all other users.
  • It uses the msjet40.dll version 4.00.9704 to communicate with access. I guess it’s ADO?

I also used Process Monitor to monitor file access and found out why the program is so slow: it is doing thousands of read operations on the mdb-file, even when the program is idle. Over the network this is of course tremendously slow:

Process Monitor Trace http://img217.imageshack.us/img217/1456/screenshothw5.png

The real question:

Is there any way to monitor the queries that are responsible for the read activity? Is there a trace flag I can set? Hooking the JET DLL’s? I guess the program is doing some expensive queries that are causing JET to read lots of data in the process.

PS: I already tried to put the mdb on our company’s file server with the success that accessing it was even slower than over the local share. I also tried changing the locking mechanisms (opportunistic locking) on the client with no success.

I want to know what’s going on and need some hard facts and suggestions for our customer’s developer to help him/her make the programm faster.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:16:03+00:00Added an answer on May 11, 2026 at 5:16 pm

    To get your grubby hands on exactly what Access is doing query-wise behind the scenes there’s an undocumented feature called JETSHOWPLAN – when switched on in the registry it creates a showplan.out text file. The details are in
    this TechRepublic article alternate, summarized here:

    The ShowPlan option was added to Jet 3.0, and produces a text file
    that contains the query’s plan. (ShowPlan doesn’t support subqueries.)
    You must enable it by adding a Debug key to the registry like so:

    \\HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\JET\4.0\Engines\Debug
    

    Under the new Debug key, add a string data type named JETSHOWPLAN
    (you must use all uppercase letters). Then, add the key value ON to
    enable the feature. If Access has been running in the background, you
    must close it and relaunch it for the function to work.

    When ShowPlan is enabled, Jet creates a text file named SHOWPLAN.OUT
    (which might end up in your My Documents folder or the current
    default folder, depending on the version of Jet you’re using) every
    time Jet compiles a query. You can then view this text file for clues
    to how Jet is running your queries.

    We recommend that you disable this feature by changing the key’s value
    to OFF unless you’re specifically using it. Jet appends the plan to
    an existing file and eventually, the process actually slows things
    down. Turn on the feature only when you need to review a specific
    query plan. Open the database, run the query, and then disable the
    feature.

    For tracking down nightmare problems it’s unbeatable – it’s the sort of thing you get on your big expensive industrial databases – this feature is cool – it’s lovely and fluffy – it’s my friend… 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 111k
  • Answers 111k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Cocoa Touch for iPhone OS 3.0 will be released soon.… May 11, 2026 at 9:46 pm
  • Editorial Team
    Editorial Team added an answer For readability, how about: <?php $userid= $this->params['pass'][0];?> var userId =… May 11, 2026 at 9:46 pm
  • Editorial Team
    Editorial Team added an answer You have switch the context document before you can use… May 11, 2026 at 9:46 pm

Related Questions

I teach the third required intro course in a CS department. One of my
My details: custom mobile device running Windows CE 4.2, Compact Framework 2.0 SP1. C#
We have a program that the installer checks for the existence of a config
I have a legacy VB6 application that was built using MSDE. As many client's
I have a program that can have a lot of parameters (we have over

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.