chicjo01 wrote:Can you let us know when and where this query is getting kicked off and our DBAs want to know why there is no limit or where clause?
I dug a bit deeper into this, and
mysqldump works by grabbing all the data using the query
SELECT /*!40001 SQL_NO_CACHE */ * FROM table;. So the reason those queries are being executed is probably due to mysqldump being run.
The following XI scripts use
mysqldump:
Code: Select all
/usr/local/nagiosxi/scripts/backup_xi.sh
/usr/local/nagiosxi/scripts/nagiosql_snapshot.sh
/usr/local/nagiosxi/scripts/restore_defaults.sh
I suspect one of those scripts, likely
backup_xi.sh run as a result of routine backups, is the source of those queries.