Connect ODBC Databases to DuckDB
github.com
Connect ODBC Databases to DuckDB
1–9 of 9 posts
Re: Connect ODBC Databases to DuckDB
#2It supports fetching rowsets in batches to minimize network overhead and defaults to the default DuckDB vector size of 2048.
I've tested it against the IBM DB2 & Postgres ODBC drivers and will continue to test and add support for all major databases. If you've got one you'd like to see let me know in the comments.
I've got plenty of improvements in the pipeline including:
- Write to ODBC database
- Predicate push down
- Automatic catalog discovery
- Performance benchmarks
- Configurable batch size
- Relative & absolute cursors
- OS X builds using rosetta for databases without native aarch64 drivers (IBM/Oracle)Re: Connect ODBC Databases to DuckDB
#3I've created an ODBC DuckDB extension to query any database that has an ODBC driver. It's modeled after the fantastic official Postgres scanner extension https://github.com/duckdblabs/postgres_scanner . It supports fetching rowsets in batches to minimize network overhead and defaults to the default DuckDB vector size of 2048. I've tested it against the IBM DB2 & Postgres ODBC drivers and will continue to test and add…
Re: Connect ODBC Databases to DuckDB
#4I've created an ODBC DuckDB extension to query any database that has an ODBC driver. It's modeled after the fantastic official Postgres scanner extension https://github.com/duckdblabs/postgres_scanner . It supports fetching rowsets in batches to minimize network overhead and defaults to the default DuckDB vector size of 2048. I've tested it against the IBM DB2 & Postgres ODBC drivers and will continue to test and add…
Dependency on unixODBC? Wondering if this could used on Windows.
It's now on the list of improvements!
Re: Connect ODBC Databases to DuckDB
#5I've created an ODBC DuckDB extension to query any database that has an ODBC driver. It's modeled after the fantastic official Postgres scanner extension https://github.com/duckdblabs/postgres_scanner . It supports fetching rowsets in batches to minimize network overhead and defaults to the default DuckDB vector size of 2048. I've tested it against the IBM DB2 & Postgres ODBC drivers and will continue to test and add…
It already has the items from your list, like the predicate push-down. Plus, it is memory-safe, thanks to clickhouse-odbc-bridge which runs as a separate process and does not poison the main server process's address space.
PS. I'm one of developers of the ODBC integration.
Re: Connect ODBC Databases to DuckDB
#6I've created an ODBC DuckDB extension to query any database that has an ODBC driver. It's modeled after the fantastic official Postgres scanner extension https://github.com/duckdblabs/postgres_scanner . It supports fetching rowsets in batches to minimize network overhead and defaults to the default DuckDB vector size of 2048. I've tested it against the IBM DB2 & Postgres ODBC drivers and will continue to test and add…
Dependency on unixODBC? Wondering if this could used on Windows.
Re: Connect ODBC Databases to DuckDB
#7I've created an ODBC DuckDB extension to query any database that has an ODBC driver. It's modeled after the fantastic official Postgres scanner extension https://github.com/duckdblabs/postgres_scanner . It supports fetching rowsets in batches to minimize network overhead and defaults to the default DuckDB vector size of 2048. I've tested it against the IBM DB2 & Postgres ODBC drivers and will continue to test and add…
Re: Connect ODBC Databases to DuckDB
#8I've created an ODBC DuckDB extension to query any database that has an ODBC driver. It's modeled after the fantastic official Postgres scanner extension https://github.com/duckdblabs/postgres_scanner . It supports fetching rowsets in batches to minimize network overhead and defaults to the default DuckDB vector size of 2048. I've tested it against the IBM DB2 & Postgres ODBC drivers and will continue to test and add…
Can you do ADBC next? ;) https://arrow.apache.org/docs/format/ADBC.html