2024/11/20-23:50:43.393213 140008400344640 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00: fork to child time = 0.009440 sec 2024/11/20-23:50:43.393749 140008400344640 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00 2024/11/20-23:50:43.402225 140008400344640 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00 2024/11/20-23:50:43.403850 140008400344640 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-23:50:43.404123 140008400344640 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-23:50:43.449655 140008400344640 [version_set.cc:6211] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-21874/att-00/MANIFEST-049091 2024/11/20-23:50:43.508965 140008400344640 [version_set.cc:6254] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-21874/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 87319, last_sequence is 1334515791, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 87157 2024/11/20-23:50:43.508974 140008400344640 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-23:50:43.509063 140008400344640 [version_set.cc:5724] Creating manifest 87319 2024/11/20-23:50:43.539108 140008400344640 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-23:50:43.557930 140008400344640 [compaction_job.cc:2437] [default] [JOB 21874] Compacting 1@2 + 4@3 files to L3, score 0.99, subcompactions 1 : 1 2024/11/20-23:50:43.557941 140008400344640 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 16341 Base level 2, inputs: [87299(16MB)], [87238(37MB) 87239(36MB) 87240(36MB) 87241(38MB)] 2024/11/20-23:50:43.563589 140008400344640 [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-23:50:43.563613 140008400344640 [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-23:50:43.563632 140008400344640 [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-23:50:43.563640 140008400344640 [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-23:50:43.563649 140008400344640 [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-23:50:44.037390 140008400344640 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087320.sst) /dev/shm/ToplingTemp/Topling-1168221-qWz61A 2024/11/20-23:50:44.823331 140008400344640 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087320.sst): first pass time = 0.79's, 170.784'MB/sec 2024/11/20-23:50:46.623426 140008400344640 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087320.sst): old prealloc_size = 147639500, real_size = 34295248 2024/11/20-23:50:46.623913 140008400344640 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087320.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 859174 prefix = 4 raw-key = 0.0137 GB zip-key = 0.0016 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1082 GB zip-val = 0.0324 GB avg-val = 125.89 avg-zval = 37.76 2024/11/20-23:50:46.625460 140008400344640 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087320.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0021 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-23:50:47.486381 140008400344640 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087320.sst): second pass time = 1.80's, 60.117'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.86's, 44.707'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3523.543'MB/sec (index lex order gen) rebuild zvType time = 0.72's, 0.297'MB/sec write SST data time = 0.14's, 279.217'MB/sec dict compress time = 4495846074.24's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.078'MB, throughput = 28371.938'MB/sec zip my value time = 1.80's, unzip length = 0.108'GB zip my value throughput = 60.117'MB/sec zip pipeline throughput = 119.111'MB/sec entries = 930580 avg-key = 28.00 avg-zkey = 1.76 avg-val = 116.23 avg-zval = 34.87 usrkeys = 859174 avg-key = 20.00 avg-zkey = 1.90 avg-val = 134.30 avg-zval = 37.76 TagRS{ kinds = RS_KeyN_Tag1 bytes = 158920 } TagArray{ size = 930580 bytes = 3257040 } seq expand size = 6656872 multi value expand size = 571248 cnt WriteAppend = 14 UnZipSize{ index = 0.0172 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0016 GB value = 0.0324 GB dict = 1.08 MB all = 0.0386 GB } UnZip/Zip{ index = 10.5118 value = 3.3336 dict = 1.00 all = 3.4789 } Zip/UnZip{ index = 0.0951 value = 0.3000 dict = 1.00 all = 0.2874 } ---------------------------- total value len = 563.181122 GB avg = 0.331 KB (by entry num) total key len = 44.340463 GB avg = 0.026 KB total ukey len = 32.811325 GB avg = 0.014 KB total ukey num = 2.321873750 Billion total entry num = 1.701447178 Billion write speed all = 29.172512057 MB/sec (with seq num) write speed all = 28.518899220 MB/sec (without seq num) 2024/11/20-23:50:47.534216 140008400344640 [compaction_job.cc:1948] [default] [JOB 21874] Generated table #87320: 930580 keys, 38580066 bytes, temperature: kWarm 2024/11/20-23:50:47.534305 140008400344640 EVENT_LOG_v1 {"time_micros": 1732117847534265, "cf_name": "default", "job": 21874, "event": "table_file_creation", "file_number": 87320, "file_size": 38580066, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 1069697601, "largest_seqno": 1334438204, "table_properties": {"data_size": 32445568, "index_size": 1634688, "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": 26056240, "raw_average_key_size": 28, "raw_value_size": 108161520, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930580, "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_KeyN_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732117844, "oldest_key_time": 0, "file_creation_time": 1732117844, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "6MZ3RU376XPAYLWHL32R", "orig_file_number": 87320, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:50:47.577157 140008400344640 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087321.sst) /dev/shm/ToplingTemp/Topling-1168221-V7dbWC 2024/11/20-23:50:48.632423 140008400344640 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087321.sst): first pass time = 1.06's, 127.194'MB/sec 2024/11/20-23:50:50.143011 140008400344640 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087321.sst): old prealloc_size = 147639500, real_size = 33490496 2024/11/20-23:50:50.143594 140008400344640 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087321.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 856670 prefix = 4 raw-key = 0.0137 GB zip-key = 0.0016 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.1082 GB zip-val = 0.0316 GB avg-val = 126.32 avg-zval = 36.93 2024/11/20-23:50:50.144433 140008400344640 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087321.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0021 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-23:50:51.297828 140008400344640 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087321.sst): second pass time = 1.51's, 71.673'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.15's, 32.708'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3016.767'MB/sec (index lex order gen) rebuild zvType time = 0.89's, 0.240'MB/sec write SST data time = 0.26's, 144.253'MB/sec dict compress time = 4495846074.24's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 24919.790'MB/sec zip my value time = 1.51's, unzip length = 0.108'GB zip my value throughput = 71.673'MB/sec zip pipeline throughput = 149.750'MB/sec entries = 928678 avg-key = 28.00 avg-zkey = 1.77 avg-val = 116.53 avg-zval = 34.07 usrkeys = 856670 avg-key = 20.00 avg-zkey = 1.91 avg-val = 134.75 avg-zval = 36.93 TagRS{ kinds = RS_KeyN_Tag1 bytes = 158560 } TagArray{ size = 928678 bytes = 3250384 } seq expand size = 6644762 multi value expand size = 576064 cnt WriteAppend = 14 UnZipSize{ index = 0.0171 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0016 GB value = 0.0316 GB dict = 1.08 MB all = 0.0378 GB } UnZip/Zip{ index = 10.4439 value = 3.4207 dict = 1.00 all = 3.5535 } Zip/UnZip{ index = 0.0957 value = 0.2923 dict = 1.00 all = 0.2814 } ---------------------------- total value len = 563.296558 GB avg = 0.331 KB (by entry num) total key len = 44.366466 GB avg = 0.026 KB total ukey len = 32.828459 GB avg = 0.014 KB total ukey num = 2.322730420 Billion total entry num = 1.702375856 Billion write speed all = 29.173964329 MB/sec (with seq num) write speed all = 28.520114407 MB/sec (without seq num) 2024/11/20-23:50:51.343963 140008400344640 [compaction_job.cc:1948] [default] [JOB 21874] Generated table #87321: 928678 keys, 37770692 bytes, temperature: kWarm 2024/11/20-23:50:51.344029 140008400344640 EVENT_LOG_v1 {"time_micros": 1732117851343999, "cf_name": "default", "job": 21874, "event": "table_file_creation", "file_number": 87321, "file_size": 37770692, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 1069697639, "largest_seqno": 1334438399, "table_properties": {"data_size": 31635632, "index_size": 1640512, "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": 26002984, "raw_average_key_size": 28, "raw_value_size": 108214856, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 928678, "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_KeyN_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732117847, "oldest_key_time": 0, "file_creation_time": 1732117847, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "6MZ3RU376XPAYLWHL32R", "orig_file_number": 87321, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:50:51.380480 140008400344640 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087322.sst) /dev/shm/ToplingTemp/Topling-1168221-E04MPC 2024/11/20-23:50:52.277067 140008400344640 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087322.sst): first pass time = 0.90's, 149.705'MB/sec 2024/11/20-23:50:53.520532 140008400344640 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087322.sst): old prealloc_size = 147639500, real_size = 33605920 2024/11/20-23:50:53.521040 140008400344640 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087322.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 866982 prefix = 4 raw-key = 0.0139 GB zip-key = 0.0016 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1082 GB zip-val = 0.0317 GB avg-val = 124.85 avg-zval = 36.61 2024/11/20-23:50:53.521908 140008400344640 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087322.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0022 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-23:50:54.397537 140008400344640 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087322.sst): second pass time = 1.24's, 87.122'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.88's, 43.193'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3336.739'MB/sec (index lex order gen) rebuild zvType time = 0.74's, 0.294'MB/sec write SST data time = 0.14's, 273.111'MB/sec dict compress time = 140029.08's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 26172.166'MB/sec zip my value time = 1.24's, unzip length = 0.108'GB zip my value throughput = 87.122'MB/sec zip pipeline throughput = 87.122'MB/sec entries = 927685 avg-key = 28.00 avg-zkey = 1.78 avg-val = 116.68 avg-zval = 34.21 usrkeys = 866982 avg-key = 20.00 avg-zkey = 1.90 avg-val = 133.04 avg-zval = 36.61 TagRS{ kinds = RS_KeyN_Tag1 bytes = 158560 } TagArray{ size = 927685 bytes = 3246912 } seq expand size = 6615201 multi value expand size = 485624 cnt WriteAppend = 12 UnZipSize{ index = 0.0173 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0016 GB value = 0.0317 GB dict = 1.08 MB all = 0.0379 GB } UnZip/Zip{ index = 10.5135 value = 3.4103 dict = 1.00 all = 3.5432 } Zip/UnZip{ index = 0.0951 value = 0.2932 dict = 1.00 all = 0.2822 } ---------------------------- total value len = 563.411901 GB avg = 0.331 KB (by entry num) total key len = 44.392441 GB avg = 0.026 KB total ukey len = 32.845798 GB avg = 0.014 KB total ukey num = 2.323597402 Billion total entry num = 1.703303541 Billion write speed all = 29.176407093 MB/sec (with seq num) write speed all = 28.522298208 MB/sec (without seq num) 2024/11/20-23:50:54.443124 140008400344640 [compaction_job.cc:1948] [default] [JOB 21874] Generated table #87322: 927685 keys, 37880374 bytes, temperature: kWarm 2024/11/20-23:50:54.443184 140008400344640 EVENT_LOG_v1 {"time_micros": 1732117854443154, "cf_name": "default", "job": 21874, "event": "table_file_creation", "file_number": 87322, "file_size": 37880374, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 1156808633, "largest_seqno": 1334438831, "table_properties": {"data_size": 31739728, "index_size": 1649280, "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": 25975180, "raw_average_key_size": 28, "raw_value_size": 108242614, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 927685, "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_KeyN_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732117851, "oldest_key_time": 0, "file_creation_time": 1732117851, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "6MZ3RU376XPAYLWHL32R", "orig_file_number": 87322, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:50:54.478116 140008400344640 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087323.sst) /dev/shm/ToplingTemp/Topling-1168221-HDoC6z 2024/11/20-23:50:55.371022 140008400344640 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087323.sst): first pass time = 0.89's, 150.321'MB/sec 2024/11/20-23:50:56.702114 140008400344640 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087323.sst): old prealloc_size = 147639500, real_size = 35579488 2024/11/20-23:50:56.702658 140008400344640 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087323.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 881751 prefix = 4 raw-key = 0.0141 GB zip-key = 0.0017 GB avg-key = 16.00 avg-zkey = 1.97 raw-val = 0.1082 GB zip-val = 0.0336 GB avg-val = 122.66 avg-zval = 38.13 2024/11/20-23:50:56.703530 140008400344640 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087323.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0022 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-23:50:57.746202 140008400344640 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087323.sst): second pass time = 1.33's, 81.302'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.04's, 38.152'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3385.805'MB/sec (index lex order gen) rebuild zvType time = 0.79's, 0.280'MB/sec write SST data time = 0.26's, 154.917'MB/sec dict compress time = 140019.49's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.078'MB, throughput = 31955.378'MB/sec zip my value time = 1.33's, unzip length = 0.108'GB zip my value throughput = 81.302'MB/sec zip pipeline throughput = 81.302'MB/sec entries = 930795 avg-key = 28.00 avg-zkey = 1.86 avg-val = 116.20 avg-zval = 36.13 usrkeys = 881751 avg-key = 20.00 avg-zkey = 1.97 avg-val = 129.97 avg-zval = 38.13 TagRS{ kinds = RS_KeyN_TagN bytes = 304760 } TagArray{ size = 850303 bytes = 3082368 } seq expand size = 6050209 multi value expand size = 392352 cnt WriteAppend = 87 UnZipSize{ index = 0.0176 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0017 GB value = 0.0336 GB dict = 1.08 MB all = 0.0398 GB } UnZip/Zip{ index = 10.1742 value = 3.2165 dict = 1.00 all = 3.3694 } Zip/UnZip{ index = 0.0983 value = 0.3109 dict = 1.00 all = 0.2968 } ---------------------------- total value len = 563.526499 GB avg = 0.331 KB (by entry num) total key len = 44.418503 GB avg = 0.026 KB total ukey len = 32.863433 GB avg = 0.014 KB total ukey num = 2.324479153 Billion total entry num = 1.704234336 Billion write speed all = 29.178468901 MB/sec (with seq num) write speed all = 28.524107754 MB/sec (without seq num) 2024/11/20-23:50:57.798027 140008400344640 [compaction_job.cc:1948] [default] [JOB 21874] Generated table #87323: 930795 keys, 39833838 bytes, temperature: kWarm 2024/11/20-23:50:57.798111 140008400344640 EVENT_LOG_v1 {"time_micros": 1732117857798078, "cf_name": "default", "job": 21874, "event": "table_file_creation", "file_number": 87323, "file_size": 39833838, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1334438150, "table_properties": {"data_size": 33625552, "index_size": 1733312, "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": 26062260, "raw_average_key_size": 28, "raw_value_size": 108155586, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930795, "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_KeyN_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732117854, "oldest_key_time": 0, "file_creation_time": 1732117854, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "6MZ3RU376XPAYLWHL32R", "orig_file_number": 87323, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:50:57.836460 140008400344640 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087324.sst) /dev/shm/ToplingTemp/Topling-1168221-ZrTvHy 2024/11/20-23:50:57.920271 140008400344640 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087324.sst): first pass time = 0.08's, 250.742'MB/sec 2024/11/20-23:50:58.101820 140008400344640 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087324.sst): old prealloc_size = 147639500, real_size = 5781696 2024/11/20-23:50:58.101965 140008400344640 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087324.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 144882 prefix = 4 raw-key = 0.0023 GB zip-key = 0.0003 GB avg-key = 16.00 avg-zkey = 1.96 raw-val = 0.0169 GB zip-val = 0.0055 GB avg-val = 116.98 avg-zval = 37.69 2024/11/20-23:50:58.102148 140008400344640 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087324.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.021 GB 2024/11/20-23:50:58.287832 140008400344640 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00/087324.sst): second pass time = 0.18's, 93.795'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.19's, 34.496'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2278.971'MB/sec (index lex order gen) rebuild zvType time = 0.14's, 0.256'MB/sec write SST data time = 0.04's, 144.598'MB/sec dict compress time = 0.00's, 178238.000'MB/sec z-dict build time = 0.00's, sample length = 0.178'MB, throughput = 2454.190'MB/sec zip my value time = 0.18's, unzip length = 0.017'GB zip my value throughput = 93.795'MB/sec zip pipeline throughput = 93.795'MB/sec entries = 144882 avg-key = 28.00 avg-zkey = 1.96 avg-val = 116.98 avg-zval = 37.69 usrkeys = 144882 avg-key = 20.00 avg-zkey = 1.96 avg-val = 123.98 avg-zval = 37.69 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 144882 bytes = 488992 } seq expand size = 1014174 multi value expand size = 0 cnt WriteAppend = 19 UnZipSize{ index = 0.0029 GB value = 0.0169 GB dict = 0.18 MB all = 0.0210 GB } __ZipSize{ index = 0.0003 GB value = 0.0055 GB dict = 0.18 MB all = 0.0064 GB } UnZip/Zip{ index = 10.1926 value = 3.1037 dict = 1.00 all = 3.2743 } Zip/UnZip{ index = 0.0981 value = 0.3222 dict = 1.00 all = 0.3054 } ---------------------------- total value len = 563.544462 GB avg = 0.331 KB (by entry num) total key len = 44.422560 GB avg = 0.026 KB total ukey len = 32.866331 GB avg = 0.014 KB total ukey num = 2.324624035 Billion total entry num = 1.704379218 Billion write speed all = 29.178767262 MB/sec (with seq num) write speed all = 28.524367497 MB/sec (without seq num) 2024/11/20-23:50:58.302885 140008400344640 [compaction_job.cc:1948] [default] [JOB 21874] Generated table #87324: 144882 keys, 6415245 bytes, temperature: kWarm 2024/11/20-23:50:58.302952 140008400344640 EVENT_LOG_v1 {"time_micros": 1732117858302922, "cf_name": "default", "job": 21874, "event": "table_file_creation", "file_number": 87324, "file_size": 6415245, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 870613325, "largest_seqno": 973933722, "table_properties": {"data_size": 5460976, "index_size": 284288, "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": 4056696, "raw_average_key_size": 28, "raw_value_size": 16948984, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 144882, "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": 1732117857, "oldest_key_time": 0, "file_creation_time": 1732117857, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "6MZ3RU376XPAYLWHL32R", "orig_file_number": 87324, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:50:58.315354 140008400344640 [compaction_job.cc:703] job-21874: subcompact[0], size: 0.160480 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21874/att-00 [087320,087321,087322,087323,087324] 2024/11/20-23:50:58.366911 140008400344640 (Original Log Time 2024/11/20-23:50:43.557996) EVENT_LOG_v1 {"time_micros": 1732117843557956, "job": 21874, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [87299], "files_L3": [87238, 87239, 87240, 87241], "score": 0.992496, "input_data_size": 173545706, "oldest_snapshot_seqno": 1323177126} 2024/11/20-23:50:58.366915 140008400344640 (Original Log Time 2024/11/20-23:50:58.359125) [compaction_job.cc:2022] [default] [JOB 21874] Compacted 1@2 + 4@3 files to L3 => 160480215 bytes 2024/11/20-23:50:58.366917 140008400344640 (Original Log Time 2024/11/20-23:50:58.366834) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 11.8 rd, 10.9 wr, level 3, files in(1, 4) out(5 +0 blob) MB in(17.0, 148.5 +0.0 blob) out(153.0 +0.0 blob), read-write-amplify(18.8) write-amplify(9.0) OK, records in: 3862620, records dropped: 0 output_compression: Snappy 2024/11/20-23:50:58.366921 140008400344640 (Original Log Time 2024/11/20-23:50:58.366889) EVENT_LOG_v1 {"time_micros": 1732117858366861, "cf": "default", "job": 21874, "event": "compaction_finished", "compaction_time_micros": 14757368, "compaction_time_cpu_micros": 6714073, "output_level": 3, "num_output_files": 5, "total_output_size": 160480215, "num_input_records": 3862620, "num_output_records": 3862620, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 132084891, "file_range_sync_nanos": 0, "file_fsync_nanos": 5151, "file_prepare_write_nanos": 20290, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-23:50:58.500576 140008400344640 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":1732096383,"starts":1732117843,"executesMs":14957,"compactionJobId":21874,"attempt":0,"compactionInputRawBytes":557876920,"compactionInputZipBytes":173545706,"compactionOutputRawBytes":0,"compactionOutputZipBytes":160480215,"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-4963b98638c1d371bf1aa2d115226137-4d29ec5a05cb463d-00"}}, response = 2024/11/20-23:50:58.500669 140008400344640 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-21874/att-00: olev 3, work 14.958 s, result 7.985 ms, install 7.813 ms, input{raw 532.033 MiB zip 165.506 MiB}