-
Notifications
You must be signed in to change notification settings - Fork 1
Deploy ClickHouse on Google Cloud C4A (Arm-based Axion VMs) #33
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
base: main
Are you sure you want to change the base?
Conversation
| This tool measures **query throughput and latency**. | ||
|
|
||
| ### Verify the benchmarking tool exists | ||
| Confirms that `clickhouse-benchmark` is installed and available on the system before running performance tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Confirms that `clickhouse-benchmark` is installed and available on the system before running performance tests. | |
| Confirm that `clickhouse-benchmark` is installed and available on the system before running performance tests. |
| ``` | ||
|
|
||
| ### Prepare benchmark database and table | ||
| Creates a test database and table structure where sample data will be stored for benchmarking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Creates a test database and table structure where sample data will be stored for benchmarking. | |
| Create a test database and table structure where sample data will be stored for benchmarking. |
| exit; | ||
| ``` | ||
| ### Load benchmark data | ||
| Inserts 1 million sample records into the table to simulate a realistic workload for testing query performance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Inserts 1 million sample records into the table to simulate a realistic workload for testing query performance. | |
| Insert 1 million sample records into the table to simulate a realistic workload for testing query performance. |
|
|
||
| **Verify:** | ||
|
|
||
| Checks that the data load was successful by counting the total number of rows in the table. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Checks that the data load was successful by counting the total number of rows in the table. | |
| Check that the data load was successful by counting the total number of rows in the table. |
| ``` | ||
|
|
||
|
|
||
| ### Benchmark aggregation query |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not in bold.
|
|
||
|
|
||
| ### Benchmark aggregation query | ||
| Tests the performance of grouping and aggregation operations, demonstrating analytical query efficiency. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Tests the performance of grouping and aggregation operations, demonstrating analytical query efficiency. | |
| Test the performance of grouping and aggregation operations, demonstrating analytical query efficiency. |
| 99.99% 0.008 sec. | ||
| ``` | ||
|
|
||
| ### Benchmark concurrent read workload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not in bold.
| ``` | ||
|
|
||
| ### Benchmark concurrent read workload | ||
| Runs multiple queries at the same time to evaluate how well ClickHouse handles higher user load and parallel processing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Runs multiple queries at the same time to evaluate how well ClickHouse handles higher user load and parallel processing. | |
| Run multiple queries at the same time to evaluate how well ClickHouse handles higher user load and parallel processing. |
| ```console | ||
| sudo systemctl status clickhouse-server | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| This confirms that the ClickHouse server is running correctly under systemd and ready to accept connections. | |
| Output: |
|
|
||
|
|
||
| ### Verify ClickHouse is running | ||
| confirms that the ClickHouse server is running correctly under systemd and ready to accept connections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
| Peak memory usage: 3.96 MiB. | ||
| ``` | ||
|
|
||
| **Verify row count:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add one-liner spacing
| | Read (High Concurrency) | Filtered COUNT | `COUNT(*) WHERE user_id % 10 = 0` | 20 | 8 | 99.72 | 99.72 M | 760.83 | 29 ms | 63 ms | 78 ms | | ||
| | Write | Bulk Insert | `INSERT SELECT … FROM numbers(500000)` | 5 | 4 | 20.94 | 10.47 M | 79.86 | 68 ms | 73 ms | 73 ms | | ||
|
|
||
| ### ClickHouse benchmarking comparison on Arm64 and x86_64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't highlight results on x86. Simply write:
Benchmark comparison insights:
e19ef38 to
57a7ea3
Compare
Signed-off-by: odidev <[email protected]>
No description provided.