2024/11/20-21:05:19.365889 140007921960512 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00: fork to child time = 0.008882 sec 2024/11/20-21:05:19.366396 140007921960512 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00 2024/11/20-21:05:19.371111 140007921960512 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00 2024/11/20-21:05:19.372756 140007921960512 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-21:05:19.372983 140007921960512 [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:05:19.419446 140007921960512 [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-12984/att-00/MANIFEST-049091 2024/11/20-21:05:19.469024 140007921960512 [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-12984/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 70865, last_sequence is 1134479067, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 70708 2024/11/20-21:05:19.469032 140007921960512 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-21:05:19.469118 140007921960512 [version_set.cc:5724] Creating manifest 70865 2024/11/20-21:05:19.503978 140007921960512 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-21:05:19.524281 140007921960512 [compaction_job.cc:2437] [default] [JOB 12984] Compacting 1@2 + 3@3 files to L3, score 0.90, subcompactions 1 : 1 2024/11/20-21:05:19.524292 140007921960512 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 10516 Base level 2, inputs: [70855(31MB)], [70789(40MB) 70790(39MB) 70791(40MB)] 2024/11/20-21:05:19.531363 140007921960512 [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:05:19.531387 140007921960512 [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:05:19.531406 140007921960512 [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:05:19.531414 140007921960512 [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:05:19.531423 140007921960512 [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:05:20.147924 140007921960512 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070866.sst) /dev/shm/ToplingTemp/Topling-987537-4Hl9S8 2024/11/20-21:05:20.387147 140007921960512 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070866.sst): first pass time = 0.24's, 561.177'MB/sec 2024/11/20-21:05:20.982432 140007921960512 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070866.sst): old prealloc_size = 147639500, real_size = 40964848 2024/11/20-21:05:20.982559 140007921960512 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070866.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129430 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.72 raw-val = 0.1316 GB zip-val = 0.0407 GB avg-val =1016.99 avg-zval = 314.53 2024/11/20-21:05:20.982711 140007921960512 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070866.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:05:21.156848 140007921960512 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070866.sst): second pass time = 0.59's, 221.363'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 245.168'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2065.836'MB/sec (index lex order gen) rebuild zvType time = 0.13's, 0.258'MB/sec write SST data time = 0.05's, 879.032'MB/sec dict compress time = 7810121794.61's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 28516.694'MB/sec zip my value time = 0.59's, unzip length = 0.132'GB zip my value throughput = 221.363'MB/sec zip pipeline throughput = 223.167'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.72 avg-val = 1016.99 avg-zval = 314.53 usrkeys = 129430 avg-key = 12.00 avg-zkey = 1.72 avg-val = 1023.60 avg-zval = 314.53 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 122124 bytes = 427456 } seq expand size = 854868 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0407 GB dict = 1.38 MB all = 0.0428 GB } UnZip/Zip{ index = 6.9676 value = 3.2334 dict = 1.00 all = 3.1389 } Zip/UnZip{ index = 0.1435 value = 0.3093 dict = 1.00 all = 0.3186 } ---------------------------- total value len = 563.198217 GB avg = 0.331 KB (by entry num) total key len = 44.316995 GB avg = 0.026 KB total ukey len = 32.795695 GB avg = 0.014 KB total ukey num = 2.321144006 Billion total entry num = 1.700646028 Billion write speed all = 55.741434716 MB/sec (with seq num) write speed all = 54.493117667 MB/sec (without seq num) 2024/11/20-21:05:21.210390 140007921960512 [compaction_job.cc:1948] [default] [JOB 12984] Generated table #70866: 129430 keys, 42759685 bytes, temperature: kWarm 2024/11/20-21:05:21.210466 140007921960512 EVENT_LOG_v1 {"time_micros": 1732107921210428, "cf_name": "default", "job": 12984, "event": "table_file_creation", "file_number": 70866, "file_size": 42759685, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1134403780, "table_properties": {"data_size": 40709408, "index_size": 222912, "index_partitions": 0, "top_level_index_size": 0, "index_key_is_user_key": 0, "index_value_is_delta_encoded": 0, "filter_size": 0, "raw_key_size": 2588600, "raw_average_key_size": 20, "raw_value_size": 131629545, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129430, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732107920, "oldest_key_time": 0, "file_creation_time": 1732107920, "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": 70866, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:05:21.271228 140007921960512 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070867.sst) /dev/shm/ToplingTemp/Topling-987537-S78Uo9 2024/11/20-21:05:21.792330 140007921960512 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070867.sst): first pass time = 0.52's, 257.586'MB/sec 2024/11/20-21:05:22.374799 140007921960512 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070867.sst): old prealloc_size = 147639500, real_size = 40429328 2024/11/20-21:05:22.374935 140007921960512 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070867.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129429 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.76 raw-val = 0.1316 GB zip-val = 0.0402 GB avg-val =1017.00 avg-zval = 310.36 2024/11/20-21:05:22.375002 140007921960512 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070867.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:05:22.538109 140007921960512 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070867.sst): second pass time = 0.58's, 226.311'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 256.380'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2056.671'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.273'MB/sec write SST data time = 0.04's, 941.140'MB/sec dict compress time = 7810121794.61's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 29662.275'MB/sec zip my value time = 0.58's, unzip length = 0.132'GB zip my value throughput = 226.311'MB/sec zip pipeline throughput = 226.311'MB/sec entries = 129429 avg-key = 20.00 avg-zkey = 1.76 avg-val = 1017.00 avg-zval = 310.36 usrkeys = 129429 avg-key = 12.00 avg-zkey = 1.76 avg-val = 1017.99 avg-zval = 310.36 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 18266 bytes = 63952 } seq expand size = 127862 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.0402 GB dict = 1.38 MB all = 0.0419 GB } UnZip/Zip{ index = 6.8322 value = 3.2769 dict = 1.00 all = 3.2063 } Zip/UnZip{ index = 0.1464 value = 0.3052 dict = 1.00 all = 0.3119 } ---------------------------- total value len = 563.329974 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 = 55.746696465 MB/sec (with seq num) write speed all = 54.498442607 MB/sec (without seq num) 2024/11/20-21:05:22.588473 140007921960512 [compaction_job.cc:1948] [default] [JOB 12984] Generated table #70867: 129429 keys, 41860943 bytes, temperature: kWarm 2024/11/20-21:05:22.588552 140007921960512 EVENT_LOG_v1 {"time_micros": 1732107922588520, "cf_name": "default", "job": 12984, "event": "table_file_creation", "file_number": 70867, "file_size": 41860943, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1134392771, "table_properties": {"data_size": 40169472, "index_size": 227328, "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": 2588580, "raw_average_key_size": 20, "raw_value_size": 131629781, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129429, "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": 1732107921, "oldest_key_time": 0, "file_creation_time": 1732107921, "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": 70867, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:05:22.631772 140007921960512 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070868.sst) /dev/shm/ToplingTemp/Topling-987537-t0fdo8 2024/11/20-21:05:23.136294 140007921960512 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070868.sst): first pass time = 0.50's, 266.053'MB/sec 2024/11/20-21:05:23.773094 140007921960512 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070868.sst): old prealloc_size = 147639500, real_size = 40790880 2024/11/20-21:05:23.773217 140007921960512 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070868.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129433 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.73 raw-val = 0.1316 GB zip-val = 0.0405 GB avg-val =1016.97 avg-zval = 313.17 2024/11/20-21:05:23.773329 140007921960512 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070868.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:05:23.935102 140007921960512 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070868.sst): second pass time = 0.64's, 206.947'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 262.057'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2232.216'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.275'MB/sec write SST data time = 0.04's, 962.536'MB/sec dict compress time = 0.01's, 122.884'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 38420.206'MB/sec zip my value time = 0.64's, unzip length = 0.132'GB zip my value throughput = 206.947'MB/sec zip pipeline throughput = 222.681'MB/sec entries = 129433 avg-key = 20.00 avg-zkey = 1.73 avg-val = 1016.97 avg-zval = 313.17 usrkeys = 129433 avg-key = 12.00 avg-zkey = 1.73 avg-val = 1021.42 avg-zval = 313.17 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 82319 bytes = 288128 } seq expand size = 576233 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.0405 GB dict = 1.38 MB all = 0.0424 GB } UnZip/Zip{ index = 6.9538 value = 3.2473 dict = 1.00 all = 3.1621 } Zip/UnZip{ index = 0.1438 value = 0.3079 dict = 1.00 all = 0.3162 } ---------------------------- total value len = 563.462180 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.321402868 Billion total entry num = 1.700904890 Billion write speed all = 55.751917435 MB/sec (with seq num) write speed all = 54.503728552 MB/sec (without seq num) 2024/11/20-21:05:23.986266 140007921960512 [compaction_job.cc:1948] [default] [JOB 12984] Generated table #70868: 129433 keys, 42446458 bytes, temperature: kWarm 2024/11/20-21:05:23.986324 140007921960512 EVENT_LOG_v1 {"time_micros": 1732107923986293, "cf_name": "default", "job": 12984, "event": "table_file_creation", "file_number": 70868, "file_size": 42446458, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1134403719, "table_properties": {"data_size": 40534992, "index_size": 223360, "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": 2588660, "raw_average_key_size": 20, "raw_value_size": 131629602, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129433, "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": 1732107922, "oldest_key_time": 0, "file_creation_time": 1732107922, "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": 70868, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:05:24.026020 140007921960512 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070869.sst) /dev/shm/ToplingTemp/Topling-987537-YifB15 2024/11/20-21:05:24.033821 140007921960512 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070869.sst): first pass time = 0.01's, 66.974'MB/sec 2024/11/20-21:05:24.057431 140007921960512 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070869.sst): old prealloc_size = 147639500, real_size = 174352 2024/11/20-21:05:24.057470 140007921960512 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070869.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 501 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 19.80 raw-val = 0.0005 GB zip-val = 0.0002 GB avg-val =1017.49 avg-zval = 327.54 2024/11/20-21:05:24.058304 140007921960512 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00/070869.sst): second pass time = 0.02's, 22.027'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.00's, 215.956'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 367.108'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.272'MB/sec write SST data time = 0.00's, 501.958'MB/sec dict compress time = 0.01's, 0.638'MB/sec z-dict build time = 0.00's, sample length = 0.007'MB, throughput = 338.440'MB/sec zip my value time = 0.02's, unzip length = 0.001'GB zip my value throughput = 22.027'MB/sec zip pipeline throughput = 22.027'MB/sec entries = 501 avg-key = 20.00 avg-zkey = 19.80 avg-val = 1017.49 avg-zval = 327.54 usrkeys = 501 avg-key = 12.00 avg-zkey = 19.80 avg-val = 1024.49 avg-zval = 327.54 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 501 bytes = 1776 } seq expand size = 3507 multi value expand size = 0 cnt WriteAppend = 10 UnZipSize{ index = 0.0000 GB value = 0.0005 GB dict = 0.01 MB all = 0.0005 GB } __ZipSize{ index = 0.0000 GB value = 0.0002 GB dict = 0.01 MB all = 0.0002 GB } UnZip/Zip{ index = 0.6060 value = 3.1065 dict = 1.00 all = 2.8232 } Zip/UnZip{ index = 1.6500 value = 0.3219 dict = 1.00 all = 0.3542 } ---------------------------- total value len = 563.462693 GB avg = 0.331 KB (by entry num) total key len = 44.322182 GB avg = 0.026 KB total ukey len = 32.798807 GB avg = 0.014 KB total ukey num = 2.321403369 Billion total entry num = 1.700905391 Billion write speed all = 55.751335236 MB/sec (with seq num) write speed all = 54.503160094 MB/sec (without seq num) 2024/11/20-21:05:24.064563 140007921960512 [compaction_job.cc:1948] [default] [JOB 12984] Generated table #70869: 501 keys, 184112 bytes, temperature: kWarm 2024/11/20-21:05:24.064605 140007921960512 EVENT_LOG_v1 {"time_micros": 1732107924064582, "cf_name": "default", "job": 12984, "event": "table_file_creation", "file_number": 70869, "file_size": 184112, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 994344384, "largest_seqno": 1134384027, "table_properties": {"data_size": 164096, "index_size": 9920, "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": 10020, "raw_average_key_size": 20, "raw_value_size": 509760, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 501, "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-FixedLenKeyIndex-DictZipBlobStore", "creation_time": 1732107924, "oldest_key_time": 0, "file_creation_time": 1732107924, "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": 70869, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-21:05:24.074303 140007921960512 [compaction_job.cc:703] job-12984: subcompact[0], size: 0.127251 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-12984/att-00 [070866,070867,070868,070869] 2024/11/20-21:05:24.106796 140007921960512 (Original Log Time 2024/11/20-21:05:19.524344) EVENT_LOG_v1 {"time_micros": 1732107919524303, "job": 12984, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [70855], "files_L3": [70789, 70790, 70791], "score": 0.902878, "input_data_size": 159794253, "oldest_snapshot_seqno": 1134478148} 2024/11/20-21:05:24.106799 140007921960512 (Original Log Time 2024/11/20-21:05:24.102784) [compaction_job.cc:2022] [default] [JOB 12984] Compacted 1@2 + 3@3 files to L3 => 127251198 bytes 2024/11/20-21:05:24.106800 140007921960512 (Original Log Time 2024/11/20-21:05:24.106747) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.00, MB/sec: 35.1 rd, 28.0 wr, level 3, files in(1, 3) out(4 +0 blob) MB in(31.2, 121.2 +0.0 blob) out(121.4 +0.0 blob), read-write-amplify(8.8) write-amplify(3.9) OK, records in: 420239, records dropped: 31446 output_compression: Snappy 2024/11/20-21:05:24.106804 140007921960512 (Original Log Time 2024/11/20-21:05:24.106784) EVENT_LOG_v1 {"time_micros": 1732107924106764, "cf": "default", "job": 12984, "event": "compaction_finished", "compaction_time_micros": 4549962, "compaction_time_cpu_micros": 1136709, "output_level": 3, "num_output_files": 4, "total_output_size": 127251198, "num_input_records": 420239, "num_output_records": 388793, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 91750741, "file_range_sync_nanos": 0, "file_fsync_nanos": 3776, "file_prepare_write_nanos": 6920, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/20-21:05:24.246514 140007921960512 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":1732107919,"executesMs":4730,"compactionJobId":12984,"attempt":0,"compactionInputRawBytes":435782378,"compactionInputZipBytes":159794253,"compactionOutputRawBytes":0,"compactionOutputZipBytes":127251198,"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-0151e4e051db043357aeb4ac87efad94-95d641aa0a5e76af-00"}}, response = 2024/11/20-21:05:24.246575 140007921960512 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-12984/att-00: olev 3, work 4.731 s, result 5.957 ms, install 4.031 ms, input{raw 415.594 MiB zip 152.392 MiB}