Solved

Where is max queryspeed solution for mssql programing?

Posted on 2004-04-18
5
518 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now