Click here to Skip to main content
15,908,581 members
Home / Discussions / Database
   

Database

 
GeneralRe: Problem with query and datareader Pin
kallileo14-May-07 11:36
kallileo14-May-07 11:36 
GeneralRe: Problem with query and datareader Pin
Colin Angus Mackay14-May-07 11:40
Colin Angus Mackay14-May-07 11:40 
GeneralRe: Problem with query and datareader Pin
kallileo14-May-07 12:22
kallileo14-May-07 12:22 
QuestionRerun access formwizard [modified] Pin
Dan Neely14-May-07 4:25
Dan Neely14-May-07 4:25 
AnswerRe: Rerun access formwizard Pin
Dave Kreskowiak14-May-07 12:36
mveDave Kreskowiak14-May-07 12:36 
QuestionReadonly Forms in Acess Pin
Dan Neely14-May-07 4:24
Dan Neely14-May-07 4:24 
AnswerRe: Readonly Forms in Acess Pin
Paul Conrad14-May-07 7:26
professionalPaul Conrad14-May-07 7:26 
QuestionINSERT performanse (ODBC to MS SQL) Pin
_TLS14-May-07 4:15
_TLS14-May-07 4:15 
Hello everyone!

Right now I've created a small Windows service that parses binary data files and stores information from there to a MS SQL Server database. Right now each file takes about 15 mins to parse, and that is about 3500 - 4000 INSERT statements.

I'm worried that this time gets bigger as the database grows. Okay, I don't have a production server and it all runs on a standard desktop-like hardware, but still 15 mins is way too much for 3000 operations.

Right now it uses CRecordset MFC classes, and this type of cycle running:
<br />
CRecordset db;<br />
db.Open()<br />
while (run)<br />
{<br />
  db.AddNew();<br />
  ...<br />
  db.Update();<br />
}<br />
db.close()<br />


Are there any ways to boost all this up? What I have in mind is switching to another technology (OLE DB or even a 3d-party classes like SQLApi), or implementing bulk inserts, but haven't yet found any good examples/articles.

I appreciate your help (or links) greatly!

--
Take care!

AnswerRe: INSERT performanse (ODBC to MS SQL) Pin
Dave Kreskowiak14-May-07 5:13
mveDave Kreskowiak14-May-07 5:13 
AnswerRe: INSERT performanse (ODBC to MS SQL) Pin
andyharman14-May-07 6:01
professionalandyharman14-May-07 6:01 
QuestionDatabinding using the BindingNavigator Control Pin
Quecumber25614-May-07 3:20
Quecumber25614-May-07 3:20 
AnswerRe: Databinding using the BindingNavigator Control Pin
Muhadeeb9914-May-07 3:37
Muhadeeb9914-May-07 3:37 
QuestionMSDE File size limits Pin
Not Active14-May-07 2:23
mentorNot Active14-May-07 2:23 
AnswerRe: MSDE File size limits Pin
kubben14-May-07 4:04
kubben14-May-07 4:04 
GeneralRe: MSDE File size limits Pin
Not Active14-May-07 4:19
mentorNot Active14-May-07 4:19 
GeneralRe: MSDE File size limits Pin
kubben14-May-07 4:47
kubben14-May-07 4:47 
GeneralRe: MSDE File size limits Pin
Dave Kreskowiak14-May-07 5:08
mveDave Kreskowiak14-May-07 5:08 
GeneralRe: MSDE File size limits Pin
Not Active14-May-07 5:27
mentorNot Active14-May-07 5:27 
GeneralRe: MSDE File size limits Pin
Dave Kreskowiak14-May-07 12:30
mveDave Kreskowiak14-May-07 12:30 
Questiondataset not populated whereas Query Analyzer generates rows using the same query [modified] Pin
fulbright14-May-07 1:15
fulbright14-May-07 1:15 
AnswerRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
Giorgi Dalakishvili14-May-07 1:21
mentorGiorgi Dalakishvili14-May-07 1:21 
GeneralRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
fulbright14-May-07 1:35
fulbright14-May-07 1:35 
GeneralRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
Giorgi Dalakishvili14-May-07 1:38
mentorGiorgi Dalakishvili14-May-07 1:38 
GeneralRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
fulbright14-May-07 1:45
fulbright14-May-07 1:45 
AnswerRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
sam#14-May-07 1:37
sam#14-May-07 1:37 

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.