If you uninstall the compact operations automatically running in the background and make sure that all the e-mail scanning programs are immediately stopped, there is a great chance you would save your PST files from being damaged.
Other preventive measures include shying away from multitasking while a valid compact operation is on; keeping PC and [...]