Managed Service for Greenplum® API, REST: Cluster.update
Updates the specified Greenplum® cluster.
HTTP request
PATCH https://mdb.api.cloud.yandex.net/managed-greenplum/v1/clusters/{clusterId}
Path parameters
Parameter | Description |
---|---|
clusterId | Required. ID of the Greenplum® cluster resource to update. To get the Greenplum® cluster ID, use a list request. The maximum string length in characters is 50. |
Body parameters
{
"updateMask": "string",
"description": "string",
"labels": "object",
"name": "string",
"config": {
"version": "string",
"backupWindowStart": {
"hours": "integer",
"minutes": "integer",
"seconds": "integer",
"nanos": "integer"
},
"backupRetainPeriodDays": "integer",
"access": {
"dataLens": true,
"webSql": true,
"dataTransfer": true,
"yandexQuery": true
},
"zoneId": "string",
"subnetId": "string",
"assignPublicIp": true
},
"masterConfig": {
"resources": {
"resourcePresetId": "string",
"diskSize": "string",
"diskTypeId": "string"
}
},
"segmentConfig": {
"resources": {
"resourcePresetId": "string",
"diskSize": "string",
"diskTypeId": "string"
}
},
"userPassword": "string",
"networkId": "string",
"maintenanceWindow": {
// `maintenanceWindow` includes only one of the fields `anytime`, `weeklyMaintenanceWindow`
"anytime": {},
"weeklyMaintenanceWindow": {
"day": "string",
"hour": "string"
},
// end of the list of possible fields`maintenanceWindow`
},
"securityGroupIds": [
"string"
],
"deletionProtection": true,
"configSpec": {
"pool": {
"mode": "string",
"size": "integer",
"clientIdleTimeout": "integer"
},
"backgroundActivities": {
"tableSizes": {
"starts": [
{
"hours": "string",
"minutes": "string"
}
]
},
"analyzeAndVacuum": {
"start": {
"hours": "string",
"minutes": "string"
},
"analyzeTimeout": "integer",
"vacuumTimeout": "integer"
},
"queryKillerScripts": {
"idle": {
"enable": true,
"maxAge": "integer",
"ignoreUsers": [
"string"
]
},
"idleInTransaction": {
"enable": true,
"maxAge": "integer",
"ignoreUsers": [
"string"
]
},
"longRunning": {
"enable": true,
"maxAge": "integer",
"ignoreUsers": [
"string"
]
}
}
},
"pxfConfig": {
"connectionTimeout": "integer",
"uploadTimeout": "integer",
"maxThreads": "integer",
"poolAllowCoreThreadTimeout": true,
"poolCoreSize": "integer",
"poolQueueCapacity": "integer",
"poolMaxSize": "integer",
"xmx": "integer",
"xms": "integer"
},
// `configSpec` includes only one of the fields `greenplumConfig_6_17`, `greenplumConfig_6_19`, `greenplumConfig_6_21`, `greenplumConfig_6_22`, `greenplumConfig_6`
"greenplumConfig_6_17": {
"maxConnections": "integer",
"maxSlotWalKeepSize": "integer",
"gpWorkfileLimitPerSegment": "integer",
"gpWorkfileLimitPerQuery": "integer",
"gpWorkfileLimitFilesPerQuery": "integer",
"maxPreparedTransactions": "integer",
"gpWorkfileCompression": true
},
"greenplumConfig_6_19": {
"maxConnections": "integer",
"maxSlotWalKeepSize": "integer",
"gpWorkfileLimitPerSegment": "integer",
"gpWorkfileLimitPerQuery": "integer",
"gpWorkfileLimitFilesPerQuery": "integer",
"maxPreparedTransactions": "integer",
"gpWorkfileCompression": true,
"maxStatementMem": "integer",
"logStatement": "string"
},
"greenplumConfig_6_21": {
"maxConnections": "integer",
"maxSlotWalKeepSize": "integer",
"gpWorkfileLimitPerSegment": "integer",
"gpWorkfileLimitPerQuery": "integer",
"gpWorkfileLimitFilesPerQuery": "integer",
"maxPreparedTransactions": "integer",
"gpWorkfileCompression": true,
"maxStatementMem": "integer",
"logStatement": "string",
"gpAddColumnInheritsTableSetting": true
},
"greenplumConfig_6_22": {
"maxConnections": "integer",
"maxSlotWalKeepSize": "integer",
"gpWorkfileLimitPerSegment": "integer",
"gpWorkfileLimitPerQuery": "integer",
"gpWorkfileLimitFilesPerQuery": "integer",
"maxPreparedTransactions": "integer",
"gpWorkfileCompression": true,
"maxStatementMem": "integer",
"logStatement": "string",
"gpAddColumnInheritsTableSetting": true
},
"greenplumConfig_6": {
"maxConnections": "integer",
"maxSlotWalKeepSize": "integer",
"gpWorkfileLimitPerSegment": "integer",
"gpWorkfileLimitPerQuery": "integer",
"gpWorkfileLimitFilesPerQuery": "integer",
"maxPreparedTransactions": "integer",
"gpWorkfileCompression": true,
"maxStatementMem": "integer",
"logStatement": "string",
"gpAddColumnInheritsTableSetting": true
},
// end of the list of possible fields`configSpec`
},
"cloudStorage": {
"enable": true
}
}
Field | Description |
---|---|
updateMask | string Field mask that specifies which fields of the Greenplum® cluster resource should be updated. A comma-separated names off ALL fields to be updated. Only the specified fields will be changed. The others will be left untouched. If the field is specified in If |
description | string New description of the Greenplum® cluster. The maximum string length in characters is 256. |
labels | object Custom labels for the Greenplum® cluster as The new set of labels completely replaces the old one. To add a label, request the current set with the get method, then send an update request with the new label added to the set. No more than 64 per resource. The maximum string length in characters for each key is 63. Each key must match the regular expression |
name | string New name for the cluster. The maximum string length in characters is 63. Value must match the regular expression |
config | object The Greenplum® cluster configuration. |
config. version |
string Version of the Greenplum® server software. |
config. backupWindowStart |
object Time to start the daily backup, in the UTC timezone. Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. |
config. backupWindowStart. hours |
integer (int32) Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. |
config. backupWindowStart. minutes |
integer (int32) Minutes of hour of day. Must be from 0 to 59. |
config. backupWindowStart. seconds |
integer (int32) Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds. |
config. backupWindowStart. nanos |
integer (int32) Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. |
config. backupRetainPeriodDays |
integer (int64) Retention policy of automated backups. Acceptable values are 1 to 60, inclusive. |
config. access |
object Access policy for external services. |
config. access. dataLens |
boolean (boolean) Allows data export from the cluster to DataLens. |
config. access. webSql |
boolean (boolean) Allows SQL queries to the cluster databases from the management console. |
config. access. dataTransfer |
boolean (boolean) Allows access for DataTransfer. |
config. access. yandexQuery |
boolean (boolean) Allow access for YandexQuery. |
config. zoneId |
string ID of the availability zone the cluster belongs to. To get a list of available zones, use the list request. The maximum string length in characters is 50. |
config. subnetId |
string ID of the subnet the cluster belongs to. This subnet should be a part of the cloud network the cluster belongs to (see Cluster.networkId). The maximum string length in characters is 50. |
config. assignPublicIp |
boolean (boolean) Determines whether the cluster has a public IP address. After the cluster has been created, this setting cannot be changed. |
masterConfig | object Configuration of the Greenplum® master subcluster. |
masterConfig. resources |
object Resources allocated to Greenplum® master subcluster hosts. |
masterConfig. resources. resourcePresetId |
string ID of the preset for computational resources allocated to a host. Available presets are listed in the documentation. |
masterConfig. resources. diskSize |
string (int64) Volume of the storage used by the host, in bytes. |
masterConfig. resources. diskTypeId |
string Type of the storage used by the host: |
segmentConfig | object Configuration of the Greenplum® segment subcluster. |
segmentConfig. resources |
object Resources allocated to Greenplum® segment subcluster hosts. |
segmentConfig. resources. resourcePresetId |
string ID of the preset for computational resources allocated to a host. Available presets are listed in the documentation. |
segmentConfig. resources. diskSize |
string (int64) Volume of the storage used by the host, in bytes. |
segmentConfig. resources. diskTypeId |
string Type of the storage used by the host: |
userPassword | string Required. Owner user password. The string length in characters must be 8-128. |
networkId | string ID of the network to move the cluster to. The maximum string length in characters is 50. |
maintenanceWindow | object The Greenplum® cluster maintenance window. Should be defined by either one of the two options. |
maintenanceWindow. anytime |
object An any-time maintenance window. maintenanceWindow includes only one of the fields anytime , weeklyMaintenanceWindow |
maintenanceWindow. weeklyMaintenanceWindow |
object A weekly maintenance window. maintenanceWindow includes only one of the fields anytime , weeklyMaintenanceWindow |
maintenanceWindow. weeklyMaintenanceWindow. day |
string Day of the week.
|
maintenanceWindow. weeklyMaintenanceWindow. hour |
string (int64) Hour of the day in the UTC timezone. Acceptable values are 1 to 24, inclusive. |
securityGroupIds[] | string User security groups. |
deletionProtection | boolean (boolean) Determines whether the cluster is protected from being deleted. |
configSpec | object Settings of the Greenplum® cluster. |
configSpec. pool |
object Odyssey® pool settings. |
configSpec. pool. mode |
string Route server pool mode.
|
configSpec. pool. size |
integer (int64) The number of servers in the server pool. Clients are placed in a wait queue when all servers are busy. Set to zero to disable the limit. |
configSpec. pool. clientIdleTimeout |
integer (int64) Server pool idle timeout, in seconds. A server connection closes after being idle for the specified time. Set to zero to disable the limit. |
configSpec. backgroundActivities |
object Managed Greenplum® background tasks configuration. |
configSpec. backgroundActivities. tableSizes |
object Enables scripts that collects tables sizes to |
configSpec. backgroundActivities. tableSizes. starts[] |
object The maximum number of elements is 4. |
configSpec. backgroundActivities. tableSizes. starts[]. hours |
string (int64) Acceptable values are 0 to 23, inclusive. |
configSpec. backgroundActivities. tableSizes. starts[]. minutes |
string (int64) Acceptable values are 0 to 59, inclusive. |
configSpec. backgroundActivities. analyzeAndVacuum |
object Configuration for |
configSpec. backgroundActivities. analyzeAndVacuum. start |
object |
configSpec. backgroundActivities. analyzeAndVacuum. start. hours |
string (int64) Acceptable values are 0 to 23, inclusive. |
configSpec. backgroundActivities. analyzeAndVacuum. start. minutes |
string (int64) Acceptable values are 0 to 59, inclusive. |
configSpec. backgroundActivities. analyzeAndVacuum. analyzeTimeout |
integer (int64) Maximum duration of the Acceptable values are 7200 to 86399, inclusive. |
configSpec. backgroundActivities. analyzeAndVacuum. vacuumTimeout |
integer (int64) Maximum duration of the Acceptable values are 7200 to 86399, inclusive. |
configSpec. backgroundActivities. queryKillerScripts |
object Configuration for long running queries killer. |
configSpec. backgroundActivities. queryKillerScripts. idle |
object Configuration of script that kills long running queries that are in |
configSpec. backgroundActivities. queryKillerScripts. idle. enable |
boolean (boolean) |
configSpec. backgroundActivities. queryKillerScripts. idle. maxAge |
integer (int64) Maximum duration for this type of queries (in seconds). Acceptable values are 1 to 86400, inclusive. |
configSpec. backgroundActivities. queryKillerScripts. idle. ignoreUsers[] |
string Ignore these users when considering queries to terminate |
configSpec. backgroundActivities. queryKillerScripts. idleInTransaction |
object Configuration of script that kills long running queries that are in |
configSpec. backgroundActivities. queryKillerScripts. idleInTransaction. enable |
boolean (boolean) |
configSpec. backgroundActivities. queryKillerScripts. idleInTransaction. maxAge |
integer (int64) Maximum duration for this type of queries (in seconds). Acceptable values are 1 to 86400, inclusive. |
configSpec. backgroundActivities. queryKillerScripts. idleInTransaction. ignoreUsers[] |
string Ignore these users when considering queries to terminate |
configSpec. backgroundActivities. queryKillerScripts. longRunning |
object Configuration of script that kills long running queries (in any state). |
configSpec. backgroundActivities. queryKillerScripts. longRunning. enable |
boolean (boolean) |
configSpec. backgroundActivities. queryKillerScripts. longRunning. maxAge |
integer (int64) Maximum duration for this type of queries (in seconds). Acceptable values are 1 to 86400, inclusive. |
configSpec. backgroundActivities. queryKillerScripts. longRunning. ignoreUsers[] |
string Ignore these users when considering queries to terminate |
configSpec. pxfConfig |
object |
configSpec. pxfConfig. connectionTimeout |
integer (int64) Timeout for connection to the Apache Tomcat® server when making read requests. Specify values in seconds. Acceptable values are 5 to 600, inclusive. |
configSpec. pxfConfig. uploadTimeout |
integer (int64) Timeout for connection to the Apache Tomcat® server when making write requests. Specify the values in seconds. Acceptable values are 5 to 600, inclusive. |
configSpec. pxfConfig. maxThreads |
integer (int64) Maximum number of the Apache Tomcat® threads. To prevent situations when requests get stuck or fail due to running out of memory or malfunctioning of the Java garbage collector, specify the number of the Apache Tomcat® threads. Learn more about adjusting the number of threads in the VMware Greenplum® Platform Extension Framework documentation. Acceptable values are 1 to 1024, inclusive. |
configSpec. pxfConfig. poolAllowCoreThreadTimeout |
boolean (boolean) Determines whether the timeout for core streaming threads is permitted. |
configSpec. pxfConfig. poolCoreSize |
integer (int64) Number of core streaming threads per pool. Acceptable values are 1 to 1024, inclusive. |
configSpec. pxfConfig. poolQueueCapacity |
integer (int64) Maximum number of requests you can add to a pool queue for core streaming threads. If The minimum value is 0. |
configSpec. pxfConfig. poolMaxSize |
integer (int64) Maximum allowed number of core streaming threads. Acceptable values are 1 to 1024, inclusive. |
configSpec. pxfConfig. xmx |
integer (int64) Initial size, in megabytes, of the JVM heap for the PXF daemon. The minimum value is 64. |
configSpec. pxfConfig. xms |
integer (int64) Maximum size, in megabytes, of the JVM heap for the PXF daemon. The minimum value is 64. |
configSpec. greenplumConfig_6_17 |
object configSpec includes only one of the fields greenplumConfig_6_17 , greenplumConfig_6_19 , greenplumConfig_6_21 , greenplumConfig_6_22 , greenplumConfig_6 |
configSpec. greenplumConfig_6_17. maxConnections |
integer (int64) Maximum number of inbound connections on master segment. |
configSpec. greenplumConfig_6_17. maxSlotWalKeepSize |
integer (int64) The maximum size of WAL files that replication slots are allowed to retain in the More info in PostgreSQL® documentation. |
configSpec. greenplumConfig_6_17. gpWorkfileLimitPerSegment |
integer (int64) The maximum total disk size that all running queries are allowed to use for creating temporary spill files at each segment. The default value is 0 (no limit). More info in Greenplum® documentation. |
configSpec. greenplumConfig_6_17. gpWorkfileLimitPerQuery |
integer (int64) The maximum disk size that an individual query is allowed to use for creating temporary spill files at each segment. The default value is 0 (no limit). More info in Greenplum® documentation. |
configSpec. greenplumConfig_6_17. gpWorkfileLimitFilesPerQuery |
integer (int64) The maximum number of temporary spill files allowed per query at each segment. Spill files, also known as workfiles, are created when a query requires more memory than there is allocated. The current query is terminated if the limit is exceeded. Set to zero to disable the limit. Master session reloads if the parameter changes. Default value is 10000. More info in Greenplum® documentation. |
configSpec. greenplumConfig_6_17. maxPreparedTransactions |
integer (int64) The maximum number of transactions that can be in the More info in PostgreSQL® documentation. |
configSpec. greenplumConfig_6_17. gpWorkfileCompression |
boolean (boolean) Whether the spill files are compressed or not. More info in Greenplum® documentation. |
configSpec. greenplumConfig_6_19 |
object configSpec includes only one of the fields greenplumConfig_6_17 , greenplumConfig_6_19 , greenplumConfig_6_21 , greenplumConfig_6_22 , greenplumConfig_6 |
configSpec. greenplumConfig_6_19. maxConnections |
integer (int64) Maximum number of inbound connections on master segment. |
configSpec. greenplumConfig_6_19. maxSlotWalKeepSize |
integer (int64) The maximum size of WAL files that replication slots are allowed to retain in the More info in PostgreSQL® documentation. |
configSpec. greenplumConfig_6_19. gpWorkfileLimitPerSegment |
integer (int64) The maximum total disk size that all running queries are allowed to use for creating temporary spill files at each segment. The default value is 0 (no limit). More info in Greenplum® documentation. |
configSpec. greenplumConfig_6_19. gpWorkfileLimitPerQuery |
integer (int64) The maximum disk size that an individual query is allowed to use for creating temporary spill files at each segment. The default value is 0 (no limit). More info in Greenplum® documentation. |
configSpec. greenplumConfig_6_19. gpWorkfileLimitFilesPerQuery |
integer (int64) The maximum number of temporary spill files allowed per query at each segment. Spill files, also known as workfiles, are created when a query requires more memory than there is allocated. The current query is terminated if the limit is exceeded. Set to zero to disable the limit. Master session reloads if the parameter changes. Default value is 10000. More info in Greenplum® documentation. |
configSpec. greenplumConfig_6_19. maxPreparedTransactions |
integer (int64) The maximum number of transactions that can be in the More info in PostgreSQL® documentation. |
configSpec. greenplumConfig_6_19. gpWorkfileCompression |
boolean (boolean) Whether the spill files are compressed or not. More info in Greenplum® documentation. |
configSpec. greenplumConfig_6_19. maxStatementMem |
integer (int64) The maximum memory limit for a query, in bytes. Helps to avoid out-of-memory errors on a segment host during query processing as a result of setting Taking into account the configuration of a single segment host, calculate When changing both Default value is 2097152000 (2000 MB). More info in Greenplum® documentation. |
configSpec. greenplumConfig_6_19. logStatement |
string Logged SQL statements.
More info in Greenplum® documentation.
|
configSpec. greenplumConfig_6_21 |
object configSpec includes only one of the fields greenplumConfig_6_17 , greenplumConfig_6_19 , greenplumConfig_6_21 , greenplumConfig_6_22 , greenplumConfig_6 |
configSpec. greenplumConfig_6_21. maxConnections |
integer (int64) Maximum number of inbound connections on master segment |
configSpec. greenplumConfig_6_21. maxSlotWalKeepSize |
integer (int64) Specify the maximum size of WAL files that replication slots are allowed to retain in the pg_wal directory at checkpoint time. https://www.postgresql.org/docs/current/runtime-config-replication.html |
configSpec. greenplumConfig_6_21. gpWorkfileLimitPerSegment |
integer (int64) Sets the maximum total disk size that all running queries are allowed to use for creating temporary spill files at each segment. The default value is 0, which means a limit is not enforced. https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_workfile_limit_per_segment |
configSpec. greenplumConfig_6_21. gpWorkfileLimitPerQuery |
integer (int64) Sets the maximum disk size an individual query is allowed to use for creating temporary spill files at each segment. The default value is 0, which means a limit is not enforced. https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_workfile_limit_per_query |
configSpec. greenplumConfig_6_21. gpWorkfileLimitFilesPerQuery |
integer (int64) Sets the maximum number of temporary spill files (also known as workfiles) allowed per query per segment. Spill files are created when executing a query that requires more memory than it is allocated. The current query is terminated when the limit is exceeded. Set the value to 0 (zero) to allow an unlimited number of spill files. master session reload https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_workfile_limit_files_per_query Default value is 10000 |
configSpec. greenplumConfig_6_21. maxPreparedTransactions |
integer (int64) Sets the maximum number of transactions that can be in the "prepared" state simultaneously https://www.postgresql.org/docs/9.6/runtime-config-resource.html |
configSpec. greenplumConfig_6_21. gpWorkfileCompression |
boolean (boolean) Specifies whether the temporary files created, when a hash aggregation or hash join operation spills to disk, are compressed. https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_workfile_compression |
configSpec. greenplumConfig_6_21. maxStatementMem |
integer (int64) Sets the maximum memory limit for a query. Helps avoid out-of-memory errors on a segment host during query processing as a result of setting statement_mem too high. Taking into account the configuration of a single segment host, calculate max_statement_mem as follows: (seghost_physical_memory) / (average_number_concurrent_queries) When changing both max_statement_mem and statement_mem, max_statement_mem must be changed first, or listed first in the postgresql.conf file. https://greenplum.docs.pivotal.io/6-19/ref_guide/config_params/guc-list.html#max_statement_mem Default value is 2097152000 (2000MB) |
configSpec. greenplumConfig_6_21. logStatement |
string Controls which SQL statements are logged. DDL logs all data definition commands like CREATE, ALTER, and DROP commands. MOD logs all DDL statements, plus INSERT, UPDATE, DELETE, TRUNCATE, and COPY FROM. PREPARE and EXPLAIN ANALYZE statements are also logged if their contained command is of an appropriate type. https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#log_statement Default value is ddl
|
configSpec. greenplumConfig_6_21. gpAddColumnInheritsTableSetting |
boolean (boolean) https://docs.vmware.com/en/VMware-Tanzu-Greenplum/6/greenplum-database/GUID-ref_guide-config_params-guc-list.html#gp_add_column_inherits_table_setting |
configSpec. greenplumConfig_6_22 |
object configSpec includes only one of the fields greenplumConfig_6_17 , greenplumConfig_6_19 , greenplumConfig_6_21 , greenplumConfig_6_22 , greenplumConfig_6 |
configSpec. greenplumConfig_6_22. maxConnections |
integer (int64) Maximum number of inbound connections on master segment |
configSpec. greenplumConfig_6_22. maxSlotWalKeepSize |
integer (int64) Specify the maximum size of WAL files that replication slots are allowed to retain in the pg_wal directory at checkpoint time. https://www.postgresql.org/docs/current/runtime-config-replication.html |
configSpec. greenplumConfig_6_22. gpWorkfileLimitPerSegment |
integer (int64) Sets the maximum total disk size that all running queries are allowed to use for creating temporary spill files at each segment. The default value is 0, which means a limit is not enforced. https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_workfile_limit_per_segment |
configSpec. greenplumConfig_6_22. gpWorkfileLimitPerQuery |
integer (int64) Sets the maximum disk size an individual query is allowed to use for creating temporary spill files at each segment. The default value is 0, which means a limit is not enforced. https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_workfile_limit_per_query |
configSpec. greenplumConfig_6_22. gpWorkfileLimitFilesPerQuery |
integer (int64) Sets the maximum number of temporary spill files (also known as workfiles) allowed per query per segment. Spill files are created when executing a query that requires more memory than it is allocated. The current query is terminated when the limit is exceeded. Set the value to 0 (zero) to allow an unlimited number of spill files. master session reload https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_workfile_limit_files_per_query Default value is 10000 |
configSpec. greenplumConfig_6_22. maxPreparedTransactions |
integer (int64) Sets the maximum number of transactions that can be in the "prepared" state simultaneously https://www.postgresql.org/docs/9.6/runtime-config-resource.html |
configSpec. greenplumConfig_6_22. gpWorkfileCompression |
boolean (boolean) Specifies whether the temporary files created, when a hash aggregation or hash join operation spills to disk, are compressed. https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_workfile_compression |
configSpec. greenplumConfig_6_22. maxStatementMem |
integer (int64) Sets the maximum memory limit for a query. Helps avoid out-of-memory errors on a segment host during query processing as a result of setting statement_mem too high. Taking into account the configuration of a single segment host, calculate max_statement_mem as follows: (seghost_physical_memory) / (average_number_concurrent_queries) When changing both max_statement_mem and statement_mem, max_statement_mem must be changed first, or listed first in the postgresql.conf file. https://greenplum.docs.pivotal.io/6-19/ref_guide/config_params/guc-list.html#max_statement_mem Default value is 2097152000 (2000MB) |
configSpec. greenplumConfig_6_22. logStatement |
string Controls which SQL statements are logged. DDL logs all data definition commands like CREATE, ALTER, and DROP commands. MOD logs all DDL statements, plus INSERT, UPDATE, DELETE, TRUNCATE, and COPY FROM. PREPARE and EXPLAIN ANALYZE statements are also logged if their contained command is of an appropriate type. https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#log_statement Default value is ddl
|
configSpec. greenplumConfig_6_22. gpAddColumnInheritsTableSetting |
boolean (boolean) https://docs.vmware.com/en/VMware-Tanzu-Greenplum/6/greenplum-database/GUID-ref_guide-config_params-guc-list.html#gp_add_column_inherits_table_setting |
configSpec. greenplumConfig_6 |
object configSpec includes only one of the fields greenplumConfig_6_17 , greenplumConfig_6_19 , greenplumConfig_6_21 , greenplumConfig_6_22 , greenplumConfig_6 |
configSpec. greenplumConfig_6. maxConnections |
integer (int64) Maximum number of inbound connections on master segment |
configSpec. greenplumConfig_6. maxSlotWalKeepSize |
integer (int64) Specify the maximum size of WAL files that replication slots are allowed to retain in the pg_wal directory at checkpoint time. https://www.postgresql.org/docs/current/runtime-config-replication.html |
configSpec. greenplumConfig_6. gpWorkfileLimitPerSegment |
integer (int64) Sets the maximum total disk size that all running queries are allowed to use for creating temporary spill files at each segment. The default value is 0, which means a limit is not enforced. https://docs.greenplum.org/6-5/ref_guide/config_params/guc-list.html#gp_workfile_limit_per_segment |
configSpec. greenplumConfig_6. gpWorkfileLimitPerQuery |
integer (int64) Sets the maximum disk size an individual query is allowed to use for creating temporary spill files at each segment. The default value is 0, which means a limit is not enforced. https://docs.greenplum.org/6-5/ref_guide/config_params/guc-list.html#gp_workfile_limit_per_query |
configSpec. greenplumConfig_6. gpWorkfileLimitFilesPerQuery |
integer (int64) Sets the maximum number of temporary spill files (also known as workfiles) allowed per query per segment. Spill files are created when executing a query that requires more memory than it is allocated. The current query is terminated when the limit is exceeded. Set the value to 0 (zero) to allow an unlimited number of spill files. master session reload https://docs.greenplum.org/6-5/ref_guide/config_params/guc-list.html#gp_workfile_limit_files_per_query Default value is 10000 |
configSpec. greenplumConfig_6. maxPreparedTransactions |
integer (int64) Sets the maximum number of transactions that can be in the "prepared" state simultaneously https://www.postgresql.org/docs/9.6/runtime-config-resource.html |
configSpec. greenplumConfig_6. gpWorkfileCompression |
boolean (boolean) Specifies whether the temporary files created, when a hash aggregation or hash join operation spills to disk, are compressed. https://docs.greenplum.org/6-5/ref_guide/config_params/guc-list.html#gp_workfile_compression |
configSpec. greenplumConfig_6. maxStatementMem |
integer (int64) Sets the maximum memory limit for a query. Helps avoid out-of-memory errors on a segment host during query processing as a result of setting statement_mem too high. Taking into account the configuration of a single segment host, calculate max_statement_mem as follows: (seghost_physical_memory) / (average_number_concurrent_queries) When changing both max_statement_mem and statement_mem, max_statement_mem must be changed first, or listed first in the postgresql.conf file. https://greenplum.docs.pivotal.io/6-19/ref_guide/config_params/guc-list.html#max_statement_mem Default value is 2097152000 (2000MB) |
configSpec. greenplumConfig_6. logStatement |
string Controls which SQL statements are logged. DDL logs all data definition commands like CREATE, ALTER, and DROP commands. MOD logs all DDL statements, plus INSERT, UPDATE, DELETE, TRUNCATE, and COPY FROM. PREPARE and EXPLAIN ANALYZE statements are also logged if their contained command is of an appropriate type. https://docs.greenplum.org/6-5/ref_guide/config_params/guc-list.html#log_statement Default value is ddl
|
configSpec. greenplumConfig_6. gpAddColumnInheritsTableSetting |
boolean (boolean) https://docs.vmware.com/en/VMware-Tanzu-Greenplum/6/greenplum-database/GUID-ref_guide-config_params-guc-list.html#gp_add_column_inherits_table_setting |
cloudStorage | object Cloud storage settings Cloud Storage Settings |
cloudStorage. enable |
boolean (boolean) enable Cloud Storage for cluster |
Response
HTTP Code: 200 - OK
{
"id": "string",
"description": "string",
"createdAt": "string",
"createdBy": "string",
"modifiedAt": "string",
"done": true,
"metadata": "object",
// includes only one of the fields `error`, `response`
"error": {
"code": "integer",
"message": "string",
"details": [
"object"
]
},
"response": "object",
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
Field | Description |
---|---|
id | string ID of the operation. |
description | string Description of the operation. 0-256 characters long. |
createdAt | string (date-time) Creation timestamp. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
createdBy | string ID of the user or service account who initiated the operation. |
modifiedAt | string (date-time) The time when the Operation resource was last modified. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
done | boolean (boolean) If the value is |
metadata | object Service-specific metadata associated with the operation. It typically contains the ID of the target resource that the operation is performed on. Any method that returns a long-running operation should document the metadata type, if any. |
error | object The error result of the operation in case of failure or cancellation. includes only one of the fields error , response |
error. code |
integer (int32) Error code. An enum value of google.rpc.Code. |
error. message |
string An error message. |
error. details[] |
object A list of messages that carry the error details. |
response | object includes only one of the fields error , response The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is the standard Create/Update, the response should be the target resource of the operation. Any method that returns a long-running operation should document the response type, if any. |