Solved

Where is max queryspeed solution for mssql programing?

Posted on 2004-04-18
5
563 Views
Last Modified: 2010-08-05
Hi,All
I use Delphi (KOL) with mssql and mysql,
use mysql's libmySQL.dll I can fetch 10,000 rows [id(int),cphone(varchar 16)] into arrays in 0.4s
use ole db and ms sql the first time is 1.3s,
I am crazy at these timing,

My Question are:
Is ms sql offered some libarary like libmysql?
Or any other faster method than MS OLE DB provider?

I just want test if ms sql can't faster or equa to mysql,
I must thansform some apps from mssql to mysql.

Thx.

azsd,2004 4 19
0
Comment
Question by:azsd
  • 3
  • 2
5 Comments
 
LVL 34

Expert Comment

by:arbert
ID: 10853930
What version of Delphi?  Last I knew, only the Enterprise Edition would let you configure a native connection.
0
 
LVL 34

Expert Comment

by:arbert
ID: 10853931
Have you also tried ADO and the getrows method to retrieve the same data into an array?
0
 

Author Comment

by:azsd
ID: 10854173
To arbert:
thx your reply,
I use pure API to maked the test.
I havn't test the ado's speed because I must package them api to a class to use,
In my province experiences,
ado would be half slower than oledb,en,ODBC is the slowest I meet.
It's to late i gona sleep,I think I must try to search more docs for "is their ms offered `Libmssql` api"
:)
0
 
LVL 34

Accepted Solution

by:
arbert earned 150 total points
ID: 10855042
The original DBLibrary API was the api that you could code for "direct access".  However, the support of this API is going away...
0
 

Author Comment

by:azsd
ID: 10855937
yes,right now I founded it at
MSDN Home >  MSDN Library >  Enterprise Development >  Windows Server System >  Microsoft SQL Server >  Microsoft SQL Server 2000 >  Building SQL Server Applications >  Programming DB-Library for C
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
unable to reinstall SCVMM 2012 R2 - SQL errors. 5 41
Need sql in string 2 30
user database (login sql or login windows) 3 28
What Is an Error? 2 27
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question