mutley1
MIS
- Jul 24, 2003
- 909
Hi Guys,
Been a while, but need some input. SQL 2000 with constant transactional replication. There is 1 table which holds about 2.1 million records, and someone has a job which clears it out, repopulates it and then updates a few date fields in it. They are using a DELETE mytbl command which will obviously cause 2.1 million transactions to be replicated over, then an insert of latest data (another 2.1 million transactions), then an update on 1 date field (guessing another 2.1 million).
Question is, how does transactional replication handle TRUNCATE? would it send a TRUNCATE comand or still do 2.1M for the clear out part?
Any suggestions welcome, as the sp_MSadd_repl_commands is often blocking the sp_MSget_repl_commands and sp_replcmds procs, which I am putting down to the addition of 6.3M commands, or am I off the mark?
Thx,
M.
Been a while, but need some input. SQL 2000 with constant transactional replication. There is 1 table which holds about 2.1 million records, and someone has a job which clears it out, repopulates it and then updates a few date fields in it. They are using a DELETE mytbl command which will obviously cause 2.1 million transactions to be replicated over, then an insert of latest data (another 2.1 million transactions), then an update on 1 date field (guessing another 2.1 million).
Question is, how does transactional replication handle TRUNCATE? would it send a TRUNCATE comand or still do 2.1M for the clear out part?
Any suggestions welcome, as the sp_MSadd_repl_commands is often blocking the sp_MSget_repl_commands and sp_replcmds procs, which I am putting down to the addition of 6.3M commands, or am I off the mark?
Thx,
M.