Poor Performance in SQL Server Inserts
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Poor Performance in SQL Server Inserts




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Poor Performance in SQL Server Inserts  
Samar Roy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-17-04 10:50 PM

I have an orchestration that loops through multiple CUSTOMER nodes in XML
extracting one customer information inserting into a SQL Table on every loop
.
For testing purpose, I am currently inserting NULLS in all fields exept one
that has 5 characters. So it is not a big page insert. The table has no
constraints but the insert is going at about 1 transaction per second. I am
running Biztalk and SQL Server on one machine for testing purposes.
Has someone faced this issue?





[ Post a follow-up to this message ]



    RE: Poor Performance in SQL Server Inserts  
Alan Smith


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-17-04 10:50 PM

Hi,

Can you get any more info on what may be causing it. Check the amount of
RAM used, the % disk access, and the % proc times for the different processe
s.

Things will be slow if Windows as caching RAM to the HD at the same time
as BizTalk, and your orchestration write to the database.

For a faster solution you could try creating a .net class to split the
message and
perform the inserts. Going through the SQL adapter means the messages pass
through the message box database (righ?), so there will be an overhead there
.

Cheers,

Alan


"Samar Roy" wrote:

> I have an orchestration that loops through multiple CUSTOMER nodes in XML
> extracting one customer information inserting into a SQL Table on every lo
op.
> For testing purpose, I am currently inserting NULLS in all fields exept on
e
> that has 5 characters. So it is not a big page insert. The table has no
> constraints but the insert is going at about 1 transaction per second. I a
m
> running Biztalk and SQL Server on one machine for testing purposes.
> Has someone faced this issue?





[ Post a follow-up to this message ]



    RE: Poor Performance in SQL Server Inserts  
Samar Roy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-17-04 10:50 PM

I wrote so that I compose the XML message first and then map a many to many
XML to SQL Adapter. This way I go through the MessageBox only once. a lot
faster. 10,000 rows took close to 10 seconds now. I guess Once through the
MessageBox and then the overhead of writing so many SQLXML to the SQL Server
.
Thanks for the insight.

"Alan Smith" wrote:
[vbcol=seagreen]
> Hi,
>
> Can you get any more info on what may be causing it. Check the amount of
> RAM used, the % disk access, and the % proc times for the different proces
ses.
>
> Things will be slow if Windows as caching RAM to the HD at the same time
> as BizTalk, and your orchestration write to the database.
>
> For a faster solution you could try creating a .net class to split the
> message and
> perform the inserts. Going through the SQL adapter means the messages pass
> through the message box database (righ?), so there will be an overhead the
re.
>
> Cheers,
>
> Alan
>
>
> "Samar Roy" wrote:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:10 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register