2024/11/20-22:52:06.146441 140008375166528 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00: fork to child time = 0.021708 sec 2024/11/20-22:52:06.147198 140008375166528 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00 2024/11/20-22:52:06.154633 140008375166528 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00 2024/11/20-22:52:06.156901 140008375166528 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-22:52:06.157253 140008375166528 [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:52:06.200794 140008375166528 [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-18928/att-00/MANIFEST-049091 2024/11/20-22:52:06.256209 140008375166528 [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-18928/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 81907, last_sequence is 1269163486, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 81744 2024/11/20-22:52:06.256221 140008375166528 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-22:52:06.256295 140008375166528 [version_set.cc:5724] Creating manifest 81907 2024/11/20-22:52:06.291184 140008375166528 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-22:52:06.310312 140008375166528 [compaction_job.cc:2437] [default] [JOB 18928] Compacting 1@2 + 4@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/20-22:52:06.310323 140008375166528 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 14431 Base level 2, inputs: [81898(31MB)], [81792(40MB) 81793(40MB) 81794(40MB) 81795(40MB)] 2024/11/20-22:52:06.317715 140008375166528 [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:52:06.317741 140008375166528 [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:52:06.317761 140008375166528 [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:52:06.317769 140008375166528 [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:52:06.317779 140008375166528 [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:52:06.973729 140008375166528 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081908.sst) /dev/shm/ToplingTemp/Topling-1109474-bvRukr 2024/11/20-22:52:07.159092 140008375166528 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081908.sst): first pass time = 0.19's, 724.288'MB/sec 2024/11/20-22:52:07.892720 140008375166528 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081908.sst): old prealloc_size = 147639500, real_size = 40940272 2024/11/20-22:52:07.892854 140008375166528 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081908.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129428 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.75 raw-val = 0.1316 GB zip-val = 0.0407 GB avg-val =1017.01 avg-zval = 314.31 2024/11/20-22:52:07.893016 140008375166528 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081908.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:52:08.069527 140008375166528 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081908.sst): second pass time = 0.73's, 179.629'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.18's, 241.835'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2069.807'MB/sec (index lex order gen) rebuild zvType time = 0.13's, 0.251'MB/sec write SST data time = 0.05's, 898.593'MB/sec dict compress time = 8375638008.17's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 35198.554'MB/sec zip my value time = 0.73's, unzip length = 0.132'GB zip my value throughput = 179.629'MB/sec zip pipeline throughput = 306.463'MB/sec entries = 129428 avg-key = 20.00 avg-zkey = 1.75 avg-val = 1017.01 avg-zval = 314.31 usrkeys = 129428 avg-key = 12.00 avg-zkey = 1.75 avg-val = 1024.01 avg-zval = 314.31 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129428 bytes = 469184 } seq expand size = 905996 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.8437 value = 3.2357 dict = 1.00 all = 3.1391 } Zip/UnZip{ index = 0.1461 value = 0.3091 dict = 1.00 all = 0.3186 } ---------------------------- total value len = 563.198268 GB avg = 0.331 KB (by entry num) total key len = 44.316995 GB avg = 0.026 KB total ukey len = 32.795695 GB avg = 0.014 KB total ukey num = 2.321144004 Billion total entry num = 1.700646026 Billion write speed all = 35.104880288 MB/sec (with seq num) write speed all = 34.318714359 MB/sec (without seq num) 2024/11/20-22:52:08.123144 140008375166528 [compaction_job.cc:1948] [default] [JOB 18928] Generated table #81908: 129428 keys, 42756480 bytes, temperature: kWarm 2024/11/20-22:52:08.123224 140008375166528 EVENT_LOG_v1 {"time_micros": 1732114328123184, "cf_name": "default", "job": 18928, "event": "table_file_creation", "file_number": 81908, "file_size": 42756480, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 939479831, "largest_seqno": 1269073568, "table_properties": {"data_size": 40680800, "index_size": 226944, "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": 131630064, "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_Key0_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732114326, "oldest_key_time": 0, "file_creation_time": 1732114326, "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": 81908, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:52:08.163075 140008375166528 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081909.sst) /dev/shm/ToplingTemp/Topling-1109474-DSvXLo 2024/11/20-22:52:08.734166 140008375166528 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081909.sst): first pass time = 0.57's, 235.039'MB/sec 2024/11/20-22:52:09.269698 140008375166528 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081909.sst): old prealloc_size = 147639500, real_size = 40853952 2024/11/20-22:52:09.269817 140008375166528 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081909.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.86 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1017.00 avg-zval = 313.54 2024/11/20-22:52:09.269954 140008375166528 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081909.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:52:09.436242 140008375166528 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081909.sst): second pass time = 0.53's, 246.106'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 256.254'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2500.016'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.273'MB/sec write SST data time = 0.05's, 888.190'MB/sec dict compress time = 8375638008.17's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.379'MB, throughput = 40101.306'MB/sec zip my value time = 0.53's, unzip length = 0.132'GB zip my value throughput = 246.106'MB/sec zip pipeline throughput = 246.106'MB/sec entries = 129429 avg-key = 20.00 avg-zkey = 1.86 avg-val = 1017.00 avg-zval = 313.54 usrkeys = 129429 avg-key = 12.00 avg-zkey = 1.86 avg-val = 1024.00 avg-zval = 313.54 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129429 bytes = 469200 } seq expand size = 906003 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.0427 GB } UnZip/Zip{ index = 6.4611 value = 3.2436 dict = 1.00 all = 3.1454 } Zip/UnZip{ index = 0.1548 value = 0.3083 dict = 1.00 all = 0.3179 } ---------------------------- total value len = 563.330804 GB avg = 0.331 KB (by entry num) total key len = 44.319583 GB avg = 0.026 KB total ukey len = 32.797248 GB avg = 0.014 KB total ukey num = 2.321273433 Billion total entry num = 1.700775455 Billion write speed all = 35.109915575 MB/sec (with seq num) write speed all = 34.323751902 MB/sec (without seq num) 2024/11/20-22:52:09.490688 140008375166528 [compaction_job.cc:1948] [default] [JOB 18928] Generated table #81909: 129429 keys, 42671266 bytes, temperature: kWarm 2024/11/20-22:52:09.490881 140008375166528 EVENT_LOG_v1 {"time_micros": 1732114329490735, "cf_name": "default", "job": 18928, "event": "table_file_creation", "file_number": 81909, "file_size": 42671266, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 908696188, "largest_seqno": 1269073577, "table_properties": {"data_size": 40581040, "index_size": 240384, "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": 131629834, "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_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732114328, "oldest_key_time": 0, "file_creation_time": 1732114328, "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": 81909, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:52:09.562182 140008375166528 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081910.sst) /dev/shm/ToplingTemp/Topling-1109474-Ktwy6n 2024/11/20-22:52:10.436813 140008375166528 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081910.sst): first pass time = 0.87's, 153.466'MB/sec 2024/11/20-22:52:10.956796 140008375166528 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081910.sst): old prealloc_size = 147639500, real_size = 40570304 2024/11/20-22:52:10.956924 140008375166528 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081910.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129431 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0003 GB avg-key = 8.00 avg-zkey = 1.99 raw-val = 0.1316 GB zip-val = 0.0403 GB avg-val =1016.98 avg-zval = 311.21 2024/11/20-22:52:10.957113 140008375166528 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081910.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:52:11.130248 140008375166528 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081910.sst): second pass time = 0.52's, 253.508'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 244.515'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2412.890'MB/sec (index lex order gen) rebuild zvType time = 0.13's, 0.259'MB/sec write SST data time = 0.05's, 879.993'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 = 26581.869'MB/sec zip my value time = 0.52's, unzip length = 0.132'GB zip my value throughput = 253.508'MB/sec zip pipeline throughput = 253.508'MB/sec entries = 129431 avg-key = 20.00 avg-zkey = 1.99 avg-val = 1016.98 avg-zval = 311.21 usrkeys = 129431 avg-key = 12.00 avg-zkey = 1.99 avg-val = 1023.93 avg-zval = 311.21 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 128441 bytes = 465616 } seq expand size = 899087 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0003 GB value = 0.0403 GB dict = 1.38 MB all = 0.0424 GB } UnZip/Zip{ index = 6.0264 value = 3.2678 dict = 1.00 all = 3.1652 } Zip/UnZip{ index = 0.1659 value = 0.3060 dict = 1.00 all = 0.3159 } ---------------------------- total value len = 563.463332 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.321402864 Billion total entry num = 1.700904886 Billion write speed all = 35.114285655 MB/sec (with seq num) write speed all = 34.328139100 MB/sec (without seq num) 2024/11/20-22:52:11.182285 140008375166528 [compaction_job.cc:1948] [default] [JOB 18928] Generated table #81910: 129431 keys, 42403736 bytes, temperature: kWarm 2024/11/20-22:52:11.182355 140008375166528 EVENT_LOG_v1 {"time_micros": 1732114331182323, "cf_name": "default", "job": 18928, "event": "table_file_creation", "file_number": 81910, "file_size": 42403736, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1269070976, "table_properties": {"data_size": 40280048, "index_size": 257728, "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": 2588620, "raw_average_key_size": 20, "raw_value_size": 131629109, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129431, "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": 1732114329, "oldest_key_time": 0, "file_creation_time": 1732114329, "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": 81910, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:52:11.219102 140008375166528 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081911.sst) /dev/shm/ToplingTemp/Topling-1109474-faowOq 2024/11/20-22:52:11.948106 140008375166528 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081911.sst): first pass time = 0.73's, 184.122'MB/sec 2024/11/20-22:52:12.563080 140008375166528 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081911.sst): old prealloc_size = 147639500, real_size = 40866336 2024/11/20-22:52:12.563233 140008375166528 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081911.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.79 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1017.00 avg-zval = 313.70 2024/11/20-22:52:12.563555 140008375166528 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081911.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:52:12.738089 140008375166528 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081911.sst): second pass time = 0.61's, 214.315'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 243.820'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2056.353'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.260'MB/sec write SST data time = 0.05's, 849.204'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 = 41700.085'MB/sec zip my value time = 0.61's, unzip length = 0.132'GB zip my value throughput = 214.315'MB/sec zip pipeline throughput = 214.315'MB/sec entries = 129429 avg-key = 20.00 avg-zkey = 1.79 avg-val = 1017.00 avg-zval = 313.70 usrkeys = 129429 avg-key = 12.00 avg-zkey = 1.79 avg-val = 1023.45 avg-zval = 313.70 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 119220 bytes = 432192 } seq expand size = 834540 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.0406 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 6.7113 value = 3.2419 dict = 1.00 all = 3.1458 } Zip/UnZip{ index = 0.1490 value = 0.3085 dict = 1.00 all = 0.3179 } ---------------------------- total value len = 563.595796 GB avg = 0.331 KB (by entry num) total key len = 44.324761 GB avg = 0.026 KB total ukey len = 32.800354 GB avg = 0.014 KB total ukey num = 2.321532293 Billion total entry num = 1.701034315 Billion write speed all = 35.118825963 MB/sec (with seq num) write speed all = 34.332692612 MB/sec (without seq num) 2024/11/20-22:52:12.792349 140008375166528 [compaction_job.cc:1948] [default] [JOB 18928] Generated table #81911: 129429 keys, 42665795 bytes, temperature: kWarm 2024/11/20-22:52:12.792418 140008375166528 EVENT_LOG_v1 {"time_micros": 1732114332792385, "cf_name": "default", "job": 18928, "event": "table_file_creation", "file_number": 81911, "file_size": 42665795, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1269073504, "table_properties": {"data_size": 40602384, "index_size": 231424, "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": 131629461, "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": 1732114331, "oldest_key_time": 0, "file_creation_time": 1732114331, "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": 81911, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:52:12.836988 140008375166528 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081912.sst) /dev/shm/ToplingTemp/Topling-1109474-8mezbq 2024/11/20-22:52:12.847345 140008375166528 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081912.sst): first pass time = 0.01's, 164.744'MB/sec 2024/11/20-22:52:12.874274 140008375166528 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081912.sst): old prealloc_size = 147639500, real_size = 537312 2024/11/20-22:52:12.874325 140008375166528 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081912.sst): index type = UintIndex_IL_256_32 , store type = DictZipBlobStore usrkeys = 1638 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 0.34 raw-val = 0.0017 GB zip-val = 0.0005 GB avg-val =1016.98 avg-zval = 327.33 2024/11/20-22:52:12.876869 140008375166528 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00/081912.sst): second pass time = 0.03's, 63.450'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.00's, 220.565'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 17.541'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.251'MB/sec write SST data time = 0.00's, 619.915'MB/sec dict compress time = 140029.08's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.025'MB, throughput = 1024.418'MB/sec zip my value time = 0.03's, unzip length = 0.002'GB zip my value throughput = 63.450'MB/sec zip pipeline throughput = 63.450'MB/sec entries = 1638 avg-key = 20.00 avg-zkey = 0.35 avg-val = 1016.98 avg-zval = 327.33 usrkeys = 1638 avg-key = 12.00 avg-zkey = 0.35 avg-val = 1023.98 avg-zval = 327.33 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 1638 bytes = 5744 } seq expand size = 11466 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0000 GB value = 0.0017 GB dict = 0.03 MB all = 0.0017 GB } __ZipSize{ index = 0.0000 GB value = 0.0005 GB dict = 0.03 MB all = 0.0006 GB } UnZip/Zip{ index = 34.1250 value = 3.1069 dict = 1.00 all = 2.9844 } Zip/UnZip{ index = 0.0293 value = 0.3219 dict = 1.00 all = 0.3351 } ---------------------------- total value len = 563.597474 GB avg = 0.331 KB (by entry num) total key len = 44.324793 GB avg = 0.026 KB total ukey len = 32.800374 GB avg = 0.014 KB total ukey num = 2.321533931 Billion total entry num = 1.701035953 Billion write speed all = 35.118643157 MB/sec (with seq num) write speed all = 34.332515352 MB/sec (without seq num) 2024/11/20-22:52:12.884324 140008375166528 [compaction_job.cc:1948] [default] [JOB 18928] Generated table #81912: 1638 keys, 569146 bytes, temperature: kWarm 2024/11/20-22:52:12.884383 140008375166528 EVENT_LOG_v1 {"time_micros": 1732114332884353, "cf_name": "default", "job": 18928, "event": "table_file_creation", "file_number": 81912, "file_size": 569146, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 1000644965, "largest_seqno": 1269072152, "table_properties": {"data_size": 536160, "index_size": 576, "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": 32760, "raw_average_key_size": 20, "raw_value_size": 1665813, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 1638, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-UintIndex_IL_256_32-DictZipBlobStore", "creation_time": 1732114332, "oldest_key_time": 0, "file_creation_time": 1732114332, "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": 81912, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:52:12.895742 140008375166528 [compaction_job.cc:703] job-18928: subcompact[0], size: 0.171066 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18928/att-00 [081908,081909,081910,081911,081912] 2024/11/20-22:52:12.938493 140008375166528 (Original Log Time 2024/11/20-22:52:06.310377) EVENT_LOG_v1 {"time_micros": 1732114326310336, "job": 18928, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [81898], "files_L3": [81792, 81793, 81794, 81795], "score": 0.99583, "input_data_size": 203246600, "oldest_snapshot_seqno": 1269162802} 2024/11/20-22:52:12.938497 140008375166528 (Original Log Time 2024/11/20-22:52:12.934319) [compaction_job.cc:2022] [default] [JOB 18928] Compacted 1@2 + 4@3 files to L3 => 171066423 bytes 2024/11/20-22:52:12.938499 140008375166528 (Original Log Time 2024/11/20-22:52:12.938410) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 30.9 rd, 26.0 wr, level 3, files in(1, 4) out(5 +0 blob) MB in(31.2, 162.6 +0.0 blob) out(163.1 +0.0 blob), read-write-amplify(11.4) write-amplify(5.2) OK, records in: 549681, records dropped: 30326 output_compression: Snappy 2024/11/20-22:52:12.938503 140008375166528 (Original Log Time 2024/11/20-22:52:12.938466) EVENT_LOG_v1 {"time_micros": 1732114332938438, "cf": "default", "job": 18928, "event": "compaction_finished", "compaction_time_micros": 6585377, "compaction_time_cpu_micros": 1643690, "output_level": 3, "num_output_files": 5, "total_output_size": 171066423, "num_input_records": 549681, "num_output_records": 519355, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 135228445, "file_range_sync_nanos": 0, "file_fsync_nanos": 4163, "file_prepare_write_nanos": 11608, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-22:52:13.073905 140008375166528 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":1732114326,"executesMs":6779,"compactionJobId":18928,"attempt":0,"compactionInputRawBytes":570019251,"compactionInputZipBytes":203246600,"compactionOutputRawBytes":0,"compactionOutputZipBytes":171066423,"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-cddde11d488b162b5392bfd7b94b3ea3-cf13ef413f8a03f0-00"}}, response = 2024/11/20-22:52:13.074014 140008375166528 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-18928/att-00: olev 3, work 6.780 s, result 7.847 ms, install 4.207 ms, input{raw 543.613 MiB zip 193.831 MiB}