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

Speed up postgres pre aggregations #200

Closed
landyrev opened this issue Sep 3, 2019 · 1 comment
Closed

Speed up postgres pre aggregations #200

landyrev opened this issue Sep 3, 2019 · 1 comment
Labels
enhancement New feature proposal

Comments

@landyrev
Copy link
Contributor

landyrev commented Sep 3, 2019

I’m trying to use Postgres as external db for rollup pre aggregations in serverless mode, but facing following issue: creating of new pre-aggregations takes a lot of time — about one second per every 4-5 rows of pre aggregated data.

As I can see — it happens because cube uploads data to Postgres row-by-row, and it takes a lot of time. Is there any ways to speed up uploading?

@paveltiunov
Copy link
Member

@landyrev Thanks for posting this! Yep. It's because default driver implementation doesn't have any DB specific optimizations. Thanks for providing this implementation!

@paveltiunov paveltiunov added the enhancement New feature proposal label Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature proposal
Projects
None yet
Development

No branches or pull requests

2 participants