-
Notifications
You must be signed in to change notification settings - Fork 830
Open
Description
Summary
root@localhost:8000/default/default> create table t(a int) row_per_block=5;
root@localhost:8000/default/default> set auto_compaction_imperfect_blocks_threshold = 3;
root@localhost:8000/default/default> insert into t select number from numbers(2);
╭─────────────────────────╮
│ number of rows inserted │
│ UInt64 │
├─────────────────────────┤
│ 2 │
╰─────────────────────────╯
2 rows written in 0.123 sec. Processed 2 rows, 9 B (16.26 rows/s, 73 B/s)
root@localhost:8000/default/default> insert into t select number from numbers(10);
╭─────────────────────────╮
│ number of rows inserted │
│ UInt64 │
├─────────────────────────┤
│ 10 │
╰─────────────────────────╯
10 rows written in 0.124 sec. Processed 10 rows, 43 B (80.65 rows/s, 346 B/s)
root@localhost:8000/default/default> insert into t select number from numbers(2);
╭─────────────────────────╮
│ number of rows inserted │
│ UInt64 │
├─────────────────────────┤
│ 2 │
╰─────────────────────────╯
2 rows written in 0.114 sec. Processed 2 rows, 9 B (17.54 rows/s, 78 B/s)
root@localhost:8000/default/default> insert into t select number from numbers(2);
╭─────────────────────────╮
│ number of rows inserted │
│ UInt64 │
├─────────────────────────┤
│ 2 │
╰─────────────────────────╯
2 rows written in 0.287 sec. Processed 2 rows, 9 B (6.97 rows/s, 31 B/s)
root@localhost:8000/default/default> select * from fuse_segment('default','t');
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ file_locati │ format_vers │ block_count │ row_count │ bytes_uncom │ bytes_compr │ index_size │ bloom_index │ ngram_index │ inverted_in │ vector_inde │ virtual_co │ virtual_bl │ segment_st │
│ on │ ion │ UInt64 │ UInt64 │ pressed │ essed │ UInt64 │ _size │ _size │ dex_size │ x_size │ lumn_size │ ock_count │ ats_size │
│ String │ UInt64 │ │ │ UInt64 │ UInt64 │ │ Nullable(UI │ Nullable(UI │ Nullable(UI │ Nullable(UI │ Nullable(U │ Nullable(U │ Nullable(U │
│ │ │ │ │ │ │ │ nt64) │ nt64) │ nt64) │ nt64) │ Int64) │ Int64) │ Int64) │
├─────────────┼─────────────┼─────────────┼───────────┼─────────────┼─────────────┼────────────┼─────────────┼─────────────┼─────────────┼─────────────┼────────────┼────────────┼────────────┤
│ '1/268/_sg/ │ 4 │ 3 │ 14 │ 60 │ 1118 │ 1289 │ 1289 │ NULL │ NULL │ NULL │ NULL │ NULL │ 152 │
│ h0199fa93f7 │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ 43762895c1c │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ e9e5ea4f5a5 │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ _v4.mpk' │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ '1/268/_sg/ │ 4 │ 1 │ 2 │ 9 │ 362 │ 425 │ 425 │ NULL │ NULL │ NULL │ NULL │ NULL │ 110 │
│ h0199fa9398 │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ 5c7322b97d0 │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ 820debaa4d4 │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ _v4.mpk' │ │ │ │ │ │ │ │ │ │ │ │ │ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
2 rows read in 0.047 sec. Processed 2 rows, 339 B (42.55 rows/s, 7.04 KiB/s)
Metadata
Metadata
Assignees
Labels
No labels