2024/11/23-10:24:54.385799 139957324269120 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00: fork to child time = 0.007743 sec 2024/11/23-10:24:54.386363 139957324269120 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00 2024/11/23-10:24:54.391339 139957324269120 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00 2024/11/23-10:24:54.392329 139957324269120 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-10:24:54.392558 139957324269120 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-10:24:54.448491 139957324269120 [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-24303/att-00/MANIFEST-206347 2024/11/23-10:24:54.483516 139957324269120 [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-24303/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 255884, last_sequence is 3928615933, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 255743 2024/11/23-10:24:54.483529 139957324269120 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-10:24:54.483601 139957324269120 [version_set.cc:5721] Creating manifest 255884 2024/11/23-10:24:54.526662 139957324269120 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-10:24:54.547770 139957324269120 [compaction_job.cc:2437] [default] [JOB 24303] Compacting 1@2 + 4@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/23-10:24:54.547784 139957324269120 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 18236 Base level 2, inputs: [255877(21MB)], [255792(124MB) 255793(124MB) 255794(100MB) 255795(37MB)] 2024/11/23-10:24:54.554035 139957324269120 [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/23-10:24:54.554079 139957324269120 [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/23-10:24:54.554105 139957324269120 [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/23-10:24:54.554113 139957324269120 [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/23-10:24:54.554127 139957324269120 [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/23-10:24:55.945391 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255885.sst) /dev/shm/ToplingTemp/Topling-24599-CRNTse 2024/11/23-10:24:56.312200 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255885.sst): first pass time = 0.37's, 365.966'MB/sec 2024/11/23-10:24:58.733807 139957324269120 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255885.sst): part-0: reject ZipStore ratio = 0.809 2024/11/23-10:24:59.156914 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255885.sst): old prealloc_size = 147639500, real_size = 130068816 2024/11/23-10:24:59.157077 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255885.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198492 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.78 raw-val = 0.1295 GB zip-val = 0.1297 GB avg-val = 652.19 avg-zval = 653.25 2024/11/23-10:24:59.157293 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255885.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-10:24:59.463618 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255885.sst): second pass time = 2.42's, 53.506'MB/sec, value only(96.5% of KV) wait indexing time = 0.42's, remap KeyValue time = 0.31's, 426.282'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2415.540'MB/sec (index lex order gen) rebuild zvType time = 0.25's, 0.198'MB/sec write SST data time = 0.06's, 2355.523'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.000'MB, throughput = 0.000'MB/sec zip my value time = 2.42's, unzip length = 0.129'GB zip my value throughput = 53.506'MB/sec zip pipeline throughput = 54.478'MB/sec entries = 198492 avg-key = 24.00 avg-zkey = 1.78 avg-val = 652.19 avg-zval = 653.25 usrkeys = 198492 avg-key = 16.00 avg-zkey = 1.78 avg-val = 659.19 avg-zval = 653.25 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198492 bytes = 719552 } seq expand size = 1389444 multi value expand size = 0 cnt WriteAppend = 15812 UnZipSize{ index = 0.0032 GB value = 0.1295 GB dict = 0.00 MB all = 0.1342 GB } __ZipSize{ index = 0.0004 GB value = 0.1297 GB dict = 0.00 MB all = 0.1307 GB } UnZip/Zip{ index = 8.9767 value = 0.9984 dict = 0.00 all = 1.0266 } Zip/UnZip{ index = 0.1114 value = 1.0016 dict = 0.00 all = 0.9741 } ---------------------------- total value len = 8.979464 GB avg = 0.171 KB (by entry num) total key len = 1.445585 GB avg = 0.028 KB total ukey len = 1.001054 GB avg = 0.015 KB total ukey num = 0.065748927 Billion total entry num = 0.052556656 Billion write speed all = 1.935134008 MB/sec (with seq num) write speed all = 1.857088005 MB/sec (without seq num) 2024/11/23-10:24:59.605369 139957324269120 [compaction_job.cc:1948] [default] [JOB 24303] Generated table #255885: 198492 keys, 130740895 bytes, temperature: kWarm 2024/11/23-10:24:59.605471 139957324269120 EVENT_LOG_v1 {"time_micros": 1732328699605404, "cf_name": "default", "job": 24303, "event": "table_file_creation", "file_number": 255885, "file_size": 130740895, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3628609240, "largest_seqno": 3928599567, "table_properties": {"data_size": 129665216, "index_size": 353792, "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": 4763808, "raw_average_key_size": 24, "raw_value_size": 129454578, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198492, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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-ZipOffsetBlobStore", "creation_time": 1732328695, "oldest_key_time": 0, "file_creation_time": 1732328695, "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": 255885, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:24:59.663146 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255886.sst) /dev/shm/ToplingTemp/Topling-24599-mHxjHf 2024/11/23-10:25:01.226450 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255886.sst): first pass time = 1.56's, 85.858'MB/sec 2024/11/23-10:25:03.951145 139957324269120 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255886.sst): part-0: reject ZipStore ratio = 0.803 2024/11/23-10:25:04.326450 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255886.sst): old prealloc_size = 147639500, real_size = 130082016 2024/11/23-10:25:04.326606 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255886.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198345 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.84 raw-val = 0.1295 GB zip-val = 0.1297 GB avg-val = 652.69 avg-zval = 653.75 2024/11/23-10:25:04.326804 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255886.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-10:25:04.632456 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255886.sst): second pass time = 2.72's, 47.545'MB/sec, value only(96.5% of KV) wait indexing time = 0.38's, remap KeyValue time = 0.31's, 427.414'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2551.350'MB/sec (index lex order gen) rebuild zvType time = 0.25's, 0.200'MB/sec write SST data time = 0.06's, 2259.307'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.000'MB, throughput = 0.000'MB/sec zip my value time = 2.72's, unzip length = 0.129'GB zip my value throughput = 47.545'MB/sec zip pipeline throughput = 97.081'MB/sec entries = 198345 avg-key = 24.00 avg-zkey = 1.84 avg-val = 652.69 avg-zval = 653.75 usrkeys = 198345 avg-key = 16.00 avg-zkey = 1.84 avg-val = 659.69 avg-zval = 653.75 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198345 bytes = 743808 } seq expand size = 1388415 multi value expand size = 0 cnt WriteAppend = 15812 UnZipSize{ index = 0.0032 GB value = 0.1295 GB dict = 0.00 MB all = 0.1342 GB } __ZipSize{ index = 0.0004 GB value = 0.1297 GB dict = 0.00 MB all = 0.1308 GB } UnZip/Zip{ index = 8.7192 value = 0.9984 dict = 0.00 all = 1.0263 } Zip/UnZip{ index = 0.1147 value = 1.0016 dict = 0.00 all = 0.9744 } ---------------------------- total value len = 9.110310 GB avg = 0.173 KB (by entry num) total key len = 1.450345 GB avg = 0.027 KB total ukey len = 1.004227 GB avg = 0.015 KB total ukey num = 0.065947272 Billion total entry num = 0.052755001 Billion write speed all = 1.958426740 MB/sec (with seq num) write speed all = 1.880161290 MB/sec (without seq num) 2024/11/23-10:25:04.771957 139957324269120 [compaction_job.cc:1948] [default] [JOB 24303] Generated table #255886: 198345 keys, 130779039 bytes, temperature: kWarm 2024/11/23-10:25:04.772057 139957324269120 EVENT_LOG_v1 {"time_micros": 1732328704772022, "cf_name": "default", "job": 24303, "event": "table_file_creation", "file_number": 255886, "file_size": 130779039, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3184145272, "largest_seqno": 3928600137, "table_properties": {"data_size": 129668304, "index_size": 363968, "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": 4760280, "raw_average_key_size": 24, "raw_value_size": 129457821, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198345, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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-ZipOffsetBlobStore", "creation_time": 1732328699, "oldest_key_time": 0, "file_creation_time": 1732328699, "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": 255886, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:25:04.830322 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255887.sst) /dev/shm/ToplingTemp/Topling-24599-Xlht3e 2024/11/23-10:25:06.228404 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255887.sst): first pass time = 1.40's, 96.004'MB/sec 2024/11/23-10:25:08.310355 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255887.sst): old prealloc_size = 147639500, real_size = 103567312 2024/11/23-10:25:08.310567 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255887.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 198258 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0003 GB avg-key = 12.00 avg-zkey = 1.77 raw-val = 0.1295 GB zip-val = 0.1032 GB avg-val = 652.99 avg-zval = 520.37 2024/11/23-10:25:08.310807 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255887.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-10:25:08.648053 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255887.sst): second pass time = 2.08's, 62.209'MB/sec, value only(96.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.34's, 312.627'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1856.519'MB/sec (index lex order gen) rebuild zvType time = 0.27's, 0.182'MB/sec write SST data time = 0.07's, 1605.955'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.351'MB, throughput = 46507.468'MB/sec zip my value time = 2.08's, unzip length = 0.129'GB zip my value throughput = 62.209'MB/sec zip pipeline throughput = 70.875'MB/sec entries = 198258 avg-key = 24.00 avg-zkey = 1.77 avg-val = 652.99 avg-zval = 520.37 usrkeys = 198258 avg-key = 16.00 avg-zkey = 1.77 avg-val = 659.99 avg-zval = 520.37 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198258 bytes = 693920 } seq expand size = 1387806 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0032 GB value = 0.1295 GB dict = 1.35 MB all = 0.1342 GB } __ZipSize{ index = 0.0003 GB value = 0.1032 GB dict = 1.35 MB all = 0.1056 GB } UnZip/Zip{ index = 9.0645 value = 1.2548 dict = 1.00 all = 1.2714 } Zip/UnZip{ index = 0.1103 value = 0.7969 dict = 1.00 all = 0.7865 } ---------------------------- total value len = 9.241158 GB avg = 0.175 KB (by entry num) total key len = 1.455103 GB avg = 0.027 KB total ukey len = 1.007400 GB avg = 0.015 KB total ukey num = 0.066145530 Billion total entry num = 0.052953259 Billion write speed all = 1.982098206 MB/sec (with seq num) write speed all = 1.903597084 MB/sec (without seq num) 2024/11/23-10:25:08.797521 139957324269120 [compaction_job.cc:1948] [default] [JOB 24303] Generated table #255887: 198258 keys, 105566077 bytes, temperature: kWarm 2024/11/23-10:25:08.797585 139957324269120 EVENT_LOG_v1 {"time_micros": 1732328708797554, "cf_name": "default", "job": 24303, "event": "table_file_creation", "file_number": 255887, "file_size": 105566077, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3706705660, "largest_seqno": 3928600390, "table_properties": {"data_size": 103167616, "index_size": 349952, "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": 4758192, "raw_average_key_size": 24, "raw_value_size": 129459735, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198258, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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": 1732328704, "oldest_key_time": 0, "file_creation_time": 1732328704, "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": 255887, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:25:08.842973 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255888.sst) /dev/shm/ToplingTemp/Topling-24599-FwJc8f 2024/11/23-10:25:09.263435 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255888.sst): first pass time = 0.42's, 101.866'MB/sec 2024/11/23-10:25:10.399530 139957324269120 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255888.sst): part-0: reject ZipStore ratio = 0.817 2024/11/23-10:25:10.522992 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255888.sst): old prealloc_size = 147639500, real_size = 41503072 2024/11/23-10:25:10.523096 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255888.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 63317 prefix = 4 raw-key = 0.0008 GB zip-key = 0.0001 GB avg-key = 12.00 avg-zkey = 1.81 raw-val = 0.0413 GB zip-val = 0.0414 GB avg-val = 652.36 avg-zval = 653.42 2024/11/23-10:25:10.523228 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255888.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0001 GB, waited 0.000 sec, Key+Value = 0.043 GB 2024/11/23-10:25:10.709905 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00/255888.sst): second pass time = 1.14's, 36.381'MB/sec, value only(96.5% of KV) wait indexing time = 0.12's, remap KeyValue time = 0.19's, 223.255'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1338.440'MB/sec (index lex order gen) rebuild zvType time = 0.16's, 0.098'MB/sec write SST data time = 0.03's, 1641.978'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.000'MB, throughput = 0.000'MB/sec zip my value time = 1.14's, unzip length = 0.041'GB zip my value throughput = 36.381'MB/sec zip pipeline throughput = 129.164'MB/sec entries = 63317 avg-key = 24.00 avg-zkey = 1.81 avg-val = 652.36 avg-zval = 653.42 usrkeys = 63317 avg-key = 16.00 avg-zkey = 1.81 avg-val = 659.36 avg-zval = 653.42 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 63317 bytes = 237456 } seq expand size = 443219 multi value expand size = 0 cnt WriteAppend = 5053 UnZipSize{ index = 0.0010 GB value = 0.0413 GB dict = 0.00 MB all = 0.0428 GB } __ZipSize{ index = 0.0001 GB value = 0.0414 GB dict = 0.00 MB all = 0.0417 GB } UnZip/Zip{ index = 8.8382 value = 0.9984 dict = 0.00 all = 1.0263 } Zip/UnZip{ index = 0.1131 value = 1.0016 dict = 0.00 all = 0.9743 } ---------------------------- total value len = 9.282906 GB avg = 0.175 KB (by entry num) total key len = 1.456623 GB avg = 0.027 KB total ukey len = 1.008413 GB avg = 0.015 KB total ukey num = 0.066208847 Billion total entry num = 0.053016576 Billion write speed all = 1.989356019 MB/sec (with seq num) write speed all = 1.910791050 MB/sec (without seq num) 2024/11/23-10:25:10.761311 139957324269120 [compaction_job.cc:1948] [default] [JOB 24303] Generated table #255888: 63317 keys, 41726238 bytes, temperature: kWarm 2024/11/23-10:25:10.761400 139957324269120 EVENT_LOG_v1 {"time_micros": 1732328710761352, "cf_name": "default", "job": 24303, "event": "table_file_creation", "file_number": 255888, "file_size": 41726238, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237868515, "largest_seqno": 3928600231, "table_properties": {"data_size": 41372432, "index_size": 114624, "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": 1519608, "raw_average_key_size": 24, "raw_value_size": 41305207, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 63317, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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-ZipOffsetBlobStore", "creation_time": 1732328708, "oldest_key_time": 0, "file_creation_time": 1732328708, "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": 255888, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:25:10.795358 139957324269120 [compaction_job.cc:703] job-24303: subcompact[0], size: 0.408812 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24303/att-00 [255885,255886,255887,255888] 2024/11/23-10:25:10.913951 139957324269120 (Original Log Time 2024/11/23-10:24:54.547843) EVENT_LOG_v1 {"time_micros": 1732328694547800, "job": 24303, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [255877], "files_L3": [255792, 255793, 255794, 255795], "score": 0.995594, "input_data_size": 429543296, "oldest_snapshot_seqno": 3928615770} 2024/11/23-10:25:10.913957 139957324269120 (Original Log Time 2024/11/23-10:25:10.913267) [compaction_job.cc:2022] [default] [JOB 24303] Compacted 1@2 + 4@3 files to L3 => 408812249 bytes 2024/11/23-10:25:10.913960 139957324269120 (Original Log Time 2024/11/23-10:25:10.913859) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.02, MB/sec: 26.4 rd, 25.2 wr, level 3, files in(1, 4) out(4 +0 blob) MB in(21.8, 387.9 +0.0 blob) out(389.9 +0.0 blob), read-write-amplify(36.7) write-amplify(17.9) OK, records in: 689618, records dropped: 31206 output_compression: Snappy 2024/11/23-10:25:10.913969 139957324269120 (Original Log Time 2024/11/23-10:25:10.913924) EVENT_LOG_v1 {"time_micros": 1732328710913892, "cf": "default", "job": 24303, "event": "compaction_finished", "compaction_time_micros": 16247524, "compaction_time_cpu_micros": 2954507, "output_level": 3, "num_output_files": 4, "total_output_size": 408812249, "num_input_records": 689618, "num_output_records": 658412, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 286322173, "file_range_sync_nanos": 0, "file_fsync_nanos": 3535, "file_prepare_write_nanos": 1763813, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/23-10:25:11.065067 139957324269120 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":1732328694,"executesMs":16519,"compactionJobId":24303,"attempt":0,"compactionInputRawBytes":466662282,"compactionInputZipBytes":429543296,"compactionOutputRawBytes":0,"compactionOutputZipBytes":408812249,"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-9eea1882caef9c35c6c56767fc82ec65-6db8b2cb1074acd4-00"}}, response = 2024/11/23-10:25:11.065186 139957324269120 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-24303/att-00: olev 3, work 16.519 s, result 8.003 ms, install 0.769 ms, input{raw 445.044 MiB zip 409.644 MiB}