⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 10 of about 13 for pool (0.002 sec.)
PostgreSQL Extension Connection Pool 13038
PostgreSQL server spawns a backend process for every incoming client connection. This model leads to the two following points with the postgres extension that can cause performance problems: opening a new connection is relatively expensive ... tions opened at the same time should not be too high To deal with these points the extensions uses an in-memory connection pool. With it a limited number of connections are kept open (and idle) after use and can be reused for subsequent queries. Para ... l queries (for the same table scan) are additionally limited by the maximum number of allowed connection in the connection pool (no more than 32 by default). Even when the connection pool is configured to allow opening additional connections when all ... llel queries are always use the try mode. If connection for them is not available (the maximum number of connection in the pool is exceeded) - then that worked thread does not participate futher in the processing of this table scan, that proceeds wit ...
https://man.mtool.work/duckdb/2.0/core_extensions/postgres/connection_pool.html
PostgreSQL Extension Functions 12035
postgres_clear_cache postgres_configure_pool postgres_execute postgres_hstore_get postgres_hstore_to_json postgres_query read_postgres_binary postgres_clear_cache postgres_clear_cache() -> TABLE Clears cached schema entries (like table name ... always returned with zero rows, so the flag value is not available. Example CALL postgres_clear_cache() postgres_configure_pool FROM postgres_configure_pool([⟨optional named parameters⟩]) -> TABLE When a PostgreSQL database is attached, a connection ... pool is created for this database. This function allows to change the configuration options of a connection pool for the specified attached database. It also allows to list the current effective configuration options and the collected ... runtime statistics of a connection pool. Parameters catalog_name ( VARCHAR ): the name (alias) of the attached Postgres database to which pool the configuration c ...
https://man.mtool.work/duckdb/2.0/core_extensions/postgres/functions.html
I/O 9378
Warning DuckDB ships with safe defaults. The configuration options described on this page are advanced options, so proceed with caution when changing them. Asynchronous I/O New Asynchronous I/O was introduced in DuckDB 2.0. Starting with v2 ... automatically for the supported formats, including when they are read through data lake formats such as DuckLake . Thread Pools DuckDB uses two thread pools: The regular pool contains the worker threads, which perform the actual query processing (e. ... umber of CPU cores. Regular threads prioritize query processing but can also perform I/O tasks when idle. The asynchronous pool contains threads dedicated to blocking I/O. As these threads spend most of their time waiting for responses (e.g., HTTP re ... g. For example, to set the number of asynchronous I/O threads to 48, run: SET async_threads = 48; Warning The asynchronous pool increases the total number of threads per DuckDB instance. If you run many DuckDB instances in a single process, consider ...
https://man.mtool.work/duckdb/2.0/data/io.html
MySQL Extension 9044
The mysql extension allows DuckDB to directly read and write data from/to a running MySQL instance. The data can be queried directly from the underlying MySQL database. Data can be loaded from MySQL tables into DuckDB tables, or vice versa. ... L connections true mysql_incomplete_dates_as_nulls Whether to return DATE s with a zero month or day as NULL s false mysql_pool_acquire_mode How to acquire connections from the pool: force (always connect, ignoring the pool limit), wait (block until ... one is available), or try (fail immediately if none is available) force mysql_pool_connection_idle_timeout_millis Maximum time in milliseconds a connection can sit idle in the cache before being closed 600 ... 00 mysql_pool_connection_max_lifetime_millis Maximum age in milliseconds of a pooled connection since it was first opened; when exceeded ...
https://man.mtool.work/duckdb/2.0/core_extensions/mysql.html
Connect 8815
Overview Every DuckDB feature reachable from Rust starts with a Connection . Opening in-memory and file-backed databases, configuring a database instance with Config , opening read-only, pooling connections across threads, the crate's threa ... abase.duckdb")?; let conn2 = conn.try_clone()?; // a second connection to the same database DuckDB runs queries on its own pool of native threads, sized by the threads option and shared by all connections to a database instance. See the DuckDB concur ... rency documentation for how connections and threads interact. Connection Pooling For applications that hand a connection to each worker thread, the r2d2 feature integrates DuckDB with the r2d2 connect ... ion pool. A DuckdbConnectionManager creates connections that the pool checks out and returns: use duckdb::{params, DuckdbConnection ...
https://man.mtool.work/duckdb/2.0/clients/rust/connecting.html
Connect 8709
Overview The Go client works through the standard database/sql types: a *sql.DB is a pool of connections to a DuckDB database. This page covers opening in-memory and file-backed databases, passing DuckDB configuration options, running initi ... tered on the Connector itself. Connection-Local Operations Some features are scoped to a single connection rather than the pool: profiling, registering user-defined functions, and the Appender all act on one connection. Check a connection out of the ... nnection id. Thread Safety and Concurrency A *sql.DB is safe for concurrent use by multiple goroutines: it manages its own pool of connections and hands each in-flight query a connection of its own. A single *sql.Conn checked out with db.Conn() , and ... the DuckDB Appender and Arrow handles built on one, are not safe for concurrent use. DuckDB runs queries on its own pool of native threads, sized by the threads option and shared across the pool. See the DuckDB concurrency documentation for ho ...
https://man.mtool.work/duckdb/2.0/clients/go/connecting.html
Connect 8445
Overview Every DuckDB feature reachable from Java starts with a Connection . This page covers the JDBC URL forms the driver accepts, how DuckDB and driver options are passed and which of them win, how connections come to share (or not share ... se, or open the first connection with the intended configuration and create the rest with duplicate() . Threads and Thread Pools DuckDB runs queries on its own pool of native threads. This pool is independent of the JVM's threads: a single Statement. ... executeQuery() call can occupy every thread in the pool, and blocking JDBC calls from many application threads do not increase DuckDB's parallelism. The pool belongs to the datab ... n . Every connection to the same instance, whether created through DriverManager or duplicate() , submits work to the same pool. Two connections that resolve to different instances, as described in Database Instances and Instance Caching , each get a ...
https://man.mtool.work/duckdb/2.0/clients/java/connecting.html
PostgreSQL Extension 8217
The postgres extension allows DuckDB to directly read and write data from a running PostgreSQL database instance. The data can be queried directly from the underlying PostgreSQL database. Data can be loaded from PostgreSQL tables into DuckD ... varchar - enables reading mixed dimensional arrays false pg_connection_cache Deprecated: whether or not to use connection pooling. To disable pooling, use SET pg_pool_max_connections = 0 instead (see Connection Pool ) true pg_connection_limit Deprec ... ated: the maximum amount of concurrent PostgreSQL connections. Use pg_pool_max_connections instead (see Connection Pool ) depends on the number of CPU cores pg_debug_show_queries DEBUG SETTING: pri ... protocol to read data. This is slower, but provides better compatibility with non-PostgreSQL systems false The connection pool settings ( pg_pool_* ) are documented on the Connection Pool page and the schema cache settings ( pg_staleness_query , pg_ ...
https://man.mtool.work/duckdb/2.0/core_extensions/postgres/overview.html
Configuration 7478
DuckDB has a number of configuration options that can be used to change the behavior of the system. The configuration options can be set using either the SET statement or the PRAGMA statement . They can be reset to their original values usi ... was introduced in DuckDB 2.0. The async_threads and read_ahead_depth settings control the size of the asynchronous thread pool and the read-ahead budget used when reading from object storage and HTTP servers. They are listed in the reference below a ... nd documented in more detail on the I/O page , together with the related http_client_pool_capacity setting. Configuration Reference Configuration options come with different default scopes : GLOBAL and LOCAL . Be ... to 1/4th of a row group. BIGINT 30000 home_directory Sets the home directory of the database instance. VARCHAR http_client_pool_capacity HTTP client pool capacity derived from CPU and async thread counts unless explicitly set BIGINT Derived automatic ...
https://man.mtool.work/duckdb/2.0/configuration/overview.html
Troubleshooting 7319
Troubleshooting Running EXPLAIN Renders Newlines In Python, the output of the EXPLAIN statement contains hard line breaks ( \n ): In [1]: import duckdb ...: duckdb.sql("EXPLAIN SELECT 42 AS x") Out[1]: ┌───────────────┬───────────────────── ... y.core.multiarray before starting up threads. Many Threads per Database Besides its worker threads, each database starts a pool of asynchronous I/O threads : by default four times the number of CPU cores, at most 256. Every duckdb.connect() to an unn ...
https://man.mtool.work/duckdb/2.0/clients/python/known_issues.html
PREV 1 2 NEXT
DuckDB 2.0 Documentation / man.mtool.work