Compare fails for partitioned tables
DBA_Dave
Posts: 31
I have been trying to compare two different cases in SQL 2005 SP2:
1. A non-partitioned table to its partitioned twin on another server.*
2. A partitioned tabled to its partitioned twin on another server.
In each case the compare hangs at 0% and blocks access to the target table.
Is this a known problem?
* I realize that all 2005 tables are technically partitioned. These actually have a partition scheme, file groups, and a partition function.
1. A non-partitioned table to its partitioned twin on another server.*
2. A partitioned tabled to its partitioned twin on another server.
In each case the compare hangs at 0% and blocks access to the target table.
Is this a known problem?
* I realize that all 2005 tables are technically partitioned. These actually have a partition scheme, file groups, and a partition function.
Dave Rutledge
Database Administrator
SNL Financial LC
Database Administrator
SNL Financial LC
Comments
Is there any way you can give us the schema information for the tables or how you have them setup so we can attempt to reproduce this internally?
Are you using a primary key or custom comparison key as this will have a siginificant difference in performance?
Project Manager
Red Gate Software Ltd
I can email the schema, I can't make it public.
Database Administrator
SNL Financial LC
Might be worth setting up a constraint or just trying to select from the table in that order in SQL Query Analyzer to see if takes as long to return as this sounds like it could be the problem.
Project Manager
Red Gate Software Ltd
The table has both a clustered index and a covering index on the time column used in the partition function. Nothing needs to be arranged.
Database Administrator
SNL Financial LC