dbTalk Databases Forums  

Limitations of SQL Server/MTS!!

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Limitations of SQL Server/MTS!! in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Limitations of SQL Server/MTS!! - 06-15-2006 , 09:47 AM






Hello,

I am trying to mass import data using my application.

For each record, I create a connection, transaction, process data,
commit transaction and close connection and am also disposing these
objects.

I have about 100,000 records.

After a few hundred imports, I get weird, inconsistent errors everytime
I run the app. I was wondering if creating and disposing these many
connections and transactions could cause memory leaks etc. Anyone?
Microsoft?

Thanks,


Reply With Quote
  #2  
Old   
amish
 
Posts: n/a

Default Re: Limitations of SQL Server/MTS!! - 06-16-2006 , 10:37 AM







nashak (AT) hotmail (DOT) com wrote:

Quote:
Hello,

I am trying to mass import data using my application.

For each record, I create a connection, transaction, process data,
commit transaction and close connection and am also disposing these
objects.

I have about 100,000 records.

After a few hundred imports, I get weird, inconsistent errors everytime
I run the app. I was wondering if creating and disposing these many
connections and transactions could cause memory leaks etc. Anyone?
Microsoft?

Thanks,
so for 100000 records u create this much connection?
Look at ssis forech loop container, it will help in this case.
What is type of source data?

Regards
Amish Shah



Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: Limitations of SQL Server/MTS!! - 06-16-2006 , 11:35 AM



I understand your concern. Hence here is some more info

this is the initial data import. I am using current logic to insert
rows. Normally this procedure will be called 2-5 times a day and hence
the procedure will run fine.

Hope this allays your concern about 100,000 connections being created
and disposed


amish wrote:
Quote:
nashak (AT) hotmail (DOT) com wrote:

Hello,

I am trying to mass import data using my application.

For each record, I create a connection, transaction, process data,
commit transaction and close connection and am also disposing these
objects.

I have about 100,000 records.

After a few hundred imports, I get weird, inconsistent errors everytime
I run the app. I was wondering if creating and disposing these many
connections and transactions could cause memory leaks etc. Anyone?
Microsoft?

Thanks,

so for 100000 records u create this much connection?
Look at ssis forech loop container, it will help in this case.
What is type of source data?

Regards
Amish Shah


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.