It sounds like you are approaching the problem from the wrong perspective and over complicating it. How do the ID’s get into the database? You should go to that point in the code and log it and/or notify yourself at that point. For example, if you want to be notified each time a user signs up to your site, upon a successful sign up, send yourself a mail.
solved self check database [closed]