2024/11/20-13:07:03.655428 140257265124928 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00: fork to child time = 0.009687 sec 2024/11/20-13:07:03.655953 140257265124928 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00 2024/11/20-13:07:03.660847 140257265124928 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00 2024/11/20-13:07:03.662456 140257265124928 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-13:07:03.662690 140257265124928 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-13:07:03.704817 140257265124928 [version_set.cc:6211] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-06591/att-00/MANIFEST-019309 2024/11/20-13:07:03.754433 140257265124928 [version_set.cc:6254] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-06591/att-00/MANIFEST-019309 succeeded,manifest_file_number is 19309, next_file_number is 28809, last_sequence is 554417271, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 28621 2024/11/20-13:07:03.754444 140257265124928 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-13:07:03.754519 140257265124928 [version_set.cc:5724] Creating manifest 28809 2024/11/20-13:07:03.784108 140257265124928 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-13:07:03.803860 140257265124928 [compaction_job.cc:2437] [default] [JOB 6591] Compacting 1@2 + 3@3 files to L3, score 0.78, subcompactions 1 : 1 2024/11/20-13:07:03.803872 140257265124928 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 6123 Base level 2, inputs: [28786(27MB)], [28687(40MB) 28688(37MB) 28804(39MB)] 2024/11/20-13:07:03.810351 140257265124928 [top_zip_table.cc:59] core git_version_hash_info_is:commit 81964c21ebbcc178d8e99dae0fbf61bded2729cc Author: rockeet Date: Mon Nov 11 21:28:46 2024 +0800 Makefile: fix gen git-version-*.cpp GIT_PATH_ARG = :!src/terark/fsa :!tools/fsa :!src/terark/zbs :!tools/zbs g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCS = -Isrc -I3rdparty/zstd -Iboost-include DEFS = -DTOPLING_IO_WITH_URING=1 -DDIVSUFSORT_API= CXXFLAGS = -fPIC -time -fdiagnostics-color -mcx16 -fno-stack-protector WARNINGS = -Wno-class-memaccess -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -Wno-deprecated-declarations -Wstrict-aliasing=3 RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 LDFLAGS = -fPIC -rdynamic 2024/11/20-13:07:03.810374 140257265124928 [top_zip_table.cc:60] fsa git_version_hash_info_is:commit 5dfecb7d107196f044ff5bf78dc39d2e725b9d9b Author: leipeng Date: Thu Nov 7 15:22:45 2024 +0800 Makefile: fix for x86_64 CPU older than haswell GIT_PATH_ARG = src/terark/fsa tools/fsa g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCS = -Isrc -I3rdparty/zstd -Iboost-include DEFS = -DTOPLING_IO_WITH_URING=1 -DDIVSUFSORT_API= CXXFLAGS = -fPIC -time -fdiagnostics-color -mcx16 -fno-stack-protector WARNINGS = -Wno-class-memaccess -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -Wno-deprecated-declarations -Wstrict-aliasing=3 RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 LDFLAGS = -fPIC -rdynamic 2024/11/20-13:07:03.810393 140257265124928 [top_zip_table.cc:61] zbs git_version_hash_info_is:commit d44dd5ff72707128fe3c916077b43d2093c01f7c Author: leipeng Date: Sun Oct 27 23:38:26 2024 +0800 Fix for msvc, when toplingdb on msvc GIT_PATH_ARG = src/terark/zbs tools/zbs g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCS = -Isrc -I3rdparty/zstd -Iboost-include DEFS = -DTOPLING_IO_WITH_URING=1 -DDIVSUFSORT_API= CXXFLAGS = -fPIC -time -fdiagnostics-color -mcx16 -fno-stack-protector WARNINGS = -Wno-class-memaccess -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -Wno-deprecated-declarations -Wstrict-aliasing=3 RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 LDFLAGS = -fPIC -rdynamic 2024/11/20-13:07:03.810400 140257265124928 [top_zip_table.cc:62] topling-zip_table_reader: git_version_hash_info_is: commit 79614a7e7dc27362fc5151b0797eb7d83c674c7b Author: rockeet Date: Sun Nov 10 15:02:21 2024 +0800 cpu_has_bmi2.sh: detect by compile c++ code check __BMI2__ g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. cpu_flag: -march=native -mbmi -mbmi2 2024/11/20-13:07:03.810411 140257265124928 [top_zip_table.cc:64] topling-rocks git_version_hash_info_is: commit c46b65a52d9c74aa8b87aeb8438620ff2dbc669c Author: rockeet Date: Sun Nov 10 15:02:42 2024 +0800 cpu_has_bmi2.sh: detect by compile c++ code check __BMI2__ g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. cpu_flag: -march=native -mbmi -mbmi2 2024/11/20-13:07:04.710012 140257265124928 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028810.sst) /dev/shm/ToplingTemp/Topling-215571-j7o87G 2024/11/20-13:07:05.218447 140257265124928 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028810.sst): first pass time = 0.51's, 264.012'MB/sec 2024/11/20-13:07:06.634662 140257265124928 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028810.sst): old prealloc_size = 147639500, real_size = 37923152 2024/11/20-13:07:06.635270 140257265124928 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028810.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 925678 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.94 raw-val = 0.1083 GB zip-val = 0.0359 GB avg-val = 116.99 avg-zval = 38.78 2024/11/20-13:07:06.636062 140257265124928 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028810.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-13:07:07.441958 140257265124928 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028810.sst): second pass time = 1.42's, 76.517'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.81's, 51.908'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3134.888'MB/sec (index lex order gen) rebuild zvType time = 0.68's, 0.340'MB/sec write SST data time = 0.13's, 334.820'MB/sec dict compress time = 7238462436.71's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 34131.425'MB/sec zip my value time = 1.42's, unzip length = 0.108'GB zip my value throughput = 76.517'MB/sec zip pipeline throughput = 112.825'MB/sec entries = 925678 avg-key = 28.00 avg-zkey = 1.94 avg-val = 116.99 avg-zval = 38.78 usrkeys = 925678 avg-key = 20.00 avg-zkey = 1.94 avg-val = 123.99 avg-zval = 38.78 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 925678 bytes = 3124176 } seq expand size = 6479746 multi value expand size = 0 cnt WriteAppend = 127 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0359 GB dict = 1.08 MB all = 0.0419 GB } UnZip/Zip{ index = 10.3058 value = 3.0171 dict = 1.00 all = 3.2029 } Zip/UnZip{ index = 0.0970 value = 0.3314 dict = 1.00 all = 0.3122 } ---------------------------- total value len = 0.114779 GB avg = 0.124 KB (by entry num) total key len = 0.025919 GB avg = 0.028 KB total ukey len = 0.018514 GB avg = 0.020 KB total ukey num = 0.000925678 Billion total entry num = 0.000925678 Billion write speed all = 0.009039006 MB/sec (with seq num) write speed all = 0.008563250 MB/sec (without seq num) 2024/11/20-13:07:07.491892 140257265124928 [compaction_job.cc:1948] [default] [JOB 6591] Generated table #28810: 925678 keys, 41905658 bytes, temperature: kWarm 2024/11/20-13:07:07.491986 140257265124928 EVENT_LOG_v1 {"time_micros": 1732079227491946, "cf_name": "default", "job": 6591, "event": "table_file_creation", "file_number": 28810, "file_size": 41905658, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 431720469, "largest_seqno": 554296204, "table_properties": {"data_size": 35895104, "index_size": 1796416, "index_partitions": 0, "top_level_index_size": 0, "index_key_is_user_key": 0, "index_value_is_delta_encoded": 0, "filter_size": 0, "raw_key_size": 25918984, "raw_average_key_size": 28, "raw_value_size": 108298848, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 925678, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732079224, "oldest_key_time": 0, "file_creation_time": 1732079224, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 28810, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-13:07:07.529021 140257265124928 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028811.sst) /dev/shm/ToplingTemp/Topling-215571-1XdlgH 2024/11/20-13:07:08.381983 140257265124928 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028811.sst): first pass time = 0.85's, 157.368'MB/sec 2024/11/20-13:07:09.762533 140257265124928 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028811.sst): old prealloc_size = 147639500, real_size = 37457952 2024/11/20-13:07:09.763219 140257265124928 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028811.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 926373 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.93 raw-val = 0.1083 GB zip-val = 0.0354 GB avg-val = 116.89 avg-zval = 38.26 2024/11/20-13:07:09.763731 140257265124928 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028811.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-13:07:10.580075 140257265124928 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028811.sst): second pass time = 1.38's, 78.499'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.82's, 48.960'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2692.840'MB/sec (index lex order gen) rebuild zvType time = 0.66's, 0.350'MB/sec write SST data time = 0.15's, 259.428'MB/sec dict compress time = 7238462436.71's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 27534.596'MB/sec zip my value time = 1.38's, unzip length = 0.108'GB zip my value throughput = 78.499'MB/sec zip pipeline throughput = 78.499'MB/sec entries = 926373 avg-key = 28.00 avg-zkey = 1.93 avg-val = 116.89 avg-zval = 38.26 usrkeys = 926373 avg-key = 20.00 avg-zkey = 1.93 avg-val = 120.39 avg-zval = 38.26 TagRS{ kinds = RS_Key0_TagN bytes = 144840 } TagArray{ size = 463435 bytes = 1564112 } seq expand size = 3244045 multi value expand size = 0 cnt WriteAppend = 18 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0354 GB dict = 1.08 MB all = 0.0400 GB } UnZip/Zip{ index = 10.3764 value = 3.0552 dict = 1.00 all = 3.3533 } Zip/UnZip{ index = 0.0964 value = 0.3273 dict = 1.00 all = 0.2982 } ---------------------------- total value len = 0.226302 GB avg = 0.122 KB (by entry num) total key len = 0.051857 GB avg = 0.028 KB total ukey len = 0.037041 GB avg = 0.020 KB total ukey num = 0.001852051 Billion total entry num = 0.001852051 Billion write speed all = 0.017866534 MB/sec (with seq num) write speed all = 0.016914857 MB/sec (without seq num) 2024/11/20-13:07:10.630144 140257265124928 [compaction_job.cc:1948] [default] [JOB 6591] Generated table #28811: 926373 keys, 40025277 bytes, temperature: kWarm 2024/11/20-13:07:10.630203 140257265124928 EVENT_LOG_v1 {"time_micros": 1732079230630174, "cf_name": "default", "job": 6591, "event": "table_file_creation", "file_number": 28811, "file_size": 40025277, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 554296078, "table_properties": {"data_size": 35440656, "index_size": 1785536, "index_partitions": 0, "top_level_index_size": 0, "index_key_is_user_key": 0, "index_value_is_delta_encoded": 0, "filter_size": 0, "raw_key_size": 25938444, "raw_average_key_size": 28, "raw_value_size": 108279378, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 926373, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732079227, "oldest_key_time": 0, "file_creation_time": 1732079227, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 28811, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-13:07:10.665245 140257265124928 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028812.sst) /dev/shm/ToplingTemp/Topling-215571-17VlVF 2024/11/20-13:07:11.748092 140257265124928 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028812.sst): first pass time = 1.08's, 123.952'MB/sec 2024/11/20-13:07:13.091577 140257265124928 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028812.sst): old prealloc_size = 147639500, real_size = 38462832 2024/11/20-13:07:13.092135 140257265124928 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028812.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 924163 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.94 raw-val = 0.1083 GB zip-val = 0.0364 GB avg-val = 117.23 avg-zval = 39.43 2024/11/20-13:07:13.092768 140257265124928 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028812.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-13:07:13.856140 140257265124928 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028812.sst): second pass time = 1.34's, 80.686'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.76's, 54.839'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3329.316'MB/sec (index lex order gen) rebuild zvType time = 0.64's, 0.361'MB/sec write SST data time = 0.12's, 337.956'MB/sec dict compress time = 7238462436.71's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.082'MB, throughput = 32769.072'MB/sec zip my value time = 1.34's, unzip length = 0.108'GB zip my value throughput = 80.686'MB/sec zip pipeline throughput = 130.911'MB/sec entries = 924163 avg-key = 28.00 avg-zkey = 1.94 avg-val = 117.23 avg-zval = 39.43 usrkeys = 924163 avg-key = 20.00 avg-zkey = 1.94 avg-val = 122.75 avg-zval = 39.43 TagRS{ kinds = RS_Key0_TagN bytes = 144520 } TagArray{ size = 728561 bytes = 2458912 } seq expand size = 5099927 multi value expand size = 0 cnt WriteAppend = 33 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0364 GB dict = 1.08 MB all = 0.0419 GB } UnZip/Zip{ index = 10.3073 value = 2.9733 dict = 1.00 all = 3.2012 } Zip/UnZip{ index = 0.0970 value = 0.3363 dict = 1.00 all = 0.3124 } ---------------------------- total value len = 0.339743 GB avg = 0.122 KB (by entry num) total key len = 0.077734 GB avg = 0.028 KB total ukey len = 0.055524 GB avg = 0.020 KB total ukey num = 0.002776214 Billion total entry num = 0.002776214 Billion write speed all = 0.026809442 MB/sec (with seq num) write speed all = 0.025383184 MB/sec (without seq num) 2024/11/20-13:07:13.906741 140257265124928 [compaction_job.cc:1948] [default] [JOB 6591] Generated table #28812: 924163 keys, 41926754 bytes, temperature: kWarm 2024/11/20-13:07:13.906844 140257265124928 EVENT_LOG_v1 {"time_micros": 1732079233906787, "cf_name": "default", "job": 6591, "event": "table_file_creation", "file_number": 28812, "file_size": 41926754, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 554296042, "table_properties": {"data_size": 36438368, "index_size": 1793216, "index_partitions": 0, "top_level_index_size": 0, "index_key_is_user_key": 0, "index_value_is_delta_encoded": 0, "filter_size": 0, "raw_key_size": 25876564, "raw_average_key_size": 28, "raw_value_size": 108341170, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 924163, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732079230, "oldest_key_time": 0, "file_creation_time": 1732079230, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 28812, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-13:07:13.968217 140257265124928 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028813.sst) /dev/shm/ToplingTemp/Topling-215571-ISIHlF 2024/11/20-13:07:14.083031 140257265124928 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028813.sst): first pass time = 0.11's, 153.338'MB/sec 2024/11/20-13:07:14.203332 140257265124928 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028813.sst): old prealloc_size = 147639500, real_size = 5083600 2024/11/20-13:07:14.203454 140257265124928 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028813.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 121422 prefix = 4 raw-key = 0.0019 GB zip-key = 0.0002 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.0142 GB zip-val = 0.0048 GB avg-val = 116.91 avg-zval = 39.70 2024/11/20-13:07:14.203523 140257265124928 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028813.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.018 GB 2024/11/20-13:07:14.294168 140257265124928 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00/028813.sst): second pass time = 0.12's, 118.697'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.09's, 58.606'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2389.204'MB/sec (index lex order gen) rebuild zvType time = 0.07's, 0.407'MB/sec write SST data time = 0.02's, 328.604'MB/sec dict compress time = 7238462436.71's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.149'MB, throughput = 6356.345'MB/sec zip my value time = 0.12's, unzip length = 0.014'GB zip my value throughput = 118.697'MB/sec zip pipeline throughput = 118.697'MB/sec entries = 121422 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.91 avg-zval = 39.70 usrkeys = 121422 avg-key = 20.00 avg-zkey = 1.91 avg-val = 118.91 avg-zval = 39.70 TagRS{ kinds = RS_Key0_TagN bytes = 19080 } TagArray{ size = 34579 bytes = 99424 } seq expand size = 242053 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0024 GB value = 0.0142 GB dict = 0.15 MB all = 0.0176 GB } __ZipSize{ index = 0.0002 GB value = 0.0048 GB dict = 0.15 MB all = 0.0053 GB } UnZip/Zip{ index = 10.4472 value = 2.9448 dict = 1.00 all = 3.3059 } Zip/UnZip{ index = 0.0957 value = 0.3396 dict = 1.00 all = 0.3025 } ---------------------------- total value len = 0.354181 GB avg = 0.122 KB (by entry num) total key len = 0.081134 GB avg = 0.028 KB total ukey len = 0.057953 GB avg = 0.020 KB total ukey num = 0.002897636 Billion total entry num = 0.002897636 Billion write speed all = 0.027954155 MB/sec (with seq num) write speed all = 0.026465560 MB/sec (without seq num) 2024/11/20-13:07:14.318841 140257265124928 [compaction_job.cc:1948] [default] [JOB 6591] Generated table #28813: 121422 keys, 5322547 bytes, temperature: kWarm 2024/11/20-13:07:14.318901 140257265124928 EVENT_LOG_v1 {"time_micros": 1732079234318872, "cf_name": "default", "job": 6591, "event": "table_file_creation", "file_number": 28813, "file_size": 5322547, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 554271484, "table_properties": {"data_size": 4820608, "index_size": 232448, "index_partitions": 0, "top_level_index_size": 0, "index_key_is_user_key": 0, "index_value_is_delta_encoded": 0, "filter_size": 0, "raw_key_size": 3399816, "raw_average_key_size": 28, "raw_value_size": 14195864, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 121422, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732079233, "oldest_key_time": 0, "file_creation_time": 1732079233, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 28813, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-13:07:14.331598 140257265124928 [compaction_job.cc:703] job-06591: subcompact[0], size: 0.129180 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-06591/att-00 [028810,028811,028812,028813] 2024/11/20-13:07:14.365592 140257265124928 (Original Log Time 2024/11/20-13:07:03.803930) EVENT_LOG_v1 {"time_micros": 1732079223803888, "job": 6591, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [28786], "files_L3": [28687, 28688, 28804], "score": 0.781704, "input_data_size": 151741149, "oldest_snapshot_seqno": 554417266} 2024/11/20-13:07:14.365595 140257265124928 (Original Log Time 2024/11/20-13:07:14.361665) [compaction_job.cc:2022] [default] [JOB 6591] Compacted 1@2 + 3@3 files to L3 => 129180236 bytes 2024/11/20-13:07:14.365596 140257265124928 (Original Log Time 2024/11/20-13:07:14.365536) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.00, MB/sec: 14.4 rd, 12.3 wr, level 3, files in(1, 3) out(4 +0 blob) MB in(27.2, 117.5 +0.0 blob) out(123.2 +0.0 blob), read-write-amplify(9.9) write-amplify(4.5) OK, records in: 3010391, records dropped: 112755 output_compression: Snappy 2024/11/20-13:07:14.365600 140257265124928 (Original Log Time 2024/11/20-13:07:14.365578) EVENT_LOG_v1 {"time_micros": 1732079234365557, "cf": "default", "job": 6591, "event": "compaction_finished", "compaction_time_micros": 10527675, "compaction_time_cpu_micros": 4168512, "output_level": 3, "num_output_files": 4, "total_output_size": 129180236, "num_input_records": 3010391, "num_output_records": 2897636, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 88621093, "file_range_sync_nanos": 0, "file_fsync_nanos": 3609, "file_prepare_write_nanos": 36194, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/20-13:07:14.514624 140257265124928 DEBG dcompact_worker.cpp:240: HttpPost: 200 OK: url = http://nlb-7zny4kaa1poal01o64.cn-shenzhen.nlb.aliyuncs.com:8443, body = {"instanceId":"nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137","labourId":"","dbId":"d89b4006-2803-486e-b7a2-759bcf348921","dbStarts":1732076400,"starts":1732079223,"executesMs":10698,"compactionJobId":6591,"attempt":0,"compactionInputRawBytes":436260278,"compactionInputZipBytes":151741149,"compactionOutputRawBytes":0,"compactionOutputZipBytes":129180236,"headers":{"Accept":"*/*","Connection":"close","Host":"aliyun-topling-saas.topling.cn:18443","RemoteIp":"120.24.192.169","X-Forwarded-For":"120.24.192.169","region":"cn-shenzhen","token":"e6474c481bd4415abc537135cc03626b","instance-token":"e6474c481bd4415abc537135cc03626b","provider":"aliyun","CloudMarketInstanceId":"si-59c0ae5c955845588903","MeteringAssit":"","Transfer-Encoding":"chunked","traceparent":"00-5eb6078cf81e37af8938b14f7c50e6d9-7a524bbb7854a900-00"}}, response = 2024/11/20-13:07:14.514682 140257265124928 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-06591/att-00: olev 3, work 10.699 s, result 7.530 ms, install 3.947 ms, input{raw 416.050 MiB zip 144.712 MiB}