2024/11/20-12:43:09.760702 140257281910336 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00: fork to child time = 0.009423 sec 2024/11/20-12:43:09.761231 140257281910336 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00 2024/11/20-12:43:09.767680 140257281910336 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00 2024/11/20-12:43:09.769301 140257281910336 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-12:43:09.769517 140257281910336 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-12:43:09.818130 140257281910336 [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-04268/att-00/MANIFEST-019309 2024/11/20-12:43:09.861147 140257281910336 [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-04268/att-00/MANIFEST-019309 succeeded,manifest_file_number is 19309, next_file_number is 25072, last_sequence is 502832854, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 24480 2024/11/20-12:43:09.861154 140257281910336 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-12:43:09.861231 140257281910336 [version_set.cc:5724] Creating manifest 25072 2024/11/20-12:43:09.892522 140257281910336 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-12:43:09.918518 140257281910336 [compaction_job.cc:2437] [default] [JOB 4268] Compacting 1@2 + 8@3 files to L3, score 0.47, subcompactions 1 : 1 2024/11/20-12:43:09.918529 140257281910336 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 4221 Base level 2, inputs: [25068(31MB)], [24952(100MB) 24953(100MB) 24954(9292B) 24929(100MB) 24930(30MB) 24905(28MB) 25002(37MB) 25005(1370KB)] 2024/11/20-12:43:09.925746 140257281910336 [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-12:43:09.925769 140257281910336 [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-12:43:09.925788 140257281910336 [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-12:43:09.925796 140257281910336 [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-12:43:09.925806 140257281910336 [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-12:43:11.157549 140257281910336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025073.sst) /dev/shm/ToplingTemp/Topling-159108-OvbYZa 2024/11/20-12:43:11.415401 140257281910336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025073.sst): first pass time = 0.26's, 520.596'MB/sec 2024/11/20-12:43:12.616351 140257281910336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025073.sst): old prealloc_size = 147639500, real_size = 103854928 2024/11/20-12:43:12.616500 140257281910336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025073.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 200656 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0003 GB avg-key = 12.00 avg-zkey = 1.69 raw-val = 0.1294 GB zip-val = 0.1035 GB avg-val = 644.90 avg-zval = 515.64 2024/11/20-12:43:12.616712 140257281910336 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025073.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0005 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-12:43:12.950544 140257281910336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025073.sst): second pass time = 1.20's, 107.823'MB/sec, value only(96.4% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.33's, 316.669'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2651.871'MB/sec (index lex order gen) rebuild zvType time = 0.27's, 0.184'MB/sec write SST data time = 0.06's, 1724.536'MB/sec dict compress time = 7598178666.21's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.342'MB, throughput = 22536.324'MB/sec zip my value time = 1.20's, unzip length = 0.129'GB zip my value throughput = 107.823'MB/sec zip pipeline throughput = 228.392'MB/sec entries = 200656 avg-key = 24.00 avg-zkey = 1.69 avg-val = 644.90 avg-zval = 515.64 usrkeys = 200656 avg-key = 16.00 avg-zkey = 1.69 avg-val = 651.90 avg-zval = 515.64 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 200656 bytes = 677232 } seq expand size = 1404592 multi value expand size = 0 cnt WriteAppend = 32 UnZipSize{ index = 0.0032 GB value = 0.1294 GB dict = 1.34 MB all = 0.1342 GB } __ZipSize{ index = 0.0003 GB value = 0.1035 GB dict = 1.34 MB all = 0.1058 GB } UnZip/Zip{ index = 9.4738 value = 1.2507 dict = 1.00 all = 1.2683 } Zip/UnZip{ index = 0.1056 value = 0.7996 dict = 1.00 all = 0.7885 } ---------------------------- total value len = 0.130807 GB avg = 0.652 KB (by entry num) total key len = 0.004816 GB avg = 0.024 KB total ukey len = 0.003210 GB avg = 0.016 KB total ukey num = 0.000200656 Billion total entry num = 0.000200656 Billion write speed all = 0.009597453 MB/sec (with seq num) write speed all = 0.009483857 MB/sec (without seq num) 2024/11/20-12:43:13.114497 140257281910336 [compaction_job.cc:1948] [default] [JOB 4268] Generated table #25073: 200656 keys, 105827093 bytes, temperature: kWarm 2024/11/20-12:43:13.114567 140257281910336 EVENT_LOG_v1 {"time_micros": 1732077793114529, "cf_name": "default", "job": 4268, "event": "table_file_creation", "file_number": 25073, "file_size": 105827093, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 420730534, "largest_seqno": 501689347, "table_properties": {"data_size": 103465728, "index_size": 338880, "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": 4815744, "raw_average_key_size": 24, "raw_value_size": 129402354, "raw_average_value_size": 644, "num_data_blocks": 1, "num_entries": 200656, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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": 1732077791, "oldest_key_time": 0, "file_creation_time": 1732077791, "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": 25073, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-12:43:13.154069 140257281910336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025074.sst) /dev/shm/ToplingTemp/Topling-159108-RLd0Bd 2024/11/20-12:43:14.451055 140257281910336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025074.sst): first pass time = 1.30's, 103.487'MB/sec 2024/11/20-12:43:15.524117 140257281910336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025074.sst): old prealloc_size = 147639500, real_size = 103843760 2024/11/20-12:43:15.524270 140257281910336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025074.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 200614 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0003 GB avg-key = 12.00 avg-zkey = 1.69 raw-val = 0.1294 GB zip-val = 0.1035 GB avg-val = 645.04 avg-zval = 515.69 2024/11/20-12:43:15.524462 140257281910336 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025074.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0005 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-12:43:15.823698 140257281910336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025074.sst): second pass time = 1.07's, 120.674'MB/sec, value only(96.4% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.30's, 352.916'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2685.737'MB/sec (index lex order gen) rebuild zvType time = 0.24's, 0.211'MB/sec write SST data time = 0.06's, 1710.240'MB/sec dict compress time = 7598178666.21's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.345'MB, throughput = 31360.754'MB/sec zip my value time = 1.07's, unzip length = 0.129'GB zip my value throughput = 120.674'MB/sec zip pipeline throughput = 134.810'MB/sec entries = 200614 avg-key = 24.00 avg-zkey = 1.69 avg-val = 645.04 avg-zval = 515.69 usrkeys = 200614 avg-key = 16.00 avg-zkey = 1.69 avg-val = 650.99 avg-zval = 515.69 TagRS{ kinds = RS_Key0_TagN bytes = 31440 } TagArray{ size = 170505 bytes = 554160 } seq expand size = 1193535 multi value expand size = 0 cnt WriteAppend = 21 UnZipSize{ index = 0.0032 GB value = 0.1294 GB dict = 1.34 MB all = 0.1342 GB } __ZipSize{ index = 0.0003 GB value = 0.1035 GB dict = 1.34 MB all = 0.1057 GB } UnZip/Zip{ index = 9.4754 value = 1.2508 dict = 1.00 all = 1.2695 } Zip/UnZip{ index = 0.1055 value = 0.7995 dict = 1.00 all = 0.7877 } ---------------------------- total value len = 0.261404 GB avg = 0.651 KB (by entry num) total key len = 0.009630 GB avg = 0.024 KB total ukey len = 0.006420 GB avg = 0.016 KB total ukey num = 0.000401270 Billion total entry num = 0.000401270 Billion write speed all = 0.019176084 MB/sec (with seq num) write speed all = 0.018948960 MB/sec (without seq num) 2024/11/20-12:43:15.941735 140257281910336 [compaction_job.cc:1948] [default] [JOB 4268] Generated table #25074: 200614 keys, 105727087 bytes, temperature: kWarm 2024/11/20-12:43:15.941802 140257281910336 EVENT_LOG_v1 {"time_micros": 1732077795941770, "cf_name": "default", "job": 4268, "event": "table_file_creation", "file_number": 25074, "file_size": 105727087, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 501689342, "table_properties": {"data_size": 103454688, "index_size": 338752, "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": 4814736, "raw_average_key_size": 24, "raw_value_size": 129403525, "raw_average_value_size": 645, "num_data_blocks": 1, "num_entries": 200614, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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": 1732077793, "oldest_key_time": 0, "file_creation_time": 1732077793, "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": 25074, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-12:43:15.980719 140257281910336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025075.sst) /dev/shm/ToplingTemp/Topling-159108-G32wne 2024/11/20-12:43:17.360503 140257281910336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025075.sst): first pass time = 1.38's, 97.278'MB/sec 2024/11/20-12:43:18.466556 140257281910336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025075.sst): old prealloc_size = 147639500, real_size = 103799856 2024/11/20-12:43:18.466754 140257281910336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025075.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 200635 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0003 GB avg-key = 12.00 avg-zkey = 1.69 raw-val = 0.1294 GB zip-val = 0.1034 GB avg-val = 644.97 avg-zval = 515.42 2024/11/20-12:43:18.466903 140257281910336 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025075.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0005 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-12:43:18.779239 140257281910336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025075.sst): second pass time = 1.11's, 117.086'MB/sec, value only(96.4% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.31's, 337.104'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2007.537'MB/sec (index lex order gen) rebuild zvType time = 0.25's, 0.201'MB/sec write SST data time = 0.06's, 1660.243'MB/sec dict compress time = 0.00's, 1348780.000'MB/sec z-dict build time = 0.00's, sample length = 1.349'MB, throughput = 43871.324'MB/sec zip my value time = 1.11's, unzip length = 0.129'GB zip my value throughput = 117.086'MB/sec zip pipeline throughput = 117.086'MB/sec entries = 200635 avg-key = 24.00 avg-zkey = 1.69 avg-val = 644.97 avg-zval = 515.42 usrkeys = 200635 avg-key = 16.00 avg-zkey = 1.69 avg-val = 648.18 avg-zval = 515.42 TagRS{ kinds = RS_Key0_TagN bytes = 31440 } TagArray{ size = 92048 bytes = 276160 } seq expand size = 644336 multi value expand size = 0 cnt WriteAppend = 29 UnZipSize{ index = 0.0032 GB value = 0.1294 GB dict = 1.35 MB all = 0.1342 GB } __ZipSize{ index = 0.0003 GB value = 0.1034 GB dict = 1.35 MB all = 0.1054 GB } UnZip/Zip{ index = 9.4746 value = 1.2514 dict = 1.00 all = 1.2733 } Zip/UnZip{ index = 0.1055 value = 0.7991 dict = 1.00 all = 0.7854 } ---------------------------- total value len = 0.391451 GB avg = 0.650 KB (by entry num) total key len = 0.014446 GB avg = 0.024 KB total ukey len = 0.009630 GB avg = 0.016 KB total ukey num = 0.000601905 Billion total entry num = 0.000601905 Billion write speed all = 0.028711808 MB/sec (with seq num) write speed all = 0.028371194 MB/sec (without seq num) 2024/11/20-12:43:18.929860 140257281910336 [compaction_job.cc:1948] [default] [JOB 4268] Generated table #25075: 200635 keys, 105408947 bytes, temperature: kWarm 2024/11/20-12:43:18.929906 140257281910336 EVENT_LOG_v1 {"time_micros": 1732077798929881, "cf_name": "default", "job": 4268, "event": "table_file_creation", "file_number": 25075, "file_size": 105408947, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 499176722, "table_properties": {"data_size": 103410720, "index_size": 338816, "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": 4815240, "raw_average_key_size": 24, "raw_value_size": 129403060, "raw_average_value_size": 644, "num_data_blocks": 1, "num_entries": 200635, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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": 1732077795, "oldest_key_time": 0, "file_creation_time": 1732077795, "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": 25075, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-12:43:18.968527 140257281910336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025076.sst) /dev/shm/ToplingTemp/Topling-159108-wuy7ab 2024/11/20-12:43:20.248828 140257281910336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025076.sst): first pass time = 1.28's, 104.835'MB/sec 2024/11/20-12:43:21.386930 140257281910336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025076.sst): old prealloc_size = 147639500, real_size = 103808928 2024/11/20-12:43:21.387096 140257281910336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025076.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 200647 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0003 GB avg-key = 12.00 avg-zkey = 1.69 raw-val = 0.1294 GB zip-val = 0.1034 GB avg-val = 644.93 avg-zval = 515.43 2024/11/20-12:43:21.387202 140257281910336 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025076.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0005 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-12:43:21.754399 140257281910336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025076.sst): second pass time = 1.14's, 113.761'MB/sec, value only(96.4% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.37's, 286.805'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2267.216'MB/sec (index lex order gen) rebuild zvType time = 0.31's, 0.161'MB/sec write SST data time = 0.06's, 1884.224'MB/sec dict compress time = 0.00's, 1343935.000'MB/sec z-dict build time = 0.00's, sample length = 1.344'MB, throughput = 45606.590'MB/sec zip my value time = 1.14's, unzip length = 0.129'GB zip my value throughput = 113.761'MB/sec zip pipeline throughput = 125.021'MB/sec entries = 200647 avg-key = 24.00 avg-zkey = 1.69 avg-val = 644.93 avg-zval = 515.43 usrkeys = 200647 avg-key = 16.00 avg-zkey = 1.69 avg-val = 648.12 avg-zval = 515.43 TagRS{ kinds = RS_Key0_TagN bytes = 31440 } TagArray{ size = 91511 bytes = 251664 } seq expand size = 640577 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0032 GB value = 0.1294 GB dict = 1.34 MB all = 0.1342 GB } __ZipSize{ index = 0.0003 GB value = 0.1034 GB dict = 1.34 MB all = 0.1054 GB } UnZip/Zip{ index = 9.4788 value = 1.2512 dict = 1.00 all = 1.2736 } Zip/UnZip{ index = 0.1055 value = 0.7992 dict = 1.00 all = 0.7852 } ---------------------------- total value len = 0.521494 GB avg = 0.650 KB (by entry num) total key len = 0.019261 GB avg = 0.024 KB total ukey len = 0.012841 GB avg = 0.016 KB total ukey num = 0.000802552 Billion total entry num = 0.000802552 Billion write speed all = 0.038243204 MB/sec (with seq num) write speed all = 0.037789141 MB/sec (without seq num) 2024/11/20-12:43:21.870664 140257281910336 [compaction_job.cc:1948] [default] [JOB 4268] Generated table #25076: 200647 keys, 105388614 bytes, temperature: kWarm 2024/11/20-12:43:21.870718 140257281910336 EVENT_LOG_v1 {"time_micros": 1732077801870688, "cf_name": "default", "job": 4268, "event": "table_file_creation", "file_number": 25076, "file_size": 105388614, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 501207145, "table_properties": {"data_size": 103419920, "index_size": 338688, "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": 4815528, "raw_average_key_size": 24, "raw_value_size": 129402464, "raw_average_value_size": 644, "num_data_blocks": 1, "num_entries": 200647, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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": 1732077798, "oldest_key_time": 0, "file_creation_time": 1732077798, "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": 25076, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-12:43:21.910222 140257281910336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025077.sst) /dev/shm/ToplingTemp/Topling-159108-yjnnsd 2024/11/20-12:43:21.921324 140257281910336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025077.sst): first pass time = 0.01's, 497.507'MB/sec 2024/11/20-12:43:21.997555 140257281910336 [top_zip_table_builder.cc:2752] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025077.sst): part-0: reject ZipStore ratio = 0.813 2024/11/20-12:43:22.008263 140257281910336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025077.sst): old prealloc_size = 147639500, real_size = 5335248 2024/11/20-12:43:22.008299 140257281910336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025077.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 8221 prefix = 4 raw-key = 0.0001 GB zip-key = 0.0000 GB avg-key = 12.00 avg-zkey = 1.88 raw-val = 0.0053 GB zip-val = 0.0053 GB avg-val = 645.74 avg-zval = 646.83 2024/11/20-12:43:22.008329 140257281910336 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025077.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0000 GB, waited 0.000 sec, Key+Value = 0.006 GB 2024/11/20-12:43:22.024021 140257281910336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00/025077.sst): second pass time = 0.08's, 70.103'MB/sec, value only(96.4% of KV) wait indexing time = 0.01's, remap KeyValue time = 0.02's, 340.076'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 573.063'MB/sec (index lex order gen) rebuild zvType time = 0.01's, 0.156'MB/sec write SST data time = 0.00's, 2125.580'MB/sec dict compress time = 140278.07's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.000'MB, throughput = 0.000'MB/sec zip my value time = 0.08's, unzip length = 0.005'GB zip my value throughput = 70.103'MB/sec zip pipeline throughput = 70.103'MB/sec entries = 8221 avg-key = 24.00 avg-zkey = 1.88 avg-val = 645.74 avg-zval = 646.83 usrkeys = 8221 avg-key = 16.00 avg-zkey = 1.88 avg-val = 652.74 avg-zval = 646.83 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 8221 bytes = 18512 } seq expand size = 57547 multi value expand size = 0 cnt WriteAppend = 658 UnZipSize{ index = 0.0001 GB value = 0.0053 GB dict = 0.00 MB all = 0.0055 GB } __ZipSize{ index = 0.0000 GB value = 0.0053 GB dict = 0.00 MB all = 0.0054 GB } UnZip/Zip{ index = 8.5280 value = 0.9983 dict = 0.00 all = 1.0286 } Zip/UnZip{ index = 0.1173 value = 1.0017 dict = 0.00 all = 0.9722 } ---------------------------- total value len = 0.526861 GB avg = 0.650 KB (by entry num) total key len = 0.019459 GB avg = 0.024 KB total ukey len = 0.012972 GB avg = 0.016 KB total ukey num = 0.000810773 Billion total entry num = 0.000810773 Billion write speed all = 0.038635929 MB/sec (with seq num) write speed all = 0.038177223 MB/sec (without seq num) 2024/11/20-12:43:22.036342 140257281910336 [compaction_job.cc:1948] [default] [JOB 4268] Generated table #25077: 8221 keys, 5352860 bytes, temperature: kWarm 2024/11/20-12:43:22.036391 140257281910336 EVENT_LOG_v1 {"time_micros": 1732077802036364, "cf_name": "default", "job": 4268, "event": "table_file_creation", "file_number": 25077, "file_size": 5352860, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 500847494, "largest_seqno": 501086051, "table_properties": {"data_size": 5317568, "index_size": 15424, "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": 197304, "raw_average_key_size": 24, "raw_value_size": 5308654, "raw_average_value_size": 645, "num_data_blocks": 1, "num_entries": 8221, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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-ZipOffsetBlobStore", "creation_time": 1732077801, "oldest_key_time": 0, "file_creation_time": 1732077801, "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": 25077, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-12:43:22.047102 140257281910336 [compaction_job.cc:703] job-04268: subcompact[0], size: 0.427705 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04268/att-00 [025073,025074,025075,025076,025077] 2024/11/20-12:43:22.100514 140257281910336 (Original Log Time 2024/11/20-12:43:09.918580) EVENT_LOG_v1 {"time_micros": 1732077789918542, "job": 4268, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [25068], "files_L3": [24952, 24953, 24954, 24929, 24930, 24905, 25002, 25005], "score": 0.474821, "input_data_size": 452619836, "oldest_snapshot_seqno": -1} 2024/11/20-12:43:22.100518 140257281910336 (Original Log Time 2024/11/20-12:43:22.099937) [compaction_job.cc:2022] [default] [JOB 4268] Compacted 1@2 + 8@3 files to L3 => 427704601 bytes 2024/11/20-12:43:22.100519 140257281910336 (Original Log Time 2024/11/20-12:43:22.100447) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.02, MB/sec: 37.3 rd, 35.3 wr, level 3, files in(1, 8) out(5 +0 blob) MB in(31.0, 400.6 +0.0 blob) out(407.9 +0.0 blob), read-write-amplify(27.1) write-amplify(13.1) OK, records in: 810773, records dropped: 0 output_compression: Snappy 2024/11/20-12:43:22.100524 140257281910336 (Original Log Time 2024/11/20-12:43:22.100494) EVENT_LOG_v1 {"time_micros": 1732077802100471, "cf": "default", "job": 4268, "event": "compaction_finished", "compaction_time_micros": 12128526, "compaction_time_cpu_micros": 2234957, "output_level": 3, "num_output_files": 5, "total_output_size": 427704601, "num_input_records": 810773, "num_output_records": 810773, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 329733400, "file_range_sync_nanos": 0, "file_fsync_nanos": 4922, "file_prepare_write_nanos": 36472, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-12:43:22.225827 140257281910336 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":1732077789,"executesMs":12331,"compactionJobId":4268,"attempt":0,"compactionInputRawBytes":542378609,"compactionInputZipBytes":452619836,"compactionOutputRawBytes":0,"compactionOutputZipBytes":427704601,"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-84f3a5cf81a82d01ee47b3a3c18b8c24-a57ffadc68d47394-00"}}, response = 2024/11/20-12:43:22.225894 140257281910336 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-04268/att-00: olev 3, work 12.331 s, result 7.899 ms, install 0.604 ms, input{raw 517.253 MiB zip 431.652 MiB}