Comments (2)
According to the documentation, the standard implementation for executemany()
is not faster than executing execute()
in a loop.
Warning In its current implementation this method is not faster than executing execute() in a loop. For better performance you can use the functions described in Fast execution helpers.
To gain the same experience as with other databases, psycopg2.extras.execute_batch()
should be used. See Fast execution helpers
from csv2db.
Fixed.
from csv2db.
Related Issues (20)
- Don't print color codes on non-color capable terminals HOT 5
- Error "'tuple' object has no attribute 'pop'" throws when excessive row values HOT 1
- Error "'ascii' codec can't encode character '\xe9' in position 5: ordinal not in range(128)" thrown on file with unicode data HOT 3
- Error handling should throw exception name for better diagnosis HOT 1
- Upsert support HOT 1
- -s input for TAB delimited files HOT 1
- Introduce flag for skipping errors in a file HOT 2
- Postgres fast load HOT 8
- Option: truncate table before load HOT 1
- Introduce logging of bad rows into error file HOT 1
- Postgres: execute_batch still significantly slower than copy command HOT 3
- Are tabs as separator with no quotes around strings possible HOT 1
- Error generating statement: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte HOT 2
- How to execute the unit tests? HOT 3
- Convert into a Python package HOT 3
- "Smart mode" for schema creation
- MySQL: Support for `LOAD DATA INFILE`
- Command `generate`: Fail, when header field is empty HOT 1
- Extra parameter for TNSNAMES.ORA use scenario (Oracle OCI instances connection)
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 csv2db.