2024/11/20-13:18:14.956466 140257869399616 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00: fork to child time = 0.009895 sec 2024/11/20-13:18:14.957099 140257869399616 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00 2024/11/20-13:18:14.968564 140257869399616 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00 2024/11/20-13:18:14.974738 140257869399616 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-13:18:14.974980 140257869399616 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-13:18:15.020811 140257869399616 [version_set.cc:6211] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-07019/att-00/MANIFEST-019309 2024/11/20-13:18:15.073463 140257869399616 [version_set.cc:6254] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-07019/att-00/MANIFEST-019309 succeeded,manifest_file_number is 19309, next_file_number is 29607, last_sequence is 563495838, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 29432 2024/11/20-13:18:15.073469 140257869399616 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-13:18:15.073530 140257869399616 [version_set.cc:5724] Creating manifest 29607 2024/11/20-13:18:15.105967 140257869399616 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-13:18:15.126125 140257869399616 [compaction_job.cc:2437] [default] [JOB 7019] Compacting 1@2 + 5@3 files to L3, score 0.79, subcompactions 1 : 1 2024/11/20-13:18:15.126133 140257869399616 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 6479 Base level 2, inputs: [29603(27MB)], [29544(39MB) 29545(39MB) 29546(2320KB) 29506(38MB) 29507(39MB)] 2024/11/20-13:18:15.132381 140257869399616 [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-13:18:15.132399 140257869399616 [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-13:18:15.132414 140257869399616 [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-13:18:15.132420 140257869399616 [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-13:18:15.132428 140257869399616 [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-13:18:15.696254 140257869399616 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029608.sst) /dev/shm/ToplingTemp/Topling-226771-6loS3y 2024/11/20-13:18:16.295362 140257869399616 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029608.sst): first pass time = 0.60's, 224.046'MB/sec 2024/11/20-13:18:18.225193 140257869399616 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029608.sst): old prealloc_size = 147639500, real_size = 37539872 2024/11/20-13:18:18.225736 140257869399616 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029608.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 924566 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.94 raw-val = 0.1083 GB zip-val = 0.0355 GB avg-val = 117.17 avg-zval = 38.41 2024/11/20-13:18:18.226525 140257869399616 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029608.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-13:18:18.969037 140257869399616 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029608.sst): second pass time = 1.93's, 56.235'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.74's, 55.819'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3430.011'MB/sec (index lex order gen) rebuild zvType time = 0.62's, 0.373'MB/sec write SST data time = 0.12's, 337.159'MB/sec dict compress time = 8319100054.83's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 27869.704'MB/sec zip my value time = 1.93's, unzip length = 0.108'GB zip my value throughput = 56.235'MB/sec zip pipeline throughput = 188.074'MB/sec entries = 924566 avg-key = 28.00 avg-zkey = 1.94 avg-val = 117.17 avg-zval = 38.41 usrkeys = 924566 avg-key = 20.00 avg-zkey = 1.94 avg-val = 124.17 avg-zval = 38.41 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 924566 bytes = 3120432 } seq expand size = 6471962 multi value expand size = 0 cnt WriteAppend = 128 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0355 GB dict = 1.08 MB all = 0.0415 GB } UnZip/Zip{ index = 10.3045 value = 3.0503 dict = 1.00 all = 3.2326 } Zip/UnZip{ index = 0.0970 value = 0.3278 dict = 1.00 all = 0.3093 } ---------------------------- total value len = 0.114802 GB avg = 0.124 KB (by entry num) total key len = 0.025888 GB avg = 0.028 KB total ukey len = 0.018491 GB avg = 0.020 KB total ukey num = 0.000924566 Billion total entry num = 0.000924566 Billion write speed all = 0.008664690 MB/sec (with seq num) write speed all = 0.008209159 MB/sec (without seq num) 2024/11/20-13:18:19.021107 140257869399616 [compaction_job.cc:1948] [default] [JOB 7019] Generated table #29608: 924566 keys, 41520128 bytes, temperature: kWarm 2024/11/20-13:18:19.021200 140257869399616 EVENT_LOG_v1 {"time_micros": 1732079899021159, "cf_name": "default", "job": 7019, "event": "table_file_creation", "file_number": 29608, "file_size": 41520128, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 431720469, "largest_seqno": 563406662, "table_properties": {"data_size": 35514064, "index_size": 1794496, "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": 25887848, "raw_average_key_size": 28, "raw_value_size": 108329896, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 924566, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732079895, "oldest_key_time": 0, "file_creation_time": 1732079895, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 29608, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-13:18:19.062840 140257869399616 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029609.sst) /dev/shm/ToplingTemp/Topling-226771-qOr7Bx 2024/11/20-13:18:19.917267 140257869399616 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029609.sst): first pass time = 0.85's, 157.092'MB/sec 2024/11/20-13:18:21.728526 140257869399616 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029609.sst): old prealloc_size = 147639500, real_size = 37899968 2024/11/20-13:18:21.729108 140257869399616 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029609.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 924354 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.93 raw-val = 0.1083 GB zip-val = 0.0359 GB avg-val = 117.20 avg-zval = 38.82 2024/11/20-13:18:21.729802 140257869399616 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029609.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-13:18:22.729952 140257869399616 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029609.sst): second pass time = 1.81's, 59.836'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.00's, 41.501'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3164.788'MB/sec (index lex order gen) rebuild zvType time = 0.76's, 0.305'MB/sec write SST data time = 0.24's, 171.191'MB/sec dict compress time = 8319100054.83's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.082'MB, throughput = 28157.959'MB/sec zip my value time = 1.81's, unzip length = 0.108'GB zip my value throughput = 59.836'MB/sec zip pipeline throughput = 173.044'MB/sec entries = 924354 avg-key = 28.00 avg-zkey = 1.93 avg-val = 117.20 avg-zval = 38.82 usrkeys = 924354 avg-key = 20.00 avg-zkey = 1.93 avg-val = 123.39 avg-zval = 38.82 TagRS{ kinds = RS_Key0_TagN bytes = 144520 } TagArray{ size = 816895 bytes = 2654928 } seq expand size = 5718265 multi value expand size = 0 cnt WriteAppend = 17 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0359 GB dict = 1.08 MB all = 0.0416 GB } UnZip/Zip{ index = 10.3776 value = 3.0188 dict = 1.00 all = 3.2295 } Zip/UnZip{ index = 0.0964 value = 0.3313 dict = 1.00 all = 0.3096 } ---------------------------- total value len = 0.228856 GB avg = 0.124 KB (by entry num) total key len = 0.051770 GB avg = 0.028 KB total ukey len = 0.036978 GB avg = 0.020 KB total ukey num = 0.001848920 Billion total entry num = 0.001848920 Billion write speed all = 0.017278967 MB/sec (with seq num) write speed all = 0.016368219 MB/sec (without seq num) 2024/11/20-13:18:22.780366 140257869399616 [compaction_job.cc:1948] [default] [JOB 7019] Generated table #29609: 924354 keys, 41559464 bytes, temperature: kWarm 2024/11/20-13:18:22.780430 140257869399616 EVENT_LOG_v1 {"time_micros": 1732079902780400, "cf_name": "default", "job": 7019, "event": "table_file_creation", "file_number": 29609, "file_size": 41559464, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 563406780, "table_properties": {"data_size": 35887280, "index_size": 1781440, "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": 25881912, "raw_average_key_size": 28, "raw_value_size": 108335948, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 924354, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732079899, "oldest_key_time": 0, "file_creation_time": 1732079899, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 29609, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-13:18:22.817222 140257869399616 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029610.sst) /dev/shm/ToplingTemp/Topling-226771-bqftfz 2024/11/20-13:18:23.831302 140257869399616 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029610.sst): first pass time = 1.01's, 132.359'MB/sec 2024/11/20-13:18:25.530358 140257869399616 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029610.sst): old prealloc_size = 147639500, real_size = 37161136 2024/11/20-13:18:25.530897 140257869399616 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029610.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 925471 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.94 raw-val = 0.1083 GB zip-val = 0.0351 GB avg-val = 117.03 avg-zval = 37.96 2024/11/20-13:18:25.531363 140257869399616 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029610.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-13:18:26.385842 140257869399616 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029610.sst): second pass time = 1.70's, 63.771'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.86's, 46.309'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3489.724'MB/sec (index lex order gen) rebuild zvType time = 0.73's, 0.317'MB/sec write SST data time = 0.12's, 319.281'MB/sec dict compress time = 8319100054.83's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 32035.876'MB/sec zip my value time = 1.70's, unzip length = 0.108'GB zip my value throughput = 63.771'MB/sec zip pipeline throughput = 63.771'MB/sec entries = 925471 avg-key = 28.00 avg-zkey = 1.94 avg-val = 117.03 avg-zval = 37.96 usrkeys = 925471 avg-key = 20.00 avg-zkey = 1.94 avg-val = 120.28 avg-zval = 37.96 TagRS{ kinds = RS_Key0_TagN bytes = 144720 } TagArray{ size = 430060 bytes = 1451472 } seq expand size = 3010420 multi value expand size = 0 cnt WriteAppend = 33 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0351 GB dict = 1.08 MB all = 0.0396 GB } UnZip/Zip{ index = 10.3057 value = 3.0827 dict = 1.00 all = 3.3880 } Zip/UnZip{ index = 0.0970 value = 0.3244 dict = 1.00 all = 0.2952 } ---------------------------- total value len = 0.340171 GB avg = 0.123 KB (by entry num) total key len = 0.077683 GB avg = 0.028 KB total ukey len = 0.055488 GB avg = 0.020 KB total ukey num = 0.002774391 Billion total entry num = 0.002774391 Billion write speed all = 0.025722730 MB/sec (with seq num) write speed all = 0.024356417 MB/sec (without seq num) 2024/11/20-13:18:26.444315 140257869399616 [compaction_job.cc:1948] [default] [JOB 7019] Generated table #29610: 925471 keys, 39615977 bytes, temperature: kWarm 2024/11/20-13:18:26.444375 140257869399616 EVENT_LOG_v1 {"time_micros": 1732079906444345, "cf_name": "default", "job": 7019, "event": "table_file_creation", "file_number": 29610, "file_size": 39615977, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 563406120, "table_properties": {"data_size": 35133536, "index_size": 1796032, "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": 25913188, "raw_average_key_size": 28, "raw_value_size": 108304662, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 925471, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732079902, "oldest_key_time": 0, "file_creation_time": 1732079902, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 29610, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-13:18:26.490263 140257869399616 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029611.sst) /dev/shm/ToplingTemp/Topling-226771-qvJabx 2024/11/20-13:18:27.516185 140257869399616 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029611.sst): first pass time = 1.03's, 130.832'MB/sec 2024/11/20-13:18:28.998772 140257869399616 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029611.sst): old prealloc_size = 147639500, real_size = 38086624 2024/11/20-13:18:28.999449 140257869399616 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029611.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 923229 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1084 GB zip-val = 0.0361 GB avg-val = 117.38 avg-zval = 39.10 2024/11/20-13:18:29.000245 140257869399616 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029611.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-13:18:29.985465 140257869399616 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029611.sst): second pass time = 1.48's, 73.135'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.99's, 42.363'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2770.224'MB/sec (index lex order gen) rebuild zvType time = 0.77's, 0.300'MB/sec write SST data time = 0.22's, 192.427'MB/sec dict compress time = 8319100054.83's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.083'MB, throughput = 22083.741'MB/sec zip my value time = 1.48's, unzip length = 0.108'GB zip my value throughput = 73.135'MB/sec zip pipeline throughput = 73.135'MB/sec entries = 923229 avg-key = 28.00 avg-zkey = 1.90 avg-val = 117.38 avg-zval = 39.10 usrkeys = 923229 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.96 avg-zval = 39.10 TagRS{ kinds = RS_Key0_TagN bytes = 144360 } TagArray{ size = 867559 bytes = 2711136 } seq expand size = 6072913 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0185 GB value = 0.1084 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0361 GB dict = 1.08 MB all = 0.0418 GB } UnZip/Zip{ index = 10.5126 value = 3.0019 dict = 1.00 all = 3.2110 } Zip/UnZip{ index = 0.0951 value = 0.3331 dict = 1.00 all = 0.3114 } ---------------------------- total value len = 0.454612 GB avg = 0.123 KB (by entry num) total key len = 0.103533 GB avg = 0.028 KB total ukey len = 0.073952 GB avg = 0.020 KB total ukey num = 0.003697620 Billion total entry num = 0.003697620 Billion write speed all = 0.034351294 MB/sec (with seq num) write speed all = 0.032530719 MB/sec (without seq num) 2024/11/20-13:18:30.036794 140257869399616 [compaction_job.cc:1948] [default] [JOB 7019] Generated table #29611: 923229 keys, 41799946 bytes, temperature: kWarm 2024/11/20-13:18:30.036857 140257869399616 EVENT_LOG_v1 {"time_micros": 1732079910036827, "cf_name": "default", "job": 7019, "event": "table_file_creation", "file_number": 29611, "file_size": 41799946, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 563406165, "table_properties": {"data_size": 36099216, "index_size": 1756416, "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": 25850412, "raw_average_key_size": 28, "raw_value_size": 108367442, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 923229, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732079906, "oldest_key_time": 0, "file_creation_time": 1732079906, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 29611, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-13:18:30.083174 140257869399616 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029612.sst) /dev/shm/ToplingTemp/Topling-226771-IQRRNz 2024/11/20-13:18:30.178358 140257869399616 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029612.sst): first pass time = 0.10's, 270.663'MB/sec 2024/11/20-13:18:30.405838 140257869399616 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029612.sst): old prealloc_size = 147639500, real_size = 7460880 2024/11/20-13:18:30.405993 140257869399616 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029612.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 177771 prefix = 4 raw-key = 0.0028 GB zip-key = 0.0003 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.0208 GB zip-val = 0.0071 GB avg-val = 116.87 avg-zval = 39.80 2024/11/20-13:18:30.406114 140257869399616 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029612.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.026 GB 2024/11/20-13:18:30.545998 140257869399616 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00/029612.sst): second pass time = 0.23's, 91.597'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.14's, 56.473'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2612.325'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.386'MB/sec write SST data time = 0.02's, 317.825'MB/sec dict compress time = 8529667479.67's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.218'MB, throughput = 7096.952'MB/sec zip my value time = 0.23's, unzip length = 0.021'GB zip my value throughput = 91.597'MB/sec zip pipeline throughput = 91.597'MB/sec entries = 177771 avg-key = 28.00 avg-zkey = 1.92 avg-val = 116.87 avg-zval = 39.80 usrkeys = 177771 avg-key = 20.00 avg-zkey = 1.92 avg-val = 120.15 avg-zval = 39.80 TagRS{ kinds = RS_Key0_TagN bytes = 27880 } TagArray{ size = 83301 bytes = 249920 } seq expand size = 583107 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0036 GB value = 0.0208 GB dict = 0.22 MB all = 0.0258 GB } __ZipSize{ index = 0.0003 GB value = 0.0071 GB dict = 0.22 MB all = 0.0079 GB } UnZip/Zip{ index = 10.4033 value = 2.9367 dict = 1.00 all = 3.2536 } Zip/UnZip{ index = 0.0961 value = 0.3405 dict = 1.00 all = 0.3074 } ---------------------------- total value len = 0.475970 GB avg = 0.123 KB (by entry num) total key len = 0.108511 GB avg = 0.028 KB total ukey len = 0.077508 GB avg = 0.020 KB total ukey num = 0.003875391 Billion total entry num = 0.003875391 Billion write speed all = 0.035970945 MB/sec (with seq num) write speed all = 0.034062908 MB/sec (without seq num) 2024/11/20-13:18:30.561212 140257869399616 [compaction_job.cc:1948] [default] [JOB 7019] Generated table #29612: 177771 keys, 7915469 bytes, temperature: kWarm 2024/11/20-13:18:30.561264 140257869399616 EVENT_LOG_v1 {"time_micros": 1732079910561237, "cf_name": "default", "job": 7019, "event": "table_file_creation", "file_number": 29612, "file_size": 7915469, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 561882856, "table_properties": {"data_size": 7074496, "index_size": 341760, "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": 4977588, "raw_average_key_size": 28, "raw_value_size": 20775794, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 177771, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732079910, "oldest_key_time": 0, "file_creation_time": 1732079910, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 29612, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-13:18:30.573704 140257869399616 [compaction_job.cc:703] job-07019: subcompact[0], size: 0.172411 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-07019/att-00 [029608,029609,029610,029611,029612] 2024/11/20-13:18:30.617078 140257869399616 (Original Log Time 2024/11/20-13:18:15.126162) EVENT_LOG_v1 {"time_micros": 1732079895126140, "job": 7019, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [29603], "files_L3": [29544, 29545, 29546, 29506, 29507], "score": 0.79189, "input_data_size": 195351194, "oldest_snapshot_seqno": 563495838} 2024/11/20-13:18:30.617081 140257869399616 (Original Log Time 2024/11/20-13:18:30.611642) [compaction_job.cc:2022] [default] [JOB 7019] Compacted 1@2 + 5@3 files to L3 => 172410984 bytes 2024/11/20-13:18:30.617083 140257869399616 (Original Log Time 2024/11/20-13:18:30.616999) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 12.6 rd, 11.2 wr, level 3, files in(1, 5) out(5 +0 blob) MB in(27.2, 159.1 +0.0 blob) out(164.4 +0.0 blob), read-write-amplify(12.9) write-amplify(6.0) OK, records in: 3989937, records dropped: 114546 output_compression: Snappy 2024/11/20-13:18:30.617087 140257869399616 (Original Log Time 2024/11/20-13:18:30.617055) EVENT_LOG_v1 {"time_micros": 1732079910617021, "cf": "default", "job": 7019, "event": "compaction_finished", "compaction_time_micros": 15447550, "compaction_time_cpu_micros": 6111236, "output_level": 3, "num_output_files": 5, "total_output_size": 172410984, "num_input_records": 3989937, "num_output_records": 3875391, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 136457829, "file_range_sync_nanos": 0, "file_fsync_nanos": 4255, "file_prepare_write_nanos": 14790, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-13:18:30.731612 140257869399616 DEBG dcompact_worker.cpp:240: HttpPost: 200 OK: url = http://nlb-7zny4kaa1poal01o64.cn-shenzhen.nlb.aliyuncs.com:8443, body = {"instanceId":"nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137","labourId":"","dbId":"d89b4006-2803-486e-b7a2-759bcf348921","dbStarts":1732076400,"starts":1732079894,"executesMs":15646,"compactionJobId":7019,"attempt":0,"compactionInputRawBytes":578890222,"compactionInputZipBytes":195351194,"compactionOutputRawBytes":0,"compactionOutputZipBytes":172410984,"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-415d3752d1f1bb3374117a02e4d5d909-e6932f9ac4d5f126-00"}}, response = 2024/11/20-13:18:30.731700 140257869399616 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-07019/att-00: olev 3, work 15.646 s, result 8.615 ms, install 5.459 ms, input{raw 552.073 MiB zip 186.301 MiB}