Postgres-XC 1.0.2 Documentation | ||||
---|---|---|---|---|
Prev | Fast Backward | Chapter 17. Coordinator and Datanode Configuration | Fast Forward | Next |
Note: The following description applies only to Postgres-XC
Because Postgres-XC distribute data into multiple Datanodes and multiple Coordinators can accept transactions in parallel, specific Coordinator must know what Coordinators and Datanodes to connect. Coordinator and Datanode also must know where they can request transaction information. The following describes these additional GUC parameters.
Specify the maximum connection pool of the Coordinator to Datanodes. Because each transaction can be involved by all the Datanodes, this parameter should at least be max_connections multiplied by number of Datanodes.
Minumum number of the connection from the Coordinator to Datanodes.
Maximum number of Coordinators that can be configured in the cluster.
Maximum number of Datanodes that can be configured in the cluster.
Specifies the node name. A node uses this parameter to identify itself with pgxc_node .nodename
Reports the port number assigned to the connection pooler.
Reports the name or IP address of the GTM. If you use GTM-Proxy, specify the GTM-Proxy's one.
Reports the port number of GTM.
Enforce the usage of two-phase commit instead for transactions involving temporary objects or ON COMMIT actions.
Specify to enter into maintenance mode. Turning this parameter to on will change behavior of several statements. Each statement behavior may not be compatible in future releases, so users must be extremely careful when they attempt to set this value to on.
So far, behavior of COMMIT PREPARED and ROLLBACK PREPARED statements are affected by this parameter.
This parameter can only be set by superuser with SET command. Otherwise, the setting will be ignored.
As a session parameter, this parameter is shared among all the connections of the session. It affects originating Coordinator as well as remote nodes involved in session.