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.6 ES:

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

In 10.5 ES, 10.4 ES:

Not present

USAGE

DETAILS

SYNONYMS

SCHEMA

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

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

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.

Release Series

History

10.6 Enterprise

  • Added in MariaDB Enterprise Server 10.6.4-1.

10.5 Enterprise

  • Not present.

10.4 Enterprise

  • Not present.

EXTERNAL REFERENCES