We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a 200million row dataframe that I've sliced in-memory into chunks of 200,000 to insert gradually.
After running d6tstack.utils.pd_to_psql for 30 minutes or so (which is the halfway mark), I will get the following error:
d6tstack.utils.pd_to_psql
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "...", port ... failed: FATAL: sorry, too many clients already
I added the following lines to d6tstack.utils.py and the error stopped reproducing:
d6tstack.utils.py
sql_cnxn.close() sql_engine.dispose()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a 200million row dataframe that I've sliced in-memory into chunks of 200,000 to insert gradually.
After running
d6tstack.utils.pd_to_psql
for 30 minutes or so (which is the halfway mark), I will get the following error:I added the following lines to
d6tstack.utils.py
and the error stopped reproducing:The text was updated successfully, but these errors were encountered: