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

vdk-postgres: batch inserts during ingestion #3121

Merged
merged 3 commits into from
Feb 16, 2024

Conversation

antoniivanov
Copy link
Collaborator

Insert data is painfully slow even small amounts making even testing and pocs hard. So this is a quick and slight optimization Before insert 300 rows took 15 minutes. Now it's about 1 minute

Testing Done: made sure existing test pass. Tested with a job sending 300 rows in 2 tables.

Insert data is painfully slow even small amounts making even testing and
pocs hard. So this is a quick and slight optimization
Before insert 300 rows took 15 minutes. Now it's about 1 minute

Testing Done: made sure existing test pass. Tested with a job sending
300 rows in 2 tables.

Signed-off-by: Antoni Ivanov <[email protected]>
Copy link
Contributor

@gageorgiev gageorgiev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would love to see a before/after on ingesting the same confluence pages we discussed, so I have an idea as to how much of an improvement this is with respect to our POC

@antoniivanov antoniivanov enabled auto-merge (squash) February 16, 2024 16:44
@antoniivanov antoniivanov merged commit e403d60 into main Feb 16, 2024
8 checks passed
@antoniivanov antoniivanov deleted the person/aivanov/postgres branch February 16, 2024 16:48
@antoniivanov
Copy link
Collaborator Author

would love to see a before/after on ingesting the same confluence pages we discussed, so I have an idea as to how much of an improvement this is with respect to our POC

@gageorgiev . It's in the description :

Before insert 300 rows took 15 minutes. Now it's about 1 minute

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

Successfully merging this pull request may close these issues.

None yet

5 participants