You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to migrate an existing table to a native partitioned table managed by partman. Once the copy of the data from the existing table is complete I want to rename the partitioned table to the existing table. Is there any problem with renaming all the partitions, renaming the template table, and upating the row in part_config for the partitioned table to reflect the exising name? Any other concerns modifying the partman config tables in this manner?
The text was updated successfully, but these errors were encountered:
Thanks for the confirmation. If I understand this correctly renaming contraints and partitions isn't necessary but is just good practice to keep everything clean. The only thing that needs to change is parent_name in the part_config, the name of the template table, and the column that references that table in part_config. If this data is wrong the partition manager will fail to create new partitions when maintenace is run.
I'm attempting to migrate an existing table to a native partitioned table managed by partman. Once the copy of the data from the existing table is complete I want to rename the partitioned table to the existing table. Is there any problem with renaming all the partitions, renaming the template table, and upating the row in part_config for the partitioned table to reflect the exising name? Any other concerns modifying the partman config tables in this manner?
The text was updated successfully, but these errors were encountered: