List
Retrieves a list of Greenplum® clusters that belong to the specified folder.
- TypeScript
- Python
import { cloudApi, serviceClients, Session } from "@yandex-cloud/nodejs-sdk";
const ListClustersRequest =
cloudApi.dataproc.cluster_service.ListClustersRequest;
(async () => {
const authToken = process.env["YC_OAUTH_TOKEN"];
const session = new Session({ oauthToken: authToken });
const client = session.client(serviceClients.ClusterServiceClient);
const result = await client.list(
ListClustersRequest.fromPartial({
folderId: "folderId",
// pageSize: 0,
// pageToken: "pageToken",
// filter: "filter"
})
);
console.log(result);
})();
import os
import grpc
import yandexcloud
from yandex.cloud.dataproc.v1.cluster_service_pb2_grpc import ClusterServiceStub
from yandex.cloud.dataproc.v1.cluster_service_pb2 import ListClustersRequest
token = os.getenv("YC_OAUTH_TOKEN")
sdk = yandexcloud.SDK(token=token)
service = sdk.client(ClusterServiceStub)
response = service.List(
ListClustersRequest(
folder_id="folderId",
# page_size = 0,
# page_token = "pageToken",
# filter = "filter"
)
)
print(response)
ListClustersRequest
folderId
: string
ID of the folder to list Greenplum® clusters in.
To get the folder ID, use a yandex.cloud.resourcemanager.v1.FolderService.List request.
pageSize
: int64
The maximum number of results per page to return.
If the number of available results is larger than page_size, the service returns a ListClustersResponse.next_page_token that can be used to get the next page of results in subsequent list requests.
pageToken
: string
Page token. To get the next page of results, set page_token to the ListClustersResponse.next_page_token returned by the previous list request.
filter
: string
A filter expression that filters resources listed in the response.
The expression must specify:
The field name. Currently you can only use filtering with the Cluster.name field.
An
=
operator.The value in double quotes (
"
). Must be 1-63 characters long and match the regular expression[a-zA-Z0-9_-]+
.
ListClustersResponse
clusters
: Cluster
List of Greenplum® cluster resources.
nextPageToken
: string
This token allows you to get the next page of results for list requests.
If the number of results is larger than ListClustersRequest.page_size, use the next_page_token as the value for the ListClustersRequest.page_token parameter in the next list request.
Each subsequent list request has its own next_page_token to continue paging through the results.
Cluster
A Greenplum® cluster resource.
Environment
ENVIRONMENT_UNSPECIFIED
PRODUCTION
Stable environment with a conservative update policy: only hotfixes are applied during regular maintenance.
PRESTABLE
Environment with more aggressive update policy: new versions are rolled out irrespective of backward compatibility.
Health
HEALTH_UNKNOWN
Health of the cluster is unknown ([Host.health][11] for every host in the cluster is UNKNOWN).
ALIVE
Cluster is working normally ([Host.health][12] for every host in the cluster is ALIVE).
DEAD
Cluster is inoperable ([Host.health][13] for every host in the cluster is DEAD).
DEGRADED
Cluster is working below capacity ([Host.health][14] for at least one host in the cluster is not ALIVE).
UNBALANCED
Cluster is working below capacity ([Host.health][15] for at least one host in the cluster is UNBALANCED).
Status
STATUS_UNKNOWN
Cluster state is unknown.
CREATING
Cluster is being created.
RUNNING
Cluster is running normally.
ERROR
Cluster has encountered a problem and cannot operate.
UPDATING
Cluster is being updated.
STOPPING
Cluster is stopping.
STOPPED
Cluster has stopped.
STARTING
Cluster is starting.
id
: string
ID of the Greenplum® cluster. This ID is assigned by the platform at the moment of cluster creation.
folderId
: string
ID of the folder that the Greenplum® cluster belongs to.
createdAt
: google.protobuf.Timestamp
Time when the cluster was created.
name
: string
Name of the Greenplum® cluster. The name is unique within the folder.
config
: GreenplumConfig
Greenplum® cluster configuration.
description
: string
Description of the Greenplum® cluster.
labels
: string
Custom labels for the Greenplum® cluster as key:value
pairs. Maximum 64 labels per resource.
environment
: Environment
Deployment environment of the Greenplum® cluster.
monitoring
: Monitoring
Description of monitoring systems relevant to the Greenplum® cluster.
masterConfig
: MasterSubclusterConfig
Configuration of the Greenplum® master subcluster.
segmentConfig
: SegmentSubclusterConfig
Configuration of the Greenplum® segment subcluster.
masterHostCount
: int64
Number of hosts in the master subcluster.
segmentHostCount
: int64
Number of hosts in the segment subcluster.
segmentInHost
: int64
Number of segments per host.
networkId
: string
ID of the cloud network that the cluster belongs to.
health
: Health
Aggregated cluster health.
status
: Status
Current state of the cluster.
maintenanceWindow
: MaintenanceWindow
A Greenplum® cluster maintenance window. Should be defined by either one of the two options.
plannedOperation
: MaintenanceOperation
Maintenance operation planned at nearest maintenance_window.
securityGroupIds
: string
User security groups.
userName
: string
Owner user name.
deletionProtection
: bool
Determines whether the cluster is protected from being deleted.
hostGroupIds
: string
Host groups hosting VMs of the cluster.
clusterConfig
: ClusterConfigSet
Greenplum® and Odyssey® configuration.
cloudStorage
: CloudStorage
Cloud storage settings
masterHostGroupIds
: string
Host groups hosting VMs of the master subcluster.
segmentHostGroupIds
: string
Host groups hosting VMs of the segment subcluster.
GreenplumConfig
version
: string
Version of the Greenplum® server software.
backupWindowStart
: google.type.TimeOfDay
Time to start the daily backup, in the UTC timezone.
backupRetainPeriodDays
: google.protobuf.Int64Value
Retention policy of automated backups.
access
: Access
Access policy for external services.
zoneId
: 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.
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.network_id).
assignPublicIp
: bool
Determines whether the cluster has a public IP address.
After the cluster has been created, this setting cannot be changed.
Monitoring
Monitoring system metadata.
name
: string
Name of the monitoring system.
description
: string
Description of the monitoring system.
link
: string
Link to the monitoring system charts for the Greenplum® cluster.
MasterSubclusterConfig
resources
: Resources
Computational resources allocated to Greenplum® master subcluster hosts.
SegmentSubclusterConfig
resources
: Resources
Computational resources allocated to Greenplum® segment subcluster hosts.
MaintenanceWindow
One of policy
anytime
: AnytimeMaintenanceWindowAn any-time maintenance window.
weeklyMaintenanceWindow
: WeeklyMaintenanceWindowA weekly maintenance window.
MaintenanceOperation
info
: string
The description of the operation.
delayedUntil
: google.protobuf.Timestamp
Delay time for the maintenance operation.
ClusterConfigSet
One of greenplumConfig
greenplumConfigSet_6_17
: GreenplumConfigSet6_17
greenplumConfigSet_6_19
: GreenplumConfigSet6_19
greenplumConfigSet_6_21
: GreenplumConfigSet6_21
greenplumConfigSet_6_22
: GreenplumConfigSet6_22
greenplumConfigSet_6
: GreenplumConfigSet6
pool
: ConnectionPoolerConfigSet
Odyssey® pool settings.
backgroundActivities
: BackgroundActivitiesConfig
Managed Greenplum® background tasks configuration.
pxfConfig
: PXFConfigSet
CloudStorage
Cloud Storage Settings
enable
: bool
enable Cloud Storage for cluster
Access
dataLens
: bool
Allows data export from the cluster to DataLens.
webSql
: bool
Allows SQL queries to the cluster databases from the management console.
dataTransfer
: bool
Allows access for DataTransfer.
yandexQuery
: bool
Allow access for YandexQuery.
Resources
resourcePresetId
: string
ID of the preset for computational resources allocated to a host.
Available presets are listed in the documentation.
diskSize
: int64
Volume of the storage used by the host, in bytes.
diskTypeId
: string
Type of the storage used by the host: network-hdd
, network-ssd
or local-ssd
.
AnytimeMaintenanceWindow
An any-time maintenance window.
WeeklyMaintenanceWindow
A weekly maintenance window.
WeekDay
WEEK_DAY_UNSPECIFIED
MON
Monday
TUE
Tuesday
WED
Wednesday
THU
Thursday
FRI
Friday
SAT
Saturday
SUN
Sunday
day
: WeekDay
Day of the week.
hour
: int64
Hour of the day in the UTC timezone.
GreenplumConfigSet6_17
Configuration settings version 6.17
effectiveConfig
: GreenplumConfig6_17
Effective settings for a Greenplum® cluster (a combination of settings defined in user_config and default_config).
userConfig
: GreenplumConfig6_17
User-defined settings for a Greenplum® cluster.
defaultConfig
: GreenplumConfig6_17
Default configuration for a Greenplum® cluster.
GreenplumConfigSet6_19
Configuration settings version 6.19
effectiveConfig
: GreenplumConfig6_19
Effective settings for a Greenplum® cluster (a combination of settings defined in user_config and default_config).
userConfig
: GreenplumConfig6_19
User-defined settings for a Greenplum® cluster.
defaultConfig
: GreenplumConfig6_19
Default configuration for a Greenplum® cluster.
GreenplumConfigSet6_21
effectiveConfig
: GreenplumConfig6_21
Effective settings for a Greenplum® cluster (a combination of settings defined in user_config and default_config).
userConfig
: GreenplumConfig6_21
User-defined settings for a Greenplum® cluster.
defaultConfig
: GreenplumConfig6_21
Default configuration for a Greenplum® cluster.
GreenplumConfigSet6_22
effectiveConfig
: GreenplumConfig6_22
Effective settings for a Greenplum® cluster (a combination of settings defined in user_config and default_config).
userConfig
: GreenplumConfig6_22
User-defined settings for a Greenplum® cluster.
defaultConfig
: GreenplumConfig6_22
Default configuration for a Greenplum® cluster.
GreenplumConfigSet6
effectiveConfig
: GreenplumConfig6
Effective settings for a Greenplum (a combination of settings defined in user_config and default_config).
userConfig
: GreenplumConfig6
User-defined settings for a Greenplum.
defaultConfig
: GreenplumConfig6
Default configuration for a Greenplum.
ConnectionPoolerConfigSet
effectiveConfig
: ConnectionPoolerConfig
Effective settings for an Odyssey® pooler (a combination of settings defined in ConnectionPoolerConfigSet.user_config and ConnectionPoolerConfigSet.default_config).
userConfig
: ConnectionPoolerConfig
User-defined settings for an Odyssey® pooler.
defaultConfig
: ConnectionPoolerConfig
Default configuration for an Odyssey® pooler.
BackgroundActivitiesConfig
tableSizes
: TableSizes
Enables scripts that collects tables sizes to *_sizes
tables in mdb_toolkit
schema.
analyzeAndVacuum
: AnalyzeAndVacuum
Configuration for ANALYZE
and VACUUM
operations.
queryKillerScripts
: QueryKillerScripts
Configuration for long running queries killer.
PXFConfigSet
effectiveConfig
: PXFConfig
userConfig
: PXFConfig
User-defined settings.
defaultConfig
: PXFConfig
Default configuration.
GreenplumConfig6_17
maxConnections
: google.protobuf.Int64Value
Maximum number of inbound connections on master segment.
maxSlotWalKeepSize
: google.protobuf.Int64Value
The maximum size of WAL files that replication slots are allowed to retain in the pg_wal
directory at checkpoint time.
More info in PostgreSQL® documentation.
gpWorkfileLimitPerSegment
: google.protobuf.Int64Value
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.
gpWorkfileLimitPerQuery
: google.protobuf.Int64Value
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.
gpWorkfileLimitFilesPerQuery
: google.protobuf.Int64Value
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.
maxPreparedTransactions
: google.protobuf.Int64Value
The maximum number of transactions that can be in the prepared
state simultaneously.
More info in PostgreSQL® documentation.
gpWorkfileCompression
: google.protobuf.BoolValue
Whether the spill files are compressed or not.
More info in Greenplum® documentation.
GreenplumConfig6_19
maxConnections
: google.protobuf.Int64Value
Maximum number of inbound connections on master segment.
maxSlotWalKeepSize
: google.protobuf.Int64Value
The maximum size of WAL files that replication slots are allowed to retain in the pg_wal
directory at checkpoint time.
More info in PostgreSQL® documentation.
gpWorkfileLimitPerSegment
: google.protobuf.Int64Value
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.
gpWorkfileLimitPerQuery
: google.protobuf.Int64Value
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.
gpWorkfileLimitFilesPerQuery
: google.protobuf.Int64Value
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.
maxPreparedTransactions
: google.protobuf.Int64Value
The maximum number of transactions that can be in the prepared
state simultaneously.
More info in PostgreSQL® documentation.
gpWorkfileCompression
: google.protobuf.BoolValue
Whether the spill files are compressed or not.
More info in Greenplum® documentation.
maxStatementMem
: google.protobuf.Int64Value
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 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.
Default value is 2097152000 (2000 MB).
More info in Greenplum® documentation.
logStatement
: LogStatement
Logged SQL statements.
PREPARE
and EXPLAIN ANALYZE
statements are also logged if their contained command belongs to an appropriate type.
More info in Greenplum® documentation.
GreenplumConfig6_21
maxConnections
: google.protobuf.Int64Value
Maximum number of inbound connections on master segment
maxSlotWalKeepSize
: google.protobuf.Int64Value
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
gpWorkfileLimitPerSegment
: google.protobuf.Int64Value
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
gpWorkfileLimitPerQuery
: google.protobuf.Int64Value
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
gpWorkfileLimitFilesPerQuery
: google.protobuf.Int64Value
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
maxPreparedTransactions
: google.protobuf.Int64Value
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
gpWorkfileCompression
: google.protobuf.BoolValue
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
maxStatementMem
: google.protobuf.Int64Value
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)
logStatement
: LogStatement
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
gpAddColumnInheritsTableSetting
: google.protobuf.BoolValue
GreenplumConfig6_22
maxConnections
: google.protobuf.Int64Value
Maximum number of inbound connections on master segment
maxSlotWalKeepSize
: google.protobuf.Int64Value
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
gpWorkfileLimitPerSegment
: google.protobuf.Int64Value
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
gpWorkfileLimitPerQuery
: google.protobuf.Int64Value
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
gpWorkfileLimitFilesPerQuery
: google.protobuf.Int64Value
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
maxPreparedTransactions
: google.protobuf.Int64Value
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
gpWorkfileCompression
: google.protobuf.BoolValue
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
maxStatementMem
: google.protobuf.Int64Value
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)
logStatement
: LogStatement
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
gpAddColumnInheritsTableSetting
: google.protobuf.BoolValue
GreenplumConfig6
maxConnections
: google.protobuf.Int64Value
Maximum number of inbound connections on master segment
maxSlotWalKeepSize
: google.protobuf.Int64Value
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
gpWorkfileLimitPerSegment
: google.protobuf.Int64Value
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
gpWorkfileLimitPerQuery
: google.protobuf.Int64Value
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
gpWorkfileLimitFilesPerQuery
: google.protobuf.Int64Value
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
maxPreparedTransactions
: google.protobuf.Int64Value
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
gpWorkfileCompression
: google.protobuf.BoolValue
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
maxStatementMem
: google.protobuf.Int64Value
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)
logStatement
: LogStatement
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
gpAddColumnInheritsTableSetting
: google.protobuf.BoolValue
ConnectionPoolerConfig
PoolMode
POOL_MODE_UNSPECIFIED
SESSION
Assign server connection to a client until it disconnects. Default value.
TRANSACTION
Assign server connection to a client for a transaction processing.
mode
: PoolMode
Route server pool mode.
size
: google.protobuf.Int64Value
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.
clientIdleTimeout
: google.protobuf.Int64Value
Server pool idle timeout, in seconds.
A server connection closes after being idle for the specified time.
Set to zero to disable the limit.
TableSizes
starts
: BackgroundActivityStartAt
AnalyzeAndVacuum
start
: BackgroundActivityStartAt
analyzeTimeout
: google.protobuf.Int64Value
Maximum duration of the ANALYZE
operation, in seconds. The default value is 36000
. As soon as this period expires, the ANALYZE
operation will be forced to terminate.
vacuumTimeout
: google.protobuf.Int64Value
Maximum duration of the VACUUM
operation, in seconds. The default value is 36000
. As soon as this period expires, the VACUUM
operation will be forced to terminate.
QueryKillerScripts
idle
: QueryKiller
Configuration of script that kills long running queries that are in idle
state.
idleInTransaction
: QueryKiller
Configuration of script that kills long running queries that are in idle in transaction
state.
longRunning
: QueryKiller
Configuration of script that kills long running queries (in any state).
PXFConfig
connectionTimeout
: google.protobuf.Int64Value
Timeout for connection to the Apache Tomcat® server when making read requests.
Specify values in seconds.
uploadTimeout
: google.protobuf.Int64Value
Timeout for connection to the Apache Tomcat® server when making write requests.
Specify the values in seconds.
maxThreads
: google.protobuf.Int64Value
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.
poolAllowCoreThreadTimeout
: google.protobuf.BoolValue
Determines whether the timeout for core streaming threads is permitted.
poolCoreSize
: google.protobuf.Int64Value
Number of core streaming threads per pool.
poolQueueCapacity
: google.protobuf.Int64Value
Maximum number of requests you can add to a pool queue for core streaming threads.
If 0
, no pool queue is generated.
poolMaxSize
: google.protobuf.Int64Value
Maximum allowed number of core streaming threads.
xmx
: google.protobuf.Int64Value
Initial size, in megabytes, of the JVM heap for the PXF daemon.
xms
: google.protobuf.Int64Value
Maximum size, in megabytes, of the JVM heap for the PXF daemon.
BackgroundActivityStartAt
hours
: int64
minutes
: int64
QueryKiller
enable
: google.protobuf.BoolValue
maxAge
: google.protobuf.Int64Value
Maximum duration for this type of queries (in seconds).
ignoreUsers
: string
Ignore these users when considering queries to terminate