2024/11/23-22:09:19.951140 139957601228352 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00: fork to child time = 0.016938 sec 2024/11/23-22:09:19.952146 139957601228352 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00 2024/11/23-22:09:19.963721 139957601228352 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00 2024/11/23-22:09:19.964645 139957601228352 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-22:09:19.965043 139957601228352 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-22:09:20.025320 139957601228352 [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-36785/att-00/MANIFEST-206347 2024/11/23-22:09:20.042497 139957601228352 [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-36785/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 282638, last_sequence is 4291325364, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 282527 2024/11/23-22:09:20.042510 139957601228352 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-22:09:20.042694 139957601228352 [version_set.cc:5721] Creating manifest 282638 2024/11/23-22:09:20.078446 139957601228352 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-22:09:20.100721 139957601228352 [compaction_job.cc:2437] [default] [JOB 36785] Compacting 1@2 + 5@3 files to L3, score 0.16, subcompactions 1 : 1 2024/11/23-22:09:20.100743 139957601228352 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 27541 Base level 2, inputs: [282622(17MB)], [282587(36MB) 282588(36MB) 282589(2185KB) 282579(36MB) 282580(25MB)] 2024/11/23-22:09:20.108693 139957601228352 [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-22:09:20.108734 139957601228352 [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-22:09:20.108755 139957601228352 [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-22:09:20.108762 139957601228352 [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-22:09:20.108774 139957601228352 [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-22:09:20.626192 139957601228352 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282639.sst) /dev/shm/ToplingTemp/Topling-202161-47V4MF 2024/11/23-22:09:21.434717 139957601228352 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282639.sst): first pass time = 0.81's, 166.013'MB/sec 2024/11/23-22:09:22.828140 139957601228352 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282639.sst): old prealloc_size = 147639500, real_size = 34172608 2024/11/23-22:09:22.828676 139957601228352 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282639.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 929653 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.0322 GB avg-val = 116.37 avg-zval = 34.61 2024/11/23-22:09:22.829449 139957601228352 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282639.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-22:09:23.849030 139957601228352 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282639.sst): second pass time = 1.39's, 77.686'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.02's, 37.156'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3499.245'MB/sec (index lex order gen) rebuild zvType time = 0.80's, 0.292'MB/sec write SST data time = 0.22's, 169.609'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 = 33798.009'MB/sec zip my value time = 1.39's, unzip length = 0.108'GB zip my value throughput = 77.686'MB/sec zip pipeline throughput = 77.686'MB/sec entries = 929653 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.37 avg-zval = 34.61 usrkeys = 929653 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.37 avg-zval = 34.61 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 929653 bytes = 2905184 } seq expand size = 6507571 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.0322 GB dict = 1.08 MB all = 0.0379 GB } UnZip/Zip{ index = 10.5123 value = 3.3629 dict = 1.00 all = 3.5385 } Zip/UnZip{ index = 0.0951 value = 0.2974 dict = 1.00 all = 0.2826 } ---------------------------- total value len = 8.963315 GB avg = 0.168 KB (by entry num) total key len = 1.466851 GB avg = 0.028 KB total ukey len = 1.016471 GB avg = 0.015 KB total ukey num = 0.066480088 Billion total entry num = 0.053287817 Billion write speed all = 0.218883704 MB/sec (with seq num) write speed all = 0.209937473 MB/sec (without seq num) 2024/11/23-22:09:23.934671 139957601228352 [compaction_job.cc:1948] [default] [JOB 36785] Generated table #282639: 929653 keys, 37930792 bytes, temperature: kWarm 2024/11/23-22:09:23.934773 139957601228352 EVENT_LOG_v1 {"time_micros": 1732370963934710, "cf_name": "default", "job": 36785, "event": "table_file_creation", "file_number": 282639, "file_size": 37930792, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4259662629, "largest_seqno": 4291287039, "table_properties": {"data_size": 32171312, "index_size": 1768704, "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": 26030284, "raw_average_key_size": 28, "raw_value_size": 108187490, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 929653, "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": 1732370960, "oldest_key_time": 0, "file_creation_time": 1732370960, "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": 282639, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-22:09:23.970542 139957601228352 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282640.sst) /dev/shm/ToplingTemp/Topling-202161-whD5IH 2024/11/23-22:09:24.961136 139957601228352 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282640.sst): first pass time = 0.99's, 135.497'MB/sec 2024/11/23-22:09:26.498833 139957601228352 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282640.sst): old prealloc_size = 147639500, real_size = 34169888 2024/11/23-22:09:26.499533 139957601228352 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282640.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 933580 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.1081 GB zip-val = 0.0321 GB avg-val = 115.77 avg-zval = 34.44 2024/11/23-22:09:26.500395 139957601228352 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282640.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-22:09:27.963689 139957601228352 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282640.sst): second pass time = 1.54's, 70.328'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.46's, 25.899'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2653.519'MB/sec (index lex order gen) rebuild zvType time = 1.21's, 0.193'MB/sec write SST data time = 0.25's, 150.311'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 = 34447.420'MB/sec zip my value time = 1.54's, unzip length = 0.108'GB zip my value throughput = 70.328'MB/sec zip pipeline throughput = 70.328'MB/sec entries = 933580 avg-key = 28.00 avg-zkey = 1.92 avg-val = 115.77 avg-zval = 34.44 usrkeys = 933580 avg-key = 20.00 avg-zkey = 1.92 avg-val = 122.77 avg-zval = 34.44 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 933580 bytes = 2917456 } seq expand size = 6535060 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0187 GB value = 0.1081 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0321 GB dict = 1.08 MB all = 0.0379 GB } UnZip/Zip{ index = 10.4437 value = 3.3618 dict = 1.00 all = 3.5378 } Zip/UnZip{ index = 0.0958 value = 0.2975 dict = 1.00 all = 0.2827 } ---------------------------- total value len = 9.077928 GB avg = 0.167 KB (by entry num) total key len = 1.492992 GB avg = 0.028 KB total ukey len = 1.035143 GB avg = 0.015 KB total ukey num = 0.067413668 Billion total entry num = 0.054221397 Billion write speed all = 0.221818340 MB/sec (with seq num) write speed all = 0.212716160 MB/sec (without seq num) 2024/11/23-22:09:28.052288 139957601228352 [compaction_job.cc:1948] [default] [JOB 36785] Generated table #282640: 933580 keys, 37937888 bytes, temperature: kWarm 2024/11/23-22:09:28.052381 139957601228352 EVENT_LOG_v1 {"time_micros": 1732370968052334, "cf_name": "default", "job": 36785, "event": "table_file_creation", "file_number": 282640, "file_size": 37937888, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4261178518, "largest_seqno": 4291287064, "table_properties": {"data_size": 32148496, "index_size": 1787840, "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": 26140240, "raw_average_key_size": 28, "raw_value_size": 108077612, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 933580, "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": 1732370963, "oldest_key_time": 0, "file_creation_time": 1732370963, "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": 282640, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-22:09:28.112278 139957601228352 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282641.sst) /dev/shm/ToplingTemp/Topling-202161-UwmGsG 2024/11/23-22:09:29.803034 139957601228352 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282641.sst): first pass time = 1.69's, 79.387'MB/sec 2024/11/23-22:09:36.182940 139957601228352 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282641.sst): old prealloc_size = 147639500, real_size = 34104928 2024/11/23-22:09:36.183595 139957601228352 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282641.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 931776 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1081 GB zip-val = 0.0321 GB avg-val = 116.05 avg-zval = 34.45 2024/11/23-22:09:36.184330 139957601228352 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282641.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-22:09:37.165259 139957601228352 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282641.sst): second pass time = 6.38's, 16.950'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.98's, 38.550'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3051.049'MB/sec (index lex order gen) rebuild zvType time = 0.86's, 0.272'MB/sec write SST data time = 0.12's, 303.992'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 = 34355.570'MB/sec zip my value time = 6.38's, unzip length = 0.108'GB zip my value throughput = 16.950'MB/sec zip pipeline throughput = 63.221'MB/sec entries = 931776 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.05 avg-zval = 34.45 usrkeys = 931776 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.05 avg-zval = 34.45 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 931776 bytes = 2911808 } seq expand size = 6522432 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0186 GB value = 0.1081 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0321 GB dict = 1.08 MB all = 0.0379 GB } UnZip/Zip{ index = 10.5119 value = 3.3686 dict = 1.00 all = 3.5444 } Zip/UnZip{ index = 0.0951 value = 0.2969 dict = 1.00 all = 0.2821 } ---------------------------- total value len = 9.192578 GB avg = 0.167 KB (by entry num) total key len = 1.519081 GB avg = 0.028 KB total ukey len = 1.053778 GB avg = 0.015 KB total ukey num = 0.068345444 Billion total entry num = 0.055153173 Billion write speed all = 0.224728218 MB/sec (with seq num) write speed all = 0.215471408 MB/sec (without seq num) 2024/11/23-22:09:37.240217 139957601228352 [compaction_job.cc:1948] [default] [JOB 36785] Generated table #282641: 931776 keys, 37867554 bytes, temperature: kWarm 2024/11/23-22:09:37.240291 139957601228352 EVENT_LOG_v1 {"time_micros": 1732370977240252, "cf_name": "default", "job": 36785, "event": "table_file_creation", "file_number": 282641, "file_size": 37867554, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4261178559, "largest_seqno": 4291287108, "table_properties": {"data_size": 32099024, "index_size": 1772800, "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": 26089728, "raw_average_key_size": 28, "raw_value_size": 108128128, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 931776, "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": 1732370968, "oldest_key_time": 0, "file_creation_time": 1732370968, "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": 282641, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-22:09:37.276140 139957601228352 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282642.sst) /dev/shm/ToplingTemp/Topling-202161-CdT2jF 2024/11/23-22:09:38.451286 139957601228352 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282642.sst): first pass time = 1.18's, 94.871'MB/sec 2024/11/23-22:09:39.607781 139957601228352 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282642.sst): old prealloc_size = 147639500, real_size = 28400624 2024/11/23-22:09:39.608347 139957601228352 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282642.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 775492 prefix = 4 raw-key = 0.0124 GB zip-key = 0.0015 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.0898 GB zip-val = 0.0267 GB avg-val = 115.76 avg-zval = 34.47 2024/11/23-22:09:39.609002 139957601228352 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282642.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0019 GB, waited 0.000 sec, Key+Value = 0.111 GB 2024/11/23-22:09:40.482600 139957601228352 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00/282642.sst): second pass time = 1.16's, 77.674'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.87's, 36.046'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2719.001'MB/sec (index lex order gen) rebuild zvType time = 0.68's, 0.287'MB/sec write SST data time = 0.20's, 159.092'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.898'MB, throughput = 29256.808'MB/sec zip my value time = 1.16's, unzip length = 0.090'GB zip my value throughput = 77.674'MB/sec zip pipeline throughput = 77.674'MB/sec entries = 775492 avg-key = 28.00 avg-zkey = 1.90 avg-val = 115.76 avg-zval = 34.47 usrkeys = 775492 avg-key = 20.00 avg-zkey = 1.90 avg-val = 122.76 avg-zval = 34.47 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 775492 bytes = 2423424 } seq expand size = 5428444 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0155 GB value = 0.0898 GB dict = 0.90 MB all = 0.1115 GB } __ZipSize{ index = 0.0015 GB value = 0.0267 GB dict = 0.90 MB all = 0.0315 GB } UnZip/Zip{ index = 10.5096 value = 3.3582 dict = 1.00 all = 3.5354 } Zip/UnZip{ index = 0.0952 value = 0.2978 dict = 1.00 all = 0.2829 } ---------------------------- total value len = 9.287775 GB avg = 0.166 KB (by entry num) total key len = 1.540795 GB avg = 0.028 KB total ukey len = 1.069288 GB avg = 0.015 KB total ukey num = 0.069120936 Billion total entry num = 0.055928665 Billion write speed all = 0.227165170 MB/sec (with seq num) write speed all = 0.217778856 MB/sec (without seq num) 2024/11/23-22:09:40.536951 139957601228352 [compaction_job.cc:1948] [default] [JOB 36785] Generated table #282642: 775492 keys, 31533464 bytes, temperature: kWarm 2024/11/23-22:09:40.537025 139957601228352 EVENT_LOG_v1 {"time_micros": 1732370980536984, "cf_name": "default", "job": 36785, "event": "table_file_creation", "file_number": 282642, "file_size": 31533464, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4261178589, "largest_seqno": 4291285442, "table_properties": {"data_size": 26730784, "index_size": 1475776, "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": 21713776, "raw_average_key_size": 28, "raw_value_size": 89768540, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 775492, "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": 1732370977, "oldest_key_time": 0, "file_creation_time": 1732370977, "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": 282642, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-22:09:40.563230 139957601228352 [compaction_job.cc:703] job-36785: subcompact[0], size: 0.145270 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-36785/att-00 [282639,282640,282641,282642] 2024/11/23-22:09:40.604317 139957601228352 (Original Log Time 2024/11/23-22:09:20.100827) EVENT_LOG_v1 {"time_micros": 1732370960100765, "job": 36785, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [282622], "files_L3": [282587, 282588, 282589, 282579, 282580], "score": 0.158563, "input_data_size": 161388668, "oldest_snapshot_seqno": 4291325174} 2024/11/23-22:09:40.604321 139957601228352 (Original Log Time 2024/11/23-22:09:40.603790) [compaction_job.cc:2022] [default] [JOB 36785] Compacted 1@2 + 5@3 files to L3 => 145269698 bytes 2024/11/23-22:09:40.604322 139957601228352 (Original Log Time 2024/11/23-22:09:40.604256) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.01, MB/sec: 7.9 rd, 7.1 wr, level 3, files in(1, 5) out(4 +0 blob) MB in(17.9, 136.0 +0.0 blob) out(138.5 +0.0 blob), read-write-amplify(16.3) write-amplify(7.7) OK, records in: 3643174, records dropped: 72673 output_compression: Snappy 2024/11/23-22:09:40.604329 139957601228352 (Original Log Time 2024/11/23-22:09:40.604299) EVENT_LOG_v1 {"time_micros": 1732370980604279, "cf": "default", "job": 36785, "event": "compaction_finished", "compaction_time_micros": 20462412, "compaction_time_cpu_micros": 7131387, "output_level": 3, "num_output_files": 4, "total_output_size": 145269698, "num_input_records": 3643174, "num_output_records": 3570501, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 135923371, "file_range_sync_nanos": 0, "file_fsync_nanos": 2653, "file_prepare_write_nanos": 11781, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/23-22:09:40.728725 139957601228352 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":1732370959,"executesMs":20643,"compactionJobId":36785,"attempt":0,"compactionInputRawBytes":524455364,"compactionInputZipBytes":161388668,"compactionOutputRawBytes":0,"compactionOutputZipBytes":145269698,"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-35ddf1457da4c311003db033dc040c76-305440764d3544d3-00"}}, response = 2024/11/23-22:09:40.728849 139957601228352 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-36785/att-00: olev 3, work 20.643 s, result 9.123 ms, install 0.554 ms, input{raw 500.160 MiB zip 153.912 MiB}