2024/11/20-22:49:38.241666 140008182134336 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00: fork to child time = 0.009426 sec 2024/11/20-22:49:38.242210 140008182134336 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00 2024/11/20-22:49:38.248720 140008182134336 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00 2024/11/20-22:49:38.250462 140008182134336 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-22:49:38.250680 140008182134336 [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:49:38.291718 140008182134336 [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-18800/att-00/MANIFEST-049091 2024/11/20-22:49:38.347859 140008182134336 [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-18800/att-00/MANIFEST-049091 succeeded,manifest_file_number is 49091, next_file_number is 81654, last_sequence is 1266199128, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 81486 2024/11/20-22:49:38.347865 140008182134336 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-22:49:38.347933 140008182134336 [version_set.cc:5724] Creating manifest 81654 2024/11/20-22:49:38.388787 140008182134336 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-22:49:38.413379 140008182134336 [compaction_job.cc:2437] [default] [JOB 18800] Compacting 1@2 + 4@3 files to L3, score 0.99, subcompactions 1 : 1 2024/11/20-22:49:38.413389 140008182134336 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 14343 Base level 2, inputs: [81637(31MB)], [81528(40MB) 81529(40MB) 81530(40MB) 81569(40MB)] 2024/11/20-22:49:38.420469 140008182134336 [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:49:38.420493 140008182134336 [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:49:38.420512 140008182134336 [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:49:38.420520 140008182134336 [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:49:38.420530 140008182134336 [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:49:39.107765 140008182134336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081655.sst) /dev/shm/ToplingTemp/Topling-1106792-eFGR1B 2024/11/20-22:49:39.312749 140008182134336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081655.sst): first pass time = 0.20's, 654.927'MB/sec 2024/11/20-22:49:39.891862 140008182134336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081655.sst): old prealloc_size = 147639500, real_size = 40940512 2024/11/20-22:49:39.891981 140008182134336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081655.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:49:39.892164 140008182134336 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081655.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:49:40.068732 140008182134336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081655.sst): second pass time = 0.58's, 227.602'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.18's, 241.751'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2350.314'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.266'MB/sec write SST data time = 0.06's, 776.543'MB/sec dict compress time = 8367736771.40's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 41629.789'MB/sec zip my value time = 0.58's, unzip length = 0.132'GB zip my value throughput = 227.602'MB/sec zip pipeline throughput = 227.602'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 = 12 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0407 GB dict = 1.38 MB all = 0.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.407691500 MB/sec (with seq num) write speed all = 34.614744181 MB/sec (without seq num) 2024/11/20-22:49:40.127355 140008182134336 [compaction_job.cc:1948] [default] [JOB 18800] Generated table #81655: 129428 keys, 42757017 bytes, temperature: kWarm 2024/11/20-22:49:40.127444 140008182134336 EVENT_LOG_v1 {"time_micros": 1732114180127401, "cf_name": "default", "job": 18800, "event": "table_file_creation", "file_number": 81655, "file_size": 42757017, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 939479831, "largest_seqno": 1266066024, "table_properties": {"data_size": 40681040, "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": 131630043, "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": 1732114179, "oldest_key_time": 0, "file_creation_time": 1732114179, "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": 81655, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:49:40.163170 140008182134336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081656.sst) /dev/shm/ToplingTemp/Topling-1106792-sidn7C 2024/11/20-22:49:40.679515 140008182134336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081656.sst): first pass time = 0.52's, 259.956'MB/sec 2024/11/20-22:49:41.337911 140008182134336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081656.sst): old prealloc_size = 147639500, real_size = 40846384 2024/11/20-22:49:41.338117 140008182134336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081656.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.86 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1017.00 avg-zval = 313.48 2024/11/20-22:49:41.338303 140008182134336 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081656.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:49:41.560665 140008182134336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081656.sst): second pass time = 0.66's, 200.178'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.22's, 191.550'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1344.299'MB/sec (index lex order gen) rebuild zvType time = 0.15's, 0.218'MB/sec write SST data time = 0.07's, 573.743'MB/sec dict compress time = 8367736771.40's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 34082.233'MB/sec zip my value time = 0.66's, unzip length = 0.132'GB zip my value throughput = 200.178'MB/sec zip pipeline throughput = 310.328'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.86 avg-val = 1017.00 avg-zval = 313.48 usrkeys = 129430 avg-key = 12.00 avg-zkey = 1.86 avg-val = 1024.00 avg-zval = 313.48 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129430 bytes = 469200 } seq expand size = 906010 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.4509 value = 3.2443 dict = 1.00 all = 3.1460 } Zip/UnZip{ index = 0.1550 value = 0.3082 dict = 1.00 all = 0.3179 } ---------------------------- total value len = 563.330804 GB avg = 0.331 KB (by entry num) total key len = 44.319584 GB avg = 0.026 KB total ukey len = 32.797248 GB avg = 0.014 KB total ukey num = 2.321273434 Billion total entry num = 1.700775456 Billion write speed all = 35.412487709 MB/sec (with seq num) write speed all = 34.619548991 MB/sec (without seq num) 2024/11/20-22:49:41.619133 140008182134336 [compaction_job.cc:1948] [default] [JOB 18800] Generated table #81656: 129430 keys, 42663072 bytes, temperature: kWarm 2024/11/20-22:49:41.619208 140008182134336 EVENT_LOG_v1 {"time_micros": 1732114181619163, "cf_name": "default", "job": 18800, "event": "table_file_creation", "file_number": 81656, "file_size": 42663072, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 908696188, "largest_seqno": 1266064215, "table_properties": {"data_size": 40573088, "index_size": 240768, "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": 131629689, "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_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732114180, "oldest_key_time": 0, "file_creation_time": 1732114180, "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": 81656, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:49:41.710217 140008182134336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081657.sst) /dev/shm/ToplingTemp/Topling-1106792-3i0z3A 2024/11/20-22:49:42.242682 140008182134336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081657.sst): first pass time = 0.53's, 252.095'MB/sec 2024/11/20-22:49:42.766285 140008182134336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081657.sst): old prealloc_size = 147639500, real_size = 40581168 2024/11/20-22:49:42.766429 140008182134336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081657.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.99 avg-zval = 311.29 2024/11/20-22:49:42.766776 140008182134336 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081657.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:49:42.972419 140008182134336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081657.sst): second pass time = 0.52's, 251.778'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.21's, 205.809'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2181.714'MB/sec (index lex order gen) rebuild zvType time = 0.13's, 0.246'MB/sec write SST data time = 0.07's, 568.811'MB/sec dict compress time = 4541091829.96's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 26253.086'MB/sec zip my value time = 0.52's, unzip length = 0.132'GB zip my value throughput = 251.778'MB/sec zip pipeline throughput = 251.778'MB/sec entries = 129431 avg-key = 20.00 avg-zkey = 1.99 avg-val = 1016.99 avg-zval = 311.29 usrkeys = 129431 avg-key = 12.00 avg-zkey = 1.99 avg-val = 1023.94 avg-zval = 311.29 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.0174 value = 3.2670 dict = 1.00 all = 3.1644 } Zip/UnZip{ index = 0.1662 value = 0.3061 dict = 1.00 all = 0.3160 } ---------------------------- total value len = 563.463333 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.321402865 Billion total entry num = 1.700904887 Billion write speed all = 35.417448156 MB/sec (with seq num) write speed all = 34.624514332 MB/sec (without seq num) 2024/11/20-22:49:43.026745 140008182134336 [compaction_job.cc:1948] [default] [JOB 18800] Generated table #81657: 129431 keys, 42414556 bytes, temperature: kWarm 2024/11/20-22:49:43.026941 140008182134336 EVENT_LOG_v1 {"time_micros": 1732114183026781, "cf_name": "default", "job": 18800, "event": "table_file_creation", "file_number": 81657, "file_size": 42414556, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1266065483, "table_properties": {"data_size": 40290528, "index_size": 258112, "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": 131630036, "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": 1732114181, "oldest_key_time": 0, "file_creation_time": 1732114181, "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": 81657, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:49:43.104385 140008182134336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081658.sst) /dev/shm/ToplingTemp/Topling-1106792-unctXC 2024/11/20-22:49:43.744245 140008182134336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081658.sst): first pass time = 0.64's, 209.779'MB/sec 2024/11/20-22:49:44.788678 140008182134336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081658.sst): old prealloc_size = 147639500, real_size = 40870320 2024/11/20-22:49:44.788822 140008182134336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081658.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.78 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1017.00 avg-zval = 313.74 2024/11/20-22:49:44.788979 140008182134336 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081658.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:49:44.956657 140008182134336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081658.sst): second pass time = 1.04's, 126.149'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 254.026'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2173.457'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.270'MB/sec write SST data time = 0.05's, 885.920'MB/sec dict compress time = 4589211954.24's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 30638.552'MB/sec zip my value time = 1.04's, unzip length = 0.132'GB zip my value throughput = 126.149'MB/sec zip pipeline throughput = 190.985'MB/sec entries = 129429 avg-key = 20.00 avg-zkey = 1.78 avg-val = 1017.00 avg-zval = 313.74 usrkeys = 129429 avg-key = 12.00 avg-zkey = 1.78 avg-val = 1023.45 avg-zval = 313.74 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 119218 bytes = 432176 } seq expand size = 834526 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.7336 value = 3.2415 dict = 1.00 all = 3.1455 } Zip/UnZip{ index = 0.1485 value = 0.3085 dict = 1.00 all = 0.3179 } ---------------------------- total value len = 563.595797 GB avg = 0.331 KB (by entry num) total key len = 44.324761 GB avg = 0.026 KB total ukey len = 32.800354 GB avg = 0.014 KB total ukey num = 2.321532294 Billion total entry num = 1.701034316 Billion write speed all = 35.421222336 MB/sec (with seq num) write speed all = 34.628319857 MB/sec (without seq num) 2024/11/20-22:49:45.010375 140008182134336 [compaction_job.cc:1948] [default] [JOB 18800] Generated table #81658: 129429 keys, 42670437 bytes, temperature: kWarm 2024/11/20-22:49:45.010433 140008182134336 EVENT_LOG_v1 {"time_micros": 1732114185010404, "cf_name": "default", "job": 18800, "event": "table_file_creation", "file_number": 81658, "file_size": 42670437, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 1266066097, "table_properties": {"data_size": 40607136, "index_size": 230656, "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": 131629370, "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": 1732114183, "oldest_key_time": 0, "file_creation_time": 1732114183, "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": 81658, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:49:45.064371 140008182134336 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081659.sst) /dev/shm/ToplingTemp/Topling-1106792-yGU56z 2024/11/20-22:49:45.074275 140008182134336 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081659.sst): first pass time = 0.01's, 173.208'MB/sec 2024/11/20-22:49:45.154453 140008182134336 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081659.sst): old prealloc_size = 147639500, real_size = 541464 2024/11/20-22:49:45.154519 140008182134336 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081659.sst): index type = UintIndex_IL_256_32 , store type = DictZipBlobStore usrkeys = 1646 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 0.32 raw-val = 0.0017 GB zip-val = 0.0005 GB avg-val =1017.28 avg-zval = 328.28 2024/11/20-22:49:45.158553 140008182134336 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00/081659.sst): second pass time = 0.08's, 21.145'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.00's, 140.495'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 12.939'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.162'MB/sec write SST data time = 0.00's, 383.318'MB/sec dict compress time = 140029.08's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.026'MB, throughput = 915.625'MB/sec zip my value time = 0.08's, unzip length = 0.002'GB zip my value throughput = 21.145'MB/sec zip pipeline throughput = 667.531'MB/sec entries = 1646 avg-key = 20.00 avg-zkey = 0.35 avg-val = 1017.28 avg-zval = 328.28 usrkeys = 1646 avg-key = 12.00 avg-zkey = 0.35 avg-val = 1024.28 avg-zval = 328.28 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 1646 bytes = 5776 } seq expand size = 11522 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.2917 value = 3.0988 dict = 1.00 all = 2.9776 } Zip/UnZip{ index = 0.0292 value = 0.3227 dict = 1.00 all = 0.3358 } ---------------------------- total value len = 563.597483 GB avg = 0.331 KB (by entry num) total key len = 44.324794 GB avg = 0.026 KB total ukey len = 32.800374 GB avg = 0.014 KB total ukey num = 2.321533940 Billion total entry num = 1.701035962 Billion write speed all = 35.420905869 MB/sec (with seq num) write speed all = 34.628011948 MB/sec (without seq num) 2024/11/20-22:49:45.166534 140008182134336 [compaction_job.cc:1948] [default] [JOB 18800] Generated table #81659: 1646 keys, 573406 bytes, temperature: kWarm 2024/11/20-22:49:45.166617 140008182134336 EVENT_LOG_v1 {"time_micros": 1732114185166571, "cf_name": "default", "job": 18800, "event": "table_file_creation", "file_number": 81659, "file_size": 573406, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 1050193190, "largest_seqno": 1264553968, "table_properties": {"data_size": 540352, "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": 32920, "raw_average_key_size": 20, "raw_value_size": 1674448, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 1646, "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": 1732114185, "oldest_key_time": 0, "file_creation_time": 1732114185, "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": 81659, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-22:49:45.176356 140008182134336 [compaction_job.cc:703] job-18800: subcompact[0], size: 0.171078 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-18800/att-00 [081655,081656,081657,081658,081659] 2024/11/20-22:49:45.235842 140008182134336 (Original Log Time 2024/11/20-22:49:38.413439) EVENT_LOG_v1 {"time_micros": 1732114178413401, "job": 18800, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [81637], "files_L3": [81528, 81529, 81530, 81569], "score": 0.99343, "input_data_size": 203251834, "oldest_snapshot_seqno": 1266198572} 2024/11/20-22:49:45.235849 140008182134336 (Original Log Time 2024/11/20-22:49:45.234981) [compaction_job.cc:2022] [default] [JOB 18800] Compacted 1@2 + 4@3 files to L3 => 171078488 bytes 2024/11/20-22:49:45.235852 140008182134336 (Original Log Time 2024/11/20-22:49:45.235736) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 30.1 rd, 25.3 wr, level 3, files in(1, 4) out(5 +0 blob) MB in(31.2, 162.6 +0.0 blob) out(163.2 +0.0 blob), read-write-amplify(11.4) write-amplify(5.2) OK, records in: 549677, records dropped: 30313 output_compression: Snappy 2024/11/20-22:49:45.235859 140008182134336 (Original Log Time 2024/11/20-22:49:45.235812) EVENT_LOG_v1 {"time_micros": 1732114185235773, "cf": "default", "job": 18800, "event": "compaction_finished", "compaction_time_micros": 6762932, "compaction_time_cpu_micros": 1724814, "output_level": 3, "num_output_files": 5, "total_output_size": 171078488, "num_input_records": 549677, "num_output_records": 519364, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 141163831, "file_range_sync_nanos": 0, "file_fsync_nanos": 5512, "file_prepare_write_nanos": 12970, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-22:49:45.398991 140008182134336 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":1732114178,"executesMs":6981,"compactionJobId":18800,"attempt":0,"compactionInputRawBytes":570016150,"compactionInputZipBytes":203251834,"compactionOutputRawBytes":0,"compactionOutputZipBytes":171078488,"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-5b54752991262964a67a086bd123a3d6-05acabd2ef944049-00"}}, response = 2024/11/20-22:49:45.399132 140008182134336 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T17.53.03/.rocksdb/job-18800/att-00: olev 3, work 6.982 s, result 11.567 ms, install 0.911 ms, input{raw 543.610 MiB zip 193.836 MiB}