Postgres-XC 1.2devel Documentation | ||||
---|---|---|---|---|
Prev | Fast Backward | Chapter 17. Coordinator and Datanode Configuration | Fast Forward | Next |
Note: XCONLY: 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.
Specify if GTM backs up the restart point for each barrier. Default value is "OFF". Superuser may set this variable by SET command, or this can be set in the file postgresql.conf file.
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.
Behavior of COMMIT PREPARED and ROLLBACK PREPARED statements are affected by this parameter.
If this is set to ON, you can do many other maintenance work to update Datanode locally through EXECUTE DIRECT or connecting directly to Datanodes. As a DBA, you are totally responsible to any side effects. You must be extremely careful not to bring in any inconsistencies to Postgres-XC database cluster.
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.