⌘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 19 for static (0.001 sec.)
Statically Linking Extensions 15419
This page is for client and binding authors, and for anyone who embeds libduckdb in their own application. It describes how statically linking extensions changed in DuckDB 2.0 and what builders on top of DuckDB need to do. This change is in ... xtension archives are linked and registered, not in which API your bindings call. What Changed in DuckDB 2.0 New Link-time static linking of extensions was introduced in DuckDB 2.0. Before v2.0, the set of statically linked extensions was a compile-tim ... ther. DuckDB 2.0 modularized this into a link-time decision ( duckdb#25814 ). Each extension is compiled once into its own static archive, for example: libduckdb_static.a libcore_functions_extension.a libparquet_extension.a libjson_extension.a libicu_e ... db_bundle.a . Extensions, httplib , and loadable extensions are now separate archives. The generated loader that libduckdb_static.a used to register extensions automatically. libduckdb_static.a no longer registers extensions on its own. Registering Sta ...
https://man.mtool.work/duckdb/2.0/dev/building/linking_extensions.html
Troubleshoot 9545
Overview This page collects common issues encountered when using the DuckDB Go client, together with their workarounds. Because the client uses cgo to embed DuckDB, most build problems are cgo or linker problems. If you run into a problem t ... l: $env:PATH = "C:\msys64\ucrt64\bin;$env:PATH" The package then compiles on Windows. Linking DuckDB By default the client statically links a pre-built DuckDB library into the binary, which increases the binary size but requires no separate DuckDB inst ... md64, arm64), and Windows (amd64). If none of the pre-built libraries fit, link a custom library instead. Linking a Custom Static Library Build DuckDB from source. Starting with DuckDB 2.0, the bundle-library Makefile target and the merged libduckdb_bu ... ndle.a archive no longer exist: the build produces libduckdb_static.a plus one static archive per extension (e.g., libparquet_extension.a ), and statically linked extensions have to be regis ...
https://man.mtool.work/duckdb/2.0/clients/go/troubleshoot.html
Install Script 9152
You can install the DuckDB CLI client using an install script. Linux and macOS To use the DuckDB install script on Linux and macOS, run: curl https://install.duckdb.org | bash Click to see the output of the install script. % Total % Receive ... C++ headers and libraries using the DUCKDB_INSTALL variable. It takes a comma-separated list of components: cli (default), static and shared . For example, to install the static library and the CLI, run: curl https://install.duckdb.org | DUCKDB_INSTALL ... =static,cli bash The libraries and headers are installed to ~/.duckdb/lib/⟨version⟩/release_⟨platform⟩ , e.g., ~/.duckdb/lib/2.0.0 ...
https://man.mtool.work/duckdb/2.0/operations_manual/installing_duckdb/install_sc...
S3 and AWS Authentication 9084
This page is the entry point for authenticating to S3 and other AWS services from DuckDB. Authentication is configured using secrets , and the detailed reference material lives on the S3 API Support and AWS Extension pages. The sections bel ... vant reference. Choosing an Authentication Method There are two S3 secret providers. Use the config provider when you have static credentials, and the credential_chain provider when you want DuckDB to fetch credentials automatically through the AWS SDK ... . Situation Method Reference You have a static access key and secret config provider config provider Credentials come from ~/.aws/credentials or ~/.aws/config profiles c ... ge. The credential_chain provider is AWS-specific and is provided by the aws extension , which is autoloaded on first use. Static Credentials: the config Provider Supply the key and secret directly: CREATE OR REPLACE SECRET secret ( TYPE s3, PROVIDER c ...
https://man.mtool.work/duckdb/2.0/core_extensions/httpfs/authentication.html
Troubleshoot 8401
Overview This page collects common issues encountered when using the DuckDB Rust client, together with their workarounds. If you run into a problem that is not covered here, search the client's issue tracker on GitHub. Linking against a Sys ... ng the crate's version from GitHub Releases, caches it under target/ , and adds it to the linker search path. Leave DUCKDB_STATIC unset, because the downloaded archives contain only the dynamic library: DUCKDB_DOWNLOAD_LIB=1 cargo build Use a Package M ... anager If DuckDB is installed through pkg-config or Vcpkg, the build finds it automatically. vcpkg uses static libraries by default; set VCPKGRS_DYNAMIC=1 to link dynamically instead. ICU Extension Missing from the Bundled Build Beca ... ur crate version, install and load the extension at runtime: conn.execute_batch("INSTALL icu; LOAD icu;")?; Alternatively, statically link the extension by enabling the crate's icu feature, which pulls it into the build. open_in_memory Panics in an Ext ...
https://man.mtool.work/duckdb/2.0/clients/rust/troubleshoot.html
Go Client 8179
The latest stable release of the DuckDB Go client bundles DuckDB 2.0.0. Its own version tag encodes that DuckDB version; see Versioning below. The DuckDB Go client, duckdb-go , is a SQL driver that conforms to Go's built-in database/sql int ... s , run go mod vendor . DuckDB is written in C++, so the client uses cgo and requires a C compiler to build. By default it statically links a pre-built DuckDB library into the binary, so no separate DuckDB installation is needed. Pre-built libraries sh ... is a heavy dependency, so it is opt-in. duckdb_use_lib Dynamically link against a DuckDB library on the system instead of statically linking the bundled one. See Troubleshoot . duckdb_use_static_lib Statically link against a custom DuckDB static libra ... ry instead of the bundled one. See Troubleshoot . Bundled Extensions Every pre-built library statically links DuckDB's default extensions: ICU , JSON , Parquet , and Autocomplete . Automatic extension loading is also enabl ...
https://man.mtool.work/duckdb/2.0/clients/go/overview.html
PHP Client 8179
The DuckDB PHP client is a tertiary client and is maintained by a third-party. Client API for PHP, focused on performance. The DuckDB PHP client uses the official C API internally through FFI , achieving good benchmark results. This library ... ishes the connection. After that, we can use the function query to perform the requests. Notice the difference between the static method sql and the non-static method query . While the first one always creates and destroys a new in-memory database, the ...
https://man.mtool.work/duckdb/2.0/clients/tertiary_clients/php.html
Amazon RDS with IAM Authentication 8127
Managed PostgreSQL databases on Amazon RDS and Aurora can authenticate with short-lived IAM tokens instead of a static password. DuckDB supports this through the postgres and aws extensions: the aws extension generates the token from an AWS ...
https://man.mtool.work/duckdb/2.0/guides/database_integration/rds_iam.html
Android 8008
DuckDB has experimental support for Android. Please use the latest main branch of DuckDB instead of the stable versions. Building the DuckDB Library Using the Android NDK We provide build instructions for setups using macOS and Android Stud ... d system , make sure it is installed and available on the PATH . Set the list of DuckDB extensions to build. These will be statically linked in the binary. For example: bash DUCKDB_EXTENSIONS="icu;json;parquet" Navigate to DuckDB's directory and run th ... oid_${ANDROID_ABI}" BUILDDIR=./build/${PLATFORM_NAME} mkdir -p ${BUILDDIR} cd ${BUILDDIR} cmake \ -G "Ninja" \ -DEXTENSION_STATIC_BUILD=1 \ -DDUCKDB_EXTRA_LINK_FLAGS="-llog" \ -DBUILD_EXTENSIONS=${DUCKDB_EXTENSIONS} \ -DENABLE_EXTENSION_AUTOLOADING=1 \ ... wing packages: bash pkg install -y git ninja clang cmake python3 Set the list of DuckDB extensions to build. These will be statically linked in the binary. For example: bash DUCKDB_EXTENSIONS="icu;json" Build DuckDB as follows: bash mkdir build cd buil ...
https://man.mtool.work/duckdb/2.0/dev/building/android.html
Overview of DuckDB Internals 8008
Tip For a detailed explanation of DuckDB internals, see the Design and Implementation of DuckDB Internals ("DiDi") library entry. On this page is a brief description of the internals of the DuckDB engine. Parser The parser converts a query ... nd duplicates filters over equivalency sets. Also prunes subtrees that are guaranteed to be empty (because of filters that statically evaluate to false). Join Order Optimizer : Reorders joins using dynamic programming. Specifically, the DPhyp algorithm ... pressions from projection and filter nodes to prevent unnecessary duplicate execution. In Clause Rewriter : Rewrites large static IN clauses to a MARK join or INNER join. Column Binding Resolver The column binding resolver converts logical BoundColumnR ...
https://man.mtool.work/duckdb/2.0/internals/overview.html
PREV 1 2 NEXT
DuckDB 2.0 Documentation / man.mtool.work