Viewing 15 posts - 31 through 45 (of 52 total)
Thanks for comment. I like the CTE coding but this seems to not include the small batch concept, without that end up with lock contention.
March 6, 2013 at 11:37 am
Agreed the count method consumes resources so initially against huge tables I hard code the count. Say the table has 50 million rows to remove, no point using count...
March 6, 2013 at 11:28 am
Thanks for the comment. Sorry these jobs runs on a schedule, initially against huge tables I run them every 20 minutes once the table is cleaned up I...
March 6, 2013 at 11:19 am
thanks for the comment. I also played with putting in a wait delay and that is another approach. What I do now is run these deletes as jobs...
March 6, 2013 at 11:16 am
This technique runs on our production systems for over 1 year - it reliably returns the oldest rows as long as the predicate is against the primary cluster index key....
March 6, 2013 at 11:12 am
Thanks Lana - somehow missed that in editing.:-)
March 6, 2013 at 11:03 am
This replication was on SQL 2005. Alas, my shop still has SQL 2000 despite my best efforts to upgrade. Highly recommend getting off SQL 2000.:-)
February 4, 2013 at 11:44 am
There are commands at the distributor which need to be cleared before replication resumes, I've found dropping the publisher the quickest method to clear them all out - but I...
June 21, 2012 at 10:47 am
Paul:
Thanks for the tip - I'll have to test out table diff and see good it is.
May 27, 2012 at 10:07 pm
Hi Greg:
You'll find replication is quite exact. Setting the pre_cmd='none' only avoids the snapshot and prevent the overlaying of the subscriber data but it by itself is insufficient to...
May 27, 2012 at 10:02 pm
Drop the article doesn't remove the bad commands at the distributor, as long as those commands are there replication won't begin. Dropping the publisher is the quickest method to...
May 27, 2012 at 9:57 pm
This was a system I inherited, the articles were in alphabetical order so there were huge and small row count articles mixed together. I won't recommend such a grouping...
May 27, 2012 at 9:55 pm
Yes step 4 is a manual resync since the delta rows missing on the subscriber are relatively few compared to the total rows in the article. I use Redgate's...
May 18, 2012 at 10:49 am
Yes pending replicaiton commands can be reviewed and rerun but it's a bit involved for a post reply. I will write about that in a following article. If...
May 18, 2012 at 10:42 am
I reran the process 10x as where in, inner join and exists. Overall the where in and inner join were statistically even with a slight edge to where in,...
March 9, 2012 at 10:00 pm
Viewing 15 posts - 31 through 45 (of 52 total)