Updated on 2025-05-29 GMT+08:00

Hash Bucket System Functions

gs_redis_get_plan(origin_group_id OID, target_group_id OID)

Description: Obtains a complete migration plan. It is not supported in the current version.

gs_redis_get_bucket_statistics

Description: Obtains the log flow transmission status. It is not supported in the current version.

gs_redis_set_distributed_db(db_name CSTRING, bucketgroup SMALLINT)

Description: Sets the database and bucket group that are being redistributed using a hash bucket. It is not supported in the current version.

gs_redis_hashbucket_update_segment_header(origin_group_id OID, target_group_id OID)

Description: Updates the headers of all hash bucket tables in the current database. It is not supported in the current version.

gs_redis_local_get_segment_header(table_name REGCLASS, bucketlist OIDVECTOR_EXTEND)

Description: Obtains the header of a segment-page table. It is not supported in the current version.

gs_redis_local_update_segment_header(table_name REGCLASS, header_info CSTRING)

Description: Updates the header of a segment-page table. It is not supported in the current version.

gs_redis_hashbucket_update_inverse_pointer(buckets TEXT, origin_dn_name TEXT, new_dn_name TEXT)

Description: Updates the inverse pointers of buckets of this batch in all hash bucket tables in the current database. It is not supported in the current version.

gs_redis_local_get_inverse_pointer(buckets TEXT, origin_dn_name TEXT, new_dn_name TEXT)

Description: Obtains the inverse pointer. It is not supported in the current version.

gs_redis_local_update_inverse_pointer(table_name TEXT, header_info TEXT, bucketlist TEXT)

Description: Records Xlogs for updating inverse pointers. It is not supported in the current version.

gs_redis_local_set_hashbucket_frozenxid

Description: Changes the relfrozenxid64 value of the hash bucket table in the system catalog. It is not supported in the current version.

gs_redis_set_hashbucket_frozenxid(origin_group_id OID, target_group_id OID)

Description: Changes the relfrozenxid64 value of the hash bucket table in the system catalog on the new DN. It is not supported in the current version.

gs_redis_set_nextxid(xid BIGINT)

Description: Modifies the next_xid value of a DN. It is not supported in the current version.

gs_redis_set_csn(csn BIGINT)

Description: Changes the next_csn value of a DN. It is not supported in the current version.

gs_redis_check_bucket_flush(dn_array NAME[])

Description: Determines whether all private buffers for RTO replay are flushed. It is not supported in the current version.

gs_redis_get_flush_page_lsn(isclean bool)

Description: Queries the page refreshing information of bucket scale-out replay. It is not supported in the current version.

gs_redis_show_bucketxid(bucketid_list OIDVECTOR_EXTEND)

Description: Queries the bucketxid corresponding to a specified bucket. It is not supported in the current version.

gs_redis_drop_bucket_files(origin_group_id OID, target_group_id OID)

Description: Deletes the files that have been physically migrated from the source node. It is not supported in the current version.

gs_redis_parse_slicebucket_tranfer_file(plan_json CSTRING, type CSTRING)

Description: Obtains the slice bucket migration plan. It is not supported in the current version.

gs_redis_get_slicebucket_plan()

Description: Obtains the slice bucket migration plan of the current database. It is not supported in the current version.

gs_redis_slicebucket_update_segment_header()

Description: Updates the headers of all slice bucket tables in the current database. It is not supported in the current version.

gs_redis_drop_bucket_files(plan_json CSTRING)

Description: Deletes the range bucket files that have been physically migrated from the source node. It is not supported in the current version.

gs_redis_local_drop_bucket_files(bucketlist CSTRING, bucketnum SMALLINT)

Description: Deletes the corresponding bucket list. It is not supported in the current version.

gs_redis_local_drop_bucket_files(database_name NAME, bucketlist CSTRING, bucketnum SMALLINT)

Description: Deletes the bucket list of the corresponding database from the range bucket table. It is not supported in the current version.