SHOW CDC EXTRACTOR POOL
On this page
Displays information about the CDC-in pipelines.
This command returns the state of the CDC extractor pool, and enables the user to observe the pool state.
Syntax
SHOW CDC EXTRACTOR POOL
Output
The following table lists the columns returned in the output of SHOW CDC EXTRACTOR POOL
command and their descriptions:
Column Name |
Description |
---|---|
|
ID of the extractor in the pool in the |
|
The length of time (in seconds) a pipeline has been waiting in the queue to acquire the extractor subprocess. |
|
Uptime of the extractor subprocess, in seconds. |
|
Prevents yielding the pool slot to another pipeline. |
|
Memory used by the extractor subprocess, in MBs. |
Remarks
-
The
pipelines_
engine variable limits the maximum number of active extractor subprocesses that can run concurrently.cdc_ max_ extractors The extractors are shared by all the CDC pipelines. -
The minimum
UPTIME
for each extractor is the value of thepipelines_
engine variable.cdc_ min_ extractor_ lifetime_ s Each extractor is allocated at least this number of seconds for ingesting data and listening to CDC events. -
The
MEMORY
used by each extractor can be increased or decreased by updating thepipelines_
engine variable, which specifies the JVM heap size limit.cdc_ java_ heap_ size
Example
The following is an example of the output returned by the SHOW CDC EXTRACTOR POOL
command:
SHOW CDC EXTRACTOR POOL;
+---------------------------------+-------+--------+-------------+--------+
| ID | AWAIT | UPTIME | DO_NOT_KILL | MEMORY |
+---------------------------------+-------+--------+-------------+--------+
| migr_db.migr_db.movie1.0fe5917f | | 0.877 | NO | 128 |
| migr_db.migr_db.movie2.4d24a1d1 | 9.984 | | | |
| migr_db.migr_db.movie3.e2ffb071 | | 13.821 | NO | 245 |
| migr_db.migr_db.movie4.6fe0fb39 | 0.453 | | | |
| migr_db.migr_db.movie5.43b17da1 | 0.559 | | | |
| migr_db.migr_db.movie6.d7156804 | | 0.551 | NO | 128 |
| migr_db.migr_db.movie7.976164c7 | | 0.633 | NO | 128 |
| migr_db.migr_db.movie8.b6a7bd50 | 0.870 | | | |
+---------------------------------+-------+--------+-------------+--------+
The output shows that the migr_
, migr_
, migr_
, and migr_
pipelines are currently ingesting data.migr_
, migr_
, migr_
, and migr_
pipelines are waiting.
In this example, the extractor IDs migr_
indicate the following:
-
migr_
: Database name.db -
migr_
: Pipeline name in thedb. movie<n> <database_
format, as created by thename>. <table_ name> CREATE {TABLE | TABLES} AS INFER PIPELINE
command. -
internal_
: Internal extractor instance identifier.ID
Last modified: November 13, 2024