Guidelines for packing
Posted: Wed Jan 02, 2008 11:29 am
Happy New Year all. I have a question. We have some tables that are very dynamic and probably get fragmented over time. I'd like to know how much performance would improve by regular packing (and reindexing too if that's desirable).
Do you have any way to estimate the fragmentation or empty space in a table and any guidelines about when packing is worth doing (if ever). It would take a fair amount of time to copy these tables and rebuild the indices but I'd like to do it if it would significantly improve performance. Even if it doesn't impact performance, is it good to do just as a hygienic measure?
I thought about doing some experiments on one of our larger tables to see how much faster queries would run -- but then I thought maybe I could just ask you instead.
Tom
Do you have any way to estimate the fragmentation or empty space in a table and any guidelines about when packing is worth doing (if ever). It would take a fair amount of time to copy these tables and rebuild the indices but I'd like to do it if it would significantly improve performance. Even if it doesn't impact performance, is it good to do just as a hygienic measure?
I thought about doing some experiments on one of our larger tables to see how much faster queries would run -- but then I thought maybe I could just ask you instead.

Tom