duckdb_config {duckdbfs}R Documentation

duckdb configuration

Description

duckdb configuration

Usage

duckdb_config(..., conn = cached_connection())

Arguments

...

named argument of the parameters to set, see examples see all possible configuration options at https://duckdb.org/docs/sql/configuration.html

conn

A connection to a database.

Details

Note: in I/O bound tasks such as streaming data, it can be helpful to set thread parallelism signifantly higher than avialable CPU cores.

Value

the active duckdb connection, invisibly

See Also

duckdb_reset, duckdb_get_config

Examples


duckdb_config(threads = 1, memory_limit = '10GB')
duckdb_get_config("threads")
duckdb_reset("threads")


[Package duckdbfs version 0.1.1 Index]