THREAD_POOL_GROUPS

Overview

In 10.6 ES, 10.6 CS, 10.5 ES, 10.5 CS:

Provides information about thread pool groups.

In 10.6 ES, 10.5 ES:

Provides information about thread pool groups.

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

Not present

In 10.4 ES:

Not present

USAGE

DETAILS

SYNONYMS

SCHEMA

CREATE TEMPORARY TABLE `THREAD_POOL_GROUPS` (
  `GROUP_ID` int(6) NOT NULL,
  `CONNECTIONS` int(6) NOT NULL,
  `THREADS` int(6) NOT NULL,
  `ACTIVE_THREADS` int(6) NOT NULL,
  `STANDBY_THREADS` int(6) NOT NULL,
  `QUEUE_LENGTH` int(6) NOT NULL,
  `HAS_LISTENER` tinyint(1) NOT NULL,
  `IS_STALLED` tinyint(1) NOT NULL
)

Column Descriptions

Variable

Description

GROUP_ID

There is one row in the table for every thread group, the number of thread groups is determined by the thread_pool_size setting

CONNECTIONS

The client connections currently handled by this thread group

THREADS

The total number of threads in this thread group, sum of active, standby, and listener threads

ACTIVE_THREADS

The number of threads actually executing a query

STANDBY_THREADS

The number of threads in the thread group that are not actually executing a query right now

QUEUE_LENGTH

The number of client query requests still waiting to be assigned to a worker thread

HAS_LISTENER

Checks if there is a dedicated listener thread present in this thread group. The value is always 1 if thread_pool_dedicated_listener is enabled, otherwise a thread groups listener thread may temporarily switch to act as a worker thread

IS_STALLED

Checks whether there is a worker thread in this group that has exceeded thread_pool_stall_limit execution time on a query

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

  • Schema changed in MariaDB Enterprise Server 10.6.7-3: ...

10.6 Community

  • Present starting in MariaDB Community Server 10.6.0.

  • Schema changed in MariaDB Community Server 10.6.6: ...

10.5 Enterprise

  • Added in MariaDB Enterprise Server 10.5.3-1.

  • Schema changed in MariaDB Enterprise Server 10.5.15-10: ...

10.5 Community

  • Added in MariaDB Community Server 10.5.0.

  • Schema changed in MariaDB Community Server 10.5.14: ...

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

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

  • Schema changed in MariaDB Enterprise Server 10.6.7-3: ...

10.5 Enterprise

  • Added in MariaDB Enterprise Server 10.5.3-1.

  • Schema changed in MariaDB Enterprise Server 10.5.15-10: ...

10.4 Enterprise

  • Not present.

EXTERNAL REFERENCES