Click here to Skip to main content
15,929,504 members
Home / Discussions / Database
   

Database

 
GeneralRe: A SQL SERVER Question Pin
Rein Hillmann18-Sep-02 23:00
Rein Hillmann18-Sep-02 23:00 
GeneralRe: a simple stored procedure Pin
Jon Hulatt18-Sep-02 22:16
Jon Hulatt18-Sep-02 22:16 
GeneralHelp with SQL Parameter Pin
~toki18-Sep-02 15:59
~toki18-Sep-02 15:59 
GeneralRe: Help with SQL Parameter Pin
Jon Hulatt18-Sep-02 22:11
Jon Hulatt18-Sep-02 22:11 
GeneralRe: Help with SQL Parameter Pin
Rein Hillmann18-Sep-02 23:02
Rein Hillmann18-Sep-02 23:02 
GeneralRe: Help with SQL Parameter Pin
~toki19-Sep-02 14:01
~toki19-Sep-02 14:01 
GeneralProblem with SQL FETCH Pin
Cheickna18-Sep-02 4:03
Cheickna18-Sep-02 4:03 
QuestionWhy is ADO.NET so slow? Pin
ekk17-Sep-02 6:02
ekk17-Sep-02 6:02 
I am working on a large-scale enterprise application that needs to output a large amount of data in a short time. An older version of the program used DAO, and now, after rewriting in .NET it uses either the Jet OleDb or Sql .NET providers. While the .NET version is significantly faster in performing the calculations of the data that needs to be output, it is excessively slower in outputing it...

I created a console app to perform an empirical comparison. For each data access technology I output 8760 records with each record containg one Date field and 40 Single fields... For the .NET providers I create an INSERT command and execute it 8760 times (repopulating with random values). For the DAO (using an auto-generated interop assembly) I open a recordset on the table and for each record I call Recordset.AddNew, set the values, and then call Recordset.Update...

The results:
Jet DAO - 7 seconds
Sql .Net Provider - 37 seconds
Jet OleDb .Net Provider - 57 seconds

Are the .Net providers not written with massive outputing of data in mind? Does anyone know if someone has written a wrapper around DAO that lets it fit into the System.Data class heirarchy (I'd be very interested in that)? Is there a better way to output a large number of records in .NET (I've tried using DataAdapters which made no difference)?

This matters a lot for me since the new application takes around 4-5 times as long to calculate and output its results (which really matters since this equates to about 8-9 hours per run of the application)..

AnswerRe: Why is ADO.NET so slow? Pin
Nick Parker17-Sep-02 16:51
protectorNick Parker17-Sep-02 16:51 
GeneralRe: Why is ADO.NET so slow? Pin
ekk18-Sep-02 11:45
ekk18-Sep-02 11:45 
GeneralInstallShield - MSAccess Pin
Spiros17-Sep-02 4:16
Spiros17-Sep-02 4:16 
GeneralRe: InstallShield - MSAccess Pin
David Salter17-Sep-02 11:55
David Salter17-Sep-02 11:55 
GeneralRe: InstallShield - MSAccess Pin
Spiros17-Sep-02 16:40
Spiros17-Sep-02 16:40 
GeneralRe: InstallShield - MSAccess Pin
Paul Riley18-Sep-02 12:34
Paul Riley18-Sep-02 12:34 
QuestionHow can I list all available OLE DB providers with C#? Pin
Vu Truong17-Sep-02 0:47
Vu Truong17-Sep-02 0:47 
GeneralWierd ADO problem Pin
James Spibey17-Sep-02 0:39
James Spibey17-Sep-02 0:39 
GeneralRe: Wierd ADO problem Pin
SimonS17-Sep-02 4:20
SimonS17-Sep-02 4:20 
GeneralRe: Wierd ADO problem Pin
James Spibey17-Sep-02 5:18
James Spibey17-Sep-02 5:18 
QuestionList all available OLE DB providers by another way??? Pin
Vu Truong16-Sep-02 23:20
Vu Truong16-Sep-02 23:20 
GeneralGetting the SQL server Locale with ADO Pin
Le centriste16-Sep-02 13:04
Le centriste16-Sep-02 13:04 
GeneralRe: Getting the SQL server Locale with ADO Pin
Richard Deeming17-Sep-02 0:41
mveRichard Deeming17-Sep-02 0:41 
GeneralHELP (search in the image data type) (MSSQL Server) Pin
Archigal16-Sep-02 10:16
Archigal16-Sep-02 10:16 
GeneralAccessing MS SQL-Server via ADO Pin
am_16-Sep-02 3:10
am_16-Sep-02 3:10 
GeneralRe: Accessing MS SQL-Server via ADO Pin
Jon Hulatt16-Sep-02 22:19
Jon Hulatt16-Sep-02 22:19 
GeneralRe: Accessing MS SQL-Server via ADO Pin
am_16-Sep-02 22:38
am_16-Sep-02 22:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.