Hi All,I have 6 tables which are very huge in row count and need to be partitioned for better manageability.Little info: Every day, 300 Million records are inserted and 300 million records are deleted in below 7 tables. we maintain only 8 days worth of data in below tables which is the reason records which are older than 8 days are continuously deleted.Master table which has [ID],[Timestamp][b]Table Name:[/b] Sample - 2,578,106[b]Child tables[/b]: Foreign key [ID] is common for all the tables. There is no timestamp column in child table.dbo.ConnectionDB - 1,147,578,048dbo.ConnectionSS - 876,458,321dbo.ConnectionRT - 118,133,857dbo.ConnectionSample - 100,038,535dbo.Command - 100,032,235I would like to partition the above child tables based on the IDs that are inserted every 4 hours. Meaning, All IDs that are inserted in 4 hours window should be in a partition.Please help me to implement partitioning for above tables.Also, please feel free to propose if you folks have a better idea to partition above tables.
↧