January 7, 2013 at 1:48 pm
I have a table, I'll call it "X", in a database which is replicated to another server via Merge replication. On the Publisher the space information for the table looks like this:
namerowsreserved data index_sizeunused
X1296 772848 KB772232 KB136 KB 480 KB
The replicated table on the subsciber looks like this:
namerowsreserved data index_sizeunused
X1176 488 KB 216 KB 112 KB 160 KB
Notice that the subscriber table is much smaller and in line with what we would expect for this table. Can anyone offer an explanation why one would be so much bigger than the other? I've run DBCC UPDATEUSAGE on both sides to make sure that the information is accurate.
January 7, 2013 at 2:00 pm
January 7, 2013 at 2:07 pm
I verified the row counts using COUNT(*) and they match, as I would expect. However, the publisher has a much larger data size.
January 7, 2013 at 2:54 pm
Mick Opalak (1/7/2013)
I verified the row counts using COUNT(*) and they match, as I would expect. However, the publisher has a much larger data size.
Is there a clustered index or is this a heap? Heaps do have an issue of not releasing space from delete records http://support.microsoft.com/kb/913399. Its a known "Issue" with heaps and why i tend to use a clustered index on every table.
For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]
Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
Jeff Moden's Cross tab and Pivots Part 1[/url]
Jeff Moden's Cross tab and Pivots Part 2[/url]
January 8, 2013 at 7:39 am
That was it. This table is a heap.
Thanks for the help.
January 8, 2013 at 9:11 am
Mick Opalak (1/8/2013)
That was it. This table is a heap.Thanks for the help.
Did you add a clustered index or resolve it in some way or do you now need to take a look at how to resolve it?
For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]
Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
Jeff Moden's Cross tab and Pivots Part 1[/url]
Jeff Moden's Cross tab and Pivots Part 2[/url]
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply