Compacting Medea on database open.