Closed
Conversation
Collaborator
Author
|
with prefetch select rip, rtime, country, os, event from hdfs('hdfs://bigocluster/user/hive/warehouse/test.orc') settings max_threads = 1, max_parsing_threads = 1, remote_filesystem_read_prefetch = 1, remote_read_min_bytes_for_seek = 524288 format Null;
0 rows in set. Elapsed: 8.950 sec. Processed 780.68 thousand rows, 716.07 MB (87.23 thousand rows/s., 80.01 MB/s.)
0 rows in set. Elapsed: 5.397 sec. Processed 780.68 thousand rows, 716.07 MB (144.64 thousand rows/s., 132.67 MB/s.)
0 rows in set. Elapsed: 7.356 sec. Processed 780.68 thousand rows, 716.07 MB (106.13 thousand rows/s., 97.34 MB/s.)
0 rows in set. Elapsed: 5.735 sec. Processed 780.68 thousand rows, 716.07 MB (136.12 thousand rows/s., 124.86 MB/s.)
0 rows in set. Elapsed: 5.401 sec. Processed 780.68 thousand rows, 716.07 MB (144.54 thousand rows/s., 132.58 MB/s.)
0 rows in set. Elapsed: 5.010 sec. Processed 780.68 thousand rows, 716.07 MB (155.82 thousand rows/s., 142.93 MB/s.)
0 rows in set. Elapsed: 4.955 sec. Processed 780.68 thousand rows, 716.07 MB (157.55 thousand rows/s., 144.52 MB/s.)
0 rows in set. Elapsed: 5.907 sec. Processed 780.68 thousand rows, 716.07 MB (132.16 thousand rows/s., 121.22 MB/s.)
0 rows in set. Elapsed: 5.417 sec. Processed 780.68 thousand rows, 716.07 MB (144.12 thousand rows/s., 132.19 MB/s.)
0 rows in set. Elapsed: 5.649 sec. Processed 780.68 thousand rows, 716.07 MB (138.21 thousand rows/s., 126.77 MB/s.)后续:经过数轮优化:最快可达到4.2s,加速1.47x。优化包括
without prefetch select rip, rtime, country, os, event from hdfs('hdfs://bigocluster/user/hive/warehouse/test.orc') settings max_threads = 1, max_parsing_threads = 1, remote_filesystem_read_prefetch = 0, remote_read_min_bytes_for_seek = 524288 format Null;
0 rows in set. Elapsed: 11.423 sec. Processed 780.68 thousand rows, 716.07 MB (68.34 thousand rows/s., 62.69 MB/s.)
0 rows in set. Elapsed: 13.590 sec. Processed 780.68 thousand rows, 716.07 MB (57.44 thousand rows/s., 52.69 MB/s.)
0 rows in set. Elapsed: 7.953 sec. Processed 780.68 thousand rows, 716.07 MB (98.16 thousand rows/s., 90.04 MB/s.)
0 rows in set. Elapsed: 6.614 sec. Processed 780.68 thousand rows, 716.07 MB (118.04 thousand rows/s., 108.27 MB/s.)
0 rows in set. Elapsed: 7.343 sec. Processed 780.68 thousand rows, 716.07 MB (106.32 thousand rows/s., 97.52 MB/s.)
0 rows in set. Elapsed: 6.905 sec. Processed 780.68 thousand rows, 716.07 MB (113.06 thousand rows/s., 103.70 MB/s.)
0 rows in set. Elapsed: 6.442 sec. Processed 780.68 thousand rows, 716.07 MB (121.18 thousand rows/s., 111.15 MB/s.)
0 rows in set. Elapsed: 6.178 sec. Processed 780.68 thousand rows, 716.07 MB (126.36 thousand rows/s., 115.90 MB/s.)
0 rows in set. Elapsed: 6.471 sec. Processed 780.68 thousand rows, 716.07 MB (120.64 thousand rows/s., 110.66 MB/s.)
0 rows in set. Elapsed: 7.440 sec. Processed 780.68 thousand rows, 716.07 MB (104.93 thousand rows/s., 96.25 MB/s.) |
Collaborator
Author
939c9a5 to
fc7e32d
Compare
21 tasks
Collaborator
Author
|
Close becuase of ClickHouse#70534 |
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):