PG_POOLER_STATUS
PG_POOLER_STATUS queries the cache connection status in the pooler. This view can only query on the CN, and displays the connection cache information about the pooler module.
Name |
Type |
Description |
---|---|---|
database |
text |
Database name. |
user_name |
text |
Username. |
tid |
bigint |
|
node_oid |
bigint |
OID of the node connected |
node_name |
name |
Name of the node connected |
in_use |
boolean |
Specifies whether the connection is currently used.
|
local_host |
text |
Local IP address. |
local_port |
bigint |
Local port number. |
remote_host |
text |
IP address of the node connected. |
node_port |
integer |
Port number of the connected instance node. |
fdsock |
bigint |
Peer socket. |
remote_pid |
bigint |
If the peer site is not in the thread pool logic, the value is the thread ID of the peer site. If the peer site is in the thread pool logic, the value is the session ID of the peer site. |
session_params |
text |
GUC session parameter delivered by the connection. |
used_count |
bigint |
Number of reuse times of a connection. |
idx |
bigint |
Logical connection ID of the connected instance node. |
streamid |
bigint |
Stream ID corresponding to each logical connection. |
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot