Comments (3)
The difference is that a bulk ingest runs via COPY, which can't do a fancy upsert, but is instead optimized to just throw data into the database as fast as possible. While a regular insert uses bind parameters, which requires a database roundtrip for every single row. I would say a temporary table is reasonable for your use case.
from arrow-adbc.
Yes and yes: we use the COPY statement with binary format, and we use libpq as the underlying client library.
from arrow-adbc.
The difference is that a bulk ingest runs via COPY
Just to clarify, the "COPY" you are referring to, is it the COPY command of Postgres wire protocol or is it something else? And is it called/implemented in adbc_driver_postgres via libpq library?
from arrow-adbc.
Related Issues (20)
- ci: native-unix builds are broken HOT 1
- adbc_driver_snowflake error when writing table to snowflake HOT 6
- adbc_driver_postgres flatten multi dimensional array in Postgres HOT 3
- c/driver/postgresql: Handle non-COPY path results where individual string data would be larger than 2GB
- Streaming LIST data over ADBC HOT 4
- adbc_driver_postgres add extra "\x01" to JSONB columns HOT 1
- c/driver/postgresql: Cursor.adbc_ingest() throws an error when an empty table is passed HOT 1
- python: add CI build using nogil python
- python: add CI build with debug python
- docs: demo `WITH_MAX_MSG_SIZE` (was: Python: grpc: received message larger than max (20748753 vs. 16777216)) HOT 5
- docs: demonstrate more complex SQLAlchemy integration HOT 7
- Snowflake Go - DEFAULT_ROLE behavior is different for ADBC vs. ODBC HOT 3
- docs: improve cookbook Sphinx tag HOT 2
- pyarrow/adbc: no support for binding DECIMAL in Snowflake driver HOT 25
- Support `SHOW` command HOT 2
- adbc_ingest for snowflake dropping rows when called repeatedly HOT 15
- csharp/src/Client: Support parameters
- GeoArrow Support? HOT 1
- c/driver/postgresql: use `Opaque` extension type for unknown types
- dev/release: publish `adbc_core` crate on https://crates.io HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arrow-adbc.