I have experience with shell script, python script and SQL, that are elegible tools for this situation, working with these tools over +4 years and studiyng it at university.
I can take a look at your database and see if we can figure out a solution to your problem.