|
-
If you can afford a little downtime for this table, this is what I would do...
1- Rename your current table as fact_table_name_old
2- Script and then drop all indexes, pk, etc from fact_table_name_old
3- Create new fact_table_name as partitioned (*)
4- Load fact_table_name from fact_table_name_old
5- Rebuild PK, indexes (**), etc.
6- Gather fresh stats
(*) I'm assuming this is a factual table in a data warehouse environment therefore, purging is out of the picture. If my assumption is correct, be sure your partitioning strategy helps the most used queries.
(**) You might want to evaluate when indexes have to be partitioned or not.
Last edited by PAVB; 05-22-2007 at 01:41 PM.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|