Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Aug 7, 1997

JET 3.0 Query Optimization, Get with the Plan

If you need to analyze the performance of a Jet 3.0 query by the query execution plan, you may do so by adding this registry key and running regedit:

 
\\HKEY_LOCAL_MACHINE\SOFTWARE\_
        Microsoft\Jet\3.0\Engines\Debug




For the new Debug key, add a name value of JETSHOWPLAN (all capital letters) and a data value of ON. Jet will generate a file called SHOWPLAN.OUT, which will display query execution plans associated with your application. Because these files can get to be big quickly, please remember to set the data value to OFF once you're done.

Well-designed queries and databases will generate query execution plans that refer to steps of the query execution that utilize table indices and/or Rushmore technology as much as possible. Poorly designed ones often exhibit query execution steps where table scanning (reading rows sequentially) occurs.

Rob Karatzas
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date