|
Home > Archive > BizTalk Server Applications Integration > June 2004 > VERY SLOW AICSQL UPDATES!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
VERY SLOW AICSQL UPDATES!
|
|
|
| I'm using BTS 2002 (SP1) and AICSQL to parse XML documents
and insert/update records in an SQL Server db table (using
stored procedures). Current testing is being done on a
fast Dell 2650 Server. SQL Server is installed on this
same server for testing purposes and is a stand alone
config. There is a mapping between the document
definitions, and existence functoids are used for fields
that may not be present in the data instance. One
definition/map is used for Insertions/Updates/Deletions
etc; a scripting functiod determines the relevant stored
procedure param name (insert, update etc).
All works well except when processing documents for
update! For example, testing 617 data instances (all for
insertion as new records), collected via a file receive
function, are processed within say 30 seconds. Using same
data instances (simple single record XML) but amended for
updating the previously inserted records can take anything
up to 20 mins! The interchanges spend a long time in the
work queue and sometimes up to a quarter are placed in the
retry queue and warnings are then generated. The warning
is always a parsing failure and transport error (while
processing message port using transport component of
AICSQL pipeline 1). Any retry and suspension queue docs
will eventually parse and update.
So, why does it take so long to do updates compared to
inserts (using same type of data, mapping, doc defs etc)?
Is there something I'm not doing right? Any suggestions
much appreciated.
Phil.
| |
| Jan Eliasen 2004-06-26, 10:53 am |
| Hi
I am not sure this will work, but are there any indices on the tables
you are updating in SQL Server? Perhaps try with more indices or less
indices?
Jan Eliasen
On Wed, 23 Jun 2004 06:05:38 -0700, "Phil"
<anonymous@discussions.microsoft.com> wrote:
>I'm using BTS 2002 (SP1) and AICSQL to parse XML documents
>and insert/update records in an SQL Server db table (using
>stored procedures). Current testing is being done on a
>fast Dell 2650 Server. SQL Server is installed on this
>same server for testing purposes and is a stand alone
>config. There is a mapping between the document
>definitions, and existence functoids are used for fields
>that may not be present in the data instance. One
>definition/map is used for Insertions/Updates/Deletions
>etc; a scripting functiod determines the relevant stored
>procedure param name (insert, update etc).
>
>All works well except when processing documents for
>update! For example, testing 617 data instances (all for
>insertion as new records), collected via a file receive
>function, are processed within say 30 seconds. Using same
>data instances (simple single record XML) but amended for
>updating the previously inserted records can take anything
>up to 20 mins! The interchanges spend a long time in the
>work queue and sometimes up to a quarter are placed in the
>retry queue and warnings are then generated. The warning
>is always a parsing failure and transport error (while
>processing message port using transport component of
>AICSQL pipeline 1). Any retry and suspension queue docs
>will eventually parse and update.
>
>So, why does it take so long to do updates compared to
>inserts (using same type of data, mapping, doc defs etc)?
>Is there something I'm not doing right? Any suggestions
>much appreciated.
>
>Phil.
--
Jan Eliasen, representing himself and not the company he works for.
|
|
|
|
|