2024/11/20-16:46:28.274423 140257416193600 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00: fork to child time = 0.019423 sec 2024/11/20-16:46:28.274958 140257416193600 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00 2024/11/20-16:46:28.279930 140257416193600 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00 2024/11/20-16:46:28.281677 140257416193600 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-16:46:28.281906 140257416193600 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-16:46:28.331235 140257416193600 [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-16684/att-00/MANIFEST-019309 2024/11/20-16:46:28.346423 140257416193600 [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-16684/att-00/MANIFEST-019309 succeeded,manifest_file_number is 19309, next_file_number is 46964, last_sequence is 795516441, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 46808 2024/11/20-16:46:28.346429 140257416193600 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-16:46:28.346501 140257416193600 [version_set.cc:5724] Creating manifest 46964 2024/11/20-16:46:28.377437 140257416193600 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-16:46:28.399092 140257416193600 [compaction_job.cc:2437] [default] [JOB 16684] Compacting 1@2 + 6@3 files to L3, score 0.97, subcompactions 1 : 1 2024/11/20-16:46:28.399103 140257416193600 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 12812 Base level 2, inputs: [46959(14MB)], [46908(36MB) 46909(37MB) 46910(37MB) 46911(38MB) 46912(3413KB) 46866(6250KB)] 2024/11/20-16:46:28.404554 140257416193600 [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-16:46:28.404577 140257416193600 [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-16:46:28.404595 140257416193600 [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-16:46:28.404603 140257416193600 [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-16:46:28.404611 140257416193600 [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-16:46:28.864462 140257416193600 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046965.sst) /dev/shm/ToplingTemp/Topling-604724-8yFqlz 2024/11/20-16:46:29.468383 140257416193600 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046965.sst): first pass time = 0.60's, 222.260'MB/sec 2024/11/20-16:46:31.154795 140257416193600 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046965.sst): old prealloc_size = 147639500, real_size = 34608336 2024/11/20-16:46:31.155374 140257416193600 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046965.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 926068 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.1083 GB zip-val = 0.0326 GB avg-val = 116.93 avg-zval = 35.21 2024/11/20-16:46:31.156176 140257416193600 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046965.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-16:46:32.008854 140257416193600 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046965.sst): second pass time = 1.69's, 64.245'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.85's, 45.184'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3166.929'MB/sec (index lex order gen) rebuild zvType time = 0.72's, 0.321'MB/sec write SST data time = 0.13's, 292.952'MB/sec dict compress time = 4478676346.20's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 33887.565'MB/sec zip my value time = 1.69's, unzip length = 0.108'GB zip my value throughput = 64.245'MB/sec zip pipeline throughput = 88.631'MB/sec entries = 926068 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.93 avg-zval = 35.21 usrkeys = 926068 avg-key = 20.00 avg-zkey = 1.91 avg-val = 123.93 avg-zval = 35.21 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 926068 bytes = 3125488 } seq expand size = 6482476 multi value expand size = 0 cnt WriteAppend = 16 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0326 GB dict = 1.08 MB all = 0.0386 GB } UnZip/Zip{ index = 10.4441 value = 3.3214 dict = 1.00 all = 3.4781 } Zip/UnZip{ index = 0.0957 value = 0.3011 dict = 1.00 all = 0.2875 } ---------------------------- total value len = 2183.597550 GB avg = 0.300 KB (by entry num) total key len = 191.589222 GB avg = 0.026 KB total ukey len = 134.138853 GB avg = 0.014 KB total ukey num = 9.327058134 Billion total entry num = 7.271208280 Billion write speed all = 144.521513354 MB/sec (with seq num) write speed all = 140.982099825 MB/sec (without seq num) 2024/11/20-16:46:32.061128 140257416193600 [compaction_job.cc:1948] [default] [JOB 16684] Generated table #46965: 926068 keys, 38588986 bytes, temperature: kWarm 2024/11/20-16:46:32.061248 140257416193600 EVENT_LOG_v1 {"time_micros": 1732092392061190, "cf_name": "default", "job": 16684, "event": "table_file_creation", "file_number": 46965, "file_size": 38588986, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 684241312, "largest_seqno": 795389416, "table_properties": {"data_size": 32603264, "index_size": 1773376, "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": 25929904, "raw_average_key_size": 28, "raw_value_size": 108287928, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 926068, "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": 1732092388, "oldest_key_time": 0, "file_creation_time": 1732092388, "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": 46965, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:46:32.112437 140257416193600 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046966.sst) /dev/shm/ToplingTemp/Topling-604724-Yv7fIA 2024/11/20-16:46:32.931461 140257416193600 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046966.sst): first pass time = 0.82's, 163.885'MB/sec 2024/11/20-16:46:34.638007 140257416193600 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046966.sst): old prealloc_size = 147639500, real_size = 35760112 2024/11/20-16:46:34.638641 140257416193600 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046966.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 929937 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1082 GB zip-val = 0.0338 GB avg-val = 116.33 avg-zval = 36.30 2024/11/20-16:46:34.639411 140257416193600 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046966.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-16:46:35.475552 140257416193600 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046966.sst): second pass time = 1.70's, 63.593'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.84's, 47.281'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2874.852'MB/sec (index lex order gen) rebuild zvType time = 0.67's, 0.344'MB/sec write SST data time = 0.16's, 244.386'MB/sec dict compress time = 4478676346.20's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.079'MB, throughput = 32271.570'MB/sec zip my value time = 1.70's, unzip length = 0.108'GB zip my value throughput = 63.593'MB/sec zip pipeline throughput = 121.936'MB/sec entries = 929937 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.33 avg-zval = 36.30 usrkeys = 929937 avg-key = 20.00 avg-zkey = 1.90 avg-val = 122.22 avg-zval = 36.30 TagRS{ kinds = RS_Key0_TagN bytes = 145400 } TagArray{ size = 782045 bytes = 2834928 } seq expand size = 5474315 multi value expand size = 0 cnt WriteAppend = 16 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0338 GB dict = 1.08 MB all = 0.0396 GB } UnZip/Zip{ index = 10.5113 value = 3.2046 dict = 1.00 all = 3.3895 } Zip/UnZip{ index = 0.0951 value = 0.3121 dict = 1.00 all = 0.2950 } ---------------------------- total value len = 2183.711204 GB avg = 0.300 KB (by entry num) total key len = 191.615261 GB avg = 0.026 KB total ukey len = 134.157452 GB avg = 0.014 KB total ukey num = 9.327988071 Billion total entry num = 7.272138217 Billion write speed all = 144.499533158 MB/sec (with seq num) write speed all = 140.960413485 MB/sec (without seq num) 2024/11/20-16:46:35.528596 140257416193600 [compaction_job.cc:1948] [default] [JOB 16684] Generated table #46966: 929937 keys, 39597964 bytes, temperature: kWarm 2024/11/20-16:46:35.528689 140257416193600 EVENT_LOG_v1 {"time_micros": 1732092395528645, "cf_name": "default", "job": 16684, "event": "table_file_creation", "file_number": 46966, "file_size": 39597964, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 795389462, "table_properties": {"data_size": 33758048, "index_size": 1769408, "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": 26038236, "raw_average_key_size": 28, "raw_value_size": 108179526, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 929937, "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": 1732092392, "oldest_key_time": 0, "file_creation_time": 1732092392, "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": 46966, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:46:35.603697 140257416193600 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046967.sst) /dev/shm/ToplingTemp/Topling-604724-Vki87z 2024/11/20-16:46:36.452800 140257416193600 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046967.sst): first pass time = 0.85's, 158.083'MB/sec 2024/11/20-16:46:37.987262 140257416193600 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046967.sst): old prealloc_size = 147639500, real_size = 36772944 2024/11/20-16:46:37.987835 140257416193600 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046967.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 924984 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1083 GB zip-val = 0.0348 GB avg-val = 117.10 avg-zval = 37.60 2024/11/20-16:46:37.988417 140257416193600 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046967.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-16:46:38.807896 140257416193600 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046967.sst): second pass time = 1.53's, 70.629'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.82's, 48.263'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3169.879'MB/sec (index lex order gen) rebuild zvType time = 0.69's, 0.336'MB/sec write SST data time = 0.13's, 298.643'MB/sec dict compress time = 4478676346.20's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 32496.528'MB/sec zip my value time = 1.53's, unzip length = 0.108'GB zip my value throughput = 70.629'MB/sec zip pipeline throughput = 70.629'MB/sec entries = 924984 avg-key = 28.00 avg-zkey = 1.90 avg-val = 117.10 avg-zval = 37.60 usrkeys = 924984 avg-key = 20.00 avg-zkey = 1.90 avg-val = 121.06 avg-zval = 37.60 TagRS{ kinds = RS_Key0_TagN bytes = 144640 } TagArray{ size = 522366 bytes = 1828288 } seq expand size = 3656562 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0348 GB dict = 1.08 MB all = 0.0396 GB } UnZip/Zip{ index = 10.5116 value = 3.1142 dict = 1.00 all = 3.3889 } Zip/UnZip{ index = 0.0951 value = 0.3211 dict = 1.00 all = 0.2951 } ---------------------------- total value len = 2183.823179 GB avg = 0.300 KB (by entry num) total key len = 191.641160 GB avg = 0.026 KB total ukey len = 134.175951 GB avg = 0.014 KB total ukey num = 9.328913055 Billion total entry num = 7.273063201 Billion write speed all = 144.478631858 MB/sec (with seq num) write speed all = 140.939779420 MB/sec (without seq num) 2024/11/20-16:46:38.856803 140257416193600 [compaction_job.cc:1948] [default] [JOB 16684] Generated table #46967: 924984 keys, 39605173 bytes, temperature: kWarm 2024/11/20-16:46:38.856870 140257416193600 EVENT_LOG_v1 {"time_micros": 1732092398856840, "cf_name": "default", "job": 16684, "event": "table_file_creation", "file_number": 46967, "file_size": 39605173, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 705256461, "table_properties": {"data_size": 34781568, "index_size": 1759936, "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": 25899552, "raw_average_key_size": 28, "raw_value_size": 108318236, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 924984, "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": 1732092395, "oldest_key_time": 0, "file_creation_time": 1732092395, "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": 46967, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:46:38.913273 140257416193600 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046968.sst) /dev/shm/ToplingTemp/Topling-604724-OW6RMA 2024/11/20-16:46:39.876995 140257416193600 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046968.sst): first pass time = 0.96's, 139.277'MB/sec 2024/11/20-16:46:41.266623 140257416193600 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046968.sst): old prealloc_size = 147639500, real_size = 36732160 2024/11/20-16:46:41.267243 140257416193600 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046968.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 928330 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.1082 GB zip-val = 0.0347 GB avg-val = 116.58 avg-zval = 37.40 2024/11/20-16:46:41.268057 140257416193600 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046968.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-16:46:42.161537 140257416193600 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046968.sst): second pass time = 1.39's, 77.926'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.89's, 45.630'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3029.159'MB/sec (index lex order gen) rebuild zvType time = 0.76's, 0.304'MB/sec write SST data time = 0.13's, 310.206'MB/sec dict compress time = 4478676346.20's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 38444.144'MB/sec zip my value time = 1.39's, unzip length = 0.108'GB zip my value throughput = 77.926'MB/sec zip pipeline throughput = 77.926'MB/sec entries = 928330 avg-key = 28.00 avg-zkey = 1.92 avg-val = 116.58 avg-zval = 37.40 usrkeys = 928330 avg-key = 20.00 avg-zkey = 1.92 avg-val = 123.58 avg-zval = 37.40 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 928330 bytes = 3249168 } seq expand size = 6498310 multi value expand size = 0 cnt WriteAppend = 15 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0347 GB dict = 1.08 MB all = 0.0408 GB } UnZip/Zip{ index = 10.4433 value = 3.1169 dict = 1.00 all = 3.2869 } Zip/UnZip{ index = 0.0958 value = 0.3208 dict = 1.00 all = 0.3042 } ---------------------------- total value len = 2183.937902 GB avg = 0.300 KB (by entry num) total key len = 191.667153 GB avg = 0.026 KB total ukey len = 134.194518 GB avg = 0.014 KB total ukey num = 9.329841385 Billion total entry num = 7.273991531 Billion write speed all = 144.457724931 MB/sec (with seq num) write speed all = 140.919142571 MB/sec (without seq num) 2024/11/20-16:46:42.212791 140257416193600 [compaction_job.cc:1948] [default] [JOB 16684] Generated table #46968: 928330 keys, 40834702 bytes, temperature: kWarm 2024/11/20-16:46:42.212856 140257416193600 EVENT_LOG_v1 {"time_micros": 1732092402212825, "cf_name": "default", "job": 16684, "event": "table_file_creation", "file_number": 46968, "file_size": 40834702, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 604164338, "largest_seqno": 795389227, "table_properties": {"data_size": 34722032, "index_size": 1777856, "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": 25993240, "raw_average_key_size": 28, "raw_value_size": 108224632, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 928330, "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": 1732092398, "oldest_key_time": 0, "file_creation_time": 1732092398, "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": 46968, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:46:42.268976 140257416193600 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046969.sst) /dev/shm/ToplingTemp/Topling-604724-cMQ7AB 2024/11/20-16:46:42.532538 140257416193600 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046969.sst): first pass time = 0.26's, 170.003'MB/sec 2024/11/20-16:46:42.986593 140257416193600 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046969.sst): old prealloc_size = 147639500, real_size = 12838976 2024/11/20-16:46:42.986893 140257416193600 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046969.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 309929 prefix = 4 raw-key = 0.0050 GB zip-key = 0.0006 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.0361 GB zip-val = 0.0122 GB avg-val = 116.55 avg-zval = 39.27 2024/11/20-16:46:42.987267 140257416193600 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046969.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0007 GB, waited 0.000 sec, Key+Value = 0.045 GB 2024/11/20-16:46:43.382830 140257416193600 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00/046969.sst): second pass time = 0.45's, 79.706'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.40's, 35.746'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2169.619'MB/sec (index lex order gen) rebuild zvType time = 0.34's, 0.226'MB/sec write SST data time = 0.05's, 262.942'MB/sec dict compress time = 3611950820.56's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.367'MB, throughput = 7783.376'MB/sec zip my value time = 0.45's, unzip length = 0.036'GB zip my value throughput = 79.706'MB/sec zip pipeline throughput = 79.706'MB/sec entries = 309929 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.55 avg-zval = 39.27 usrkeys = 309929 avg-key = 20.00 avg-zkey = 1.91 avg-val = 123.38 avg-zval = 39.27 TagRS{ kinds = RS_Key0_TagN bytes = 48520 } TagArray{ size = 302342 bytes = 982624 } seq expand size = 2116394 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0062 GB value = 0.0361 GB dict = 0.37 MB all = 0.0448 GB } __ZipSize{ index = 0.0006 GB value = 0.0122 GB dict = 0.37 MB all = 0.0142 GB } UnZip/Zip{ index = 10.4933 value = 2.9680 dict = 1.00 all = 3.1630 } Zip/UnZip{ index = 0.0953 value = 0.3369 dict = 1.00 all = 0.3162 } ---------------------------- total value len = 2183.976140 GB avg = 0.300 KB (by entry num) total key len = 191.675831 GB avg = 0.026 KB total ukey len = 134.200717 GB avg = 0.014 KB total ukey num = 9.330151314 Billion total entry num = 7.274301460 Billion write speed all = 144.449850200 MB/sec (with seq num) write speed all = 140.911379856 MB/sec (without seq num) 2024/11/20-16:46:43.404324 140257416193600 [compaction_job.cc:1948] [default] [JOB 16684] Generated table #46969: 309929 keys, 14163911 bytes, temperature: kWarm 2024/11/20-16:46:43.404377 140257416193600 EVENT_LOG_v1 {"time_micros": 1732092403404350, "cf_name": "default", "job": 16684, "event": "table_file_creation", "file_number": 46969, "file_size": 14163911, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 795388765, "table_properties": {"data_size": 12170608, "index_size": 590720, "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": 8678012, "raw_average_key_size": 28, "raw_value_size": 36121894, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 309929, "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": 1732092402, "oldest_key_time": 0, "file_creation_time": 1732092402, "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": 46969, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:46:43.420663 140257416193600 [compaction_job.cc:703] job-16684: subcompact[0], size: 0.172791 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16684/att-00 [046965,046966,046967,046968,046969] 2024/11/20-16:46:43.457549 140257416193600 (Original Log Time 2024/11/20-16:46:28.399154) EVENT_LOG_v1 {"time_micros": 1732092388399117, "job": 16684, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [46959], "files_L3": [46908, 46909, 46910, 46911, 46912, 46866], "score": 0.972343, "input_data_size": 183632624, "oldest_snapshot_seqno": 795516382} 2024/11/20-16:46:43.457552 140257416193600 (Original Log Time 2024/11/20-16:46:43.456999) [compaction_job.cc:2022] [default] [JOB 16684] Compacted 1@2 + 6@3 files to L3 => 172790736 bytes 2024/11/20-16:46:43.457553 140257416193600 (Original Log Time 2024/11/20-16:46:43.457489) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 12.2 rd, 11.5 wr, level 3, files in(1, 6) out(5 +0 blob) MB in(14.5, 160.6 +0.0 blob) out(164.8 +0.0 blob), read-write-amplify(23.4) write-amplify(11.3) OK, records in: 4045474, records dropped: 26226 output_compression: Snappy 2024/11/20-16:46:43.457557 140257416193600 (Original Log Time 2024/11/20-16:46:43.457534) EVENT_LOG_v1 {"time_micros": 1732092403457511, "cf": "default", "job": 16684, "event": "compaction_finished", "compaction_time_micros": 15021513, "compaction_time_cpu_micros": 6285664, "output_level": 3, "num_output_files": 5, "total_output_size": 172790736, "num_input_records": 4045474, "num_output_records": 4019248, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 125838670, "file_range_sync_nanos": 0, "file_fsync_nanos": 4840, "file_prepare_write_nanos": 12057, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-16:46:43.581030 140257416193600 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":1732092388,"executesMs":15174,"compactionJobId":16684,"attempt":0,"compactionInputRawBytes":585395252,"compactionInputZipBytes":183632624,"compactionOutputRawBytes":0,"compactionOutputZipBytes":172790736,"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-62ac09beef84599a79e85ecff9b43c72-06c34fd7e589acc2-00"}}, response = 2024/11/20-16:46:43.581101 140257416193600 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-16684/att-00: olev 3, work 15.175 s, result 7.614 ms, install 0.573 ms, input{raw 558.276 MiB zip 175.126 MiB}