MySQL - How to count the number of inserts/updates to a table -


i'm looking mysql performance issues , generate report of how many inserts/updates made each table in database on period of time.

i have lots of data available regarding server performance in general such rds's disk i/o metrics. mysql's show status command show queries , innodb_data_writes, these @ entire server level, not granular @ all. i'd detail down table level.

perhaps there buried in information_schema or performance_schema databases can turn on or use?

the performance schema keeps statistics of table io, on table (and index) granularity.

see table performance_schema.table_io_waits_summary_by_table

https://dev.mysql.com/doc/refman/5.7/en/table-waits-summary-tables.html#table-io-waits-summary-by-table-table


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -