2024/11/20-23:40:49.082917 140008106600000 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00: fork to child time = 0.009647 sec 2024/11/20-23:40:49.083497 140008106600000 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00 2024/11/20-23:40:49.090800 140008106600000 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00 2024/11/20-23:40:49.092577 140008106600000 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-23:40:49.092882 140008106600000 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-23:40:49.143022 140008106600000 [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-21514/att-00/MANIFEST-049091 2024/11/20-23:40:49.201890 140008106600000 [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-21514/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 86595, last_sequence is 1326060175, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 86450 2024/11/20-23:40:49.201903 140008106600000 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-23:40:49.201978 140008106600000 [version_set.cc:5724] Creating manifest 86595 2024/11/20-23:40:49.233698 140008106600000 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-23:40:49.251690 140008106600000 [compaction_job.cc:2437] [default] [JOB 21514] Compacting 1@2 + 5@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/20-23:40:49.251702 140008106600000 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 16091 Base level 2, inputs: [86579(18MB)], [86458(40MB) 86473(40MB) 86474(40MB) 86475(39MB) 86476(6039KB)] 2024/11/20-23:40:49.257541 140008106600000 [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-23:40:49.257565 140008106600000 [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-23:40:49.257585 140008106600000 [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-23:40:49.257593 140008106600000 [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-23:40:49.257602 140008106600000 [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-23:40:49.744686 140008106600000 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086596.sst) /dev/shm/ToplingTemp/Topling-1160511-tZoKMy 2024/11/20-23:40:49.914659 140008106600000 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086596.sst): first pass time = 0.17's, 789.856'MB/sec 2024/11/20-23:40:51.275582 140008106600000 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086596.sst): old prealloc_size = 147639500, real_size = 40648288 2024/11/20-23:40:51.275741 140008106600000 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086596.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 124592 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.0404 GB avg-val =1056.49 avg-zval = 324.28 2024/11/20-23:40:51.275905 140008106600000 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086596.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-23:40:51.481863 140008106600000 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086596.sst): second pass time = 1.36's, 96.790'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.21's, 204.775'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1715.556'MB/sec (index lex order gen) rebuild zvType time = 0.16's, 0.198'MB/sec write SST data time = 0.05's, 865.291'MB/sec dict compress time = 2827527657.54's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 32828.625'MB/sec zip my value time = 1.36's, unzip length = 0.132'GB zip my value throughput = 96.790'MB/sec zip pipeline throughput = 263.728'MB/sec entries = 129428 avg-key = 20.00 avg-zkey = 1.66 avg-val = 1017.01 avg-zval = 312.16 usrkeys = 124592 avg-key = 12.00 avg-zkey = 1.72 avg-val = 1060.08 avg-zval = 324.28 TagRS{ kinds = RS_KeyN_TagN bytes = 42528 } TagArray{ size = 56978 bytes = 206560 } seq expand size = 408581 multi value expand size = 38660 cnt WriteAppend = 12 UnZipSize{ index = 0.0015 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0404 GB dict = 1.38 MB all = 0.0422 GB } UnZip/Zip{ index = 6.9672 value = 3.2580 dict = 1.00 all = 3.1771 } Zip/UnZip{ index = 0.1435 value = 0.3069 dict = 1.00 all = 0.3148 } ---------------------------- total value len = 563.197809 GB avg = 0.331 KB (by entry num) total key len = 44.316995 GB avg = 0.026 KB total ukey len = 32.795637 GB avg = 0.014 KB total ukey num = 2.321139168 Billion total entry num = 1.700646026 Billion write speed all = 30.031677329 MB/sec (with seq num) write speed all = 29.359124136 MB/sec (without seq num) 2024/11/20-23:40:51.533625 140008106600000 [compaction_job.cc:1948] [default] [JOB 21514] Generated table #86596: 129428 keys, 42245983 bytes, temperature: kWarm 2024/11/20-23:40:51.533718 140008106600000 EVENT_LOG_v1 {"time_micros": 1732117251533676, "cf_name": "default", "job": 21514, "event": "table_file_creation", "file_number": 86596, "file_size": 42245983, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1325496206, "table_properties": {"data_size": 40402384, "index_size": 214592, "index_partitions": 0, "top_level_index_size": 0, "index_key_is_user_key": 0, "index_value_is_delta_encoded": 0, "filter_size": 0, "raw_key_size": 2588560, "raw_average_key_size": 20, "raw_value_size": 131629817, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129428, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_KeyN_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732117249, "oldest_key_time": 0, "file_creation_time": 1732117249, "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": 86596, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:40:51.570302 140008106600000 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086597.sst) /dev/shm/ToplingTemp/Topling-1160511-VOhT3B 2024/11/20-23:40:52.170720 140008106600000 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086597.sst): first pass time = 0.60's, 223.556'MB/sec 2024/11/20-23:40:52.763059 140008106600000 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086597.sst): old prealloc_size = 147639500, real_size = 40687376 2024/11/20-23:40:52.763189 140008106600000 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086597.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 120333 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.80 raw-val = 0.1316 GB zip-val = 0.0404 GB avg-val =1093.87 avg-zval = 336.07 2024/11/20-23:40:52.763338 140008106600000 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086597.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-23:40:52.951008 140008106600000 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086597.sst): second pass time = 0.59's, 222.554'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.19's, 225.684'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1857.272'MB/sec (index lex order gen) rebuild zvType time = 0.14's, 0.218'MB/sec write SST data time = 0.05's, 850.482'MB/sec dict compress time = 2827527657.54's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 39604.760'MB/sec zip my value time = 0.59's, unzip length = 0.132'GB zip my value throughput = 222.554'MB/sec zip pipeline throughput = 222.554'MB/sec entries = 129433 avg-key = 20.00 avg-zkey = 1.67 avg-val = 1016.97 avg-zval = 312.45 usrkeys = 120333 avg-key = 12.00 avg-zkey = 1.80 avg-val = 1100.04 avg-zval = 336.07 TagRS{ kinds = RS_KeyN_TagN bytes = 42464 } TagArray{ size = 92978 bytes = 337056 } seq expand size = 669176 multi value expand size = 72788 cnt WriteAppend = 13 UnZipSize{ index = 0.0014 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0404 GB dict = 1.38 MB all = 0.0424 GB } UnZip/Zip{ index = 6.6792 value = 3.2549 dict = 1.00 all = 3.1643 } Zip/UnZip{ index = 0.1497 value = 0.3072 dict = 1.00 all = 0.3160 } ---------------------------- total value len = 563.330180 GB avg = 0.331 KB (by entry num) total key len = 44.319584 GB avg = 0.026 KB total ukey len = 32.797081 GB avg = 0.014 KB total ukey num = 2.321259501 Billion total entry num = 1.700775459 Billion write speed all = 30.036167495 MB/sec (with seq num) write speed all = 29.363611959 MB/sec (without seq num) 2024/11/20-23:40:53.003509 140008106600000 [compaction_job.cc:1948] [default] [JOB 21514] Generated table #86597: 129433 keys, 42416401 bytes, temperature: kWarm 2024/11/20-23:40:53.003576 140008106600000 EVENT_LOG_v1 {"time_micros": 1732117253003545, "cf_name": "default", "job": 21514, "event": "table_file_creation", "file_number": 86597, "file_size": 42416401, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1325496676, "table_properties": {"data_size": 40440896, "index_size": 216192, "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": 131629146, "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_KeyN_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732117251, "oldest_key_time": 0, "file_creation_time": 1732117251, "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": 86597, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:40:53.039425 140008106600000 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086598.sst) /dev/shm/ToplingTemp/Topling-1160511-5BzRnD 2024/11/20-23:40:53.647545 140008106600000 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086598.sst): first pass time = 0.61's, 220.723'MB/sec 2024/11/20-23:40:54.751289 140008106600000 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086598.sst): old prealloc_size = 147639500, real_size = 40740432 2024/11/20-23:40:54.751462 140008106600000 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086598.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 115251 prefix = 4 raw-key = 0.0009 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.75 raw-val = 0.1316 GB zip-val = 0.0405 GB avg-val =1142.12 avg-zval = 351.49 2024/11/20-23:40:54.751633 140008106600000 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086598.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0002 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-23:40:55.071964 140008106600000 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086598.sst): second pass time = 1.10's, 119.356'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.32's, 132.438'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1578.293'MB/sec (index lex order gen) rebuild zvType time = 0.25's, 0.113'MB/sec write SST data time = 0.07's, 643.254'MB/sec dict compress time = 2827527657.54's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 45807.432'MB/sec zip my value time = 1.10's, unzip length = 0.132'GB zip my value throughput = 119.356'MB/sec zip pipeline throughput = 180.610'MB/sec entries = 129432 avg-key = 20.00 avg-zkey = 1.56 avg-val = 1016.98 avg-zval = 312.98 usrkeys = 115251 avg-key = 12.00 avg-zkey = 1.75 avg-val = 1149.00 avg-zval = 351.49 TagRS{ kinds = RS_KeyN_TagN bytes = 42384 } TagArray{ size = 93019 bytes = 337216 } seq expand size = 679717 multi value expand size = 113440 cnt WriteAppend = 13 UnZipSize{ index = 0.0014 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.0425 GB } UnZip/Zip{ index = 6.8558 value = 3.2493 dict = 1.00 all = 3.1602 } Zip/UnZip{ index = 0.1459 value = 0.3078 dict = 1.00 all = 0.3164 } ---------------------------- total value len = 563.462603 GB avg = 0.331 KB (by entry num) total key len = 44.322172 GB avg = 0.026 KB total ukey len = 32.798464 GB avg = 0.014 KB total ukey num = 2.321374752 Billion total entry num = 1.700904891 Billion write speed all = 30.039691809 MB/sec (with seq num) write speed all = 29.367155599 MB/sec (without seq num) 2024/11/20-23:40:55.123132 140008106600000 [compaction_job.cc:1948] [default] [JOB 21514] Generated table #86598: 129432 keys, 42471117 bytes, temperature: kWarm 2024/11/20-23:40:55.123197 140008106600000 EVENT_LOG_v1 {"time_micros": 1732117255123166, "cf_name": "default", "job": 21514, "event": "table_file_creation", "file_number": 86598, "file_size": 42471117, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1325496677, "table_properties": {"data_size": 40509696, "index_size": 201728, "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": 131629917, "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_KeyN_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732117253, "oldest_key_time": 0, "file_creation_time": 1732117253, "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": 86598, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:40:55.161197 140008106600000 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086599.sst) /dev/shm/ToplingTemp/Topling-1160511-T7EbhA 2024/11/20-23:40:55.647955 140008106600000 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086599.sst): first pass time = 0.49's, 275.768'MB/sec 2024/11/20-23:40:56.218028 140008106600000 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086599.sst): old prealloc_size = 147639500, real_size = 40408864 2024/11/20-23:40:56.218167 140008106600000 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086599.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129396 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.0402 GB avg-val =1017.26 avg-zval = 310.32 2024/11/20-23:40:56.218249 140008106600000 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086599.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-23:40:56.382596 140008106600000 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086599.sst): second pass time = 0.57's, 231.219'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 254.300'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2274.574'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.273'MB/sec write SST data time = 0.05's, 912.385'MB/sec dict compress time = 2827527657.54's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 25422.782'MB/sec zip my value time = 0.57's, unzip length = 0.132'GB zip my value throughput = 231.219'MB/sec zip pipeline throughput = 231.219'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.72 avg-val = 1017.00 avg-zval = 310.24 usrkeys = 129396 avg-key = 12.00 avg-zkey = 1.72 avg-val = 1017.97 avg-zval = 310.32 TagRS{ kinds = RS_KeyN_TagN bytes = 42608 } TagArray{ size = 13022 bytes = 47216 } seq expand size = 91348 multi value expand size = 272 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.0402 GB dict = 1.38 MB all = 0.0418 GB } UnZip/Zip{ index = 6.9898 value = 3.2781 dict = 1.00 all = 3.2074 } Zip/UnZip{ index = 0.1431 value = 0.3051 dict = 1.00 all = 0.3118 } ---------------------------- total value len = 563.594325 GB avg = 0.331 KB (by entry num) total key len = 44.324761 GB avg = 0.026 KB total ukey len = 32.800017 GB avg = 0.014 KB total ukey num = 2.321504148 Billion total entry num = 1.701034321 Billion write speed all = 30.044383855 MB/sec (with seq num) write speed all = 29.371840035 MB/sec (without seq num) 2024/11/20-23:40:56.435583 140008106600000 [compaction_job.cc:1948] [default] [JOB 21514] Generated table #86599: 129430 keys, 41846200 bytes, temperature: kWarm 2024/11/20-23:40:56.435642 140008106600000 EVENT_LOG_v1 {"time_micros": 1732117256435613, "cf_name": "default", "job": 21514, "event": "table_file_creation", "file_number": 86599, "file_size": 41846200, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1325485996, "table_properties": {"data_size": 40154192, "index_size": 222144, "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": 131629807, "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_KeyN_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732117255, "oldest_key_time": 0, "file_creation_time": 1732117255, "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": 86599, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:40:56.471744 140008106600000 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086600.sst) /dev/shm/ToplingTemp/Topling-1160511-a9PDnD 2024/11/20-23:40:56.584480 140008106600000 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086600.sst): first pass time = 0.11's, 280.610'MB/sec 2024/11/20-23:40:56.817691 140008106600000 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086600.sst): old prealloc_size = 147639500, real_size = 9672672 2024/11/20-23:40:56.817760 140008106600000 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086600.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 30485 prefix = 4 raw-key = 0.0002 GB zip-key = 0.0001 GB avg-key = 8.00 avg-zkey = 1.84 raw-val = 0.0310 GB zip-val = 0.0096 GB avg-val =1017.40 avg-zval = 315.19 2024/11/20-23:40:56.817816 140008106600000 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086600.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0001 GB, waited 0.000 sec, Key+Value = 0.032 GB 2024/11/20-23:40:56.860824 140008106600000 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00/086600.sst): second pass time = 0.23's, 133.367'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.04's, 232.641'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1123.683'MB/sec (index lex order gen) rebuild zvType time = 0.03's, 0.257'MB/sec write SST data time = 0.01's, 747.761'MB/sec dict compress time = 8529667479.67's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.307'MB, throughput = 9665.649'MB/sec zip my value time = 0.23's, unzip length = 0.031'GB zip my value throughput = 133.367'MB/sec zip pipeline throughput = 133.367'MB/sec entries = 30498 avg-key = 20.00 avg-zkey = 1.84 avg-val = 1016.97 avg-zval = 315.06 usrkeys = 30485 avg-key = 12.00 avg-zkey = 1.84 avg-val = 1020.06 avg-zval = 315.19 TagRS{ kinds = RS_KeyN_TagN bytes = 10184 } TagArray{ size = 11540 bytes = 41840 } seq expand size = 80820 multi value expand size = 104 cnt WriteAppend = 12 UnZipSize{ index = 0.0004 GB value = 0.0310 GB dict = 0.31 MB all = 0.0316 GB } __ZipSize{ index = 0.0001 GB value = 0.0096 GB dict = 0.31 MB all = 0.0100 GB } UnZip/Zip{ index = 6.5102 value = 3.2279 dict = 1.00 all = 3.1546 } Zip/UnZip{ index = 0.1536 value = 0.3098 dict = 1.00 all = 0.3170 } ---------------------------- total value len = 563.625421 GB avg = 0.331 KB (by entry num) total key len = 44.325371 GB avg = 0.026 KB total ukey len = 32.800382 GB avg = 0.014 KB total ukey num = 2.321534633 Billion total entry num = 1.701064819 Billion write speed all = 30.045240746 MB/sec (with seq num) write speed all = 29.372700762 MB/sec (without seq num) 2024/11/20-23:40:56.878779 140008106600000 [compaction_job.cc:1948] [default] [JOB 21514] Generated table #86600: 30498 keys, 10025344 bytes, temperature: kWarm 2024/11/20-23:40:56.878836 140008106600000 EVENT_LOG_v1 {"time_micros": 1732117256878807, "cf_name": "default", "job": 21514, "event": "table_file_creation", "file_number": 86600, "file_size": 10025344, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1325495005, "table_properties": {"data_size": 9608656, "index_size": 56192, "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": 609960, "raw_average_key_size": 20, "raw_value_size": 31015494, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 30498, "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_KeyN_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732117256, "oldest_key_time": 0, "file_creation_time": 1732117256, "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": 86600, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-23:40:56.892782 140008106600000 [compaction_job.cc:703] job-21514: subcompact[0], size: 0.179005 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-21514/att-00 [086596,086597,086598,086599,086600] 2024/11/20-23:40:56.938150 140008106600000 (Original Log Time 2024/11/20-23:40:49.251757) EVENT_LOG_v1 {"time_micros": 1732117249251717, "job": 21514, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [86579], "files_L3": [86458, 86473, 86474, 86475, 86476], "score": 0.999867, "input_data_size": 194791364, "oldest_snapshot_seqno": 1323177126} 2024/11/20-23:40:56.938154 140008106600000 (Original Log Time 2024/11/20-23:40:56.937539) [compaction_job.cc:2022] [default] [JOB 21514] Compacted 1@2 + 5@3 files to L3 => 179005045 bytes 2024/11/20-23:40:56.938155 140008106600000 (Original Log Time 2024/11/20-23:40:56.938079) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 25.5 rd, 23.4 wr, level 3, files in(1, 5) out(5 +0 blob) MB in(18.7, 167.1 +0.0 blob) out(170.7 +0.0 blob), read-write-amplify(19.0) write-amplify(9.1) OK, records in: 555539, records dropped: 7318 output_compression: Snappy 2024/11/20-23:40:56.938159 140008106600000 (Original Log Time 2024/11/20-23:40:56.938129) EVENT_LOG_v1 {"time_micros": 1732117256938104, "cf": "default", "job": 21514, "event": "compaction_finished", "compaction_time_micros": 7641031, "compaction_time_cpu_micros": 1743275, "output_level": 3, "num_output_files": 5, "total_output_size": 179005045, "num_input_records": 555539, "num_output_records": 548221, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 144669272, "file_range_sync_nanos": 0, "file_fsync_nanos": 4187, "file_prepare_write_nanos": 10326, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-23:40:57.056853 140008106600000 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":1732117249,"executesMs":7841,"compactionJobId":21514,"attempt":0,"compactionInputRawBytes":576087540,"compactionInputZipBytes":194791364,"compactionOutputRawBytes":0,"compactionOutputZipBytes":179005045,"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-ae54a2a91e76664ac1c446263eaf5339-154a4c64b6ab378e-00"}}, response = 2024/11/20-23:40:57.056945 140008106600000 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-21514/att-00: olev 3, work 7.841 s, result 13.133 ms, install 0.636 ms, input{raw 549.400 MiB zip 185.768 MiB}