Results of 1 - 10 of about 11 for crash (0.002 sec.)
- Crashes 13780
- DuckDB is thoroughly tested via an extensive test suite. However, bugs can still occur and these can sometimes lead to crashes. This page contains practical information on how to troubleshoot DuckDB crashes. Types of Crashes There are a few
...major types of crashes: Termination signals: The process stops with a SIGSEGV (segmentation fault), SIGABRT , etc.: these should never occur. P...ous fatal error. The database must be restarted prior to being used again. Out of memory errors: In rare cases, DuckDB can crash due to memory exhaustion. This crash can also be a symptom of the operating system killing the process. For example, many...report it in the issue tracker . Recovering Data If your DuckDB session was writing to a persistent database file prior to crashing, there might be a WAL ( write-ahead log ) file next to your database named ⟨database_filename⟩.wal . To recover data fr... - https://man.mtool.work/duckdb/2.0/guides/troubleshooting/crashes.html
- Building Extensions 10935
- Extensions can be built from source and installed from the resulting local binary. Building Extensions To build using extension flags, set the BUILD_EXTENSIONS flag to the list of extensions that you want to be built. For example: BUILD_EXT
...extension and it's not distributed as such. Enabling this allows TPC-E enabled queries through our test suite. Debug Flags CRASH_ON_ASSERT D_ASSERT(condition) is used all throughout the code, these will throw an InternalException in debug builds. With...this flag enabled, when the assertion triggers it will instead directly cause a crash. DISABLE_STRING_INLINE In our execution format string_t has the feature to “inline” strings that are under a certain lengt...these checks include: Making sure nullptr is never dereferenced. Making sure index out of bounds accesses don't trigger a crash. With this flag enabled we remove these checks, this is mostly done to check that the performance hit of these checks is n... - https://man.mtool.work/duckdb/2.0/dev/building/building_extensions.html
- Troubleshooting 8713
- 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]: ┌───────────────┬─────────────────────
...pty string, so printing it prints nothing. Please also check out the Jupyter guide for tips on using Jupyter with JupySQL. Crashes and Errors on Windows When importing DuckDB on Windows, the Python runtime may crash or return an error upon import or f...ted from the main thread, and a different thread during execution attempts to import it this causes either a deadlock or a crash. To avoid this, it's recommended to import numpy.core.multiarray before starting up threads. Many Threads per Database Bes... - https://man.mtool.work/duckdb/2.0/clients/python/known_issues.html
- R 8713
- This page contains instructions for building the R client library. Parallelizing the Build Problem: By default, R compiles packages using a single thread, which causes the build to be slow. Solution: To parallelize the compilation, create o
...eads that are used, the higher the RAM consumption. If the system runs out of RAM while compiling, then the R session will crash.... - https://man.mtool.work/duckdb/2.0/dev/building/r.html
- Logging 8393
- DuckDB implements a logging mechanism that provides users with detailed information about events such as query execution, performance metrics and system events. Warning Logs may contain sensitive information, including secrets and credentia
...storage writing. This delay can obscure the actual message writing time, which is particularly problematic when debugging crashes, as messages generated immediately before a crash might not be written. To address this, the buffer size can be configur...speed up your logging: CALL enable_logging(storage = 'stdout', storage_buffer_size = 2048); Or imagine you are debugging a crash in DuckDB and you want to use the file logger to understand what's going on. Simply disable the buffering using: CALL enab... - https://man.mtool.work/duckdb/2.0/operations_manual/logging/overview.html
- Extension Distribution 8090
- Platforms Extension binaries are distributed for several platforms (see below). For platforms where packages for certain extensions are not available, users can build them from source and install the resulting binaries manually . Most offic
...OAD './some/local/ext.duckdb_extension'; Warning Loading an extension built for a different DuckDB version or platform may crash DuckDB or cause undefined behavior. Creating a Custom Repository You can create a custom DuckDB extension repository. To h... - https://man.mtool.work/duckdb/2.0/extensions/extension_distribution.html
- Startup & Shutdown 7948
- To use DuckDB, you must first initialize a duckdb_database handle using duckdb_open() . duckdb_open() takes as parameter the database file to read and write from. The special value NULL ( nullptr ) can be used to create an in-memory databas
...base allocated through duckdb_open or duckdb_open_ext . Note that failing to call duckdb_close (in case of e.g., a program crash) will not cause data corruption. Still, it is recommended to always correctly close a database object after you are done w... - https://man.mtool.work/duckdb/2.0/clients/c/connect.html
- Vector Similarity Search Extension 7859
- The vss extension is an experimental extension for DuckDB that adds indexing support to accelerate vector similarity search queries using DuckDB's new fixed-size ARRAY type. See the announcement blog post and the “What's New in the Vector S
...e behind an experimental flag is that “WAL” recovery is not yet properly implemented for custom indexes, meaning that if a crash occurs or the database is shut down unexpectedly while there are uncommitted changes to a HNSW -indexed table, you can end... - https://man.mtool.work/duckdb/2.0/core_extensions/vss.html
- ATTACH and DETACH Statements 7859
- DuckDB allows attaching to and detaching from database files. Examples Attach the database file.db with the alias inferred from the name ( file ): ATTACH 'file.db'; Attach the database file.db with an explicit alias ( file_db ): ATTACH 'fil
...AR - RECOVERY_MODE Recovery mode for the database. no_wal_writes disables WAL writes, improving performance at the cost of crash recovery. VARCHAR - The options above apply when attaching DuckDB and SQLite database files. Attaching a database managed... - https://man.mtool.work/duckdb/2.0/sql/statements/attach.html
- Configuration 7788
- 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
...ges to stable storage ( STANDARD , NONE or FULL). NONE may cause database corruption after an operating system or hardware crash. FULL uses fullfsync on macOS. VARCHAR STANDARD geometry_minimum_shredding_size Minimum size of a row group to enable GEOM... - https://man.mtool.work/duckdb/2.0/configuration/overview.html
DuckDB 2.0 Documentation / man.mtool.work