x$session

Overview

In 10.6 ES, 10.6 CS:

A description for this sys Table has not yet been added to this Documentation.

In 10.5 ES, 10.5 CS, 10.4 ES, 10.4 CS, 10.3 ES, 10.3 CS, 10.2 ES, 10.2 CS:

Not present

See also: Sys Database Tables for MariaDB Enterprise Server 10.6 and in 10.6 CS

DETAILS

SCHEMA

VIEW `x$session` AS SELECT
  `x$processlist`.`thd_id` AS `thd_id`,
  `x$processlist`.`conn_id` AS `conn_id`,
  `x$processlist`.`user` AS `user`,
  `x$processlist`.`db` AS `db`,
  `x$processlist`.`command` AS `command`,
  `x$processlist`.`state` AS `state`,
  `x$processlist`.`time` AS `time`,
  `x$processlist`.`current_statement` AS `current_statement`,
  `x$processlist`.`statement_latency` AS `statement_latency`,
  `x$processlist`.`progress` AS `progress`,
  `x$processlist`.`lock_latency` AS `lock_latency`,
  `x$processlist`.`rows_examined` AS `rows_examined`,
  `x$processlist`.`rows_sent` AS `rows_sent`,
  `x$processlist`.`rows_affected` AS `rows_affected`,
  `x$processlist`.`tmp_tables` AS `tmp_tables`,
  `x$processlist`.`tmp_disk_tables` AS `tmp_disk_tables`,
  `x$processlist`.`full_scan` AS `full_scan`,
  `x$processlist`.`last_statement` AS `last_statement`,
  `x$processlist`.`last_statement_latency` AS `last_statement_latency`,
  `x$processlist`.`current_memory` AS `current_memory`,
  `x$processlist`.`last_wait` AS `last_wait`,
  `x$processlist`.`last_wait_latency` AS `last_wait_latency`,
  `x$processlist`.`source` AS `source`,
  `x$processlist`.`trx_latency` AS `trx_latency`,
  `x$processlist`.`trx_state` AS `trx_state`,
  `x$processlist`.`trx_autocommit` AS `trx_autocommit`,
  `x$processlist`.`pid` AS `pid`,
  `x$processlist`.`program_name` AS `program_name`
FROM `sys`.`x$processlist` where `x$processlist`.`conn_id` is not null and `x$processlist`.`command` <> 'Daemon'

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Added in MariaDB Enterprise Server 10.6.4-1.

10.6 Community

  • Added in MariaDB Community Server 10.6.0.

10.5 Enterprise

  • Not present.

10.5 Community

  • Not present.

10.4 Enterprise

  • Not present.

10.4 Community

  • Not present.

10.3 Enterprise

  • Not present.

10.3 Community

  • Not present.

10.2 Enterprise

  • Not present.

10.2 Community

  • Not present.

EXTERNAL REFERENCES