Registry Compact is a new feature of 2006.
What precautions should be taken when performing a registry compact?
This is not something that should be done "on the fly" from my experience. Total destruction of the system registry is a potential outcome of improperly doing a registry compact.