Managed Service for Greenplum® API, REST: Cluster.create
Creates a Greenplum® cluster in the specified folder.
HTTP request
POST https://mdb.api.cloud.yandex.net/managed-greenplum/v1/clusters
Body parameters
{
"folderId": "string",
"name": "string",
"description": "string",
"labels": "object",
"environment": "string",
"config": {
"version": "string",
"backupWindowStart": {
"hours": "integer",
"minutes": "integer",
"seconds": "integer",
"nanos": "integer"
},
"backupRetainPeriodDays": "integer",
"access": {
"dataLens": true,
"webSql": true,
"dataTransfer": true
},
"zoneId": "string",
"subnetId": "string",
"assignPublicIp": true
},
"masterConfig": {
"resources": {
"resourcePresetId": "string",
"diskSize": "string",
"diskTypeId": "string"
}
},
"segmentConfig": {
"resources": {
"resourcePresetId": "string",
"diskSize": "string",
"diskTypeId": "string"
}
},
"masterHostCount": "string",
"segmentInHost": "string",
"segmentHostCount": "string",
"userName": "string",
"userPassword": "string",
"networkId": "string",
"securityGroupIds": [
"string"
],
"deletionProtection": true,
"hostGroupIds": [
"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`
},
"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"
}
},
"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 |
---|---|
folderId | string Required. ID of the folder to create the Greenplum® cluster in. The maximum string length in characters is 50. |
name | string Required. Name of the Greenplum® cluster. The name must be unique within the folder. The maximum string length in characters is 63. Value must match the regular expression |
description | string Description of the Greenplum® cluster. The maximum string length in characters is 256. |
labels | object Custom labels for the Greenplum® cluster as No more than 64 per resource. The maximum string length in characters for each key is 63. Each key must match the regular expression |
environment | string Required. Deployment environment of the Greenplum® cluster.
|
config | object 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. 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: |
masterHostCount | string (int64) Number of hosts in the master subcluster. |
segmentInHost | string (int64) Number of segments per host. |
segmentHostCount | string (int64) Number of hosts in the segment subcluster. |
userName | string Required. Owner user name. |
userPassword | string Required. Owner user password. The string length in characters must be 8-128. |
networkId | string Required. ID of the network to create the cluster in. The maximum string length in characters is 50. |
securityGroupIds[] | string User security groups. |
deletionProtection | boolean (boolean) Determines whether the cluster is protected from being deleted. |
hostGroupIds[] | string Host groups to place VMs of the cluster in. |
maintenanceWindow | object A 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. |
configSpec | object Configuration of Greenplum® and Odyssey®. |
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 |
configSpec. backgroundActivities. tableSizes |
object |
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 |
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. pxfConfig |
object |
configSpec. pxfConfig. connectionTimeout |
integer (int64) Connection Acceptable values are 5 to 600, inclusive. |
configSpec. pxfConfig. uploadTimeout |
integer (int64) Acceptable values are 5 to 600, inclusive. |
configSpec. pxfConfig. maxThreads |
integer (int64) Thread pool Acceptable values are 1 to 1024, inclusive. |
configSpec. pxfConfig. poolAllowCoreThreadTimeout |
boolean (boolean) |
configSpec. pxfConfig. poolCoreSize |
integer (int64) Acceptable values are 1 to 1024, inclusive. |
configSpec. pxfConfig. poolQueueCapacity |
integer (int64) The minimum value is 0. |
configSpec. pxfConfig. poolMaxSize |
integer (int64) Acceptable values are 1 to 1024, inclusive. |
configSpec. pxfConfig. xmx |
integer (int64) JVM Acceptable values are 64 to 16384, inclusive. |
configSpec. pxfConfig. xms |
integer (int64) Acceptable values are 64 to 16384, inclusive. |
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. |