A set of parameters for GPUdb::alterSystemProperties. More…
#include <gpudb/protocol/alter_system_properties.h>
Public Member Functions | |
| AlterSystemPropertiesRequest () | |
| Constructs an AlterSystemPropertiesRequest object with default parameters. | |
| AlterSystemPropertiesRequest (const std::map< std::string, std::string > &propertyUpdatesMap_, const std::map< std::string, std::string > &options_) | |
| Constructs an AlterSystemPropertiesRequest object with the specified parameters. | |
Public Attributes | |
| std::map< std::string, std::string > | propertyUpdatesMap |
| Map containing the properties of the system to be updated. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::alterSystemProperties.
The GPUdb::alterSystemProperties endpoint is primarily used to simplify the testing of the system and is not expected to be used during normal execution. Commands are given through the propertyUpdatesMap whose keys are commands and values are strings representing integer values (for example ‘8000’) or boolean values (‘true’ or ‘false’).
Definition at line 24 of file alter_system_properties.h.
Constructor & Destructor Documentation
◆ AlterSystemPropertiesRequest() [1/2]
| inline |
Constructs an AlterSystemPropertiesRequest object with default parameters.
Definition at line 30 of file alter_system_properties.h.
◆ AlterSystemPropertiesRequest() [2/2]
| inline |
Constructs an AlterSystemPropertiesRequest object with the specified parameters.
| [in] | propertyUpdatesMap_ | Map containing the properties of the system to be updated. Error if empty.
|
| [in] | options_ | Optional parameters.
|
Definition at line 461 of file alter_system_properties.h.
Member Data Documentation
◆ options
| std::map<std::string, std::string> gpudb::AlterSystemPropertiesRequest::options |
Optional parameters.
- alter_system_properties_evict_to_cold: If true and evict_columns is specified, the given objects will be evicted to cold storage (if such a tier exists). Supported values:
- alter_system_properties_persist: If true the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Supported values:The default value is alter_system_properties_true.
The default value is an empty map.
Definition at line 739 of file alter_system_properties.h.
◆ propertyUpdatesMap
| std::map<std::string, std::string> gpudb::AlterSystemPropertiesRequest::propertyUpdatesMap |
Map containing the properties of the system to be updated.
Error if empty.
- alter_system_properties_concurrent_kernel_execution: Enables concurrent kernel execution if the value is true and disables it if the value is false. Supported values:
- alter_system_properties_subtask_concurrency_limit: Sets the maximum number of simultaneous threads allocated to a given request, on each rank. Note that thread allocation may also be limited by resource group limits and/or system load.
- alter_system_properties_chunk_size: Sets the number of records per chunk to be used for all new tables.
- alter_system_properties_chunk_column_max_memory: Sets the target maximum data size for each column in a chunk to be used for all new tables.
- alter_system_properties_chunk_max_memory: Indicates the target maximum data size for all columns in a chunk to be used for all new tables.
- alter_system_properties_execution_mode: Sets the execution_mode for kernel executions to the specified string value. Possible values are host, device, default (engine decides) or an integer value that indicates max chunk size to exec on host.
- alter_system_properties_external_files_directory: Sets the root directory path where external table data files are accessed from. Path must exist on the head node.
- alter_system_properties_request_timeout: Number of minutes after which filtering (e.g., GPUdb::filter) and aggregating (e.g., GPUdb::aggregateGroupBy) queries will timeout. The default value is ‘20’. The minimum allowed value is ‘0’. The maximum allowed value is ‘1440’.
- alter_system_properties_max_get_records_size: The maximum number of records the database will serve for a given data retrieval call. The default value is ‘20000’. The minimum allowed value is ‘0’. The maximum allowed value is ‘1000000’.
- alter_system_properties_enable_audit: Enable or disable auditing.
- alter_system_properties_audit_headers: Enable or disable auditing of request headers.
- alter_system_properties_audit_body: Enable or disable auditing of request bodies.
- alter_system_properties_audit_data: Enable or disable auditing of request data.
- alter_system_properties_audit_response: Enable or disable auditing of response information.
- alter_system_properties_shadow_agg_size: Size of the shadow aggregate chunk cache in bytes. The default value is ‘10000000’. The minimum allowed value is ‘0’. The maximum allowed value is ‘2147483647’.
- alter_system_properties_shadow_filter_size: Size of the shadow filter chunk cache in bytes. The default value is ‘10000000’. The minimum allowed value is ‘0’. The maximum allowed value is ‘2147483647’.
- alter_system_properties_enable_overlapped_equi_join: Enable overlapped-equi-join filter. The default value is ‘true’.
- alter_system_properties_enable_one_step_compound_equi_join: Enable the one_step compound-equi-join algorithm. The default value is ‘true’.
- alter_system_properties_kafka_batch_size: Maximum number of records to be ingested in a single batch. The default value is ‘1000’. The minimum allowed value is ‘1’. The maximum allowed value is ‘10000000’.
- alter_system_properties_kafka_poll_timeout: Maximum time (milliseconds) for each poll to get records from Kafka. The default value is ‘0’. The minimum allowed value is ‘0’. The maximum allowed value is ‘1000’.
- alter_system_properties_kafka_wait_time: Maximum time (seconds) to buffer records received from Kafka before ingestion. The default value is ‘30’. The minimum allowed value is ‘1’. The maximum allowed value is ‘120’.
- alter_system_properties_egress_parquet_compression: Parquet file compression type. Supported values:The default value is alter_system_properties_snappy.
- alter_system_properties_egress_single_file_max_size: Max file size (in MB) to allow saving to a single file. May be overridden by target limitations. The default value is ‘10000’. The minimum allowed value is ‘1’. The maximum allowed value is ‘200000’.
- alter_system_properties_max_concurrent_kernels: Sets the max_concurrent_kernels value of the conf. The minimum allowed value is ‘0’. The maximum allowed value is ‘256’.
- alter_system_properties_system_metadata_retention_period: Sets the system_metadata.retention_period value of the conf. The minimum allowed value is ‘1’.
- alter_system_properties_tcs_per_tom: Size of the worker rank data calculation thread pool. This is primarily used for computation-based operations such as aggregates and record retrieval. The minimum allowed value is ‘2’. The maximum allowed value is ‘8192’.
- alter_system_properties_tps_per_tom: Size of the worker rank data processing thread pool. This includes operations such as inserts, updates, and deletes on table data. Multi-head inserts are not affected by this limit. The minimum allowed value is ‘2’. The maximum allowed value is ‘8192’.
- alter_system_properties_background_worker_threads: Size of the worker rank background thread pool. This includes background operations such as watermark evictions catalog table updates. The minimum allowed value is ‘1’. The maximum allowed value is ‘8192’.
- alter_system_properties_log_debug_job_info: Outputs various job-related information to the rank logs. Used for troubleshooting.
- alter_system_properties_enable_thread_hang_logging: Log a stack trace for any thread that runs longer than a defined threshold. Used for troubleshooting. The default value is ‘true’.
- alter_system_properties_ai_enable_rag: Enable RAG. The default value is ‘false’.
- alter_system_properties_ai_api_provider: AI API provider type.
- alter_system_properties_ai_api_url: AI API URL.
- alter_system_properties_ai_api_key: AI API key.
- alter_system_properties_ai_api_connection_timeout: AI API connection timeout in seconds.
- alter_system_properties_ai_api_embeddings_model: AI API model name.
- alter_system_properties_telm_persist_query_metrics: Enable or disable persisting of query metrics.
- alter_system_properties_telm_force_metrics_duration: Capture metrics for any query exceeding this duration in seconds.
- alter_system_properties_postgres_proxy_idle_connection_timeout: Idle connection timeout in seconds.
- alter_system_properties_postgres_proxy_keep_alive: Enable postgres proxy keep alive. The default value is ‘false’.
- alter_system_properties_kifs_directory_data_limit: The default maximum capacity to apply when creating a KiFS directory (bytes). The minimum allowed value is ‘-1’.
- alter_system_properties_compression_codec: The default compression algorithm applied to any column without a column-level or table-level default compression specified at the time it was created.
- alter_system_properties_disk_auto_optimize_timeout: Time interval in seconds after which the database will apply optimizations/transformations to persisted data, such as compression. The minimum allowed value is ‘0’.
- alter_system_properties_ha_consumer_replay_offset: Initializes HA replay from the given timestamp (as milliseconds since unix epoch). The minimum allowed value is ‘-1’.
- alter_system_properties_admin_access_only: Restricts access to system admin users only. The default value is ‘false’.
Definition at line 702 of file alter_system_properties.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/alter_system_properties.h