2024/11/23-18:17:27.342654 139957324269120 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00: fork to child time = 0.007947 sec 2024/11/23-18:17:27.343422 139957324269120 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00 2024/11/23-18:17:27.349090 139957324269120 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00 2024/11/23-18:17:27.350010 139957324269120 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-18:17:27.350255 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-18:17:27.401545 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-32902/att-00/MANIFEST-206347 2024/11/23-18:17:27.420664 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-32902/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 274390, last_sequence is 4177056576, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 274240 2024/11/23-18:17:27.420671 139957324269120 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-18:17:27.420750 139957324269120 [version_set.cc:5721] Creating manifest 274390 2024/11/23-18:17:27.456946 139957324269120 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-18:17:27.476660 139957324269120 [compaction_job.cc:2437] [default] [JOB 32902] Compacting 1@2 + 6@3 files to L3, score 0.99, subcompactions 1 : 1 2024/11/23-18:17:27.476672 139957324269120 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 24631 Base level 2, inputs: [274379(27MB)], [274346(32MB) 274347(10MB) 274289(35MB) 274290(36MB) 274298(36MB) 274299(3444KB)] 2024/11/23-18:17:27.483270 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-18:17:27.483301 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-18:17:27.483315 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-18:17:27.483320 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-18:17:27.483330 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-18:17:28.015082 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274391.sst) /dev/shm/ToplingTemp/Topling-146942-N98UVg 2024/11/23-18:17:28.994105 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274391.sst): first pass time = 0.98's, 137.099'MB/sec 2024/11/23-18:17:30.705781 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274391.sst): old prealloc_size = 147639500, real_size = 30435728 2024/11/23-18:17:30.706506 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274391.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 927972 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.1082 GB zip-val = 0.0284 GB avg-val = 116.64 avg-zval = 30.63 2024/11/23-18:17:30.707366 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274391.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-18:17:32.595992 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274391.sst): second pass time = 1.71's, 63.272'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.89's, 18.210'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2530.531'MB/sec (index lex order gen) rebuild zvType time = 1.51's, 0.154'MB/sec write SST data time = 0.38's, 90.642'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 35746.326'MB/sec zip my value time = 1.71's, unzip length = 0.108'GB zip my value throughput = 63.272'MB/sec zip pipeline throughput = 63.272'MB/sec entries = 927972 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.64 avg-zval = 30.63 usrkeys = 927972 avg-key = 20.00 avg-zkey = 1.91 avg-val = 123.64 avg-zval = 30.63 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 927972 bytes = 3131920 } seq expand size = 6495804 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0284 GB dict = 1.08 MB all = 0.0344 GB } UnZip/Zip{ index = 10.4464 value = 3.8075 dict = 1.00 all = 3.8995 } Zip/UnZip{ index = 0.0957 value = 0.2626 dict = 1.00 all = 0.2564 } ---------------------------- total value len = 8.963350 GB avg = 0.168 KB (by entry num) total key len = 1.466804 GB avg = 0.028 KB total ukey len = 1.016437 GB avg = 0.015 KB total ukey num = 0.066478407 Billion total entry num = 0.053286136 Billion write speed all = 0.309129715 MB/sec (with seq num) write speed all = 0.296495327 MB/sec (without seq num) 2024/11/23-18:17:32.641864 139957324269120 [compaction_job.cc:1948] [default] [JOB 32902] Generated table #274391: 927972 keys, 34419568 bytes, temperature: kWarm 2024/11/23-18:17:32.641960 139957324269120 EVENT_LOG_v1 {"time_micros": 1732357052641900, "cf_name": "default", "job": 32902, "event": "table_file_creation", "file_number": 274391, "file_size": 34419568, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4077094389, "largest_seqno": 4176429128, "table_properties": {"data_size": 28426880, "index_size": 1776640, "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": 25983216, "raw_average_key_size": 28, "raw_value_size": 108234580, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 927972, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732357048, "oldest_key_time": 0, "file_creation_time": 1732357048, "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": 274391, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:17:32.681664 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274392.sst) /dev/shm/ToplingTemp/Topling-146942-xHXA7e 2024/11/23-18:17:33.924510 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274392.sst): first pass time = 1.24's, 107.996'MB/sec 2024/11/23-18:17:36.066150 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274392.sst): old prealloc_size = 147639500, real_size = 33109216 2024/11/23-18:17:36.066848 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274392.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 925269 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1083 GB zip-val = 0.0311 GB avg-val = 117.06 avg-zval = 33.63 2024/11/23-18:17:36.067680 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274392.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-18:17:37.740829 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274392.sst): second pass time = 2.14's, 50.593'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.67's, 22.077'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2616.139'MB/sec (index lex order gen) rebuild zvType time = 1.42's, 0.163'MB/sec write SST data time = 0.26's, 143.222'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 34515.363'MB/sec zip my value time = 2.14's, unzip length = 0.108'GB zip my value throughput = 50.593'MB/sec zip pipeline throughput = 83.927'MB/sec entries = 925269 avg-key = 28.00 avg-zkey = 1.90 avg-val = 117.06 avg-zval = 33.63 usrkeys = 925269 avg-key = 20.00 avg-zkey = 1.90 avg-val = 124.06 avg-zval = 33.63 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 925269 bytes = 3007136 } seq expand size = 6476883 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0311 GB dict = 1.08 MB all = 0.0370 GB } UnZip/Zip{ index = 10.5144 value = 3.4807 dict = 1.00 all = 3.6303 } Zip/UnZip{ index = 0.0951 value = 0.2873 dict = 1.00 all = 0.2755 } ---------------------------- total value len = 9.078137 GB avg = 0.167 KB (by entry num) total key len = 1.492712 GB avg = 0.028 KB total ukey len = 1.034943 GB avg = 0.015 KB total ukey num = 0.067403676 Billion total entry num = 0.054211405 Billion write speed all = 0.313251871 MB/sec (with seq num) write speed all = 0.300400057 MB/sec (without seq num) 2024/11/23-18:17:37.790115 139957324269120 [compaction_job.cc:1948] [default] [JOB 32902] Generated table #274392: 925269 keys, 36971508 bytes, temperature: kWarm 2024/11/23-18:17:37.790205 139957324269120 EVENT_LOG_v1 {"time_micros": 1732357057790157, "cf_name": "default", "job": 32902, "event": "table_file_creation", "file_number": 274392, "file_size": 36971508, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4124223986, "largest_seqno": 4177020226, "table_properties": {"data_size": 31117712, "index_size": 1760000, "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": 25907532, "raw_average_key_size": 28, "raw_value_size": 108310322, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 925269, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732357052, "oldest_key_time": 0, "file_creation_time": 1732357052, "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": 274392, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:17:37.855921 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274393.sst) /dev/shm/ToplingTemp/Topling-146942-Jy6l3h 2024/11/23-18:17:39.163945 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274393.sst): first pass time = 1.31's, 102.615'MB/sec 2024/11/23-18:17:40.855178 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274393.sst): old prealloc_size = 147639500, real_size = 34151936 2024/11/23-18:17:40.855866 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274393.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 930265 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1082 GB zip-val = 0.0321 GB avg-val = 116.28 avg-zval = 34.56 2024/11/23-18:17:40.856699 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274393.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-18:17:42.409476 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274393.sst): second pass time = 1.69's, 63.997'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.55's, 24.466'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2650.225'MB/sec (index lex order gen) rebuild zvType time = 1.27's, 0.184'MB/sec write SST data time = 0.29's, 132.295'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.078'MB, throughput = 34666.517'MB/sec zip my value time = 1.69's, unzip length = 0.108'GB zip my value throughput = 63.997'MB/sec zip pipeline throughput = 63.997'MB/sec entries = 930265 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.28 avg-zval = 34.56 usrkeys = 930265 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.28 avg-zval = 34.56 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 930265 bytes = 3023376 } seq expand size = 6511855 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0321 GB dict = 1.08 MB all = 0.0380 GB } UnZip/Zip{ index = 10.5135 value = 3.3646 dict = 1.00 all = 3.5295 } Zip/UnZip{ index = 0.0951 value = 0.2972 dict = 1.00 all = 0.2833 } ---------------------------- total value len = 9.192820 GB avg = 0.167 KB (by entry num) total key len = 1.518759 GB avg = 0.028 KB total ukey len = 1.053548 GB avg = 0.015 KB total ukey num = 0.068333941 Billion total entry num = 0.055141670 Billion write speed all = 0.317378281 MB/sec (with seq num) write speed all = 0.304307738 MB/sec (without seq num) 2024/11/23-18:17:42.459003 139957324269120 [compaction_job.cc:1948] [default] [JOB 32902] Generated table #274393: 930265 keys, 38027030 bytes, temperature: kWarm 2024/11/23-18:17:42.459094 139957324269120 EVENT_LOG_v1 {"time_micros": 1732357062459046, "cf_name": "default", "job": 32902, "event": "table_file_creation", "file_number": 274393, "file_size": 38027030, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4130559389, "largest_seqno": 4177020262, "table_properties": {"data_size": 32149552, "index_size": 1769664, "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": 26047420, "raw_average_key_size": 28, "raw_value_size": 108170318, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930265, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732357057, "oldest_key_time": 0, "file_creation_time": 1732357057, "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": 274393, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:17:42.530246 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274394.sst) /dev/shm/ToplingTemp/Topling-146942-qAGZuh 2024/11/23-18:17:43.601012 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274394.sst): first pass time = 1.07's, 125.354'MB/sec 2024/11/23-18:17:45.315092 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274394.sst): old prealloc_size = 147639500, real_size = 35073296 2024/11/23-18:17:45.315640 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274394.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 930460 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.93 raw-val = 0.1082 GB zip-val = 0.0330 GB avg-val = 116.25 avg-zval = 35.52 2024/11/23-18:17:45.316438 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274394.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-18:17:46.381184 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274394.sst): second pass time = 1.71's, 63.145'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.07's, 36.754'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3383.727'MB/sec (index lex order gen) rebuild zvType time = 0.83's, 0.279'MB/sec write SST data time = 0.23's, 169.260'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.078'MB, throughput = 35185.105'MB/sec zip my value time = 1.71's, unzip length = 0.108'GB zip my value throughput = 63.145'MB/sec zip pipeline throughput = 64.913'MB/sec entries = 930460 avg-key = 28.00 avg-zkey = 1.93 avg-val = 116.25 avg-zval = 35.52 usrkeys = 930460 avg-key = 20.00 avg-zkey = 1.93 avg-val = 123.25 avg-zval = 35.52 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 930460 bytes = 3256624 } seq expand size = 6513220 multi value expand size = 0 cnt WriteAppend = 17 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0330 GB dict = 1.08 MB all = 0.0392 GB } UnZip/Zip{ index = 10.3739 value = 3.2731 dict = 1.00 all = 3.4256 } Zip/UnZip{ index = 0.0964 value = 0.3055 dict = 1.00 all = 0.2919 } ---------------------------- total value len = 9.307498 GB avg = 0.166 KB (by entry num) total key len = 1.544812 GB avg = 0.028 KB total ukey len = 1.072157 GB avg = 0.015 KB total ukey num = 0.069264401 Billion total entry num = 0.056072130 Billion write speed all = 0.321510229 MB/sec (with seq num) write speed all = 0.308220698 MB/sec (without seq num) 2024/11/23-18:17:46.431881 139957324269120 [compaction_job.cc:1948] [default] [JOB 32902] Generated table #274394: 930460 keys, 39181326 bytes, temperature: kWarm 2024/11/23-18:17:46.431969 139957324269120 EVENT_LOG_v1 {"time_micros": 1732357066431921, "cf_name": "default", "job": 32902, "event": "table_file_creation", "file_number": 274394, "file_size": 39181326, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4042106349, "largest_seqno": 4177020294, "table_properties": {"data_size": 33046656, "index_size": 1793856, "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": 26052880, "raw_average_key_size": 28, "raw_value_size": 108164916, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930460, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732357062, "oldest_key_time": 0, "file_creation_time": 1732357062, "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": 274394, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:17:46.499213 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274395.sst) /dev/shm/ToplingTemp/Topling-146942-WARwCg 2024/11/23-18:17:46.874777 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274395.sst): first pass time = 0.38's, 188.570'MB/sec 2024/11/23-18:17:47.614729 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274395.sst): old prealloc_size = 147639500, real_size = 18409056 2024/11/23-18:17:47.615073 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274395.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 494110 prefix = 4 raw-key = 0.0079 GB zip-key = 0.0009 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.0570 GB zip-val = 0.0173 GB avg-val = 115.31 avg-zval = 35.10 2024/11/23-18:17:47.615471 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274395.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0012 GB, waited 0.000 sec, Key+Value = 0.071 GB 2024/11/23-18:17:48.295234 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00/274395.sst): second pass time = 0.74's, 77.113'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.68's, 29.891'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2891.964'MB/sec (index lex order gen) rebuild zvType time = 0.57's, 0.216'MB/sec write SST data time = 0.11's, 187.418'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.569'MB, throughput = 15660.105'MB/sec zip my value time = 0.74's, unzip length = 0.057'GB zip my value throughput = 77.113'MB/sec zip pipeline throughput = 77.113'MB/sec entries = 494110 avg-key = 28.00 avg-zkey = 1.90 avg-val = 115.31 avg-zval = 35.10 usrkeys = 494110 avg-key = 20.00 avg-zkey = 1.90 avg-val = 122.31 avg-zval = 35.10 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 494110 bytes = 1482352 } seq expand size = 3458770 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0099 GB value = 0.0570 GB dict = 0.57 MB all = 0.0708 GB } __ZipSize{ index = 0.0009 GB value = 0.0173 GB dict = 0.57 MB all = 0.0203 GB } UnZip/Zip{ index = 10.5055 value = 3.2850 dict = 1.00 all = 3.4814 } Zip/UnZip{ index = 0.0952 value = 0.3044 dict = 1.00 all = 0.2872 } ---------------------------- total value len = 9.367933 GB avg = 0.166 KB (by entry num) total key len = 1.558647 GB avg = 0.028 KB total ukey len = 1.082040 GB avg = 0.016 KB total ukey num = 0.069758511 Billion total entry num = 0.056566240 Billion write speed all = 0.323692218 MB/sec (with seq num) write speed all = 0.310286339 MB/sec (without seq num) 2024/11/23-18:17:48.324618 139957324269120 [compaction_job.cc:1948] [default] [JOB 32902] Generated table #274395: 494110 keys, 20340293 bytes, temperature: kWarm 2024/11/23-18:17:48.324686 139957324269120 EVENT_LOG_v1 {"time_micros": 1732357068324651, "cf_name": "default", "job": 32902, "event": "table_file_creation", "file_number": 274395, "file_size": 20340293, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4160358531, "largest_seqno": 4177020326, "table_properties": {"data_size": 17344656, "index_size": 940672, "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": 13835080, "raw_average_key_size": 28, "raw_value_size": 56976928, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 494110, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 28, "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": 1732357066, "oldest_key_time": 0, "file_creation_time": 1732357066, "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": 274395, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:17:48.362577 139957324269120 [compaction_job.cc:703] job-32902: subcompact[0], size: 0.168940 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32902/att-00 [274391,274392,274393,274394,274395] 2024/11/23-18:17:48.422973 139957324269120 (Original Log Time 2024/11/23-18:17:27.476711) EVENT_LOG_v1 {"time_micros": 1732357047476682, "job": 32902, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [274379], "files_L3": [274346, 274347, 274289, 274290, 274298, 274299], "score": 0.986053, "input_data_size": 191017668, "oldest_snapshot_seqno": 4177056522} 2024/11/23-18:17:48.422992 139957324269120 (Original Log Time 2024/11/23-18:17:48.415106) [compaction_job.cc:2022] [default] [JOB 32902] Compacted 1@2 + 6@3 files to L3 => 168939725 bytes 2024/11/23-18:17:48.422996 139957324269120 (Original Log Time 2024/11/23-18:17:48.422890) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 9.1 rd, 8.1 wr, level 3, files in(1, 6) out(5 +0 blob) MB in(27.2, 155.0 +0.0 blob) out(161.1 +0.0 blob), read-write-amplify(12.6) write-amplify(5.9) OK, records in: 4276713, records dropped: 68637 output_compression: Snappy 2024/11/23-18:17:48.423008 139957324269120 (Original Log Time 2024/11/23-18:17:48.422949) EVENT_LOG_v1 {"time_micros": 1732357068422922, "cf": "default", "job": 32902, "event": "compaction_finished", "compaction_time_micros": 20885876, "compaction_time_cpu_micros": 9088987, "output_level": 3, "num_output_files": 5, "total_output_size": 168939725, "num_input_records": 4276713, "num_output_records": 4208076, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 213673956, "file_range_sync_nanos": 0, "file_fsync_nanos": 4963, "file_prepare_write_nanos": 15324, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/23-18:17:48.553233 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":1732357047,"executesMs":21064,"compactionJobId":32902,"attempt":0,"compactionInputRawBytes":617429646,"compactionInputZipBytes":191017668,"compactionOutputRawBytes":0,"compactionOutputZipBytes":168939725,"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-70f40538fddce6fbc9e830f79c030c0a-ec771ad4c60653ab-00"}}, response = 2024/11/23-18:17:48.553322 139957324269120 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-32902/att-00: olev 3, work 21.064 s, result 7.960 ms, install 7.924 ms, input{raw 588.827 MiB zip 182.169 MiB}