2024/11/22-15:04:07.344826 140025205032512 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00: fork to child time = 0.011151 sec 2024/11/22-15:04:07.346011 140025205032512 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00 2024/11/22-15:04:07.354475 140025205032512 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00 2024/11/22-15:04:07.356151 140025205032512 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/22-15:04:07.356479 140025205032512 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/22-15:04:07.404818 140025205032512 [version_set.cc:6208] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-02031/att-00/MANIFEST-206347 2024/11/22-15:04:07.437248 140025205032512 [version_set.cc:6251] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-02031/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 209847, last_sequence is 3314678223, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 209694 2024/11/22-15:04:07.437256 140025205032512 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/22-15:04:07.437347 140025205032512 [version_set.cc:5721] Creating manifest 209847 2024/11/22-15:04:07.468972 140025205032512 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/22-15:04:07.490443 140025205032512 [compaction_job.cc:2437] [default] [JOB 2031] Compacting 1@2 + 4@3 files to L3, score 0.90, subcompactions 1 : 1 2024/11/22-15:04:07.490458 140025205032512 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 1665 Base level 2, inputs: [209844(31MB)], [209754(40MB) 209755(40MB) 209756(40MB) 209757(40MB)] 2024/11/22-15:04:07.496995 140025205032512 [top_zip_table.cc:59] core git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 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/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/22-15:04:07.497029 140025205032512 [top_zip_table.cc:60] fsa git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 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/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/22-15:04:07.497049 140025205032512 [top_zip_table.cc:61] zbs git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 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/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/22-15:04:07.497055 140025205032512 [top_zip_table.cc:62] topling-zip_table_reader: git_version_hash_info_is: commit a4a382006cb82713acf5b3425835f22711877681 Author: leipeng Date: 2024-04-11 19:44:14 +0800 fixed_len_hole_index.cc: Add env bool FixedLenHoleIndexUseAVX512 for ut & debug 1. FixedLenHoleIndexUseAVX512 is only in unit tests or debug 2. In release mode, use avx512 by compile options(-march=) g++ (GCC) 12.1.0 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/22-15:04:07.497067 140025205032512 [top_zip_table.cc:64] topling-rocks git_version_hash_info_is: commit feab587e468621ba0204d47b4ffacc52e7c4290d Author: leipeng Date: 2024-03-22 13:35:06 +0800 ToplingZipTableBuilder::Add: immediately return after error This function returns void, and caller does not check builder->status() after calling this function and graceful abandon. So immediately return after error, and return error status in Finish(). g++ (GCC) 12.1.0 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/22-15:04:08.061380 140025205032512 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209848.sst) /dev/shm/ToplingTemp/Topling-163009-jU89mc 2024/11/22-15:04:08.232333 140025205032512 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209848.sst): first pass time = 0.17's, 785.320'MB/sec 2024/11/22-15:04:09.212928 140025205032512 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209848.sst): old prealloc_size = 147639500, real_size = 40910864 2024/11/22-15:04:09.213069 140025205032512 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209848.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.88 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1016.97 avg-zval = 313.94 2024/11/22-15:04:09.213252 140025205032512 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209848.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/22-15:04:09.496996 140025205032512 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209848.sst): second pass time = 0.98's, 134.334'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.28's, 150.301'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2006.702'MB/sec (index lex order gen) rebuild zvType time = 0.20's, 0.159'MB/sec write SST data time = 0.08's, 530.514'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 43573.308'MB/sec zip my value time = 0.98's, unzip length = 0.132'GB zip my value throughput = 134.334'MB/sec zip pipeline throughput = 141.640'MB/sec entries = 129433 avg-key = 20.00 avg-zkey = 1.88 avg-val = 1016.97 avg-zval = 313.94 usrkeys = 129433 avg-key = 12.00 avg-zkey = 1.88 avg-val = 1023.97 avg-zval = 313.94 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129433 bytes = 436848 } seq expand size = 906031 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.3731 value = 3.2393 dict = 1.00 all = 3.1436 } Zip/UnZip{ index = 0.1569 value = 0.3087 dict = 1.00 all = 0.3181 } ---------------------------- total value len = 0.132535 GB avg = 1.024 KB (by entry num) total key len = 0.002589 GB avg = 0.020 KB total ukey len = 0.001553 GB avg = 0.012 KB total ukey num = 0.000129433 Billion total entry num = 0.000129433 Billion write speed all = 0.006057625 MB/sec (with seq num) write speed all = 0.006011205 MB/sec (without seq num) 2024/11/22-15:04:09.557184 140025205032512 [compaction_job.cc:1948] [default] [JOB 2031] Generated table #209848: 129433 keys, 42695148 bytes, temperature: kWarm 2024/11/22-15:04:09.557284 140025205032512 EVENT_LOG_v1 {"time_micros": 1732259049557218, "cf_name": "default", "job": 2031, "event": "table_file_creation", "file_number": 209848, "file_size": 42695148, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237868195, "largest_seqno": 3314651627, "table_properties": {"data_size": 40634624, "index_size": 243712, "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": 131629126, "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_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732259048, "oldest_key_time": 0, "file_creation_time": 1732259048, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 209848, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-15:04:09.611284 140025205032512 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209849.sst) /dev/shm/ToplingTemp/Topling-163009-apH5Ya 2024/11/22-15:04:10.228261 140025205032512 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209849.sst): first pass time = 0.62's, 217.556'MB/sec 2024/11/22-15:04:12.461255 140025205032512 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209849.sst): old prealloc_size = 147639500, real_size = 40915408 2024/11/22-15:04:12.461408 140025205032512 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209849.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129435 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.88 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1016.96 avg-zval = 313.98 2024/11/22-15:04:12.461592 140025205032512 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209849.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/22-15:04:12.785544 140025205032512 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209849.sst): second pass time = 2.22's, 59.229'MB/sec, value only(98.1% of KV) wait indexing time = 0.01's, remap KeyValue time = 0.32's, 131.683'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2002.672'MB/sec (index lex order gen) rebuild zvType time = 0.20's, 0.165'MB/sec write SST data time = 0.13's, 334.440'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 36489.645'MB/sec zip my value time = 2.22's, unzip length = 0.132'GB zip my value throughput = 59.229'MB/sec zip pipeline throughput = 123.891'MB/sec entries = 129435 avg-key = 20.00 avg-zkey = 1.88 avg-val = 1016.96 avg-zval = 313.98 usrkeys = 129435 avg-key = 12.00 avg-zkey = 1.88 avg-val = 1023.96 avg-zval = 313.98 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129435 bytes = 436864 } seq expand size = 906045 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.3950 value = 3.2389 dict = 1.00 all = 3.1433 } Zip/UnZip{ index = 0.1564 value = 0.3087 dict = 1.00 all = 0.3181 } ---------------------------- total value len = 0.265071 GB avg = 1.024 KB (by entry num) total key len = 0.005177 GB avg = 0.020 KB total ukey len = 0.003106 GB avg = 0.012 KB total ukey num = 0.000258868 Billion total entry num = 0.000258868 Billion write speed all = 0.012113497 MB/sec (with seq num) write speed all = 0.012020670 MB/sec (without seq num) 2024/11/22-15:04:12.838788 140025205032512 [compaction_job.cc:1948] [default] [JOB 2031] Generated table #209849: 129435 keys, 42699512 bytes, temperature: kWarm 2024/11/22-15:04:12.838872 140025205032512 EVENT_LOG_v1 {"time_micros": 1732259052838829, "cf_name": "default", "job": 2031, "event": "table_file_creation", "file_number": 209849, "file_size": 42699512, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237868596, "largest_seqno": 3314651575, "table_properties": {"data_size": 40640000, "index_size": 242880, "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": 2588700, "raw_average_key_size": 20, "raw_value_size": 131629791, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129435, "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": 1732259049, "oldest_key_time": 0, "file_creation_time": 1732259049, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 209849, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-15:04:12.909058 140025205032512 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209850.sst) /dev/shm/ToplingTemp/Topling-163009-Ay20O9 2024/11/22-15:04:13.520017 140025205032512 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209850.sst): first pass time = 0.61's, 219.705'MB/sec 2024/11/22-15:04:15.303054 140025205032512 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209850.sst): old prealloc_size = 147639500, real_size = 40944592 2024/11/22-15:04:15.303181 140025205032512 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209850.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.76 raw-val = 0.1316 GB zip-val = 0.0407 GB avg-val =1016.99 avg-zval = 314.33 2024/11/22-15:04:15.303326 140025205032512 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209850.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/22-15:04:15.459134 140025205032512 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209850.sst): second pass time = 1.78's, 73.889'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 273.777'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2258.593'MB/sec (index lex order gen) rebuild zvType time = 0.11's, 0.305'MB/sec write SST data time = 0.05's, 857.538'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 38996.999'MB/sec zip my value time = 1.78's, unzip length = 0.132'GB zip my value throughput = 73.889'MB/sec zip pipeline throughput = 187.933'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.76 avg-val = 1016.99 avg-zval = 314.33 usrkeys = 129430 avg-key = 12.00 avg-zkey = 1.76 avg-val = 1023.99 avg-zval = 314.33 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129430 bytes = 436848 } 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.0407 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 6.8054 value = 3.2354 dict = 1.00 all = 3.1412 } Zip/UnZip{ index = 0.1469 value = 0.3091 dict = 1.00 all = 0.3184 } ---------------------------- total value len = 0.397607 GB avg = 1.024 KB (by entry num) total key len = 0.007766 GB avg = 0.020 KB total ukey len = 0.004660 GB avg = 0.012 KB total ukey num = 0.000388298 Billion total entry num = 0.000388298 Billion write speed all = 0.018168071 MB/sec (with seq num) write speed all = 0.018028849 MB/sec (without seq num) 2024/11/22-15:04:15.498527 140025205032512 [compaction_job.cc:1948] [default] [JOB 2031] Generated table #209850: 129430 keys, 42728430 bytes, temperature: kWarm 2024/11/22-15:04:15.498590 140025205032512 EVENT_LOG_v1 {"time_micros": 1732259055498558, "cf_name": "default", "job": 2031, "event": "table_file_creation", "file_number": 209850, "file_size": 42728430, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237868290, "largest_seqno": 3314652517, "table_properties": {"data_size": 40683840, "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": 2588600, "raw_average_key_size": 20, "raw_value_size": 131629640, "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": 1732259052, "oldest_key_time": 0, "file_creation_time": 1732259052, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 209850, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-15:04:15.545935 140025205032512 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209851.sst) /dev/shm/ToplingTemp/Topling-163009-8UHxWa 2024/11/22-15:04:16.042851 140025205032512 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209851.sst): first pass time = 0.50's, 270.124'MB/sec 2024/11/22-15:04:17.613346 140025205032512 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209851.sst): old prealloc_size = 147639500, real_size = 40882016 2024/11/22-15:04:17.613487 140025205032512 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209851.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129429 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0003 GB avg-key = 8.00 avg-zkey = 1.96 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1017.00 avg-zval = 313.66 2024/11/22-15:04:17.613630 140025205032512 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209851.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/22-15:04:17.772445 140025205032512 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209851.sst): second pass time = 1.57's, 83.849'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 268.276'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2131.125'MB/sec (index lex order gen) rebuild zvType time = 0.11's, 0.301'MB/sec write SST data time = 0.05's, 827.717'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 36646.206'MB/sec zip my value time = 1.57's, unzip length = 0.132'GB zip my value throughput = 83.849'MB/sec zip pipeline throughput = 224.763'MB/sec entries = 129429 avg-key = 20.00 avg-zkey = 1.96 avg-val = 1017.00 avg-zval = 313.66 usrkeys = 129429 avg-key = 12.00 avg-zkey = 1.96 avg-val = 1023.81 avg-zval = 313.66 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 125766 bytes = 424480 } seq expand size = 880362 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.0003 GB value = 0.0406 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 6.1345 value = 3.2424 dict = 1.00 all = 3.1452 } Zip/UnZip{ index = 0.1630 value = 0.3084 dict = 1.00 all = 0.3179 } ---------------------------- total value len = 0.530117 GB avg = 1.024 KB (by entry num) total key len = 0.010355 GB avg = 0.020 KB total ukey len = 0.006213 GB avg = 0.012 KB total ukey num = 0.000517727 Billion total entry num = 0.000517727 Billion write speed all = 0.024220440 MB/sec (with seq num) write speed all = 0.024034830 MB/sec (without seq num) 2024/11/22-15:04:17.815594 140025205032512 [compaction_job.cc:1948] [default] [JOB 2031] Generated table #209851: 129429 keys, 42674125 bytes, temperature: kWarm 2024/11/22-15:04:17.815656 140025205032512 EVENT_LOG_v1 {"time_micros": 1732259057815624, "cf_name": "default", "job": 2031, "event": "table_file_creation", "file_number": 209851, "file_size": 42674125, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 3314651984, "table_properties": {"data_size": 40596304, "index_size": 253184, "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": 131629730, "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": 1732259055, "oldest_key_time": 0, "file_creation_time": 1732259055, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 209851, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-15:04:17.853537 140025205032512 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209852.sst) /dev/shm/ToplingTemp/Topling-163009-afFX6b 2024/11/22-15:04:17.861488 140025205032512 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209852.sst): first pass time = 0.01's, 363.115'MB/sec 2024/11/22-15:04:17.893672 140025205032512 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209852.sst): old prealloc_size = 147639500, real_size = 892888 2024/11/22-15:04:17.893720 140025205032512 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209852.sst): index type = UintIndex_AllOne , store type = DictZipBlobStore usrkeys = 2770 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 0.06 raw-val = 0.0028 GB zip-val = 0.0009 GB avg-val =1016.97 avg-zval = 321.98 2024/11/22-15:04:17.896925 140025205032512 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00/209852.sst): second pass time = 0.03's, 89.099'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.00's, 285.513'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 7.421'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.346'MB/sec write SST data time = 0.00's, 758.872'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.033'MB, throughput = 1020.454'MB/sec zip my value time = 0.03's, unzip length = 0.003'GB zip my value throughput = 89.099'MB/sec zip pipeline throughput = 89.099'MB/sec entries = 2770 avg-key = 20.00 avg-zkey = 0.07 avg-val = 1016.97 avg-zval = 321.98 usrkeys = 2770 avg-key = 12.00 avg-zkey = 0.07 avg-val = 1017.02 avg-zval = 321.98 TagRS{ kinds = RS_Key0_TagN bytes = 520 } TagArray{ size = 22 bytes = 96 } seq expand size = 154 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0000 GB value = 0.0028 GB dict = 0.03 MB all = 0.0029 GB } __ZipSize{ index = 0.0000 GB value = 0.0009 GB dict = 0.03 MB all = 0.0009 GB } UnZip/Zip{ index = 173.1250 value = 3.1585 dict = 1.00 all = 3.1004 } Zip/UnZip{ index = 0.0058 value = 0.3166 dict = 1.00 all = 0.3225 } ---------------------------- total value len = 0.532934 GB avg = 1.024 KB (by entry num) total key len = 0.010410 GB avg = 0.020 KB total ukey len = 0.006246 GB avg = 0.012 KB total ukey num = 0.000520497 Billion total entry num = 0.000520497 Billion write speed all = 0.024349034 MB/sec (with seq num) write speed all = 0.024162432 MB/sec (without seq num) 2024/11/22-15:04:17.904960 140025205032512 [compaction_job.cc:1948] [default] [JOB 2031] Generated table #209852: 2770 keys, 926464 bytes, temperature: kWarm 2024/11/22-15:04:17.905013 140025205032512 EVENT_LOG_v1 {"time_micros": 1732259057904984, "cf_name": "default", "job": 2031, "event": "table_file_creation", "file_number": 209852, "file_size": 926464, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 3310083305, "table_properties": {"data_size": 891872, "index_size": 192, "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": 55400, "raw_average_key_size": 20, "raw_value_size": 2817005, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 2770, "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_AllOne-DictZipBlobStore", "creation_time": 1732259057, "oldest_key_time": 0, "file_creation_time": 1732259057, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 209852, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-15:04:17.917767 140025205032512 [compaction_job.cc:703] job-02031: subcompact[0], size: 0.171724 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-02031/att-00 [209848,209849,209850,209851,209852] 2024/11/22-15:04:17.958176 140025205032512 (Original Log Time 2024/11/22-15:04:07.490516) EVENT_LOG_v1 {"time_micros": 1732259047490473, "job": 2031, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [209844], "files_L3": [209754, 209755, 209756, 209757], "score": 0.897852, "input_data_size": 203482552, "oldest_snapshot_seqno": 3314678199} 2024/11/22-15:04:17.958180 140025205032512 (Original Log Time 2024/11/22-15:04:17.954737) [compaction_job.cc:2022] [default] [JOB 2031] Compacted 1@2 + 4@3 files to L3 => 171723679 bytes 2024/11/22-15:04:17.958182 140025205032512 (Original Log Time 2024/11/22-15:04:17.958114) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 19.5 rd, 16.5 wr, level 3, files in(1, 4) out(5 +0 blob) MB in(31.2, 162.9 +0.0 blob) out(163.8 +0.0 blob), read-write-amplify(11.5) write-amplify(5.3) OK, records in: 549631, records dropped: 29134 output_compression: Snappy 2024/11/22-15:04:17.958188 140025205032512 (Original Log Time 2024/11/22-15:04:17.958157) EVENT_LOG_v1 {"time_micros": 1732259057958138, "cf": "default", "job": 2031, "event": "compaction_finished", "compaction_time_micros": 10427258, "compaction_time_cpu_micros": 1668104, "output_level": 3, "num_output_files": 5, "total_output_size": 171723679, "num_input_records": 549631, "num_output_records": 520497, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 187054844, "file_range_sync_nanos": 0, "file_fsync_nanos": 4476, "file_prepare_write_nanos": 9239, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/22-15:04:18.087173 140025205032512 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":1732256054,"starts":1732259047,"executesMs":10604,"compactionJobId":2031,"attempt":0,"compactionInputRawBytes":569956562,"compactionInputZipBytes":203482552,"compactionOutputRawBytes":0,"compactionOutputZipBytes":171723679,"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-8868f9169c3acf8628b393a17d9b38a2-26373a5d5e7642c2-00"}}, response = 2024/11/22-15:04:18.087249 140025205032512 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-02031/att-00: olev 3, work 10.605 s, result 4.836 ms, install 3.472 ms, input{raw 543.553 MiB zip 194.056 MiB}