2024/11/20-22:05:34.719560 140008576591424 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00: fork to child time = 0.009363 sec 2024/11/20-22:05:34.720134 140008576591424 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00 2024/11/20-22:05:34.726684 140008576591424 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00 2024/11/20-22:05:34.728367 140008576591424 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-22:05:34.728611 140008576591424 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-22:05:34.784064 140008576591424 [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-16404/att-00/MANIFEST-049091 2024/11/20-22:05:34.840512 140008576591424 [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-16404/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 77163, last_sequence is 1212170860, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 77010 2024/11/20-22:05:34.840525 140008576591424 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-22:05:34.840598 140008576591424 [version_set.cc:5724] Creating manifest 77163 2024/11/20-22:05:34.875703 140008576591424 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-22:05:34.898425 140008576591424 [compaction_job.cc:2437] [default] [JOB 16404] Compacting 1@2 + 5@3 files to L3, score 0.96, subcompactions 1 : 1 2024/11/20-22:05:34.898437 140008576591424 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 12752 Base level 2, inputs: [77155(31MB)], [77071(40MB) 77072(1299KB) 77015(40MB) 77016(40MB) 77156(40MB)] 2024/11/20-22:05:34.905903 140008576591424 [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-22:05:34.905927 140008576591424 [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-22:05:34.905946 140008576591424 [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-22:05:34.905954 140008576591424 [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-22:05:34.905966 140008576591424 [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-22:05:35.495157 140008576591424 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077164.sst) /dev/shm/ToplingTemp/Topling-1056998-vKM4Ar 2024/11/20-22:05:35.668086 140008576591424 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077164.sst): first pass time = 0.17's, 776.369'MB/sec 2024/11/20-22:05:36.244731 140008576591424 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077164.sst): old prealloc_size = 147639500, real_size = 40841840 2024/11/20-22:05:36.244917 140008576591424 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077164.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.73 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1016.99 avg-zval = 313.57 2024/11/20-22:05:36.245125 140008576591424 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077164.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/20-22:05:36.557972 140008576591424 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077164.sst): second pass time = 0.58's, 228.658'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.31's, 135.899'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1571.204'MB/sec (index lex order gen) rebuild zvType time = 0.23's, 0.143'MB/sec write SST data time = 0.09's, 491.944'MB/sec dict compress time = 4054724212.30's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 25425.352'MB/sec zip my value time = 0.58's, unzip length = 0.132'GB zip my value throughput = 228.658'MB/sec zip pipeline throughput = 228.658'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.73 avg-val = 1016.99 avg-zval = 313.57 usrkeys = 129430 avg-key = 12.00 avg-zkey = 1.73 avg-val = 1022.51 avg-zval = 313.57 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 101999 bytes = 357008 } seq expand size = 713993 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.0426 GB } UnZip/Zip{ index = 6.9496 value = 3.2432 dict = 1.00 all = 3.1532 } Zip/UnZip{ index = 0.1439 value = 0.3083 dict = 1.00 all = 0.3171 } ---------------------------- total value len = 563.198076 GB avg = 0.331 KB (by entry num) total key len = 44.316995 GB avg = 0.026 KB total ukey len = 32.795695 GB avg = 0.014 KB total ukey num = 2.321144006 Billion total entry num = 1.700646028 Billion write speed all = 41.856573388 MB/sec (with seq num) write speed all = 40.919204507 MB/sec (without seq num) 2024/11/20-22:05:36.615357 140008576591424 [compaction_job.cc:1948] [default] [JOB 16404] Generated table #77164: 129430 keys, 42566292 bytes, temperature: kWarm 2024/11/20-22:05:36.615489 140008576591424 EVENT_LOG_v1 {"time_micros": 1732111536615428, "cf_name": "default", "job": 16404, "event": "table_file_creation", "file_number": 77164, "file_size": 42566292, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1211897278, "table_properties": {"data_size": 40585824, "index_size": 223488, "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": 131629506, "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": 1732111535, "oldest_key_time": 0, "file_creation_time": 1732111535, "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": 77164, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:05:36.683911 140008576591424 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077165.sst) /dev/shm/ToplingTemp/Topling-1056998-RvXj4p 2024/11/20-22:05:37.240854 140008576591424 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077165.sst): first pass time = 0.56's, 241.015'MB/sec 2024/11/20-22:05:37.775869 140008576591424 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077165.sst): old prealloc_size = 147639500, real_size = 40792960 2024/11/20-22:05:37.776008 140008576591424 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077165.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.0405 GB avg-val =1016.99 avg-zval = 313.20 2024/11/20-22:05:37.776144 140008576591424 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077165.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/20-22:05:37.944605 140008576591424 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077165.sst): second pass time = 0.53's, 246.342'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 251.548'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1934.323'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.263'MB/sec write SST data time = 0.05's, 934.913'MB/sec dict compress time = 4054724212.30's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 28460.024'MB/sec zip my value time = 0.53's, unzip length = 0.132'GB zip my value throughput = 246.342'MB/sec zip pipeline throughput = 246.342'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.72 avg-val = 1016.99 avg-zval = 313.20 usrkeys = 129430 avg-key = 12.00 avg-zkey = 1.72 avg-val = 1021.32 avg-zval = 313.20 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 79956 bytes = 279856 } seq expand size = 559692 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.0424 GB } UnZip/Zip{ index = 6.9756 value = 3.2471 dict = 1.00 all = 3.1625 } Zip/UnZip{ index = 0.1434 value = 0.3080 dict = 1.00 all = 0.3162 } ---------------------------- total value len = 563.330265 GB avg = 0.331 KB (by entry num) total key len = 44.319584 GB avg = 0.026 KB total ukey len = 32.797248 GB avg = 0.014 KB total ukey num = 2.321273436 Billion total entry num = 1.700775458 Billion write speed all = 41.861859907 MB/sec (with seq num) write speed all = 40.924509238 MB/sec (without seq num) 2024/11/20-22:05:37.995892 140008576591424 [compaction_job.cc:1948] [default] [JOB 16404] Generated table #77165: 129430 keys, 42440106 bytes, temperature: kWarm 2024/11/20-22:05:37.995961 140008576591424 EVENT_LOG_v1 {"time_micros": 1732111537995929, "cf_name": "default", "job": 16404, "event": "table_file_creation", "file_number": 77165, "file_size": 42440106, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1211897281, "table_properties": {"data_size": 40537776, "index_size": 222656, "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": 131629465, "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": 1732111536, "oldest_key_time": 0, "file_creation_time": 1732111536, "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": 77165, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:05:38.033833 140008576591424 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077166.sst) /dev/shm/ToplingTemp/Topling-1056998-QMW2Mo 2024/11/20-22:05:38.543455 140008576591424 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077166.sst): first pass time = 0.51's, 263.388'MB/sec 2024/11/20-22:05:39.105788 140008576591424 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077166.sst): old prealloc_size = 147639500, real_size = 40632544 2024/11/20-22:05:39.105927 140008576591424 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077166.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.78 raw-val = 0.1316 GB zip-val = 0.0404 GB avg-val =1016.99 avg-zval = 311.90 2024/11/20-22:05:39.106027 140008576591424 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077166.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/20-22:05:39.278906 140008576591424 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077166.sst): second pass time = 0.56's, 234.420'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 243.903'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2073.877'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.277'MB/sec write SST data time = 0.06's, 748.936'MB/sec dict compress time = 4054724212.30's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 32734.771'MB/sec zip my value time = 0.56's, unzip length = 0.132'GB zip my value throughput = 234.420'MB/sec zip pipeline throughput = 234.420'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.78 avg-val = 1016.99 avg-zval = 311.90 usrkeys = 129430 avg-key = 12.00 avg-zkey = 1.78 avg-val = 1020.31 avg-zval = 311.90 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 61399 bytes = 214912 } seq expand size = 429793 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.0404 GB dict = 1.38 MB all = 0.0422 GB } UnZip/Zip{ index = 6.7243 value = 3.2606 dict = 1.00 all = 3.1794 } Zip/UnZip{ index = 0.1487 value = 0.3067 dict = 1.00 all = 0.3145 } ---------------------------- total value len = 563.462324 GB avg = 0.331 KB (by entry num) total key len = 44.322172 GB avg = 0.026 KB total ukey len = 32.798801 GB avg = 0.014 KB total ukey num = 2.321402866 Billion total entry num = 1.700904888 Billion write speed all = 41.867287527 MB/sec (with seq num) write speed all = 40.929951685 MB/sec (without seq num) 2024/11/20-22:05:39.332685 140008576591424 [compaction_job.cc:1948] [default] [JOB 16404] Generated table #77166: 129430 keys, 42215119 bytes, temperature: kWarm 2024/11/20-22:05:39.332788 140008576591424 EVENT_LOG_v1 {"time_micros": 1732111539332731, "cf_name": "default", "job": 16404, "event": "table_file_creation", "file_number": 77166, "file_size": 42215119, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1211898180, "table_properties": {"data_size": 40369040, "index_size": 230976, "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": 131629209, "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": 1732111538, "oldest_key_time": 0, "file_creation_time": 1732111538, "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": 77166, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:05:39.380664 140008576591424 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077167.sst) /dev/shm/ToplingTemp/Topling-1056998-QT7bOp 2024/11/20-22:05:40.178835 140008576591424 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077167.sst): first pass time = 0.80's, 168.170'MB/sec 2024/11/20-22:05:40.722550 140008576591424 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077167.sst): old prealloc_size = 147639500, real_size = 40700784 2024/11/20-22:05:40.722680 140008576591424 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077167.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129432 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.0404 GB avg-val =1016.98 avg-zval = 312.49 2024/11/20-22:05:40.722790 140008576591424 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077167.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/20-22:05:40.883187 140008576591424 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077167.sst): second pass time = 0.54's, 242.468'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 263.286'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2100.981'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.278'MB/sec write SST data time = 0.04's, 958.147'MB/sec dict compress time = 4054724212.30's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 44122.775'MB/sec zip my value time = 0.54's, unzip length = 0.132'GB zip my value throughput = 242.468'MB/sec zip pipeline throughput = 242.468'MB/sec entries = 129432 avg-key = 20.00 avg-zkey = 1.72 avg-val = 1016.98 avg-zval = 312.49 usrkeys = 129432 avg-key = 12.00 avg-zkey = 1.72 avg-val = 1020.36 avg-zval = 312.49 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 62430 bytes = 218512 } seq expand size = 437010 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.0404 GB dict = 1.38 MB all = 0.0423 GB } UnZip/Zip{ index = 6.9938 value = 3.2545 dict = 1.00 all = 3.1740 } Zip/UnZip{ index = 0.1430 value = 0.3073 dict = 1.00 all = 0.3151 } ---------------------------- total value len = 563.594391 GB avg = 0.331 KB (by entry num) total key len = 44.324761 GB avg = 0.026 KB total ukey len = 32.800354 GB avg = 0.014 KB total ukey num = 2.321532298 Billion total entry num = 1.701034320 Billion write speed all = 41.871935921 MB/sec (with seq num) write speed all = 40.934632336 MB/sec (without seq num) 2024/11/20-22:05:40.933891 140008576591424 [compaction_job.cc:1948] [default] [JOB 16404] Generated table #77167: 129432 keys, 42287210 bytes, temperature: kWarm 2024/11/20-22:05:40.933958 140008576591424 EVENT_LOG_v1 {"time_micros": 1732111540933927, "cf_name": "default", "job": 16404, "event": "table_file_creation", "file_number": 77167, "file_size": 42287210, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1211898188, "table_properties": {"data_size": 40446176, "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": 2588640, "raw_average_key_size": 20, "raw_value_size": 131630111, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129432, "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": 1732111539, "oldest_key_time": 0, "file_creation_time": 1732111539, "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": 77167, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:05:40.968889 140008576591424 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077168.sst) /dev/shm/ToplingTemp/Topling-1056998-FesQ1o 2024/11/20-22:05:40.979009 140008576591424 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077168.sst): first pass time = 0.01's, 465.045'MB/sec 2024/11/20-22:05:41.016726 140008576591424 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077168.sst): old prealloc_size = 147639500, real_size = 1455320 2024/11/20-22:05:41.016770 140008576591424 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077168.sst): index type = UintIndex_AllOne , store type = DictZipBlobStore usrkeys = 4522 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 0.04 raw-val = 0.0046 GB zip-val = 0.0015 GB avg-val =1017.25 avg-zval = 321.51 2024/11/20-22:05:41.024535 140008576591424 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00/077168.sst): second pass time = 0.04's, 124.349'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.01's, 192.946'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 5.894'MB/sec (index lex order gen) rebuild zvType time = 0.01's, 0.185'MB/sec write SST data time = 0.00's, 912.221'MB/sec dict compress time = 0.00's, 47844.000'MB/sec z-dict build time = 0.00's, sample length = 0.048'MB, throughput = 1259.649'MB/sec zip my value time = 0.04's, unzip length = 0.005'GB zip my value throughput = 124.349'MB/sec zip pipeline throughput = 124.349'MB/sec entries = 4522 avg-key = 20.00 avg-zkey = 0.04 avg-val = 1017.25 avg-zval = 321.51 usrkeys = 4522 avg-key = 12.00 avg-zkey = 0.04 avg-val = 1017.27 avg-zval = 321.51 TagRS{ kinds = RS_Key0_TagN bytes = 800 } TagArray{ size = 17 bytes = 80 } seq expand size = 119 multi value expand size = 0 cnt WriteAppend = 11 UnZipSize{ index = 0.0001 GB value = 0.0046 GB dict = 0.05 MB all = 0.0047 GB } __ZipSize{ index = 0.0000 GB value = 0.0015 GB dict = 0.05 MB all = 0.0015 GB } UnZip/Zip{ index = 282.6250 value = 3.1640 dict = 1.00 all = 3.1187 } Zip/UnZip{ index = 0.0035 value = 0.3161 dict = 1.00 all = 0.3206 } ---------------------------- total value len = 563.598991 GB avg = 0.331 KB (by entry num) total key len = 44.324851 GB avg = 0.026 KB total ukey len = 32.800409 GB avg = 0.014 KB total ukey num = 2.321536820 Billion total entry num = 1.701038842 Billion write speed all = 41.871851312 MB/sec (with seq num) write speed all = 40.934554361 MB/sec (without seq num) 2024/11/20-22:05:41.033078 140008576591424 [compaction_job.cc:1948] [default] [JOB 16404] Generated table #77168: 4522 keys, 1503970 bytes, temperature: kWarm 2024/11/20-22:05:41.033130 140008576591424 EVENT_LOG_v1 {"time_micros": 1732111541033103, "cf_name": "default", "job": 16404, "event": "table_file_creation", "file_number": 77168, "file_size": 1503970, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1211879429, "table_properties": {"data_size": 1453856, "index_size": 192, "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": 90440, "raw_average_key_size": 20, "raw_value_size": 4599995, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 4522, "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_AllOne-DictZipBlobStore", "creation_time": 1732111540, "oldest_key_time": 0, "file_creation_time": 1732111540, "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": 77168, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:05:41.042322 140008576591424 [compaction_job.cc:703] job-16404: subcompact[0], size: 0.171013 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16404/att-00 [077164,077165,077166,077167,077168] 2024/11/20-22:05:41.121472 140008576591424 (Original Log Time 2024/11/20-22:05:34.898490) EVENT_LOG_v1 {"time_micros": 1732111534898450, "job": 16404, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [77155], "files_L3": [77071, 77072, 77015, 77016, 77156], "score": 0.962566, "input_data_size": 203545188, "oldest_snapshot_seqno": 1212169250} 2024/11/20-22:05:41.121476 140008576591424 (Original Log Time 2024/11/20-22:05:41.120791) [compaction_job.cc:2022] [default] [JOB 16404] Compacted 1@2 + 5@3 files to L3 => 171012697 bytes 2024/11/20-22:05:41.121477 140008576591424 (Original Log Time 2024/11/20-22:05:41.121394) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 33.1 rd, 27.8 wr, level 3, files in(1, 5) out(5 +0 blob) MB in(31.2, 162.9 +0.0 blob) out(163.1 +0.0 blob), read-write-amplify(11.4) write-amplify(5.2) OK, records in: 553555, records dropped: 31311 output_compression: Snappy 2024/11/20-22:05:41.121482 140008576591424 (Original Log Time 2024/11/20-22:05:41.121447) EVENT_LOG_v1 {"time_micros": 1732111541121421, "cf": "default", "job": 16404, "event": "compaction_finished", "compaction_time_micros": 6143836, "compaction_time_cpu_micros": 1662983, "output_level": 3, "num_output_files": 5, "total_output_size": 171012697, "num_input_records": 553555, "num_output_records": 522244, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 164360397, "file_range_sync_nanos": 0, "file_fsync_nanos": 4878, "file_prepare_write_nanos": 11275, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-22:05:41.274885 140008576591424 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":1732111534,"executesMs":6366,"compactionJobId":16404,"attempt":0,"compactionInputRawBytes":574033182,"compactionInputZipBytes":203545188,"compactionOutputRawBytes":0,"compactionOutputZipBytes":171012697,"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-84d137b331a86413f3818c0b7e5cc33b-be623cd92d079f57-00"}}, response = 2024/11/20-22:05:41.274958 140008576591424 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-16404/att-00: olev 3, work 6.367 s, result 34.261 ms, install 0.724 ms, input{raw 547.441 MiB zip 194.116 MiB}