Ndoutils database updates



I would like to learn more about the Nagios NDOUTILS algorithm used for updating the MySQL database and pushing data into the history tables. I have a similar database project where current data is continously pushed into “history” tables and am searching for ideas on how to do this most efficiently for process performance and speed of sql execution.

Any ideas and suggestions are appreciated.