Performance Problem with Jet 3.5 Engine 
Author Message
 Performance Problem with Jet 3.5 Engine

I have an application that sends SQL Insert statements via ODBC into a
MS Access 97 Database (it uses the MS Jet 3.5 driver). The application
is horrible slow (only about 1 insert per second). My suspect is that
the Jet engine does not support prepared Statements by default. In the
jetsql35.hlp file a registry parameter "PreparedInsert" is documented
which is 0 by default. But setting this parameter does not help. I tried
to set the Parameter "TraceSQLMode" but no trace file is written. Am I
looking into the wrong directory? On my Windows NT System I found these
Parameters in the registry under:

HKEY_LOCAL_MACHINE/Software/Microsoft/Jet/3.5/Engines/ODBC

Do you know how to turn on the tracing? Does MS Jet 3.5 support prepared
insert?

Thank you
Stefan

  vcard.vcf
< 1K Download


Fri, 28 Jul 2000 03:00:00 GMT  
 Performance Problem with Jet 3.5 Engine

Why are you using ODBC? If you are using ODBC from ADO (Web Page, etc) then
you should upgrade to the OLE DB Provider for Jet.

If you are not using ODBC from a ASP page, etc, the issue may be other
things. Where is the database? Is it on the same machine as the users? How
fast is the network. How many indices do you have. All of these factor in
the picture.

Give us some more info.

--
Stephen Forte
President, NYC Access & VB Developers Group
http://www.nycaccessvb.com
http://www.auroradev.com
-----------------------------------------------------------------

Quote:

>I have an application that sends SQL Insert statements via ODBC into a
>MS Access 97 Database (it uses the MS Jet 3.5 driver). The application
>is horrible slow (only about 1 insert per second). My suspect is that
>the Jet engine does not support prepared Statements by default. In the
>jetsql35.hlp file a registry parameter "PreparedInsert" is documented
>which is 0 by default. But setting this parameter does not help. I tried
>to set the Parameter "TraceSQLMode" but no trace file is written. Am I
>looking into the wrong directory? On my Windows NT System I found these
>Parameters in the registry under:

>HKEY_LOCAL_MACHINE/Software/Microsoft/Jet/3.5/Engines/ODBC

>Do you know how to turn on the tracing? Does MS Jet 3.5 support prepared
>insert?

>Thank you
>Stefan



Fri, 28 Jul 2000 03:00:00 GMT  
 Performance Problem with Jet 3.5 Engine

Quote:

> Why are you using ODBC? If you are using ODBC from ADO (Web Page, etc) then
> you should upgrade to the OLE DB Provider for Jet.

> If you are not using ODBC from a ASP page, etc, the issue may be other
> things. Where is the database? Is it on the same machine as the users? How
> fast is the network. How many indices do you have. All of these factor in
> the picture.

> Give us some more info.

Stephen,sorry for not giving enough information.  I'm actually building a Java
Application that uses JDBC to insert the records into the database. The current
configuration uses the JDBC-ODBC Bridge of Microsoft's Java VM. The ODBC DSN in
turn points to a MS Access 97 Database.

It may be possible to use other DB-interfaces from Microsoft Java. However
until now I'd like to keep with the standard JDBC interface. But obviously
using the standard interface seems to impact the performance too much.

mfg Stefan

  vcard.vcf
< 1K Download


Sun, 30 Jul 2000 03:00:00 GMT  
 Performance Problem with Jet 3.5 Engine

Stefan,

If you create a parameterised Insert query in your Access mdb, then you can
treat it as a stored procedure from an ODBC point of view.  Use the ODBC
Call syntax.

Cheers,

Mark Weston
Real Solutions Pty. Ltd.



Quote:
> I have an application that sends SQL Insert statements via ODBC into a
> MS Access 97 Database (it uses the MS Jet 3.5 driver). The application
> is horrible slow (only about 1 insert per second). My suspect is that
> the Jet engine does not support prepared Statements by default. In the
> jetsql35.hlp file a registry parameter "PreparedInsert" is documented
> which is 0 by default. But setting this parameter does not help. I tried
> to set the Parameter "TraceSQLMode" but no trace file is written. Am I
> looking into the wrong directory? On my Windows NT System I found these
> Parameters in the registry under:

> HKEY_LOCAL_MACHINE/Software/Microsoft/Jet/3.5/Engines/ODBC

> Do you know how to turn on the tracing? Does MS Jet 3.5 support prepared
> insert?

> Thank you
> Stefan



Fri, 04 Aug 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Convert DAO 3.5 to DAO 3.6 Jet Engine 4.0

2. Jet 3.0 vs Jet 3.5 table locking during queries

3. jet 3.5 vs jet 4.0

4. US/UK Date corruption: Jet 3.5 stored procs via Jet 4

5. Jet 3.5 or Jet 4.0

6. Jet 3.5 question/problem

7. Problems with Using Jet 3.5 and VB

8. Problem intaling Microsoft Jet 3.5

9. New Jet Engine Performance Tuning and Analysis Tool!!!

10. New JET Engine PERFORMANCE MONITOR and TRACE utility!!!

11. Jet Engine performance question

12. Performance of Jet 2.x engine with ODBC

 

 
Powered by phpBB® Forum Software