Help Center/
GaussDB/
Developer Guide(Distributed_V2.0-3.x)/
SQL Reference/
Functions and Operators/
Redistribution Parameters
Updated on 2025-03-13 GMT+08:00
Redistribution Parameters
The following functions are system functions used by gs_redis during redistribution. Do not call them unless absolutely necessary.
- pg_get_redis_rel_end_ctid(text, name, int, int)
- pg_get_redis_rel_start_ctid(text, name, int, int)
1 2 3 4 5 6
gaussdb=# SELECT COUNT(1) FROM ONLY test WHERE ctid BETWEEN pg_get_redis_rel_start_ctid(E'test'::text,NULL::name,0,0) AND pg_get_redis_rel_end_ctid(E'test'::text,NULL::name,0,0); count ------- 0 (1 row)
- pg_enable_redis_proc_cancelable()
1 2 3 4
gaussdb=# select pg_enable_redis_proc_cancelable(); pg_enable_redis_proc_cancelable --------------------------------- t
- pg_disable_redis_proc_cancelable()
1 2 3 4
gaussdb=# select pg_disable_redis_proc_cancelable(); pg_disable_redis_proc_cancelable --------------------------------- t
- pg_tupleid_get_blocknum(tid)
1 2 3 4 5
gaussdb=# SELECT pg_tupleid_get_blocknum(ctid::tid) FROM test; pg_tupleid_get_blocknum ------------------------- 0 (1 row)
- pg_tupleid_get_offset(tid)
1 2 3 4 5
gaussdb=# SELECT pg_tupleid_get_offset(ctid::tid) FROM test; pg_tupleid_get_offset ------------------------- 1 (1 row)
- pg_tupleid_get_ctid_to_bigint (ctid)
1 2 3 4 5
gaussdb=# SELECT pg_tupleid_get_ctid_to_bigint(ctid::tid) FROM test; pg_tupleid_get_ctid_to_bigint ------------------------------- 1 (1 row)
Parent topic: Functions and Operators
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot