Re: Updategram Out of Memory! Do I need BulkLoad? How do I delete?
- From: "Michael Rys [MSFT]" <mrys@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 11 Jul 2006 15:04:56 -0700
Updategrams are meant for smaller resyncs since it uses the DOM internally
you get a size explosion of a factor of 5 (average) in memory...
If you just want to load the data (no deletion) you should really go and use
the SQLXML Bulkload since it is streaming the data...
Best regards
Michael
"Cynric" <Cynric.29p6u4@xxxxxxxxxxxx> wrote in message
news:Cynric.29p6u4@xxxxxxxxxxxxxxx
Hi
I have had the same problem.
I have managed it, with no longer use updategram, and make instead a
temp- table where I make lonly inserts from XML with an XSL. After
inserting all, my stored- procedure looks if all data has come and it
transferrs all data in the right table, with transaction- handling.
With updategram i have seen memory-usage upto 200 MB size, for
transferring an XML of 5MB !! That was too much for my systems.
You can use updategrams only upto 500KB-XML-Files.:(
--
Cynric
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message560839.html
.
- Prev by Date: Re: OPENXML Sql 2000 to XQuery Sql 2005
- Next by Date: Re: problem with an xpath parameter to StoredProc
- Previous by thread: Re: OPENXML Sql 2000 to XQuery Sql 2005
- Next by thread: Re: problem with an xpath parameter to StoredProc
- Index(es):
Relevant Pages
|
Loading