This project is archived and is in readonly mode.
How do I make a multi-connection data load atomic?
Reported by Nicholas Chammas | May 5th, 2014 @ 09:30 PM
This is not a bug. This is a design or best practices question. If this is off-topic here, please direct me appropriately.
Here is my question: http://stackoverflow.com/q/23354034/877069
The question is about Amazon Redshift, which exposes a PostgreSQL interface, but it should be equally applicable to PostgreSQL.
Basically, I am trying to load data in parallel using ThreadedConnectionPool.
Is there a convenient way to make the activity across all the connections in the pool atomic?
Comments and changes to this ticket
-
Daniele Varrazzo May 5th, 2014 @ 09:55 PM
- State changed from new to invalid
Write to the mailing list. You can find info on the website.
You are looking for two-phase commit.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.