The rpd_tables table provides the system
change number (SCN) and load pool type for tables loaded in the
MySQL AI Engine (AI engine).
The rpd_tables table has these columns:
-
IDA unique identifier for the table.
-
SNAPSHOT_SCNThe system change number (SCN) of the table snapshot. The SCN is an internal number that represents a point in time according to the system logical clock that the table snapshot was transactionally consistent with the source table.
-
PERSISTED_SCNThe SCN up to which changes are persisted.
-
POOL_TYPEThe load pool type of the table. Possible values are
SNAPSHOTandTRANSACTIONAL. -
DATA_PLACEMENT_TYPEThe data placement type.
-
NROWSThe number of rows that are loaded for the table. The value is set initially when the table is loaded, and updated as changes are propagated.
-
LOAD_STATUSThe load status of the table. Statuses include:
-
NOLOAD_RPDGSTABSTATEThe table is not yet loaded.
-
LOADING_RPDGSTABSTATEThe table is being loaded.
-
AVAIL_RPDGSTABSTATEThe table is loaded and available for queries.
-
UNLOADING_RPDGSTABSTATEThe table is being unloaded.
-
INRECOVERY_RPDGSTABSTATEThe table is being recovered. After completion of the recovery operation, the table is placed back in the
UNAVAIL_RPDGSTABSTATEstate if there are pending recoveries. -
STALE_RPDGSTABSTATEA failure during change propagation, and the table has become stale.
-
UNAVAIL_RPDGSTABSTATEThe table is unavailable.
-
-
LOAD_PROGRESSThe load progress of the table expressed as a percentage value.
-
SIZE_BYTESThe amount of data loaded for the table, in bytes.
-
NROWS:The number of rows loaded to the external table.
-
QUERY_COUNTThe number of queries that referenced the table.
-
LAST_QUERIEDThe timestamp of the last query that referenced the table.
-
LOAD_START_TIMESTAMPThe load start timestamp for the table.
-
LOAD_END_TIMESTAMPThe load completion timestamp for the table.
-
RECOVERY_SOURCEIndicates the source of the last successful recovery for a table.
-
RECOVERY_START_TIMESTAMPThe timestamp when the latest successful recovery started.
-
RECOVERY_END_TIMESTAMPThe timestamp when the latest successful recovery ended.
The rpd_tables table is read-only.