I have 7+ years experience with PHP and MySQL. I have worked with plenty of mysql databases that store ip addresses. What you might want to check if the script is inputting the ip address more than once into the database. If that is not the case, then I would suggest setting up a CRON job that deleted old ip checks. If you have any questions, please feel free to ask. Thank you.