2024/11/23-10:01:17.378523 139957609621056 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00: fork to child time = 0.009457 sec 2024/11/23-10:01:17.379113 139957609621056 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00 2024/11/23-10:01:17.384210 139957609621056 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00 2024/11/23-10:01:17.385108 139957609621056 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-10:01:17.385378 139957609621056 [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:01:17.448284 139957609621056 [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-23992/att-00/MANIFEST-206347 2024/11/23-10:01:17.484285 139957609621056 [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-23992/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 255193, last_sequence is 3919733717, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 255025 2024/11/23-10:01:17.484302 139957609621056 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-10:01:17.484422 139957609621056 [version_set.cc:5721] Creating manifest 255193 2024/11/23-10:01:17.516661 139957609621056 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-10:01:17.533487 139957609621056 [compaction_job.cc:2437] [default] [JOB 23992] Compacting 1@2 + 4@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/23-10:01:17.533505 139957609621056 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 18006 Base level 2, inputs: [255178(21MB)], [255082(124MB) 255083(124MB) 255084(101MB) 255085(25MB)] 2024/11/23-10:01:17.540630 139957609621056 [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:01:17.540677 139957609621056 [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:01:17.540705 139957609621056 [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:01:17.540714 139957609621056 [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:01:17.540730 139957609621056 [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:01:19.070317 139957609621056 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255194.sst) /dev/shm/ToplingTemp/Topling-20040-7kZCtv 2024/11/23-10:01:19.238392 139957609621056 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255194.sst): first pass time = 0.17's, 798.762'MB/sec 2024/11/23-10:01:21.425444 139957609621056 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255194.sst): part-0: reject ZipStore ratio = 0.809 2024/11/23-10:01:21.809275 139957609621056 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255194.sst): old prealloc_size = 147639500, real_size = 130069072 2024/11/23-10:01:21.809498 139957609621056 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255194.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198478 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.24 avg-zval = 653.30 2024/11/23-10:01:21.809768 139957609621056 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255194.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:01:22.200138 139957609621056 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255194.sst): second pass time = 2.19's, 59.237'MB/sec, value only(96.5% of KV) wait indexing time = 0.39's, remap KeyValue time = 0.39's, 334.510'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1751.669'MB/sec (index lex order gen) rebuild zvType time = 0.32's, 0.154'MB/sec write SST data time = 0.07's, 1908.654'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.19's, unzip length = 0.129'GB zip my value throughput = 59.237'MB/sec zip pipeline throughput = 76.581'MB/sec entries = 198478 avg-key = 24.00 avg-zkey = 1.78 avg-val = 652.24 avg-zval = 653.30 usrkeys = 198478 avg-key = 16.00 avg-zkey = 1.78 avg-val = 659.24 avg-zval = 653.30 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198478 bytes = 719504 } seq expand size = 1389346 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.9647 value = 0.9984 dict = 0.00 all = 1.0266 } Zip/UnZip{ index = 0.1115 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.065748913 Billion total entry num = 0.052556642 Billion write speed all = 2.625966307 MB/sec (with seq num) write speed all = 2.520058329 MB/sec (without seq num) 2024/11/23-10:01:22.363202 139957609621056 [compaction_job.cc:1948] [default] [JOB 23992] Generated table #255194: 198478 keys, 130741087 bytes, temperature: kWarm 2024/11/23-10:01:22.363321 139957609621056 EVENT_LOG_v1 {"time_micros": 1732327282363248, "cf_name": "default", "job": 23992, "event": "table_file_creation", "file_number": 255194, "file_size": 130741087, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3628609240, "largest_seqno": 3919597921, "table_properties": {"data_size": 129665024, "index_size": 354240, "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": 4763472, "raw_average_key_size": 24, "raw_value_size": 129454390, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198478, "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": 1732327279, "oldest_key_time": 0, "file_creation_time": 1732327279, "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": 255194, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:01:22.494893 139957609621056 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255195.sst) /dev/shm/ToplingTemp/Topling-20040-rZldZw 2024/11/23-10:01:24.136561 139957609621056 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255195.sst): first pass time = 1.64's, 81.761'MB/sec 2024/11/23-10:01:26.317805 139957609621056 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255195.sst): part-0: reject ZipStore ratio = 0.801 2024/11/23-10:01:26.725170 139957609621056 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255195.sst): old prealloc_size = 147639500, real_size = 130081808 2024/11/23-10:01:26.725353 139957609621056 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255195.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198308 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.83 raw-val = 0.1295 GB zip-val = 0.1297 GB avg-val = 652.81 avg-zval = 653.88 2024/11/23-10:01:26.725628 139957609621056 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255195.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:01:27.142803 139957609621056 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255195.sst): second pass time = 2.18's, 59.396'MB/sec, value only(96.5% of KV) wait indexing time = 0.41's, remap KeyValue time = 0.42's, 313.146'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2174.120'MB/sec (index lex order gen) rebuild zvType time = 0.35's, 0.140'MB/sec write SST data time = 0.06's, 2093.031'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.18's, unzip length = 0.129'GB zip my value throughput = 59.396'MB/sec zip pipeline throughput = 82.025'MB/sec entries = 198308 avg-key = 24.00 avg-zkey = 1.83 avg-val = 652.81 avg-zval = 653.88 usrkeys = 198308 avg-key = 16.00 avg-zkey = 1.83 avg-val = 659.81 avg-zval = 653.88 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198308 bytes = 743664 } seq expand size = 1388156 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.7330 value = 0.9984 dict = 0.00 all = 1.0263 } Zip/UnZip{ index = 0.1145 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.450344 GB avg = 0.027 KB total ukey len = 1.004227 GB avg = 0.015 KB total ukey num = 0.065947221 Billion total entry num = 0.052754950 Billion write speed all = 2.656816312 MB/sec (with seq num) write speed all = 2.550640909 MB/sec (without seq num) 2024/11/23-10:01:27.287462 139957609621056 [compaction_job.cc:1948] [default] [JOB 23992] Generated table #255195: 198308 keys, 130778591 bytes, temperature: kWarm 2024/11/23-10:01:27.287522 139957609621056 EVENT_LOG_v1 {"time_micros": 1732327287287490, "cf_name": "default", "job": 23992, "event": "table_file_creation", "file_number": 255195, "file_size": 130778591, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3184145272, "largest_seqno": 3919599977, "table_properties": {"data_size": 129668736, "index_size": 363328, "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": 4759392, "raw_average_key_size": 24, "raw_value_size": 129458338, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198308, "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": 1732327282, "oldest_key_time": 0, "file_creation_time": 1732327282, "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": 255195, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:01:27.345710 139957609621056 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255196.sst) /dev/shm/ToplingTemp/Topling-20040-NLeafy 2024/11/23-10:01:28.866824 139957609621056 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255196.sst): first pass time = 1.52's, 88.239'MB/sec 2024/11/23-10:01:30.869861 139957609621056 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255196.sst): old prealloc_size = 147639500, real_size = 103843728 2024/11/23-10:01:30.870079 139957609621056 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255196.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 198279 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.1034 GB avg-val = 652.91 avg-zval = 521.70 2024/11/23-10:01:30.870353 139957609621056 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255196.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:01:31.349634 139957609621056 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255196.sst): second pass time = 2.00's, 64.657'MB/sec, value only(96.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.48's, 220.671'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1770.296'MB/sec (index lex order gen) rebuild zvType time = 0.39's, 0.126'MB/sec write SST data time = 0.09's, 1222.053'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.353'MB, throughput = 36881.671'MB/sec zip my value time = 2.00's, unzip length = 0.129'GB zip my value throughput = 64.657'MB/sec zip pipeline throughput = 75.602'MB/sec entries = 198279 avg-key = 24.00 avg-zkey = 1.78 avg-val = 652.91 avg-zval = 521.70 usrkeys = 198279 avg-key = 16.00 avg-zkey = 1.78 avg-val = 659.91 avg-zval = 521.70 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198279 bytes = 718784 } seq expand size = 1387953 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.0004 GB value = 0.1034 GB dict = 1.35 MB all = 0.1059 GB } UnZip/Zip{ index = 9.0110 value = 1.2515 dict = 1.00 all = 1.2678 } Zip/UnZip{ index = 0.1110 value = 0.7990 dict = 1.00 all = 0.7888 } ---------------------------- total value len = 9.241157 GB avg = 0.175 KB (by entry num) total key len = 1.455103 GB avg = 0.027 KB total ukey len = 1.007399 GB avg = 0.015 KB total ukey num = 0.066145500 Billion total entry num = 0.052953229 Billion write speed all = 2.688086672 MB/sec (with seq num) write speed all = 2.581624882 MB/sec (without seq num) 2024/11/23-10:01:31.467818 139957609621056 [compaction_job.cc:1948] [default] [JOB 23992] Generated table #255196: 198279 keys, 105869016 bytes, temperature: kWarm 2024/11/23-10:01:31.467886 139957609621056 EVENT_LOG_v1 {"time_micros": 1732327291467852, "cf_name": "default", "job": 23992, "event": "table_file_creation", "file_number": 255196, "file_size": 105869016, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3649401203, "largest_seqno": 3919599956, "table_properties": {"data_size": 103441920, "index_size": 352064, "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": 4758696, "raw_average_key_size": 24, "raw_value_size": 129459101, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198279, "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": 1732327287, "oldest_key_time": 0, "file_creation_time": 1732327287, "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": 255196, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:01:31.511370 139957609621056 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255197.sst) /dev/shm/ToplingTemp/Topling-20040-tVI06x 2024/11/23-10:01:31.780229 139957609621056 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255197.sst): first pass time = 0.27's, 109.167'MB/sec 2024/11/23-10:01:32.303137 139957609621056 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255197.sst): part-0: reject ZipStore ratio = 0.819 2024/11/23-10:01:32.376242 139957609621056 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255197.sst): old prealloc_size = 147639500, real_size = 28439744 2024/11/23-10:01:32.376334 139957609621056 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255197.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 43398 prefix = 4 raw-key = 0.0005 GB zip-key = 0.0001 GB avg-key = 12.00 avg-zkey = 1.82 raw-val = 0.0283 GB zip-val = 0.0283 GB avg-val = 652.19 avg-zval = 653.25 2024/11/23-10:01:32.376451 139957609621056 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255197.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0001 GB, waited 0.000 sec, Key+Value = 0.029 GB 2024/11/23-10:01:32.519701 139957609621056 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00/255197.sst): second pass time = 0.52's, 54.263'MB/sec, value only(96.5% of KV) wait indexing time = 0.07's, remap KeyValue time = 0.14's, 199.368'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1063.569'MB/sec (index lex order gen) rebuild zvType time = 0.11's, 0.096'MB/sec write SST data time = 0.03's, 936.015'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 = 0.52's, unzip length = 0.028'GB zip my value throughput = 54.263'MB/sec zip pipeline throughput = 54.263'MB/sec entries = 43398 avg-key = 24.00 avg-zkey = 1.82 avg-val = 652.19 avg-zval = 653.25 usrkeys = 43398 avg-key = 16.00 avg-zkey = 1.82 avg-val = 659.19 avg-zval = 653.25 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 43398 bytes = 162752 } seq expand size = 303786 multi value expand size = 0 cnt WriteAppend = 3466 UnZipSize{ index = 0.0007 GB value = 0.0283 GB dict = 0.00 MB all = 0.0293 GB } __ZipSize{ index = 0.0001 GB value = 0.0283 GB dict = 0.00 MB all = 0.0286 GB } UnZip/Zip{ index = 8.7779 value = 0.9984 dict = 0.00 all = 1.0263 } Zip/UnZip{ index = 0.1139 value = 1.0016 dict = 0.00 all = 0.9744 } ---------------------------- total value len = 9.269764 GB avg = 0.175 KB (by entry num) total key len = 1.456144 GB avg = 0.027 KB total ukey len = 1.008093 GB avg = 0.015 KB total ukey num = 0.066188898 Billion total entry num = 0.052996627 Billion write speed all = 2.694745386 MB/sec (with seq num) write speed all = 2.588227666 MB/sec (without seq num) 2024/11/23-10:01:32.571303 139957609621056 [compaction_job.cc:1948] [default] [JOB 23992] Generated table #255197: 43398 keys, 28593054 bytes, temperature: kWarm 2024/11/23-10:01:32.571390 139957609621056 EVENT_LOG_v1 {"time_micros": 1732327292571342, "cf_name": "default", "job": 23992, "event": "table_file_creation", "file_number": 255197, "file_size": 28593054, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237868515, "largest_seqno": 3919599493, "table_properties": {"data_size": 28349616, "index_size": 79104, "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": 1041552, "raw_average_key_size": 24, "raw_value_size": 28303538, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 43398, "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": 1732327291, "oldest_key_time": 0, "file_creation_time": 1732327291, "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": 255197, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:01:32.605098 139957609621056 [compaction_job.cc:703] job-23992: subcompact[0], size: 0.395982 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23992/att-00 [255194,255195,255196,255197] 2024/11/23-10:01:32.702553 139957609621056 (Original Log Time 2024/11/23-10:01:17.533579) EVENT_LOG_v1 {"time_micros": 1732327277533525, "job": 23992, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [255178], "files_L3": [255082, 255083, 255084, 255085], "score": 0.996131, "input_data_size": 416527240, "oldest_snapshot_seqno": 3919733712} 2024/11/23-10:01:32.702559 139957609621056 (Original Log Time 2024/11/23-10:01:32.701826) [compaction_job.cc:2022] [default] [JOB 23992] Compacted 1@2 + 4@3 files to L3 => 395981748 bytes 2024/11/23-10:01:32.702561 139957609621056 (Original Log Time 2024/11/23-10:01:32.702468) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.01, MB/sec: 27.6 rd, 26.3 wr, level 3, files in(1, 4) out(4 +0 blob) MB in(21.7, 375.6 +0.0 blob) out(377.6 +0.0 blob), read-write-amplify(35.8) write-amplify(17.4) OK, records in: 669371, records dropped: 30908 output_compression: Snappy 2024/11/23-10:01:32.702571 139957609621056 (Original Log Time 2024/11/23-10:01:32.702526) EVENT_LOG_v1 {"time_micros": 1732327292702500, "cf": "default", "job": 23992, "event": "compaction_finished", "compaction_time_micros": 15071533, "compaction_time_cpu_micros": 2834343, "output_level": 3, "num_output_files": 4, "total_output_size": 395981748, "num_input_records": 669371, "num_output_records": 638463, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 364270350, "file_range_sync_nanos": 0, "file_fsync_nanos": 3327, "file_prepare_write_nanos": 1625835, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/23-10:01:32.864193 139957609621056 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":1732327277,"executesMs":15315,"compactionJobId":23992,"attempt":0,"compactionInputRawBytes":452975114,"compactionInputZipBytes":416527240,"compactionOutputRawBytes":0,"compactionOutputZipBytes":395981748,"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-e32b0b7ad42078c7c519802422cf6910-f73390139379bfe4-00"}}, response = 2024/11/23-10:01:32.864318 139957609621056 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-23992/att-00: olev 3, work 15.315 s, result 7.865 ms, install 0.768 ms, input{raw 431.991 MiB zip 397.231 MiB}