Refactor postgresql-tuned Benchmark: Optimize Data Insertion with Column Padding Alignment#310
Merged
rschu1ze merged 9 commits intoClickHouse:mainfrom Feb 26, 2025
Merged
Conversation
postgresql-tuned benchmark : Implement Column Padding Alignment for Improved Data Insertion Performancepostgresql-tuned Benchmark: Optimize Data Insertion with Column Padding Alignment
Member
|
@somratdutta Thanks, I re-ran "postgresql-tuned" in the appropriate VM and updated the result file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR refactors the PostgreSQL benchmark to enhance performance by implementing column padding alignment during the data insertion process.
Resolves #234
Changes
create.sql:The create.sql file has been optimized using column padding alignment to improve table structure and ensure better data insertion performance.
COPYCommand inbenchmark.sh:The COPY command in benchmark.sh now explicitly maps columns from the dataset to ensure proper alignment during data insertion.
Performance Improvement
Before Padding Alignment
After Padding Alighnment
Host Environment
Ubuntu 24.04 LTS
16vCPU
32GiB RAM
500GiB Disk
The percentage improvement from 8m21.641s to 6m52.399s is approximately 17.79% on our system.