Hello Sidd,
The logging totally depends on the DB Recovery Model. For Full Recovery
Model, both the DTS and query does
row level logging while in Bulk_logged Model its just the modified extents
which gets logged. Performance wise there is not difference
as long as there are No Transformations applied on the source data before
transfering over to the destination.
As far as your question 2) in the original post, I am not sure about what
scenario you talking about...Do you have the Data in XML file to be loaded
into the
SQL Table ? in that case the fastest way could be to use XMLBulkLoad
component directly in you .NET Client App to load large amount of data.
OPENXML could become a peformance bottleneck since its a memory intensive
operation which does in-memory shredding of documents.
In DTS, you might be able to use the ActiveX VB scripts that use
XMLBulkLoad Objects to pull the XML data into SQL Tables. However, if you
need to control
this thru your App, i would suggest to use the XMLBulkLoad component
directly in your App.
Does that answer your question ?
Thanks for using MSDN Newsgroup.
Vikrant Dalwale
Microsoft SQL Server Support Professional
This posting is provided "AS IS" with no warranties, and confers no rights.
Get secure !! For info, please visit
http://www.microsoft.com/security. Please reply to Newsgroups only.
--------------------
| Thread-Topic: DTS vs Query performance
| thread-index: AcQZEvJZgkciXf8VQZ2XsZMqp76sbg==
| X-Tomcat-NG: microsoft.public.sqlserver.dts
| From: "=?Utf-8?B?c2lkZA==?=" <anonymous@discussions.microsoft.com>
| References: <af96a2d7.0403310644.1845bf1c@posting.google.com>
<SrycRiFGEHA.612@cpmsftngxa06.phx.gbl>
| Subject: RE: DTS vs Query performance
| Date: Fri, 2 Apr 2004 16:31:03 -0800
| Lines: 5
| Message-ID: <83B39D23-E4D9-4742-AEC6-C1A5E68B66B5@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.dts
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.dts:46308
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.sqlserver.dts
|
| thanks for the reply
is this correct that DTS does page level logging but the query would do
logging for each record
so query would be slow?
thanks
sidd
|