whence_invalidations.sql

May be able to help you out.

http://www.ixora.com.au/scripts/library.htm