yandex_mdb_greenplum_cluster_v2 (Data Source)
- Schema
- Optional
- Read-Only
- Nested Schema for timeouts
- Nested Schema for cloud_storage
- Nested Schema for cluster_config
- Nested Schema for cluster_config.background_activities
- Nested Schema for cluster_config.background_activities.analyze_and_vacuum
- Nested Schema for cluster_config.background_activities.analyze_and_vacuum.start
- Nested Schema for cluster_config.background_activities.query_killer_scripts
- Nested Schema for cluster_config.background_activities.query_killer_scripts.idle
- Nested Schema for cluster_config.background_activities.query_killer_scripts.idle_in_transaction
- Nested Schema for cluster_config.background_activities.query_killer_scripts.long_running
- Nested Schema for cluster_config.background_activities.table_sizes
- Nested Schema for cluster_config.background_activities.table_sizes.starts
- Nested Schema for cluster_config.greenplum_config_set_6
- Nested Schema for cluster_config.pool
- Nested Schema for cluster_config.pxf_config
- Nested Schema for config
- Nested Schema for config.access
- Nested Schema for logging
- Nested Schema for maintenance_window
- Nested Schema for maintenance_window.anytime
- Nested Schema for maintenance_window.weekly_maintenance_window
- Nested Schema for master_config
- Nested Schema for master_config.resources
- Nested Schema for monitoring
- Nested Schema for planned_operation
- Nested Schema for segment_config
- Nested Schema for segment_config.resources
A Greenplum® cluster resource.
Schema
Optional
folder_id(String) ID of the folder that the Greenplum® cluster belongs to.id(String) ID of the Greenplum® cluster resource to return.
To get the cluster ID, use a [ClusterService.List] request.
service_account_id(String) Service account that will be used to access a Yandex Cloud resourcestimeouts(Attributes) (see below for nested schema)
Read-Only
cloud_storage(Attributes) Cloud storage settings (see below for nested schema)cluster_config(Attributes) Greenplum® and Odyssey® configuration. (see below for nested schema)config(Attributes) Greenplum® cluster configuration. (see below for nested schema)created_at(String) Time when the cluster was created.deletion_protection(Boolean) Determines whether the cluster is protected from being deleted.description(String) Description of the Greenplum® cluster.environment(String) Deployment environment of the Greenplum® cluster.host_group_ids(Set of String) Host groups hosting VMs of the cluster.labels(Map of String) Custom labels for the Greenplum® cluster askey:valuepairs. Maximum 64 labels per resource.logging(Attributes) Cloud logging configuration (see below for nested schema)maintenance_window(Attributes) A Greenplum® cluster maintenance window. Should be defined by either one of the two options. (see below for nested schema)master_config(Attributes) Configuration of the Greenplum® master subcluster. (see below for nested schema)master_host_count(Number) Number of hosts in the master subcluster.master_host_group_ids(Set of String) Host groups hosting VMs of the master subcluster.monitoring(Attributes Set) Description of monitoring systems relevant to the Greenplum® cluster. (see below for nested schema)name(String) Name of the Greenplum® cluster.
The name is unique within the folder.network_id(String) ID of the cloud network that the cluster belongs to.planned_operation(Attributes) Maintenance operation planned at nearest [maintenance_window]. (see below for nested schema)security_group_ids(Set of String) User security groups.segment_config(Attributes) Configuration of the Greenplum® segment subcluster. (see below for nested schema)segment_host_count(Number) Number of hosts in the segment subcluster.segment_host_group_ids(Set of String) Host groups hosting VMs of the segment subcluster.segment_in_host(Number) Number of segments per host.user_name(String) Owner user name.
Nested Schema for timeouts
Optional:
create(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).delete(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.read(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.update(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Nested Schema for cloud_storage
Read-Only:
enable(Boolean) enable Cloud Storage for cluster
Nested Schema for cluster_config
Read-Only:
background_activities(Attributes) Managed Greenplum® background tasks configuration. (see below for nested schema)greenplum_config_set_6(Attributes) package: yandex.cloud.mdb.greenplum.v1
filename: yandex/cloud/mdb/greenplum/v1/cluster.proto (see below for nested schema)pool(Attributes) Odyssey® pool settings. (see below for nested schema)pxf_config(Attributes) package: yandex.cloud.mdb.greenplum.v1
filename: yandex/cloud/mdb/greenplum/v1/cluster.proto (see below for nested schema)
Nested Schema for cluster_config.background_activities
Read-Only:
analyze_and_vacuum(Attributes) Configuration forANALYZEandVACUUMoperations. (see below for nested schema)query_killer_scripts(Attributes) Configuration for long running queries killer. (see below for nested schema)table_sizes(Attributes) Enables scripts that collects tables sizes to*_sizestables inmdb_toolkitschema. (see below for nested schema)
Nested Schema for cluster_config.background_activities.analyze_and_vacuum
Read-Only:
analyze_timeout(Number) Maximum duration of theANALYZEoperation, in seconds. The default value is36000. As soon as this period expires, theANALYZEoperation will be forced to terminate.start(Attributes) Time when analyze will start (see below for nested schema)vacuum_timeout(Number) Maximum duration of theVACUUMoperation, in seconds. The default value is36000. As soon as this period expires, theVACUUMoperation will be forced to terminate.
Nested Schema for cluster_config.background_activities.analyze_and_vacuum.start
Read-Only:
hours(Number) hoursminutes(Number) minutes
Nested Schema for cluster_config.background_activities.query_killer_scripts
Read-Only:
idle(Attributes) Configuration of script that kills long running queries that are inidlestate. (see below for nested schema)idle_in_transaction(Attributes) Configuration of script that kills long running queries that are inidle in transactionstate. (see below for nested schema)long_running(Attributes) Configuration of script that kills long running queries (in any state). (see below for nested schema)
Nested Schema for cluster_config.background_activities.query_killer_scripts.idle
Read-Only:
enable(Boolean) Use query killer or notignore_users(Set of String) Ignore these users when considering queries to terminatemax_age(Number) Maximum duration for this type of queries (in seconds).
Nested Schema for cluster_config.background_activities.query_killer_scripts.idle_in_transaction
Read-Only:
enable(Boolean) Use query killer or notignore_users(Set of String) Ignore these users when considering queries to terminatemax_age(Number) Maximum duration for this type of queries (in seconds).
Nested Schema for cluster_config.background_activities.query_killer_scripts.long_running
Read-Only:
enable(Boolean) Use query killer or notignore_users(Set of String) Ignore these users when considering queries to terminatemax_age(Number) Maximum duration for this type of queries (in seconds).
Nested Schema for cluster_config.background_activities.table_sizes
Read-Only:
starts(Attributes Set) Time when start "table_sizes" script (see below for nested schema)
Nested Schema for cluster_config.background_activities.table_sizes.starts
Read-Only:
hours(Number) hoursminutes(Number) minutes
Nested Schema for cluster_config.greenplum_config_set_6
Read-Only:
gp_add_column_inherits_table_setting(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_settinggp_autostats_mode(String) Specifies the mode for triggering automatic statistics collection after DML.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_autostats_modegp_autostats_on_change_threshold(Number) Specifies the threshold for automatic statistics collection when gp_autostats_mode is set to on_change.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_autostats_on_change_thresholdgp_cached_segworkers_threshold(Number) Define amount of working processes in segment, that keeping in warm cash after end of query for usage again in next queries.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_cached_segworkers_thresholdgp_enable_global_deadlock_detector(Boolean) Controls whether the Greenplum Database Global Deadlock Detector is enabled to manage concurrent UPDATE and DELETE operations on heap tables to improve performance. See Inserting, Updating, and Deleting Datain the Greenplum Database Administrator Guide. The default is off, the Global Deadlock Detector is deactivated.
If the Global Deadlock Detector is deactivated (the default), Greenplum Database runs concurrent update and delete operations on a heap table serially.
If the Global Deadlock Detector is enabled, concurrent updates are permitted and the Global Deadlock Detector determines when a deadlock exists, and breaks the deadlock by cancelling one or more backend processes associated with the youngest transaction(s) involved.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_enable_global_deadlock_detectorgp_enable_zstd_memory_accounting(Boolean) Forces ZSTD lib use Greenplum memory allocation system.gp_global_deadlock_detector_period(Number) Specifies the executing interval (in seconds) of the global deadlock detector background worker process.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_global_deadlock_detector_periodgp_max_plan_size(Number) Specifies the total maximum uncompressed size of a query execution plan multiplied by the number of Motion operators (slices) in the plan.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_max_plan_sizegp_max_slices(Number) Max amount of slice-processes for one query in one segment.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_max_slicesgp_resource_group_memory_limit(Number) Identifies the maximum percentage of system memory resources to allocate to resource groups on each Greenplum Database segment node.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_resource_group_memory_limitgp_vmem_protect_segworker_cache_limit(Number) Set memory limit (in MB) for working process. If a query executor process consumes more than this configured amount, then the process will not be cached for use in subsequent queries after the process completes.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#gp_vmem_protect_segworker_cache_limitgp_workfile_compression(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_compressiongp_workfile_limit_files_per_query(Number) 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 10000gp_workfile_limit_per_query(Number) 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_querygp_workfile_limit_per_segment(Number) 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_segmentidle_in_transaction_session_timeout(Number) Max time (in ms) which session can idle in open transaction
https://postgrespro.ru/docs/postgrespro/current/runtime-config-client#GUC-IDLE-IN-TRANSACTION-SESSION-TIMEOUTlock_timeout(Number) Max time (in ms) which query will wait lock free on object
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#lock_timeoutlog_statement(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 ddlmax_connections(Number) Maximum number of inbound connections on master segmentmax_prepared_transactions(Number) Sets the maximum number of transactions that can be in the "prepared" state simultaneously
https://www.postgresql.org/docs/9.6/runtime-config-resource.htmlmax_slot_wal_keep_size(Number) 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.htmlmax_statement_mem(Number) 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)runaway_detector_activation_percent(Number) Percent of utilized Greenplum Database vmem that triggers the termination of queries.
https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/6/greenplum-database/ref_guide-config_params-guc-list.html#runaway_detector_activation_percent
Nested Schema for cluster_config.pool
Read-Only:
client_idle_timeout(Number) Client pool idle timeout, in seconds.
Drop stale client connection after this much seconds of idleness, which is not in transaction.
Set to zero to disable.
idle_in_transaction_timeout(Number) Client pool idle in transaction timeout, in seconds.
Drop client connection in transaction after this much seconds of idleness.
Set to zero to disable.
mode(String) Route server pool mode.size(Number) 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.
Nested Schema for cluster_config.pxf_config
Read-Only:
connection_timeout(Number) Timeout for connection to the Apache Tomcat® server when making read requests.
Specify values in seconds.
max_threads(Number) 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
pool_allow_core_thread_timeout(Boolean) Determines whether the timeout for core streaming threads is permitted.pool_core_size(Number) Number of core streaming threads per pool.pool_max_size(Number) Maximum allowed number of core streaming threads.pool_queue_capacity(Number) Maximum number of requests you can add to a pool queue for core streaming threads.
If 0, no pool queue is generated.
upload_timeout(Number) Timeout for connection to the Apache Tomcat® server when making write requests.
Specify the values in seconds.
xms(Number) Maximum size, in megabytes, of the JVM heap for the PXF daemon.xmx(Number) Initial size, in megabytes, of the JVM heap for the PXF daemon.
Nested Schema for config
Read-Only:
access(Attributes) Access policy for external services. (see below for nested schema)assign_public_ip(Boolean) Determines whether the cluster has a public IP address.
After the cluster has been created, this setting cannot be changed.
backup_retain_period_days(Number) Retention policy of automated backups.backup_window_start(String) Time to start the daily backup, in the UTC timezone.subnet_id(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.network_id]).version(String) Version of the Greenplum® server software.zone_id(String) ID of the availability zone the cluster belongs to.
To get a list of available zones, use the [yandex.cloud.compute.v1.ZoneService.List] request.
Nested Schema for config.access
Read-Only:
data_lens(Boolean) Allows data export from the cluster to DataLens.data_transfer(Boolean) Allows access for DataTransfer.web_sql(Boolean) Allows SQL queries to the cluster databases from the management console.yandex_query(Boolean) Allow access for YandexQuery.
Nested Schema for logging
Optional:
folder_id(String) package: yandex.cloud.mdb.greenplum.v1
filename: yandex/cloud/mdb/greenplum/v1/cluster.proto
Read-Only:
command_center_enabled(Boolean) send Yandex Command Center logsenabled(Boolean) package: yandex.cloud.mdb.greenplum.v1
filename: yandex/cloud/mdb/greenplum/v1/cluster.protogreenplum_enabled(Boolean) send Greenplum logslog_group_id(String) package: yandex.cloud.mdb.greenplum.v1
filename: yandex/cloud/mdb/greenplum/v1/cluster.protopooler_enabled(Boolean) send Pooler logs
Nested Schema for maintenance_window
Read-Only:
anytime(Attributes) An any-time maintenance window. (see below for nested schema)weekly_maintenance_window(Attributes) A weekly maintenance window. (see below for nested schema)
Nested Schema for maintenance_window.anytime
Nested Schema for maintenance_window.weekly_maintenance_window
Read-Only:
day(String) Day of the week.hour(Number) Hour of the day in the UTC timezone.
Nested Schema for master_config
Read-Only:
resources(Attributes) Computational resources allocated to Greenplum® master subcluster hosts. (see below for nested schema)
Nested Schema for master_config.resources
Read-Only:
disk_size(Number) Volume of the storage used by the host, in bytes.disk_type_id(String) Type of the storage used by the host:network-hdd,network-ssdorlocal-ssd.resource_preset_id(String) ID of the preset for computational resources allocated to a host.
Available presets are listed in the documentation.
Nested Schema for monitoring
Read-Only:
description(String) Description of the monitoring system.link(String) Link to the monitoring system charts for the Greenplum® cluster.name(String) Name of the monitoring system.
Nested Schema for planned_operation
Read-Only:
delayed_until(String) Delay time for the maintenance operation.info(String) The description of the operation.
Nested Schema for segment_config
Read-Only:
resources(Attributes) Computational resources allocated to Greenplum® segment subcluster hosts. (see below for nested schema)
Nested Schema for segment_config.resources
Read-Only:
disk_size(Number) Volume of the storage used by the host, in bytes.disk_type_id(String) Type of the storage used by the host:network-hdd,network-ssdorlocal-ssd.resource_preset_id(String) ID of the preset for computational resources allocated to a host.
Available presets are listed in the documentation.