Updated on 2024-06-03 GMT+08:00

GS_SPM_ID_HASH_JOIN

The GS_SPM_ID_HASH_JOIN system catalog stores the relationship between unique_sql_id and sql_hash. Users with sysadmin permissions can read the system catalog, but only initial users can write data to the system catalog.

Table 1 GS_SPM_ID_HASH_JOIN columns

Name

Type

Description

unique_sql_id

bigint

Unique ID of an SQL statement in the database.

sql_hash

bigint

Unique ID of the SQL statement in the SPM.