Re: MS SQL Server 2005 JDBC Driver Performance Issue




"Richard Yeo" <RichardYeo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9C7EFE49-7DAF-4C21-AE42-1F81DAD0AA30@xxxxxxxxxxxxxxxx
We are in the process of migrating the application that runs our business
from Sybase ASE 12.5.3 to MS SQL Server 2005 SP x64

Our application is a large java application which runs on Redhat
Enterprise
Linux 4, Tomcat, etc.

We have written a standalone java console application to test the
performance of the Microsoft JDBC driver that uses our existing
applications
database abstraction layer to call a stored procedure that inserts a
record
into a database table.

Sybase ASE with Sybase JDBC driver = 780 calls per second
SQL Server with MS JDBC driver = 463 calls per second

the difference in performance would appear to be purely down to the JDBC
driver as we know SQL server is capable of over 1,100 calls per second
using
MS ADO let alone ADO.Net 2.0 (which uses Sql server 2005's new native
client
library).


You haven't gotten there yet. Are the procedure calls wrapped in a
transaction? If not then you may just be testing how many physical IO's per
second the database server can generate against its log file.

You might use a stored procedure that does no real work to better isolate
the driver and network overhead.

(BTW the new native client SQL Native Client is an unmanged ODBC and OleDB
driver, and can be used from ADO. ADO.NET 2.0 uses a different and also new
client library).

David


.



Relevant Pages

  • Re: Microsoft SQL Server JDBC performance issue
    ... Andrew J. Kelly SQL MVP ... performance of the Microsoft JDBC driver that uses our existing ... Sybase ASE with Sybase JDBC driver = 780 calls per second ... SQL Server with MS JDBC driver = 463 calls per second ...
    (microsoft.public.sqlserver.connect)
  • The DBMS returned an unspecified error.
    ... We are using Microsoft's JDBC driver for Java database access to SQL Server ... intense process (inserting fairly large batches of information in a ... Insufficient memory available. ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Newlines not allowed in Call Escape by SQL Server 2005 JDBC driver
    ... The SQL Server 2000 JDBC driver does not ... Test JDBC Driver Stored Procedure Escape Syntax. ...
    (microsoft.public.sqlserver.jdbcdriver)
  • RE: SQL Server 6.5 JDBC Driver
    ... SQL Server 6.5 JDBC Driver ... | thread-index: AcTcjtn5sYlP5LOcTZyts1TOsL2IhQ== ... Produced By Microsoft MimeOLE V6.00.3790.0 ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Newlines not allowed in Call Escape by SQL Server 2005 JDBC driver
    ... SQL Server 2005 JDBC driver connecting to SQL 2000 database all on Windows XP ... and the statement contains one or more line terminating characters (carriage ... Connection connection = ...
    (microsoft.public.sqlserver.jdbcdriver)