This is a read-only copy of the MariaDB Knowledgebase generated on 2024-09-21. For the latest, interactive version please visit https://mariadb.com/kb/.

latest_file_io and x$latest_file_io Sys Schema Views

MariaDB starting with 10.6

These Sys Schema views were introduced in MariaDB 10.6.

Description

The latest_file_io and x$latest_file_io views summarize file I/O activity, grouped by file and thread. Rows are sorted by most recent I/O by default.

The latest_file_io view is intended to be easier for human reading, while the x$latest_file_io view provides the data in raw form, intended for tools that process the data.

They contain the following columns:

ColumnDescription
threadAccount associated with the thread for foreground threads (port number for TCP/IP connections), or thread name and thread ID for background threads.
totalTotal number of occurrences of the I/O event.
fileFile path name.
latencyWait time of the file I/O event.
operationType of operation
requestedNumber of bytes requested for the file I/O event.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.