2024/11/23-03:40:39.378376 140025188247104 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00: fork to child time = 0.009034 sec 2024/11/23-03:40:39.379162 140025188247104 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00 2024/11/23-03:40:39.385742 140025188247104 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00 2024/11/23-03:40:39.386972 140025188247104 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-03:40:39.387217 140025188247104 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-03:40:39.430552 140025188247104 [version_set.cc:6208] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-18544/att-00/MANIFEST-206347 2024/11/23-03:40:39.458484 140025188247104 [version_set.cc:6251] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-18544/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 243139, last_sequence is 3765364346, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 242963 2024/11/23-03:40:39.458504 140025188247104 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-03:40:39.458581 140025188247104 [version_set.cc:5721] Creating manifest 243139 2024/11/23-03:40:39.486784 140025188247104 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-03:40:39.505904 140025188247104 [compaction_job.cc:2437] [default] [JOB 18544] Compacting 1@2 + 6@3 files to L3, score 0.99, subcompactions 1 : 1 2024/11/23-03:40:39.505918 140025188247104 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 13855 Base level 2, inputs: [243096(31MB)], [243130(40MB) 243131(497KB) 243035(506KB) 243009(40MB) 243010(39MB) 243024(40MB)] 2024/11/23-03:40:39.512113 140025188247104 [top_zip_table.cc:59] core git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 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/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/23-03:40:39.512145 140025188247104 [top_zip_table.cc:60] fsa git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 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/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/23-03:40:39.512165 140025188247104 [top_zip_table.cc:61] zbs git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 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/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/23-03:40:39.512170 140025188247104 [top_zip_table.cc:62] topling-zip_table_reader: git_version_hash_info_is: commit a4a382006cb82713acf5b3425835f22711877681 Author: leipeng Date: 2024-04-11 19:44:14 +0800 fixed_len_hole_index.cc: Add env bool FixedLenHoleIndexUseAVX512 for ut & debug 1. FixedLenHoleIndexUseAVX512 is only in unit tests or debug 2. In release mode, use avx512 by compile options(-march=) g++ (GCC) 12.1.0 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/23-03:40:39.512181 140025188247104 [top_zip_table.cc:64] topling-rocks git_version_hash_info_is: commit feab587e468621ba0204d47b4ffacc52e7c4290d Author: leipeng Date: 2024-03-22 13:35:06 +0800 ToplingZipTableBuilder::Add: immediately return after error This function returns void, and caller does not check builder->status() after calling this function and graceful abandon. So immediately return after error, and return error status in Finish(). g++ (GCC) 12.1.0 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/23-03:40:40.066823 140025188247104 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243140.sst) /dev/shm/ToplingTemp/Topling-397814-oLsOBZ 2024/11/23-03:40:40.232588 140025188247104 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243140.sst): first pass time = 0.17's, 809.908'MB/sec 2024/11/23-03:40:41.313142 140025188247104 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243140.sst): old prealloc_size = 147639500, real_size = 40901296 2024/11/23-03:40:41.313309 140025188247104 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243140.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129431 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.79 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1016.99 avg-zval = 313.96 2024/11/23-03:40:41.313541 140025188247104 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243140.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-03:40:41.510060 140025188247104 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243140.sst): second pass time = 1.07's, 123.501'MB/sec, value only(98.1% of KV) wait indexing time = 0.01's, remap KeyValue time = 0.20's, 216.920'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1647.030'MB/sec (index lex order gen) rebuild zvType time = 0.14's, 0.224'MB/sec write SST data time = 0.05's, 819.979'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 43887.459'MB/sec zip my value time = 1.07's, unzip length = 0.132'GB zip my value throughput = 123.501'MB/sec zip pipeline throughput = 126.890'MB/sec entries = 129431 avg-key = 20.00 avg-zkey = 1.79 avg-val = 1016.99 avg-zval = 313.96 usrkeys = 129431 avg-key = 12.00 avg-zkey = 1.79 avg-val = 1023.99 avg-zval = 313.96 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129431 bytes = 469200 } seq expand size = 906017 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0406 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 6.6873 value = 3.2392 dict = 1.00 all = 3.1420 } Zip/UnZip{ index = 0.1495 value = 0.3087 dict = 1.00 all = 0.3183 } ---------------------------- total value len = 0.132536 GB avg = 1.024 KB (by entry num) total key len = 0.002589 GB avg = 0.020 KB total ukey len = 0.001553 GB avg = 0.012 KB total ukey num = 0.000129431 Billion total entry num = 0.000129431 Billion write speed all = 0.001995978 MB/sec (with seq num) write speed all = 0.001980683 MB/sec (without seq num) 2024/11/23-03:40:41.547598 140025188247104 [compaction_job.cc:1948] [default] [JOB 18544] Generated table #243140: 129431 keys, 42718057 bytes, temperature: kWarm 2024/11/23-03:40:41.547687 140025188247104 EVENT_LOG_v1 {"time_micros": 1732304441547634, "cf_name": "default", "job": 18544, "event": "table_file_creation", "file_number": 243140, "file_size": 42718057, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237872082, "largest_seqno": 3765210314, "table_properties": {"data_size": 40636512, "index_size": 232256, "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": 2588620, "raw_average_key_size": 20, "raw_value_size": 131629877, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129431, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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": 1732304440, "oldest_key_time": 0, "file_creation_time": 1732304440, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 243140, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-03:40:41.584368 140025188247104 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243141.sst) /dev/shm/ToplingTemp/Topling-397814-F8bGi3 2024/11/23-03:40:42.192510 140025188247104 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243141.sst): first pass time = 0.61's, 220.716'MB/sec 2024/11/23-03:40:43.004534 140025188247104 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243141.sst): old prealloc_size = 147639500, real_size = 40815632 2024/11/23-03:40:43.004672 140025188247104 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243141.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129426 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.82 raw-val = 0.1316 GB zip-val = 0.0405 GB avg-val =1017.03 avg-zval = 313.29 2024/11/23-03:40:43.004841 140025188247104 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243141.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-03:40:43.175120 140025188247104 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243141.sst): second pass time = 0.81's, 162.447'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 249.928'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2047.079'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.270'MB/sec write SST data time = 0.05's, 843.181'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 44512.358'MB/sec zip my value time = 0.81's, unzip length = 0.132'GB zip my value throughput = 162.447'MB/sec zip pipeline throughput = 162.447'MB/sec entries = 129426 avg-key = 20.00 avg-zkey = 1.82 avg-val = 1017.03 avg-zval = 313.29 usrkeys = 129426 avg-key = 12.00 avg-zkey = 1.82 avg-val = 1024.03 avg-zval = 313.29 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129426 bytes = 469184 } seq expand size = 905982 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0405 GB dict = 1.38 MB all = 0.0426 GB } UnZip/Zip{ index = 6.5926 value = 3.2463 dict = 1.00 all = 3.1483 } Zip/UnZip{ index = 0.1517 value = 0.3080 dict = 1.00 all = 0.3176 } ---------------------------- total value len = 0.265072 GB avg = 1.024 KB (by entry num) total key len = 0.005177 GB avg = 0.020 KB total ukey len = 0.003106 GB avg = 0.012 KB total ukey num = 0.000258857 Billion total entry num = 0.000258857 Billion write speed all = 0.003991858 MB/sec (with seq num) write speed all = 0.003961270 MB/sec (without seq num) 2024/11/23-03:40:43.213911 140025188247104 [compaction_job.cc:1948] [default] [JOB 18544] Generated table #243141: 129426 keys, 42631909 bytes, temperature: kWarm 2024/11/23-03:40:43.213976 140025188247104 EVENT_LOG_v1 {"time_micros": 1732304443213944, "cf_name": "default", "job": 18544, "event": "table_file_creation", "file_number": 243141, "file_size": 42631909, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237871365, "largest_seqno": 3765210316, "table_properties": {"data_size": 40547520, "index_size": 235584, "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": 2588520, "raw_average_key_size": 20, "raw_value_size": 131630106, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129426, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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": 1732304441, "oldest_key_time": 0, "file_creation_time": 1732304441, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 243141, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-03:40:43.249196 140025188247104 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243142.sst) /dev/shm/ToplingTemp/Topling-397814-Dt7K2Z 2024/11/23-03:40:43.758490 140025188247104 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243142.sst): first pass time = 0.51's, 263.557'MB/sec 2024/11/23-03:40:44.671488 140025188247104 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243142.sst): old prealloc_size = 147639500, real_size = 40465536 2024/11/23-03:40:44.671618 140025188247104 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243142.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129430 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.72 raw-val = 0.1316 GB zip-val = 0.0402 GB avg-val =1016.99 avg-zval = 310.68 2024/11/23-03:40:44.671719 140025188247104 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243142.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-03:40:44.939705 140025188247104 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243142.sst): second pass time = 0.91's, 144.479'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.27's, 156.318'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2110.806'MB/sec (index lex order gen) rebuild zvType time = 0.20's, 0.161'MB/sec write SST data time = 0.07's, 629.036'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 43882.057'MB/sec zip my value time = 0.91's, unzip length = 0.132'GB zip my value throughput = 144.479'MB/sec zip pipeline throughput = 178.142'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.72 avg-val = 1016.99 avg-zval = 310.68 usrkeys = 129430 avg-key = 12.00 avg-zkey = 1.72 avg-val = 1018.33 avg-zval = 310.68 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 24696 bytes = 89536 } seq expand size = 172872 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0402 GB dict = 1.38 MB all = 0.0419 GB } UnZip/Zip{ index = 6.9937 value = 3.2735 dict = 1.00 all = 3.2015 } Zip/UnZip{ index = 0.1430 value = 0.3055 dict = 1.00 all = 0.3123 } ---------------------------- total value len = 0.396874 GB avg = 1.022 KB (by entry num) total key len = 0.007766 GB avg = 0.020 KB total ukey len = 0.004659 GB avg = 0.012 KB total ukey num = 0.000388287 Billion total entry num = 0.000388287 Billion write speed all = 0.005976793 MB/sec (with seq num) write speed all = 0.005930911 MB/sec (without seq num) 2024/11/23-03:40:44.980180 140025188247104 [compaction_job.cc:1948] [default] [JOB 18544] Generated table #243142: 129430 keys, 41922883 bytes, temperature: kWarm 2024/11/23-03:40:44.980264 140025188247104 EVENT_LOG_v1 {"time_micros": 1732304444980220, "cf_name": "default", "job": 18544, "event": "table_file_creation", "file_number": 243142, "file_size": 41922883, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 3765210281, "table_properties": {"data_size": 40210928, "index_size": 222080, "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": 2588600, "raw_average_key_size": 20, "raw_value_size": 131629303, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129430, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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": 1732304443, "oldest_key_time": 0, "file_creation_time": 1732304443, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 243142, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-03:40:45.035409 140025188247104 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243143.sst) /dev/shm/ToplingTemp/Topling-397814-MS8A5Z 2024/11/23-03:40:45.595225 140025188247104 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243143.sst): first pass time = 0.56's, 239.779'MB/sec 2024/11/23-03:40:46.435336 140025188247104 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243143.sst): old prealloc_size = 147639500, real_size = 40973344 2024/11/23-03:40:46.435458 140025188247104 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243143.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129428 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.70 raw-val = 0.1316 GB zip-val = 0.0407 GB avg-val =1017.01 avg-zval = 314.62 2024/11/23-03:40:46.435596 140025188247104 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243143.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-03:40:46.591286 140025188247104 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243143.sst): second pass time = 0.84's, 156.826'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 273.854'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2169.010'MB/sec (index lex order gen) rebuild zvType time = 0.11's, 0.305'MB/sec write SST data time = 0.05's, 857.489'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 49822.115'MB/sec zip my value time = 0.84's, unzip length = 0.132'GB zip my value throughput = 156.826'MB/sec zip pipeline throughput = 156.826'MB/sec entries = 129428 avg-key = 20.00 avg-zkey = 1.70 avg-val = 1017.01 avg-zval = 314.62 usrkeys = 129428 avg-key = 12.00 avg-zkey = 1.70 avg-val = 1022.40 avg-zval = 314.62 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 99634 bytes = 361184 } seq expand size = 697438 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0407 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 7.0566 value = 3.2325 dict = 1.00 all = 3.1431 } Zip/UnZip{ index = 0.1417 value = 0.3094 dict = 1.00 all = 0.3182 } ---------------------------- total value len = 0.529201 GB avg = 1.022 KB (by entry num) total key len = 0.010354 GB avg = 0.020 KB total ukey len = 0.006213 GB avg = 0.012 KB total ukey num = 0.000517715 Billion total entry num = 0.000517715 Billion write speed all = 0.007969387 MB/sec (with seq num) write speed all = 0.007908213 MB/sec (without seq num) 2024/11/23-03:40:46.634559 140025188247104 [compaction_job.cc:1948] [default] [JOB 18544] Generated table #243143: 129428 keys, 42702502 bytes, temperature: kWarm 2024/11/23-03:40:46.634614 140025188247104 EVENT_LOG_v1 {"time_micros": 1732304446634583, "cf_name": "default", "job": 18544, "event": "table_file_creation", "file_number": 243143, "file_size": 42702502, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 3765210286, "table_properties": {"data_size": 40720720, "index_size": 220096, "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": 2588560, "raw_average_key_size": 20, "raw_value_size": 131629463, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129428, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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": 1732304445, "oldest_key_time": 0, "file_creation_time": 1732304445, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 243143, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-03:40:46.669866 140025188247104 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243144.sst) /dev/shm/ToplingTemp/Topling-397814-iyOuN3 2024/11/23-03:40:46.678508 140025188247104 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243144.sst): first pass time = 0.01's, 384.299'MB/sec 2024/11/23-03:40:46.710189 140025188247104 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243144.sst): old prealloc_size = 147639500, real_size = 1040832 2024/11/23-03:40:46.710229 140025188247104 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243144.sst): index type = UintIndex_IL_256_32 , store type = DictZipBlobStore usrkeys = 3192 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 2.06 raw-val = 0.0032 GB zip-val = 0.0010 GB avg-val =1016.99 avg-zval = 323.71 2024/11/23-03:40:46.716022 140025188247104 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00/243144.sst): second pass time = 0.03's, 103.924'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.01's, 185.619'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 363.757'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.336'MB/sec write SST data time = 0.00's, 314.947'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.035'MB, throughput = 1405.676'MB/sec zip my value time = 0.03's, unzip length = 0.003'GB zip my value throughput = 103.924'MB/sec zip pipeline throughput = 103.924'MB/sec entries = 3192 avg-key = 20.00 avg-zkey = 2.07 avg-val = 1016.99 avg-zval = 323.71 usrkeys = 3192 avg-key = 12.00 avg-zkey = 2.07 avg-val = 1019.59 avg-zval = 323.71 TagRS{ kinds = RS_Key0_TagN bytes = 600 } TagArray{ size = 1187 bytes = 4320 } seq expand size = 8309 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0000 GB value = 0.0032 GB dict = 0.03 MB all = 0.0033 GB } __ZipSize{ index = 0.0000 GB value = 0.0010 GB dict = 0.03 MB all = 0.0011 GB } UnZip/Zip{ index = 5.8107 value = 3.1416 dict = 1.00 all = 3.0633 } Zip/UnZip{ index = 0.1721 value = 0.3183 dict = 1.00 all = 0.3264 } ---------------------------- total value len = 0.532456 GB avg = 1.022 KB (by entry num) total key len = 0.010418 GB avg = 0.020 KB total ukey len = 0.006251 GB avg = 0.012 KB total ukey num = 0.000520907 Billion total entry num = 0.000520907 Billion write speed all = 0.008018386 MB/sec (with seq num) write speed all = 0.007956834 MB/sec (without seq num) 2024/11/23-03:40:46.722264 140025188247104 [compaction_job.cc:1948] [default] [JOB 18544] Generated table #243144: 3192 keys, 1080539 bytes, temperature: kWarm 2024/11/23-03:40:46.722309 140025188247104 EVENT_LOG_v1 {"time_micros": 1732304446722283, "cf_name": "default", "job": 18544, "event": "table_file_creation", "file_number": 243144, "file_size": 1080539, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 3763652984, "table_properties": {"data_size": 1033296, "index_size": 6592, "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": 63840, "raw_average_key_size": 20, "raw_value_size": 3246228, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 3192, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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-UintIndex_IL_256_32-DictZipBlobStore", "creation_time": 1732304446, "oldest_key_time": 0, "file_creation_time": 1732304446, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 243144, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-03:40:46.733991 140025188247104 [compaction_job.cc:703] job-18544: subcompact[0], size: 0.171056 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18544/att-00 [243140,243141,243142,243143,243144] 2024/11/23-03:40:46.775046 140025188247104 (Original Log Time 2024/11/23-03:40:39.505976) EVENT_LOG_v1 {"time_micros": 1732304439505933, "job": 18544, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [243096], "files_L3": [243130, 243131, 243035, 243009, 243010, 243024], "score": 0.993328, "input_data_size": 203718381, "oldest_snapshot_seqno": 3765364346} 2024/11/23-03:40:46.775049 140025188247104 (Original Log Time 2024/11/23-03:40:46.771616) [compaction_job.cc:2022] [default] [JOB 18544] Compacted 1@2 + 6@3 files to L3 => 171055890 bytes 2024/11/23-03:40:46.775051 140025188247104 (Original Log Time 2024/11/23-03:40:46.774989) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 28.2 rd, 23.7 wr, level 3, files in(1, 6) out(5 +0 blob) MB in(31.2, 163.1 +0.0 blob) out(163.1 +0.0 blob), read-write-amplify(11.4) write-amplify(5.2) OK, records in: 552611, records dropped: 31704 output_compression: Snappy 2024/11/23-03:40:46.775057 140025188247104 (Original Log Time 2024/11/23-03:40:46.775029) EVENT_LOG_v1 {"time_micros": 1732304446775011, "cf": "default", "job": 18544, "event": "compaction_finished", "compaction_time_micros": 7228019, "compaction_time_cpu_micros": 1449489, "output_level": 3, "num_output_files": 5, "total_output_size": 171055890, "num_input_records": 552611, "num_output_records": 520907, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 154695884, "file_range_sync_nanos": 0, "file_fsync_nanos": 4616, "file_prepare_write_nanos": 9463, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/23-03:40:46.894884 140025188247104 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":1732256054,"starts":1732304439,"executesMs":7386,"compactionJobId":18544,"attempt":0,"compactionInputRawBytes":573059356,"compactionInputZipBytes":203718381,"compactionOutputRawBytes":0,"compactionOutputZipBytes":171055890,"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-3752c52cbcacd91d0bbffeb33c9f04f0-d8411c45d36951c2-00"}}, response = 2024/11/23-03:40:46.894978 140025188247104 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-18544/att-00: olev 3, work 7.386 s, result 6.640 ms, install 3.457 ms, input{raw 546.512 MiB zip 194.281 MiB}