[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Where is max queryspeed solution for mssql programing?

Posted on 2004-04-18
5
Medium Priority
?
587 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 450 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Suggested Courses

834 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