This table summarizes file I/O events aggregated by file instance, providing granular I/O statistics for individual files.
The Performance Schemafile_summary_by_instance table contains file events summarized by instance. It contains the following columns:
Column
Description
FILE_NAME
File name.
EVENT_NAME
Event name.
OBJECT_INSTANCE_BEGIN
Address in memory. Together with FILE_NAME and EVENT_NAME uniquely identifies a row.
COUNT_STAR
Number of summarized events
SUM_TIMER_WAIT
Total wait time of the summarized events that are timed.
MIN_TIMER_WAIT
Minimum wait time of the summarized events that are timed.
AVG_TIMER_WAIT
Average wait time of the summarized events that are timed.
MAX_TIMER_WAIT
Maximum wait time of the summarized events that are timed.
COUNT_READ
Number of all read operations, including FGETS, FGETC, FREAD, and READ.
SUM_TIMER_READ
Total wait time of all read operations that are timed.
MIN_TIMER_READ
Minimum wait time of all read operations that are timed.
AVG_TIMER_READ
Average wait time of all read operations that are timed.
MAX_TIMER_READ
Maximum wait time of all read operations that are timed.
SUM_NUMBER_OF_BYTES_READ
Bytes read by read operations.
COUNT_WRITE
Number of all write operations, including FPUTS, FPUTC, FPRINTF, VFPRINTF, FWRITE, and PWRITE.
SUM_TIMER_WRITE
Total wait time of all write operations that are timed.
MIN_TIMER_WRITE
Minimum wait time of all write operations that are timed.
AVG_TIMER_WRITE
Average wait time of all write operations that are timed.
MAX_TIMER_WRITE
Maximum wait time of all write operations that are timed.
SUM_NUMBER_OF_BYTES_WRITE
Bytes written by write operations.
COUNT_MISC
Number of all miscellaneous operations not counted above, including CREATE, DELETE, OPEN, CLOSE, STREAM_OPEN, STREAM_CLOSE, SEEK, TELL, FLUSH, STAT, FSTAT, CHSIZE, RENAME, and SYNC.
SUM_TIMER_MISC
Total wait time of all miscellaneous operations that are timed.
MIN_TIMER_MISC
Minimum wait time of all miscellaneous operations that are timed.
AVG_TIMER_MISC
Average wait time of all miscellaneous operations that are timed.
MAX_TIMER_MISC
Maximum wait time of all miscellaneous operations that are timed.
I/O operations can be avoided by caching, in which case they will not be recorded in this table.
You can TRUNCATE the table, which will reset all counters to zero.