2024/11/20-22:04:25.791799 140008618554944 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00: fork to child time = 0.029724 sec 2024/11/20-22:04:25.792568 140008618554944 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00 2024/11/20-22:04:25.800286 140008618554944 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00 2024/11/20-22:04:25.802536 140008618554944 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-22:04:25.802869 140008618554944 [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:04:25.845328 140008618554944 [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-16341/att-00/MANIFEST-049091 2024/11/20-22:04:25.862227 140008618554944 [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-16341/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 77039, last_sequence is 1210725772, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 76894 2024/11/20-22:04:25.862237 140008618554944 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-22:04:25.862338 140008618554944 [version_set.cc:5724] Creating manifest 77039 2024/11/20-22:04:25.894238 140008618554944 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-22:04:25.913312 140008618554944 [compaction_job.cc:2437] [default] [JOB 16341] Compacting 1@2 + 4@3 files to L3, score 0.96, subcompactions 1 : 1 2024/11/20-22:04:25.913330 140008618554944 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 12708 Base level 2, inputs: [77036(31MB)], [76900(40MB) 76901(40MB) 76902(40MB) 77007(40MB)] 2024/11/20-22:04:25.922371 140008618554944 [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:04:25.922405 140008618554944 [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:04:25.922433 140008618554944 [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:04:25.922445 140008618554944 [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:04:25.922459 140008618554944 [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:04:26.558705 140008618554944 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077040.sst) /dev/shm/ToplingTemp/Topling-1055551-9JqzSY 2024/11/20-22:04:26.754633 140008618554944 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077040.sst): first pass time = 0.20's, 685.194'MB/sec 2024/11/20-22:04:27.305690 140008618554944 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077040.sst): old prealloc_size = 147639500, real_size = 40950000 2024/11/20-22:04:27.305841 140008618554944 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077040.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129427 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.75 raw-val = 0.1316 GB zip-val = 0.0407 GB avg-val =1017.01 avg-zval = 314.39 2024/11/20-22:04:27.306010 140008618554944 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077040.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:04:27.559608 140008618554944 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077040.sst): second pass time = 0.55's, 239.232'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.25's, 168.449'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1806.400'MB/sec (index lex order gen) rebuild zvType time = 0.19's, 0.174'MB/sec write SST data time = 0.07's, 635.237'MB/sec dict compress time = 7310018645.90's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 36573.146'MB/sec zip my value time = 0.55's, unzip length = 0.132'GB zip my value throughput = 239.232'MB/sec zip pipeline throughput = 239.232'MB/sec entries = 129427 avg-key = 20.00 avg-zkey = 1.75 avg-val = 1017.01 avg-zval = 314.39 usrkeys = 129427 avg-key = 12.00 avg-zkey = 1.75 avg-val = 1024.01 avg-zval = 314.39 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129427 bytes = 469184 } seq expand size = 905989 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.0407 GB dict = 1.38 MB all = 0.0428 GB } UnZip/Zip{ index = 6.8494 value = 3.2349 dict = 1.00 all = 3.1384 } Zip/UnZip{ index = 0.1460 value = 0.3091 dict = 1.00 all = 0.3186 } ---------------------------- total value len = 563.198267 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.321144003 Billion total entry num = 1.700646025 Billion write speed all = 42.056516934 MB/sec (with seq num) write speed all = 41.114670660 MB/sec (without seq num) 2024/11/20-22:04:27.616025 140008618554944 [compaction_job.cc:1948] [default] [JOB 16341] Generated table #77040: 129427 keys, 42766866 bytes, temperature: kWarm 2024/11/20-22:04:27.616159 140008618554944 EVENT_LOG_v1 {"time_micros": 1732111467616102, "cf_name": "default", "job": 16341, "event": "table_file_creation", "file_number": 77040, "file_size": 42766866, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 939479831, "largest_seqno": 1210388707, "table_properties": {"data_size": 40690720, "index_size": 226752, "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": 2588540, "raw_average_key_size": 20, "raw_value_size": 131629189, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129427, "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": 1732111466, "oldest_key_time": 0, "file_creation_time": 1732111466, "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": 77040, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:04:27.692135 140008618554944 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077041.sst) /dev/shm/ToplingTemp/Topling-1055551-ACT2b2 2024/11/20-22:04:28.282445 140008618554944 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077041.sst): first pass time = 0.59's, 227.388'MB/sec 2024/11/20-22:04:28.943355 140008618554944 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077041.sst): old prealloc_size = 147639500, real_size = 40798656 2024/11/20-22:04:28.943528 140008618554944 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077041.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.92 raw-val = 0.1316 GB zip-val = 0.0405 GB avg-val =1016.99 avg-zval = 313.04 2024/11/20-22:04:28.943967 140008618554944 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077041.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:04:29.289540 140008618554944 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077041.sst): second pass time = 0.64's, 204.384'MB/sec, value only(98.1% of KV) wait indexing time = 0.01's, remap KeyValue time = 0.35's, 123.110'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1803.627'MB/sec (index lex order gen) rebuild zvType time = 0.28's, 0.117'MB/sec write SST data time = 0.07's, 608.476'MB/sec dict compress time = 7310018645.90's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 44978.912'MB/sec zip my value time = 0.64's, unzip length = 0.132'GB zip my value throughput = 204.384'MB/sec zip pipeline throughput = 204.384'MB/sec entries = 129431 avg-key = 20.00 avg-zkey = 1.92 avg-val = 1016.99 avg-zval = 313.04 usrkeys = 129431 avg-key = 12.00 avg-zkey = 1.92 avg-val = 1023.99 avg-zval = 313.04 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.0405 GB dict = 1.38 MB all = 0.0426 GB } UnZip/Zip{ index = 6.2418 value = 3.2487 dict = 1.00 all = 3.1495 } Zip/UnZip{ index = 0.1602 value = 0.3078 dict = 1.00 all = 0.3175 } ---------------------------- total value len = 563.330803 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.321273434 Billion total entry num = 1.700775456 Billion write speed all = 42.060834068 MB/sec (with seq num) write speed all = 41.119028901 MB/sec (without seq num) 2024/11/20-22:04:29.349234 140008618554944 [compaction_job.cc:1948] [default] [JOB 16341] Generated table #77041: 129431 keys, 42615131 bytes, temperature: kWarm 2024/11/20-22:04:29.349324 140008618554944 EVENT_LOG_v1 {"time_micros": 1732111469349278, "cf_name": "default", "job": 16341, "event": "table_file_creation", "file_number": 77041, "file_size": 42615131, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 908696188, "largest_seqno": 1210388714, "table_properties": {"data_size": 40517296, "index_size": 248832, "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": 131629714, "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": 1732111467, "oldest_key_time": 0, "file_creation_time": 1732111467, "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": 77041, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:04:29.411809 140008618554944 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077042.sst) /dev/shm/ToplingTemp/Topling-1055551-ASyV0Z 2024/11/20-22:04:30.007361 140008618554944 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077042.sst): first pass time = 0.60's, 225.389'MB/sec 2024/11/20-22:04:30.594707 140008618554944 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077042.sst): old prealloc_size = 147639500, real_size = 40635584 2024/11/20-22:04:30.594853 140008618554944 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077042.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129432 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0003 GB avg-key = 8.00 avg-zkey = 1.99 raw-val = 0.1316 GB zip-val = 0.0403 GB avg-val =1016.98 avg-zval = 311.71 2024/11/20-22:04:30.595196 140008618554944 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077042.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:04:30.766583 140008618554944 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077042.sst): second pass time = 0.59's, 224.447'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 246.905'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2179.147'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.273'MB/sec write SST data time = 0.05's, 798.820'MB/sec dict compress time = 7310018645.90's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.377'MB, throughput = 41803.496'MB/sec zip my value time = 0.59's, unzip length = 0.132'GB zip my value throughput = 224.447'MB/sec zip pipeline throughput = 224.447'MB/sec entries = 129432 avg-key = 20.00 avg-zkey = 1.99 avg-val = 1016.98 avg-zval = 311.71 usrkeys = 129432 avg-key = 12.00 avg-zkey = 1.99 avg-val = 1023.37 avg-zval = 311.71 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 118191 bytes = 428464 } seq expand size = 827337 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.0003 GB value = 0.0403 GB dict = 1.38 MB all = 0.0424 GB } UnZip/Zip{ index = 6.0309 value = 3.2625 dict = 1.00 all = 3.1632 } Zip/UnZip{ index = 0.1658 value = 0.3065 dict = 1.00 all = 0.3161 } ---------------------------- total value len = 563.463260 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 = 42.065880909 MB/sec (with seq num) write speed all = 41.124100357 MB/sec (without seq num) 2024/11/20-22:04:30.822577 140008618554944 [compaction_job.cc:1948] [default] [JOB 16341] Generated table #77042: 129432 keys, 42431226 bytes, temperature: kWarm 2024/11/20-22:04:30.822663 140008618554944 EVENT_LOG_v1 {"time_micros": 1732111470822618, "cf_name": "default", "job": 16341, "event": "table_file_creation", "file_number": 77042, "file_size": 42431226, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1210388334, "table_properties": {"data_size": 40345520, "index_size": 257536, "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": 131629137, "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": 1732111469, "oldest_key_time": 0, "file_creation_time": 1732111469, "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": 77042, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:04:30.892447 140008618554944 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077043.sst) /dev/shm/ToplingTemp/Topling-1055551-Ze1Cm0 2024/11/20-22:04:31.468275 140008618554944 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077043.sst): first pass time = 0.58's, 233.111'MB/sec 2024/11/20-22:04:32.012415 140008618554944 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077043.sst): old prealloc_size = 147639500, real_size = 40978928 2024/11/20-22:04:32.012528 140008618554944 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077043.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129425 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.71 raw-val = 0.1316 GB zip-val = 0.0407 GB avg-val =1017.04 avg-zval = 314.66 2024/11/20-22:04:32.012673 140008618554944 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077043.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:04:32.180206 140008618554944 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077043.sst): second pass time = 0.54's, 242.260'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 254.988'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2374.421'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.272'MB/sec write SST data time = 0.05's, 874.766'MB/sec dict compress time = 7310018645.90's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 45656.074'MB/sec zip my value time = 0.54's, unzip length = 0.132'GB zip my value throughput = 242.260'MB/sec zip pipeline throughput = 242.297'MB/sec entries = 129425 avg-key = 20.00 avg-zkey = 1.71 avg-val = 1017.04 avg-zval = 314.66 usrkeys = 129425 avg-key = 12.00 avg-zkey = 1.71 avg-val = 1024.04 avg-zval = 314.66 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129425 bytes = 453008 } seq expand size = 905975 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.0407 GB dict = 1.38 MB all = 0.0428 GB } UnZip/Zip{ index = 7.0299 value = 3.2321 dict = 1.00 all = 3.1375 } Zip/UnZip{ index = 0.1422 value = 0.3094 dict = 1.00 all = 0.3187 } ---------------------------- total value len = 563.595796 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.321532291 Billion total entry num = 1.701034313 Billion write speed all = 42.071116882 MB/sec (with seq num) write speed all = 41.129356810 MB/sec (without seq num) 2024/11/20-22:04:32.231803 140008618554944 [compaction_job.cc:1948] [default] [JOB 16341] Generated table #77043: 129425 keys, 42779152 bytes, temperature: kWarm 2024/11/20-22:04:32.231868 140008618554944 EVENT_LOG_v1 {"time_micros": 1732111472231838, "cf_name": "default", "job": 16341, "event": "table_file_creation", "file_number": 77043, "file_size": 42779152, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 952431592, "largest_seqno": 1210388837, "table_properties": {"data_size": 40725472, "index_size": 220928, "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": 2588500, "raw_average_key_size": 20, "raw_value_size": 131630177, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129425, "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": 1732111470, "oldest_key_time": 0, "file_creation_time": 1732111470, "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": 77043, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:04:32.270334 140008618554944 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077044.sst) /dev/shm/ToplingTemp/Topling-1055551-wcKlO2 2024/11/20-22:04:32.277273 140008618554944 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077044.sst): first pass time = 0.01's, 282.736'MB/sec 2024/11/20-22:04:32.305241 140008618554944 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077044.sst): old prealloc_size = 147639500, real_size = 617952 2024/11/20-22:04:32.305280 140008618554944 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077044.sst): index type = UintIndex_IL_256_32 , store type = DictZipBlobStore usrkeys = 1882 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 0.30 raw-val = 0.0019 GB zip-val = 0.0006 GB avg-val =1017.18 avg-zval = 327.70 2024/11/20-22:04:32.307886 140008618554944 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00/077044.sst): second pass time = 0.03's, 69.693'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.00's, 248.841'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 22.233'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.253'MB/sec write SST data time = 0.00's, 879.197'MB/sec dict compress time = 0.00's, 28507.000'MB/sec z-dict build time = 0.00's, sample length = 0.029'MB, throughput = 1205.880'MB/sec zip my value time = 0.03's, unzip length = 0.002'GB zip my value throughput = 69.693'MB/sec zip pipeline throughput = 69.693'MB/sec entries = 1882 avg-key = 20.00 avg-zkey = 0.31 avg-val = 1017.18 avg-zval = 327.70 usrkeys = 1882 avg-key = 12.00 avg-zkey = 0.31 avg-val = 1024.18 avg-zval = 327.70 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 1882 bytes = 6608 } seq expand size = 13174 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0000 GB value = 0.0019 GB dict = 0.03 MB all = 0.0020 GB } __ZipSize{ index = 0.0000 GB value = 0.0006 GB dict = 0.03 MB all = 0.0007 GB } UnZip/Zip{ index = 39.2083 value = 3.1040 dict = 1.00 all = 2.9862 } Zip/UnZip{ index = 0.0255 value = 0.3222 dict = 1.00 all = 0.3349 } ---------------------------- total value len = 563.597723 GB avg = 0.331 KB (by entry num) total key len = 44.324798 GB avg = 0.026 KB total ukey len = 32.800377 GB avg = 0.014 KB total ukey num = 2.321534173 Billion total entry num = 1.701036195 Billion write speed all = 42.070881110 MB/sec (with seq num) write speed all = 41.129128318 MB/sec (without seq num) 2024/11/20-22:04:32.315339 140008618554944 [compaction_job.cc:1948] [default] [JOB 16341] Generated table #77044: 1882 keys, 653659 bytes, temperature: kWarm 2024/11/20-22:04:32.315386 140008618554944 EVENT_LOG_v1 {"time_micros": 1732111472315361, "cf_name": "default", "job": 16341, "event": "table_file_creation", "file_number": 77044, "file_size": 653659, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 991910203, "largest_seqno": 1210387087, "table_properties": {"data_size": 616736, "index_size": 576, "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": 37640, "raw_average_key_size": 20, "raw_value_size": 1914337, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 1882, "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-UintIndex_IL_256_32-DictZipBlobStore", "creation_time": 1732111472, "oldest_key_time": 0, "file_creation_time": 1732111472, "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": 77044, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:04:32.326616 140008618554944 [compaction_job.cc:703] job-16341: subcompact[0], size: 0.171246 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16341/att-00 [077040,077041,077042,077043,077044] 2024/11/20-22:04:32.361832 140008618554944 (Original Log Time 2024/11/20-22:04:25.913412) EVENT_LOG_v1 {"time_micros": 1732111465913353, "job": 16341, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [77036], "files_L3": [76900, 76901, 76902, 77007], "score": 0.962566, "input_data_size": 203344412, "oldest_snapshot_seqno": 1210725644} 2024/11/20-22:04:32.361835 140008618554944 (Original Log Time 2024/11/20-22:04:32.361260) [compaction_job.cc:2022] [default] [JOB 16341] Compacted 1@2 + 4@3 files to L3 => 171246034 bytes 2024/11/20-22:04:32.361836 140008618554944 (Original Log Time 2024/11/20-22:04:32.361758) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 31.7 rd, 26.7 wr, level 3, files in(1, 4) out(5 +0 blob) MB in(31.2, 162.7 +0.0 blob) out(163.3 +0.0 blob), read-write-amplify(11.4) write-amplify(5.2) OK, records in: 549676, records dropped: 30079 output_compression: Snappy 2024/11/20-22:04:32.361840 140008618554944 (Original Log Time 2024/11/20-22:04:32.361814) EVENT_LOG_v1 {"time_micros": 1732111472361791, "cf": "default", "job": 16341, "event": "compaction_finished", "compaction_time_micros": 6413206, "compaction_time_cpu_micros": 1820493, "output_level": 3, "num_output_files": 5, "total_output_size": 171246034, "num_input_records": 549676, "num_output_records": 519597, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 151164130, "file_range_sync_nanos": 0, "file_fsync_nanos": 4622, "file_prepare_write_nanos": 11553, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-22:04:32.526296 140008618554944 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":1732111465,"executesMs":6561,"compactionJobId":16341,"attempt":0,"compactionInputRawBytes":570016551,"compactionInputZipBytes":203344412,"compactionOutputRawBytes":0,"compactionOutputZipBytes":171246034,"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-529164f6a1d6868da5c48a6734185a32-25e1bee35076950f-00"}}, response = 2024/11/20-22:04:32.526416 140008618554944 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-16341/att-00: olev 3, work 6.561 s, result 7.660 ms, install 0.595 ms, input{raw 543.610 MiB zip 193.924 MiB}