2024/11/20-21:59:25.040431 140008266061376 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00: fork to child time = 0.009558 sec 2024/11/20-21:59:25.040981 140008266061376 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00 2024/11/20-21:59:25.047634 140008266061376 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00 2024/11/20-21:59:25.049334 140008266061376 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-21:59:25.049566 140008266061376 [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:59:25.097851 140008266061376 [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-16044/att-00/MANIFEST-049091 2024/11/20-21:59:25.154247 140008266061376 [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-16044/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 76509, last_sequence is 1204454634, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 76344 2024/11/20-21:59:25.154256 140008266061376 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-21:59:25.154332 140008266061376 [version_set.cc:5724] Creating manifest 76509 2024/11/20-21:59:25.187409 140008266061376 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-21:59:25.205530 140008266061376 [compaction_job.cc:2437] [default] [JOB 16044] Compacting 1@2 + 4@3 files to L3, score 0.96, subcompactions 1 : 1 2024/11/20-21:59:25.205543 140008266061376 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 12513 Base level 2, inputs: [76505(31MB)], [76407(40MB) 76408(40MB) 76409(40MB) 76438(40MB)] 2024/11/20-21:59:25.213010 140008266061376 [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:59:25.213034 140008266061376 [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:59:25.213068 140008266061376 [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:59:25.213078 140008266061376 [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:59:25.213087 140008266061376 [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:59:25.845312 140008266061376 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076510.sst) /dev/shm/ToplingTemp/Topling-1049427-5z1ZgX 2024/11/20-21:59:26.024706 140008266061376 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076510.sst): first pass time = 0.18's, 748.341'MB/sec 2024/11/20-21:59:26.536749 140008266061376 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076510.sst): old prealloc_size = 147639500, real_size = 40946224 2024/11/20-21:59:26.536881 140008266061376 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076510.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.02 avg-zval = 314.36 2024/11/20-21:59:26.537039 140008266061376 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076510.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:59:26.760384 140008266061376 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076510.sst): second pass time = 0.51's, 257.411'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.22's, 191.146'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2258.576'MB/sec (index lex order gen) rebuild zvType time = 0.17's, 0.188'MB/sec write SST data time = 0.05's, 830.094'MB/sec dict compress time = 4049068324.72's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 34628.415'MB/sec zip my value time = 0.51's, unzip length = 0.132'GB zip my value throughput = 257.411'MB/sec zip pipeline throughput = 257.411'MB/sec entries = 129427 avg-key = 20.00 avg-zkey = 1.75 avg-val = 1017.02 avg-zval = 314.36 usrkeys = 129427 avg-key = 12.00 avg-zkey = 1.75 avg-val = 1024.02 avg-zval = 314.36 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129427 bytes = 453008 } seq expand size = 905989 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0407 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 6.8494 value = 3.2352 dict = 1.00 all = 3.1399 } Zip/UnZip{ index = 0.1460 value = 0.3091 dict = 1.00 all = 0.3185 } ---------------------------- 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.321144003 Billion total entry num = 1.700646025 Billion write speed all = 42.950903160 MB/sec (with seq num) write speed all = 41.989027308 MB/sec (without seq num) 2024/11/20-21:59:26.814088 140008266061376 [compaction_job.cc:1948] [default] [JOB 16044] Generated table #76510: 129427 keys, 42746469 bytes, temperature: kWarm 2024/11/20-21:59:26.814169 140008266061376 EVENT_LOG_v1 {"time_micros": 1732111166814129, "cf_name": "default", "job": 16044, "event": "table_file_creation", "file_number": 76510, "file_size": 42746469, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 939479831, "largest_seqno": 1204369725, "table_properties": {"data_size": 40686944, "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": 131630022, "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": 1732111165, "oldest_key_time": 0, "file_creation_time": 1732111165, "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": 76510, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:59:26.856240 140008266061376 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076511.sst) /dev/shm/ToplingTemp/Topling-1049427-I8ceSU 2024/11/20-21:59:27.388080 140008266061376 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076511.sst): first pass time = 0.53's, 252.380'MB/sec 2024/11/20-21:59:27.968312 140008266061376 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076511.sst): old prealloc_size = 147639500, real_size = 40785264 2024/11/20-21:59:27.968442 140008266061376 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076511.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.93 raw-val = 0.1316 GB zip-val = 0.0405 GB avg-val =1016.98 avg-zval = 312.93 2024/11/20-21:59:27.968594 140008266061376 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076511.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:59:28.131841 140008266061376 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076511.sst): second pass time = 0.58's, 227.162'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 260.579'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2384.089'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.273'MB/sec write SST data time = 0.04's, 948.149'MB/sec dict compress time = 4049068324.72's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.379'MB, throughput = 29078.753'MB/sec zip my value time = 0.58's, unzip length = 0.132'GB zip my value throughput = 227.162'MB/sec zip pipeline throughput = 227.162'MB/sec entries = 129432 avg-key = 20.00 avg-zkey = 1.93 avg-val = 1016.98 avg-zval = 312.93 usrkeys = 129432 avg-key = 12.00 avg-zkey = 1.93 avg-val = 1023.98 avg-zval = 312.93 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129432 bytes = 469200 } seq expand size = 906024 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.0003 GB value = 0.0405 GB dict = 1.38 MB all = 0.0426 GB } UnZip/Zip{ index = 6.2115 value = 3.2499 dict = 1.00 all = 3.1505 } Zip/UnZip{ index = 0.1610 value = 0.3077 dict = 1.00 all = 0.3174 } ---------------------------- total value len = 563.330804 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.321273435 Billion total entry num = 1.700775457 Billion write speed all = 42.956291350 MB/sec (with seq num) write speed all = 41.994435552 MB/sec (without seq num) 2024/11/20-21:59:28.194858 140008266061376 [compaction_job.cc:1948] [default] [JOB 16044] Generated table #76511: 129432 keys, 42602611 bytes, temperature: kWarm 2024/11/20-21:59:28.194926 140008266061376 EVENT_LOG_v1 {"time_micros": 1732111168194895, "cf_name": "default", "job": 16044, "event": "table_file_creation", "file_number": 76511, "file_size": 42602611, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 908696188, "largest_seqno": 1204368975, "table_properties": {"data_size": 40502688, "index_size": 250048, "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": 131629823, "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_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732111166, "oldest_key_time": 0, "file_creation_time": 1732111166, "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": 76511, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:59:28.232468 140008266061376 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076512.sst) /dev/shm/ToplingTemp/Topling-1049427-20kWbV 2024/11/20-21:59:28.762712 140008266061376 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076512.sst): first pass time = 0.53's, 253.143'MB/sec 2024/11/20-21:59:29.318075 140008266061376 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076512.sst): old prealloc_size = 147639500, real_size = 40665056 2024/11/20-21:59:29.318218 140008266061376 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076512.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.98 raw-val = 0.1316 GB zip-val = 0.0404 GB avg-val =1016.98 avg-zval = 311.95 2024/11/20-21:59:29.318379 140008266061376 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076512.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:59:29.483569 140008266061376 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076512.sst): second pass time = 0.55's, 237.435'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 256.547'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2325.793'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.276'MB/sec write SST data time = 0.05's, 878.546'MB/sec dict compress time = 4049068324.72's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 25615.794'MB/sec zip my value time = 0.55's, unzip length = 0.132'GB zip my value throughput = 237.435'MB/sec zip pipeline throughput = 237.435'MB/sec entries = 129432 avg-key = 20.00 avg-zkey = 1.98 avg-val = 1016.98 avg-zval = 311.95 usrkeys = 129432 avg-key = 12.00 avg-zkey = 1.98 avg-val = 1023.37 avg-zval = 311.95 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 118188 bytes = 428448 } seq expand size = 827316 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.0404 GB dict = 1.38 MB all = 0.0425 GB } UnZip/Zip{ index = 6.0671 value = 3.2601 dict = 1.00 all = 3.1610 } Zip/UnZip{ index = 0.1648 value = 0.3067 dict = 1.00 all = 0.3164 } ---------------------------- total value len = 563.463261 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.321402867 Billion total entry num = 1.700904889 Billion write speed all = 42.961732731 MB/sec (with seq num) write speed all = 41.999895646 MB/sec (without seq num) 2024/11/20-21:59:29.534477 140008266061376 [compaction_job.cc:1948] [default] [JOB 16044] Generated table #76512: 129432 keys, 42461175 bytes, temperature: kWarm 2024/11/20-21:59:29.534534 140008266061376 EVENT_LOG_v1 {"time_micros": 1732111169534503, "cf_name": "default", "job": 16044, "event": "table_file_creation", "file_number": 76512, "file_size": 42461175, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1204369764, "table_properties": {"data_size": 40376528, "index_size": 256000, "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": 131629893, "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": 1732111168, "oldest_key_time": 0, "file_creation_time": 1732111168, "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": 76512, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:59:29.571885 140008266061376 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076513.sst) /dev/shm/ToplingTemp/Topling-1049427-jJv8GY 2024/11/20-21:59:30.103172 140008266061376 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076513.sst): first pass time = 0.53's, 252.644'MB/sec 2024/11/20-21:59:30.672083 140008266061376 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076513.sst): old prealloc_size = 147639500, real_size = 40978608 2024/11/20-21:59:30.672208 140008266061376 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076513.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-21:59:30.672357 140008266061376 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076513.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:59:30.832397 140008266061376 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076513.sst): second pass time = 0.57's, 231.729'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 266.823'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2190.372'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.275'MB/sec write SST data time = 0.04's, 1006.558'MB/sec dict compress time = 4049068324.72's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 45045.348'MB/sec zip my value time = 0.57's, unzip length = 0.132'GB zip my value throughput = 231.729'MB/sec zip pipeline throughput = 231.729'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.0319 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.595797 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.321532292 Billion total entry num = 1.701034314 Billion write speed all = 42.967187445 MB/sec (with seq num) write speed all = 42.005368874 MB/sec (without seq num) 2024/11/20-21:59:30.884427 140008266061376 [compaction_job.cc:1948] [default] [JOB 16044] Generated table #76513: 129425 keys, 42778780 bytes, temperature: kWarm 2024/11/20-21:59:30.884489 140008266061376 EVENT_LOG_v1 {"time_micros": 1732111170884459, "cf_name": "default", "job": 16044, "event": "table_file_creation", "file_number": 76513, "file_size": 42778780, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 952431592, "largest_seqno": 1204369591, "table_properties": {"data_size": 40725216, "index_size": 220864, "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": 131629878, "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": 1732111169, "oldest_key_time": 0, "file_creation_time": 1732111169, "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": 76513, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:59:30.923328 140008266061376 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076514.sst) /dev/shm/ToplingTemp/Topling-1049427-b3XISV 2024/11/20-21:59:30.929903 140008266061376 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076514.sst): first pass time = 0.01's, 300.397'MB/sec 2024/11/20-21:59:30.957696 140008266061376 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076514.sst): old prealloc_size = 147639500, real_size = 622760 2024/11/20-21:59:30.957728 140008266061376 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076514.sst): index type = UintIndex_IL_256_32 , store type = DictZipBlobStore usrkeys = 1895 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 0.32 raw-val = 0.0019 GB zip-val = 0.0006 GB avg-val =1017.46 avg-zval = 327.97 2024/11/20-21:59:30.960273 140008266061376 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00/076514.sst): second pass time = 0.03's, 70.599'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.00's, 257.611'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 32.050'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.259'MB/sec write SST data time = 0.00's, 930.878'MB/sec dict compress time = 4049068324.72's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.029'MB, throughput = 1280.528'MB/sec zip my value time = 0.03's, unzip length = 0.002'GB zip my value throughput = 70.599'MB/sec zip pipeline throughput = 70.599'MB/sec entries = 1895 avg-key = 20.00 avg-zkey = 0.34 avg-val = 1017.46 avg-zval = 327.97 usrkeys = 1895 avg-key = 12.00 avg-zkey = 0.34 avg-val = 1024.46 avg-zval = 327.97 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 1895 bytes = 6640 } seq expand size = 13265 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 = 35.5312 value = 3.1023 dict = 1.00 all = 2.9856 } Zip/UnZip{ index = 0.0281 value = 0.3223 dict = 1.00 all = 0.3349 } ---------------------------- total value len = 563.597739 GB avg = 0.331 KB (by entry num) total key len = 44.324799 GB avg = 0.026 KB total ukey len = 32.800377 GB avg = 0.014 KB total ukey num = 2.321534187 Billion total entry num = 1.701036209 Billion write speed all = 42.966938996 MB/sec (with seq num) write speed all = 42.005128048 MB/sec (without seq num) 2024/11/20-21:59:30.967673 140008266061376 [compaction_job.cc:1948] [default] [JOB 16044] Generated table #76514: 1895 keys, 658486 bytes, temperature: kWarm 2024/11/20-21:59:30.967715 140008266061376 EVENT_LOG_v1 {"time_micros": 1732111170967692, "cf_name": "default", "job": 16044, "event": "table_file_creation", "file_number": 76514, "file_size": 658486, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 1026185914, "largest_seqno": 1202861328, "table_properties": {"data_size": 621504, "index_size": 640, "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": 37900, "raw_average_key_size": 20, "raw_value_size": 1928092, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 1895, "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": 1732111170, "oldest_key_time": 0, "file_creation_time": 1732111170, "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": 76514, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:59:30.975135 140008266061376 [compaction_job.cc:703] job-16044: subcompact[0], size: 0.171248 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16044/att-00 [076510,076511,076512,076513,076514] 2024/11/20-21:59:31.007184 140008266061376 (Original Log Time 2024/11/20-21:59:25.205601) EVENT_LOG_v1 {"time_micros": 1732111165205556, "job": 16044, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [76505], "files_L3": [76407, 76408, 76409, 76438], "score": 0.959864, "input_data_size": 203359827, "oldest_snapshot_seqno": 1204453290} 2024/11/20-21:59:31.007187 140008266061376 (Original Log Time 2024/11/20-21:59:31.006639) [compaction_job.cc:2022] [default] [JOB 16044] Compacted 1@2 + 4@3 files to L3 => 171247521 bytes 2024/11/20-21:59:31.007189 140008266061376 (Original Log Time 2024/11/20-21:59:31.007130) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 35.2 rd, 29.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: 549679, records dropped: 30068 output_compression: Snappy 2024/11/20-21:59:31.007192 140008266061376 (Original Log Time 2024/11/20-21:59:31.007172) EVENT_LOG_v1 {"time_micros": 1732111171007150, "cf": "default", "job": 16044, "event": "compaction_finished", "compaction_time_micros": 5769538, "compaction_time_cpu_micros": 1516637, "output_level": 3, "num_output_files": 5, "total_output_size": 171247521, "num_input_records": 549679, "num_output_records": 519611, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 127207650, "file_range_sync_nanos": 0, "file_fsync_nanos": 4953, "file_prepare_write_nanos": 10258, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-21:59:31.146218 140008266061376 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":1732111165,"executesMs":5960,"compactionJobId":16044,"attempt":0,"compactionInputRawBytes":570021485,"compactionInputZipBytes":203359827,"compactionOutputRawBytes":0,"compactionOutputZipBytes":171247521,"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-5a9f69f7820ac7bee58fa5ef15bd2a90-8bf770ff23f1487d-00"}}, response = 2024/11/20-21:59:31.146267 140008266061376 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-16044/att-00: olev 3, work 5.960 s, result 5.911 ms, install 0.566 ms, input{raw 543.615 MiB zip 193.939 MiB}