Skip to content

Latest commit

 

History

History
131 lines (76 loc) · 4.73 KB

guc.md

File metadata and controls

131 lines (76 loc) · 4.73 KB

TimescaleDB Configuration

Hypertables

timescaledb.enable_constraint_aware_append (bool)

Enable constraint exclusion at execution time. It is by default enabled.

timescaledb.enable_ordered_append (bool)

Enable ordered append optimization for queries that are ordered by the time dimension. It is by default enabled.

timescaledb.enable_chunk_append (bool)

Enable chunk append node. It is by default enabled.

timescaledb.enable_parallel_chunk_append (bool)

Enable parallel aware chunk append node. It is by default enabled.

timescaledb.enable_runtime_exclusion (bool)

Enable runtime chunk exclusion in chunk append node. It is by default enabled.

timescaledb.enable_constraint_exclusion (bool)

Enable planner constraint exclusion. It is by default enabled.

Compression

timescaledb.enable_transparent_decompression (bool)

Enable transparent decompression when querying hypertable. It is by default enabled.

Continuous Aggregates

timescaledb.enable_cagg_reorder_groupby (bool)

Enable group-by clause reordering for continuous aggregates. It is by default enabled.

Policies

timescaledb.max_background_workers (int)

Max background worker processes allocated to TimescaleDB. Set to at least 1 + number of databases in Postgres instance to use background workers. Default value is 8.

Distributed Hypertables

timescaledb.enable_2pc (bool)

Enables two-phase commit for distributed hypertables. If disabled, it will use a one-phase commit instead, which is faster but can result in inconsistent data. It is by default enabled.

timescaledb.enable_per_data_node_queries (bool)

If enabled, TimescaleDB will combine different chunks belonging to the same hypertable into a single query per data node. It is by default enabled.

timescaledb.max_insert_batch_size (int)

When acting as a access node, TimescaleDB splits batches of inserted tuples across multiple data nodes. It will batch up to max_insert_batch_size tuples per data node before flushing. Setting this to 0 disables batching, reverting to tuple-by-tuple inserts. The default value is 1000.

timescaledb.enable_connection_binary_data (bool)

Enables binary format for data exchanged between nodes in the cluster. It is by default enabled.

timescaledb.enable_client_ddl_on_data_nodes (bool)

Enables DDL operations on data nodes by a client and do not restrict execution of DDL operations only by access node. It is by default disabled.

timescaledb.enable_async_append (bool)

Enables optimization that runs remote queries asynchronously across data nodes. It is by default enabled.

timescaledb.enable_remote_explain (bool)

Enable getting and showing EXPLAIN output from remote nodes. This will require sending the query to the data node, so it can be affected by the network connection and availability of data nodes. It is by default disabled.

timescaledb.remote_data_fetcher (enum)

Pick data fetcher type based on type of queries you plan to run, which can be either rowbyrow or cursor. The default is rowbyrow.

timescaledb.ssl_dir (string)

Specifies the path used to search user certificates and keys when connecting to data nodes using certificate authentication. Defaults to timescaledb/certs under the PostgreSQL data directory.

timescaledb.passfile (string)

Specifies the name of the file where passwords are stored and when connecting to data nodes using password authentication.

Administration

timescaledb.restoring (bool)

Set TimescaleDB in restoring mode. It is by default disabled.

timescaledb.license (string)

TimescaleDB license type. Determines which features are enabled. The variable value defaults to timescale.

timescaledb.telemetry_level (enum)

Telemetry settings level. Level used to determine which telemetry to send. Can be set to off or basic. Defaults to basic.

timescaledb.last_tuned (string)

Records last time timescaledb-tune ran.

timescaledb.last_tuned_version (string)

Version of timescaledb-tune used to tune when it ran.