2024/11/20-21:41:19.969547 140008652125760 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00: fork to child time = 0.009476 sec 2024/11/20-21:41:19.970040 140008652125760 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00 2024/11/20-21:41:19.974932 140008652125760 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00 2024/11/20-21:41:19.978352 140008652125760 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-21:41:19.978621 140008652125760 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-21:41:20.026293 140008652125760 [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-15013/att-00/MANIFEST-049091 2024/11/20-21:41:20.088517 140008652125760 [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-15013/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 74639, last_sequence is 1181460541, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 74483 2024/11/20-21:41:20.088530 140008652125760 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-21:41:20.088615 140008652125760 [version_set.cc:5724] Creating manifest 74639 2024/11/20-21:41:20.125215 140008652125760 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-21:41:20.144245 140008652125760 [compaction_job.cc:2437] [default] [JOB 15013] Compacting 1@2 + 4@3 files to L3, score 0.93, subcompactions 1 : 1 2024/11/20-21:41:20.144257 140008652125760 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 11851 Base level 2, inputs: [74559(31MB)], [74586(40MB) 74587(719KB) 74482(739KB) 74594(40MB)] 2024/11/20-21:41:20.152764 140008652125760 [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-21:41:20.152789 140008652125760 [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-21:41:20.152809 140008652125760 [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-21:41:20.152817 140008652125760 [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-21:41:20.152825 140008652125760 [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-21:41:20.739397 140008652125760 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074640.sst) /dev/shm/ToplingTemp/Topling-1028656-beKF6i 2024/11/20-21:41:20.995809 140008652125760 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074640.sst): first pass time = 0.26's, 523.537'MB/sec 2024/11/20-21:41:21.553574 140008652125760 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074640.sst): old prealloc_size = 131803810, real_size = 41025696 2024/11/20-21:41:21.553709 140008652125760 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074640.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.0408 GB avg-val =1017.01 avg-zval = 315.03 2024/11/20-21:41:21.553875 140008652125760 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074640.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-21:41:21.724009 140008652125760 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074640.sst): second pass time = 0.56's, 236.341'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 251.254'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2063.216'MB/sec (index lex order gen) rebuild zvType time = 0.13's, 0.258'MB/sec write SST data time = 0.05's, 951.684'MB/sec dict compress time = 2462459002.12's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 35449.664'MB/sec zip my value time = 0.56's, unzip length = 0.132'GB zip my value throughput = 236.341'MB/sec zip pipeline throughput = 236.341'MB/sec entries = 129428 avg-key = 20.00 avg-zkey = 1.70 avg-val = 1017.01 avg-zval = 315.03 usrkeys = 129428 avg-key = 12.00 avg-zkey = 1.70 avg-val = 1024.01 avg-zval = 315.03 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129428 bytes = 453008 } seq expand size = 905996 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.0408 GB dict = 1.38 MB all = 0.0428 GB } UnZip/Zip{ index = 7.0731 value = 3.2283 dict = 1.00 all = 3.1340 } Zip/UnZip{ index = 0.1414 value = 0.3098 dict = 1.00 all = 0.3191 } ---------------------------- total value len = 563.198268 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.321144004 Billion total entry num = 1.700646026 Billion write speed all = 46.519472918 MB/sec (with seq num) write speed all = 45.477679745 MB/sec (without seq num) 2024/11/20-21:41:21.778136 140008652125760 [compaction_job.cc:1948] [default] [JOB 15013] Generated table #74640: 129428 keys, 42825956 bytes, temperature: kWarm 2024/11/20-21:41:21.778239 140008652125760 EVENT_LOG_v1 {"time_micros": 1732110081778195, "cf_name": "default", "job": 15013, "event": "table_file_creation", "file_number": 74640, "file_size": 42825956, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 980004783, "largest_seqno": 1180374476, "table_properties": {"data_size": 40773584, "index_size": 219584, "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": 131629993, "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_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732110080, "oldest_key_time": 0, "file_creation_time": 1732110080, "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": 74640, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:41:21.835526 140008652125760 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074641.sst) /dev/shm/ToplingTemp/Topling-1028656-WztxWk 2024/11/20-21:41:22.396464 140008652125760 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074641.sst): first pass time = 0.56's, 239.300'MB/sec 2024/11/20-21:41:23.138675 140008652125760 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074641.sst): old prealloc_size = 131803810, real_size = 40972896 2024/11/20-21:41:23.138800 140008652125760 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074641.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.75 raw-val = 0.1316 GB zip-val = 0.0407 GB avg-val =1017.01 avg-zval = 314.57 2024/11/20-21:41:23.138941 140008652125760 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074641.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-21:41:23.306060 140008652125760 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074641.sst): second pass time = 0.74's, 177.518'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 255.583'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2108.571'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.276'MB/sec write SST data time = 0.05's, 854.340'MB/sec dict compress time = 2462459002.12's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 24061.986'MB/sec zip my value time = 0.74's, unzip length = 0.132'GB zip my value throughput = 177.518'MB/sec zip pipeline throughput = 252.314'MB/sec entries = 129428 avg-key = 20.00 avg-zkey = 1.75 avg-val = 1017.01 avg-zval = 314.57 usrkeys = 129428 avg-key = 12.00 avg-zkey = 1.75 avg-val = 1024.01 avg-zval = 314.57 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129428 bytes = 453008 } seq expand size = 905996 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.0428 GB } UnZip/Zip{ index = 6.8728 value = 3.2330 dict = 1.00 all = 3.1379 } Zip/UnZip{ index = 0.1455 value = 0.3093 dict = 1.00 all = 0.3187 } ---------------------------- total value len = 563.330803 GB avg = 0.331 KB (by entry num) total key len = 44.319583 GB avg = 0.026 KB total ukey len = 32.797248 GB avg = 0.014 KB total ukey num = 2.321273432 Billion total entry num = 1.700775454 Billion write speed all = 46.524183766 MB/sec (with seq num) write speed all = 45.482437505 MB/sec (without seq num) 2024/11/20-21:41:23.357694 140008652125760 [compaction_job.cc:1948] [default] [JOB 15013] Generated table #74641: 129428 keys, 42773317 bytes, temperature: kWarm 2024/11/20-21:41:23.357752 140008652125760 EVENT_LOG_v1 {"time_micros": 1732110083357722, "cf_name": "default", "job": 15013, "event": "table_file_creation", "file_number": 74641, "file_size": 42773317, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 951055562, "largest_seqno": 1180374477, "table_properties": {"data_size": 40714384, "index_size": 225984, "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": 131629179, "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_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732110081, "oldest_key_time": 0, "file_creation_time": 1732110081, "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": 74641, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:41:23.396141 140008652125760 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074642.sst) /dev/shm/ToplingTemp/Topling-1028656-HH6G9j 2024/11/20-21:41:23.409712 140008652125760 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074642.sst): first pass time = 0.01's, 355.415'MB/sec 2024/11/20-21:41:23.456841 140008652125760 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074642.sst): old prealloc_size = 131803810, real_size = 1514960 2024/11/20-21:41:23.456874 140008652125760 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074642.sst): index type = UintIndex_IL_256_32 , store type = DictZipBlobStore usrkeys = 4640 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 0.31 raw-val = 0.0047 GB zip-val = 0.0015 GB avg-val =1017.03 avg-zval = 325.90 2024/11/20-21:41:23.464670 140008652125760 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00/074642.sst): second pass time = 0.04's, 118.033'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.01's, 202.387'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 75.259'MB/sec (index lex order gen) rebuild zvType time = 0.01's, 0.192'MB/sec write SST data time = 0.00's, 896.294'MB/sec dict compress time = 2462459002.12's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.051'MB, throughput = 1515.792'MB/sec zip my value time = 0.04's, unzip length = 0.005'GB zip my value throughput = 118.033'MB/sec zip pipeline throughput = 118.033'MB/sec entries = 4640 avg-key = 20.00 avg-zkey = 0.32 avg-val = 1017.03 avg-zval = 325.90 usrkeys = 4640 avg-key = 12.00 avg-zkey = 0.32 avg-val = 1024.03 avg-zval = 325.90 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 4640 bytes = 16256 } seq expand size = 32480 multi value expand size = 0 cnt WriteAppend = 11 UnZipSize{ index = 0.0001 GB value = 0.0047 GB dict = 0.05 MB all = 0.0048 GB } __ZipSize{ index = 0.0000 GB value = 0.0015 GB dict = 0.05 MB all = 0.0016 GB } UnZip/Zip{ index = 37.8261 value = 3.1207 dict = 1.00 all = 3.0418 } Zip/UnZip{ index = 0.0264 value = 0.3204 dict = 1.00 all = 0.3288 } ---------------------------- total value len = 563.335555 GB avg = 0.331 KB (by entry num) total key len = 44.319676 GB avg = 0.026 KB total ukey len = 32.797304 GB avg = 0.014 KB total ukey num = 2.321278072 Billion total entry num = 1.700780094 Billion write speed all = 46.523989606 MB/sec (with seq num) write speed all = 45.482253156 MB/sec (without seq num) 2024/11/20-21:41:23.474094 140008652125760 [compaction_job.cc:1948] [default] [JOB 15013] Generated table #74642: 4640 keys, 1581913 bytes, temperature: kWarm 2024/11/20-21:41:23.474140 140008652125760 EVENT_LOG_v1 {"time_micros": 1732110083474115, "cf_name": "default", "job": 15013, "event": "table_file_creation", "file_number": 74642, "file_size": 1581913, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 979953899, "largest_seqno": 1180370846, "table_properties": {"data_size": 1512160, "index_size": 1472, "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": 92800, "raw_average_key_size": 20, "raw_value_size": 4719021, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 4640, "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": 1732110083, "oldest_key_time": 0, "file_creation_time": 1732110083, "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": 74642, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:41:23.483214 140008652125760 [compaction_job.cc:703] job-15013: subcompact[0], size: 0.087181 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-15013/att-00 [074640,074641,074642] 2024/11/20-21:41:23.507161 140008652125760 (Original Log Time 2024/11/20-21:41:20.144312) EVENT_LOG_v1 {"time_micros": 1732110080144272, "job": 15013, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [74559], "files_L3": [74586, 74587, 74482, 74594], "score": 0.93177, "input_data_size": 119821646, "oldest_snapshot_seqno": 1181459660} 2024/11/20-21:41:23.507164 140008652125760 (Original Log Time 2024/11/20-21:41:23.506710) [compaction_job.cc:2022] [default] [JOB 15013] Compacted 1@2 + 4@3 files to L3 => 87181186 bytes 2024/11/20-21:41:23.507165 140008652125760 (Original Log Time 2024/11/20-21:41:23.507104) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 3 0 0 0] max score 0.00, MB/sec: 35.9 rd, 26.1 wr, level 3, files in(1, 4) out(3 +0 blob) MB in(31.2, 83.1 +0.0 blob) out(83.1 +0.0 blob), read-write-amplify(6.3) write-amplify(2.7) OK, records in: 295132, records dropped: 31636 output_compression: Snappy 2024/11/20-21:41:23.507169 140008652125760 (Original Log Time 2024/11/20-21:41:23.507147) EVENT_LOG_v1 {"time_micros": 1732110083507126, "cf": "default", "job": 15013, "event": "compaction_finished", "compaction_time_micros": 3338904, "compaction_time_cpu_micros": 851126, "output_level": 3, "num_output_files": 3, "total_output_size": 87181186, "num_input_records": 295132, "num_output_records": 263496, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 64072366, "file_range_sync_nanos": 0, "file_fsync_nanos": 2548, "file_prepare_write_nanos": 5634, "lsm_state": [0, 0, 0, 3, 0, 0, 0]} 2024/11/20-21:41:23.637719 140008652125760 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":1732110079,"executesMs":3529,"compactionJobId":15013,"attempt":0,"compactionInputRawBytes":306053468,"compactionInputZipBytes":119821646,"compactionOutputRawBytes":0,"compactionOutputZipBytes":87181186,"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-d7c1ae8473f4129b19bac21feb61aa62-91c4f31f84cff458-00"}}, response = 2024/11/20-21:41:23.637808 140008652125760 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-15013/att-00: olev 3, work 3.529 s, result 7.694 ms, install 0.471 ms, input{raw 291.875 MiB zip 114.271 MiB}