Skip to content
New issue

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

Performance tuning tips #54

Open
brettwooldridge opened this issue Feb 4, 2022 · 1 comment
Open

Performance tuning tips #54

brettwooldridge opened this issue Feb 4, 2022 · 1 comment

Comments

@brettwooldridge
Copy link

This is rather an open question. I am looking for any experience/tips anyone has regarding performance tuning to increase import speed. We are trying to import several billion rows of data from InfluxDB to TimescaleDB.

Batch size? Copy options? PostgreSQL tuning parameters?

@jonatas
Copy link

jonatas commented Mar 7, 2022

Here are a few good tips: https://www.timescale.com/blog/13-tips-to-improve-postgresql-insert-performance/

Also, there's some good ideas for large datasets here: https://github.com/timescale/timescaledb-extras#useful-utilities

I'd also encourage you to enable the --report and start testing with different batch sizes and parallel processes. It will depend on the machine you're using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants