Maintenance Activities
- Last UpdatedJun 06, 2024
- 1 minute read
The following maintenance activities are recommended before and after partitioning the table. These activities may take some time (30 minutes to a few hours) based on the size of the database.
Before partitioning
-
Backup the database.
After Partitioning
-
Improve overall performance by optimizing the database as follows:
-
Shrink the primary database file.
-
Shrink the log file.
-
Rebuild indexes.
Backup and Restoring Partitioned Database
Backup and restoring steps for partitioned database is slightly different from the standard database backup and restoration. Please follow the Microsoft documentation for details.
Following references may help for backup and restoration of Database with Partition: