2024/11/20-22:22:13.617458 140008383559232 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00: fork to child time = 0.009024 sec 2024/11/20-22:22:13.617984 140008383559232 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00 2024/11/20-22:22:13.622838 140008383559232 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00 2024/11/20-22:22:13.624473 140008383559232 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-22:22:13.624706 140008383559232 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-22:22:13.679970 140008383559232 [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-17281/att-00/MANIFEST-049091 2024/11/20-22:22:13.735438 140008383559232 [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-17281/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 78810, last_sequence is 1232919957, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 78700 2024/11/20-22:22:13.735452 140008383559232 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-22:22:13.735520 140008383559232 [version_set.cc:5724] Creating manifest 78810 2024/11/20-22:22:13.775135 140008383559232 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-22:22:13.811103 140008383559232 [compaction_job.cc:2437] [default] [JOB 17281] Compacting 1@2 + 3@3 files to L3, score 0.98, subcompactions 1 : 1 2024/11/20-22:22:13.811135 140008383559232 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 13330 Base level 2, inputs: [78789(31MB)], [78696(40MB) 78697(39MB) 78794(40MB)] 2024/11/20-22:22:13.826156 140008383559232 [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-22:22:13.826198 140008383559232 [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-22:22:13.826227 140008383559232 [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-22:22:13.826240 140008383559232 [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-22:22:13.826256 140008383559232 [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-22:22:14.442992 140008383559232 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078811.sst) /dev/shm/ToplingTemp/Topling-1074969-Fn0lzl 2024/11/20-22:22:14.669947 140008383559232 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078811.sst): first pass time = 0.23's, 591.569'MB/sec 2024/11/20-22:22:15.183155 140008383559232 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078811.sst): old prealloc_size = 147639500, real_size = 40986240 2024/11/20-22:22:15.183282 140008383559232 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078811.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.69 2024/11/20-22:22:15.183447 140008383559232 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078811.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-22:22:15.346076 140008383559232 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078811.sst): second pass time = 0.51's, 256.875'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 262.615'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2119.737'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.274'MB/sec write SST data time = 0.04's, 955.828'MB/sec dict compress time = 8225610810.48's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 24644.892'MB/sec zip my value time = 0.51's, unzip length = 0.132'GB zip my value throughput = 256.875'MB/sec zip pipeline throughput = 256.875'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.72 avg-val = 1016.99 avg-zval = 314.69 usrkeys = 129430 avg-key = 12.00 avg-zkey = 1.72 avg-val = 1023.58 avg-zval = 314.69 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 121813 bytes = 426368 } seq expand size = 852691 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.9596 value = 3.2317 dict = 1.00 all = 3.1374 } Zip/UnZip{ index = 0.1437 value = 0.3094 dict = 1.00 all = 0.3187 } ---------------------------- total value len = 563.198214 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 = 39.161690614 MB/sec (with seq num) write speed all = 38.284673248 MB/sec (without seq num) 2024/11/20-22:22:15.438252 140008383559232 [compaction_job.cc:1948] [default] [JOB 17281] Generated table #78811: 129430 keys, 42780470 bytes, temperature: kWarm 2024/11/20-22:22:15.438349 140008383559232 EVENT_LOG_v1 {"time_micros": 1732112535438306, "cf_name": "default", "job": 17281, "event": "table_file_creation", "file_number": 78811, "file_size": 42780470, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1231473535, "table_properties": {"data_size": 40730544, "index_size": 223168, "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": 131629166, "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": 1732112534, "oldest_key_time": 0, "file_creation_time": 1732112534, "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": 78811, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:22:15.475037 140008383559232 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078812.sst) /dev/shm/ToplingTemp/Topling-1074969-qteKLi 2024/11/20-22:22:16.041427 140008383559232 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078812.sst): first pass time = 0.57's, 236.988'MB/sec 2024/11/20-22:22:16.612957 140008383559232 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078812.sst): old prealloc_size = 147639500, real_size = 40454608 2024/11/20-22:22:16.613116 140008383559232 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078812.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.55 2024/11/20-22:22:16.613193 140008383559232 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078812.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-22:22:16.951124 140008383559232 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078812.sst): second pass time = 0.57's, 230.581'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.34's, 123.997'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1890.383'MB/sec (index lex order gen) rebuild zvType time = 0.22's, 0.148'MB/sec write SST data time = 0.12's, 350.002'MB/sec dict compress time = 8225610810.48's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 47108.323'MB/sec zip my value time = 0.57's, unzip length = 0.132'GB zip my value throughput = 230.581'MB/sec zip pipeline throughput = 230.581'MB/sec entries = 129429 avg-key = 20.00 avg-zkey = 1.76 avg-val = 1017.00 avg-zval = 310.55 usrkeys = 129429 avg-key = 12.00 avg-zkey = 1.76 avg-val = 1018.58 avg-zval = 310.55 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 29235 bytes = 102336 } seq expand size = 204645 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.8054 value = 3.2749 dict = 1.00 all = 3.2014 } Zip/UnZip{ index = 0.1469 value = 0.3054 dict = 1.00 all = 0.3124 } ---------------------------- total value len = 563.330048 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 = 39.166303497 MB/sec (with seq num) write speed all = 38.289310121 MB/sec (without seq num) 2024/11/20-22:22:17.029038 140008383559232 [compaction_job.cc:1948] [default] [JOB 17281] Generated table #78812: 129429 keys, 41924481 bytes, temperature: kWarm 2024/11/20-22:22:17.029140 140008383559232 EVENT_LOG_v1 {"time_micros": 1732112537029094, "cf_name": "default", "job": 17281, "event": "table_file_creation", "file_number": 78812, "file_size": 41924481, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1231474073, "table_properties": {"data_size": 40193856, "index_size": 228224, "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": 131629253, "raw_average_value_size": 1016, "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": 1732112535, "oldest_key_time": 0, "file_creation_time": 1732112535, "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": 78812, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:22:17.078210 140008383559232 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078813.sst) /dev/shm/ToplingTemp/Topling-1074969-sdzKal 2024/11/20-22:22:17.587927 140008383559232 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078813.sst): first pass time = 0.51's, 263.343'MB/sec 2024/11/20-22:22:18.109919 140008383559232 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078813.sst): old prealloc_size = 147639500, real_size = 40876944 2024/11/20-22:22:18.110065 140008383559232 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078813.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.74 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1016.97 avg-zval = 313.83 2024/11/20-22:22:18.110197 140008383559232 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078813.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-22:22:18.271542 140008383559232 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078813.sst): second pass time = 0.51's, 256.688'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 263.596'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1771.008'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.275'MB/sec write SST data time = 0.04's, 975.947'MB/sec dict compress time = 140029.08's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 45772.366'MB/sec zip my value time = 0.51's, unzip length = 0.132'GB zip my value throughput = 256.688'MB/sec zip pipeline throughput = 256.688'MB/sec entries = 129433 avg-key = 20.00 avg-zkey = 1.74 avg-val = 1016.97 avg-zval = 313.83 usrkeys = 129433 avg-key = 12.00 avg-zkey = 1.74 avg-val = 1022.45 avg-zval = 313.83 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 101385 bytes = 354864 } seq expand size = 709695 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.0406 GB dict = 1.38 MB all = 0.0426 GB } UnZip/Zip{ index = 6.9004 value = 3.2406 dict = 1.00 all = 3.1507 } Zip/UnZip{ index = 0.1449 value = 0.3086 dict = 1.00 all = 0.3174 } ---------------------------- total value len = 563.462387 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 = 39.171666372 MB/sec (with seq num) write speed all = 38.294680896 MB/sec (without seq num) 2024/11/20-22:22:18.322593 140008383559232 [compaction_job.cc:1948] [default] [JOB 17281] Generated table #78813: 129433 keys, 42599297 bytes, temperature: kWarm 2024/11/20-22:22:18.322647 140008383559232 EVENT_LOG_v1 {"time_micros": 1732112538322617, "cf_name": "default", "job": 17281, "event": "table_file_creation", "file_number": 78813, "file_size": 42599297, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1231474216, "table_properties": {"data_size": 40619328, "index_size": 225088, "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": 131629136, "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": 1732112537, "oldest_key_time": 0, "file_creation_time": 1732112537, "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": 78813, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:22:18.359715 140008383559232 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078814.sst) /dev/shm/ToplingTemp/Topling-1074969-Chzi0k 2024/11/20-22:22:18.364038 140008383559232 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078814.sst): first pass time = 0.00's, 103.437'MB/sec 2024/11/20-22:22:18.388631 140008383559232 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078814.sst): old prealloc_size = 147639500, real_size = 139744 2024/11/20-22:22:18.388670 140008383559232 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078814.sst): index type = UintIndex_IL_256_32 , store type = DictZipBlobStore usrkeys = 428 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 0.93 raw-val = 0.0004 GB zip-val = 0.0001 GB avg-val =1017.62 avg-zval = 324.93 2024/11/20-22:22:18.389535 140008383559232 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00/078814.sst): second pass time = 0.02's, 18.074'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.00's, 167.138'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 20.590'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.221'MB/sec write SST data time = 0.00's, 388.824'MB/sec dict compress time = 140029.08's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.007'MB, throughput = 220.741'MB/sec zip my value time = 0.02's, unzip length = 0.000'GB zip my value throughput = 18.074'MB/sec zip pipeline throughput = 18.074'MB/sec entries = 428 avg-key = 20.00 avg-zkey = 1.05 avg-val = 1017.62 avg-zval = 324.93 usrkeys = 428 avg-key = 12.00 avg-zkey = 1.05 avg-val = 1017.79 avg-zval = 324.93 TagRS{ kinds = RS_Key0_TagN bytes = 160 } TagArray{ size = 10 bytes = 48 } seq expand size = 70 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0000 GB value = 0.0004 GB dict = 0.01 MB all = 0.0004 GB } __ZipSize{ index = 0.0000 GB value = 0.0001 GB dict = 0.01 MB all = 0.0001 GB } UnZip/Zip{ index = 11.4643 value = 3.1318 dict = 1.00 all = 2.9995 } Zip/UnZip{ index = 0.0872 value = 0.3193 dict = 1.00 all = 0.3334 } ---------------------------- total value len = 563.462822 GB avg = 0.331 KB (by entry num) total key len = 44.322181 GB avg = 0.026 KB total ukey len = 32.798806 GB avg = 0.014 KB total ukey num = 2.321403296 Billion total entry num = 1.700905318 Billion write speed all = 39.171397103 MB/sec (with seq num) write speed all = 38.294418075 MB/sec (without seq num) 2024/11/20-22:22:18.397121 140008383559232 [compaction_job.cc:1948] [default] [JOB 17281] Generated table #78814: 428 keys, 148061 bytes, temperature: kWarm 2024/11/20-22:22:18.397158 140008383559232 EVENT_LOG_v1 {"time_micros": 1732112538397138, "cf_name": "default", "job": 17281, "event": "table_file_creation", "file_number": 78814, "file_size": 148061, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1214145385, "table_properties": {"data_size": 139072, "index_size": 448, "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": 8560, "raw_average_key_size": 20, "raw_value_size": 435542, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 428, "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-UintIndex_IL_256_32-DictZipBlobStore", "creation_time": 1732112538, "oldest_key_time": 0, "file_creation_time": 1732112538, "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": 78814, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:22:18.418759 140008383559232 [compaction_job.cc:703] job-17281: subcompact[0], size: 0.127452 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-17281/att-00 [078811,078812,078813,078814] 2024/11/20-22:22:18.446864 140008383559232 (Original Log Time 2024/11/20-22:22:13.811231) EVENT_LOG_v1 {"time_micros": 1732112533811162, "job": 17281, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [78789], "files_L3": [78696, 78697, 78794], "score": 0.97798, "input_data_size": 160043217, "oldest_snapshot_seqno": 1232919916} 2024/11/20-22:22:18.446867 140008383559232 (Original Log Time 2024/11/20-22:22:18.446383) [compaction_job.cc:2022] [default] [JOB 17281] Compacted 1@2 + 3@3 files to L3 => 127452309 bytes 2024/11/20-22:22:18.446869 140008383559232 (Original Log Time 2024/11/20-22:22:18.446810) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.00, MB/sec: 34.7 rd, 27.7 wr, level 3, files in(1, 3) out(4 +0 blob) MB in(31.2, 121.4 +0.0 blob) out(121.5 +0.0 blob), read-write-amplify(8.8) write-amplify(3.9) OK, records in: 420242, records dropped: 31522 output_compression: Snappy 2024/11/20-22:22:18.446873 140008383559232 (Original Log Time 2024/11/20-22:22:18.446852) EVENT_LOG_v1 {"time_micros": 1732112538446831, "cf": "default", "job": 17281, "event": "compaction_finished", "compaction_time_micros": 4607531, "compaction_time_cpu_micros": 1245055, "output_level": 3, "num_output_files": 4, "total_output_size": 127452309, "num_input_records": 420242, "num_output_records": 388720, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 139600706, "file_range_sync_nanos": 0, "file_fsync_nanos": 3296, "file_prepare_write_nanos": 9396, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/20-22:22:18.555615 140008383559232 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":1732112533,"executesMs":4821,"compactionJobId":17281,"attempt":0,"compactionInputRawBytes":435783056,"compactionInputZipBytes":160043217,"compactionOutputRawBytes":0,"compactionOutputZipBytes":127452309,"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-17197b32f7b76e697c4ff186d1bf7640-f2dba41dcf5c1c07-00"}}, response = 2024/11/20-22:22:18.555679 140008383559232 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-17281/att-00: olev 3, work 4.821 s, result 7.516 ms, install 0.501 ms, input{raw 415.595 MiB zip 152.629 MiB}