Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Best practice for replicating Partitioned table

$
0
0

Hi SQL Gurus,

Requesting your help on the design consideration for replicating a partitioned table.

1. 4 Partitioned tables (1 master table with foreign key constraints to 3 tables) partitioned based on monthly YYYYMM

2. 1 table has a XML column in it

3. Monthly switch partition to remove old data, since it is having foreign key constraint; disable until the switch is complete

4. 1 month partitioned data is 60 GB

having said the above, wanted to create a copy of the same tables to a different servers.

I can think of

1. Transactional replication, but then worried about the XML column,snapshot size and the alter switch will make the same thing
on the subscriber or row by row delete.

2. Logshipping with standby with every 15 minutes, but then it will be for the entire database; because I have other partitioned monthly table which is of 250 GB worth.

3. Thinking about replicating the Partitioned table as Non Partitioned, in that case how the alter switch will work. Is it possible to ignore delete when setting up the replication.

3. SSIS or Stored procedure method of moving data on a daily basis.

4. Backup and restore on a daily basis, but this will not work when the source partition is removed.


Ganesh


Viewing all articles
Browse latest Browse all 4689

Trending Articles