Results of 1 - 10 of about 14 for allocated (0.004 sec.)
- ODBC 101: A Duck Themed Guide to ODBC 14564
- What is ODBC? ODBC which stands for Open Database Connectivity, is a standard that allows different programs to talk to different databases including, of course, DuckDB. This makes it easier to build programs that work with many different d
...ose, these are the environment handle, the connection handle, the statement handle, and the descriptor handle. Handles are allocated using the SQLAllocHandle which takes as input the type of handle to allocate, and a pointer to the handle, the driver then...ata. | | Use case | Initializing ODBC, managing driver behavior, resource allocation. | | Additional information | Must be allocated once per application upon starting, and freed at the end. | Connection | Handle name | Connection | | Type name | SQL_HAND...us connections to multiple data sources. Note: Allocating a connection handle does not establish a connection, but must be allocated first, and then used once the connection has been established. | Statement | Handle name | Statement | | Type name | SQL_H... - https://man.mtool.work/duckdb/2.0/guides/odbc/general.html
- Complete API 9907
- This page contains the reference for DuckDB's C API. The reference contains several deprecation notices. These concern methods whose long-term availability is not guaranteed as they may be removed in the future. That said, DuckDB's develope
...DuckDBSuccess on success or DuckDBError on failure. duckdb_close Closes the specified database and de-allocates all memory allocated for that database. This should be called after you are done with any database allocated through duckdb_open or duckdb_open...no progress or a percentage of the progress duckdb_disconnect Closes the specified connection and de-allocates all memory allocated for that connection. Syntax void duckdb_disconnect ( duckdb_connection * connection ); Parameters connection : The connect...s or DuckDBError on failure. duckdb_destroy_config Destroys the specified configuration object and de-allocates all memory allocated for the object. Syntax void duckdb_destroy_config ( duckdb_config * config ); Parameters config : The configuration object... - https://man.mtool.work/duckdb/2.0/clients/c/api.html
- Startup & Shutdown 9487
- 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
...DuckDBSuccess on success or DuckDBError on failure. duckdb_close Closes the specified database and de-allocates all memory allocated for that database. This should be called after you are done with any database allocated through duckdb_open or duckdb_open...no progress or a percentage of the progress duckdb_disconnect Closes the specified connection and de-allocates all memory allocated for that connection. Syntax void duckdb_disconnect ( duckdb_connection * connection ); Parameters connection : The connect... - https://man.mtool.work/duckdb/2.0/clients/c/connect.html
- Prepared Statements 8752
- A prepared statement is a parameterized query. The query is prepared with question marks ( ? ) or dollar symbols ( $1 ) indicating the parameters of the query. Values can then be bound to these parameters, after which the prepared statement
...ess on success or DuckDBError on failure. duckdb_destroy_prepare Closes the prepared statement and de-allocates all memory allocated for the statement. Syntax void duckdb_destroy_prepare ( duckdb_prepared_statement * prepared_statement ); Parameters prepa...repared statement has no error message, this returns nullptr instead. The error message should not be freed. It will be de-allocated when duckdb_destroy_prepare is called. Syntax const char * duckdb_prepare_error ( duckdb_prepared_statement prepared_state... - https://man.mtool.work/duckdb/2.0/clients/c/prepared.html
- Metrics 8752
- DuckDB provides a set of metrics that can be used to monitor the performance and health of the database. Metrics are named ⟨group⟩.⟨metric⟩ , e.g., query.total_time or operator.timing . The set of collected metrics is controlled with the tr
...nstruction are not counted system.peak_temp_dir_size uint64 bytes Peak size of the temporary directory system.total_memory_allocated uint64 bytes The total memory allocated by the buffer manager io Metrics Metrics on the data read from and written to stor... - https://man.mtool.work/duckdb/2.0/dev/metrics.html
- Configuration 8314
- Configuration options can be provided to change different settings of the database system. Note that many of these settings can be changed later on using PRAGMA statements as well. The configuration object should be created, filled with val
...s or DuckDBError on failure. duckdb_destroy_config Destroys the specified configuration object and de-allocates all memory allocated for the object. Syntax void duckdb_destroy_config ( duckdb_config * config ); Parameters config : The configuration object... - https://man.mtool.work/duckdb/2.0/clients/c/config.html
- Data Chunks 8174
- Data chunks represent a horizontal slice of a table. They hold a number of vectors , that can each hold up to the VECTOR_SIZE rows. The vector size can be obtained through the duckdb_vector_size function and is configurable, but is usually
...ber of columns. Return Value The data chunk. duckdb_destroy_data_chunk Destroys the data chunk and de-allocates all memory allocated for that chunk. Syntax void duckdb_destroy_data_chunk ( duckdb_data_chunk * chunk ); Parameters chunk : The data chunk to... - https://man.mtool.work/duckdb/2.0/clients/c/data_chunk.html
- Types 8034
- DuckDB is a strongly typed database system. As such, every column has a single type specified. This type is constant over the entire column. That is to say, a column that is labeled as an INTEGER column will only contain INTEGER values. Duc
...xists is that the result does not need to be freed. duckdb_value_varchar and duckdb_value_blob require the result to be de-allocated using duckdb_free . duckdb_fetch_chunk The duckdb_fetch_chunk function can be used to read data chunks from a DuckDB resul...royed with duckdb_destroy_logical_type . duckdb_destroy_logical_type Destroys the logical type and de-allocates all memory allocated for that type. Syntax void duckdb_destroy_logical_type ( duckdb_logical_type * type ); Parameters type : The logical type... - https://man.mtool.work/duckdb/2.0/clients/c/types.html
- Profile and Monitor 8034
- Overview The JDBC driver exposes several ways to observe a running or completed query: cancelling and timing out queries, polling query progress, retrieving profiling output, and emitting memory-usage events through Java Flight Recorder . T
...ddress long Native address of the DuckDB instance, a stable per-instance identifier. memoryUsageBytes long Bytes currently allocated for this tag. temporaryStorageBytes long Bytes spilled to temporary storage for this tag. The standard JFR startTime , dur... - https://man.mtool.work/duckdb/2.0/clients/java/profiling.html
- Appender 7737
- Appenders are the most efficient way of loading data into DuckDB from within the C interface, and are recommended for fast data loading. The appender is much faster than using prepared statements or individual INSERT INTO statements. Append
.... If the appender has no error message, this returns nullptr instead. The error message should not be freed. It will be de-allocated when duckdb_appender_destroy is called. Syntax const char * duckdb_appender_error ( duckdb_appender appender ); Parameters... - https://man.mtool.work/duckdb/2.0/clients/c/appender.html
DuckDB 2.0 Documentation / man.mtool.work