Every time the database is accessed, log something. Could be done in the database itself, logging the IP or through a 3rd party tool (like Mixpanel)