all groups > sql server replication > december 2004 >
You're in the

sql server replication

group:

UseInprocLoader Question


UseInprocLoader Question frankm
12/30/2004 7:41:36 AM
sql server replication: I'm looking for an explanation of the -UseInprocLoader parameter.
Everywhere I look I see the stock definition with no explanation of what it
actual is and does.
Can any one define what this parameter does or is?

Re: UseInprocLoader Question Hilary Cotter
12/30/2004 12:25:36 PM
There are two ways of deploying the snapshot to the subscriber.

One is the default which is a bcp process using odbcbcp. The other is using
BulkInsert using InProcLoader. IIRC, InProcLoader works best if your
subscriber has multiprocs.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
[quoted text, click to view]

Re: UseInprocLoader Question Hilary Cotter
12/30/2004 3:53:45 PM
Paul is quite correct, this parameter must be used in conjunction with
MaxBCPThreads for optimal performance, and should only be used on multi
processor subscribers.
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
[quoted text, click to view]

Re: UseInprocLoader Question Paul Ibison
12/30/2004 7:07:11 PM
As far as I recall, this works with the -MaxBCPThreads parameter to get
parallel processing working.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)

Re: UseInprocLoader Question frankm
1/3/2005 8:16:21 AM
Yes - but what does it do differently than the standard method.
I have the Hilary Cotter book - very good, by the way!
But nothing I have seen tells me what it actually is...
InProcLoader - in what proc loaded where and how, doing what???


[quoted text, click to view]

Re: UseInprocLoader Question Paul Ibison
1/3/2005 3:07:28 PM
I think this is Proc as in 'process' rather than procedure, which accounts
for the increased speed, relative to using out of process ODBCBCP. In each
case it loads a text file, but BOL explains that BULKINSERT is faster than
BCP.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)

Re: UseInprocLoader Question frankm
1/4/2005 7:55:34 AM
Thanks, I figured out the "in proc" thing, but was trying to understand the
deep down and dirties.




[quoted text, click to view]

AddThis Social Bookmark Button