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
Comments
Post a Comment