2024/11/23-09:18:21.743401 139957383018048 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00: fork to child time = 0.007386 sec 2024/11/23-09:18:21.743911 139957383018048 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00 2024/11/23-09:18:21.748908 139957383018048 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00 2024/11/23-09:18:21.749771 139957383018048 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-09:18:21.750038 139957383018048 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-09:18:21.796657 139957383018048 [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-23372/att-00/MANIFEST-206347 2024/11/23-09:18:21.828965 139957383018048 [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-23372/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 253869, last_sequence is 3903136553, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 253716 2024/11/23-09:18:21.828989 139957383018048 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-09:18:21.829107 139957383018048 [version_set.cc:5721] Creating manifest 253869 2024/11/23-09:18:21.865469 139957383018048 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-09:18:21.887674 139957383018048 [compaction_job.cc:2437] [default] [JOB 23372] Compacting 1@2 + 4@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/23-09:18:21.887696 139957383018048 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 17547 Base level 2, inputs: [253860(21MB)], [253765(124MB) 253766(124MB) 253767(124MB) 253768(1533KB)] 2024/11/23-09:18:21.899821 139957383018048 [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-09:18:21.899868 139957383018048 [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-09:18:21.899894 139957383018048 [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-09:18:21.899902 139957383018048 [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-09:18:21.899916 139957383018048 [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-09:18:23.369750 139957383018048 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253870.sst) /dev/shm/ToplingTemp/Topling-10758-ddgDgH 2024/11/23-09:18:23.534972 139957383018048 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253870.sst): first pass time = 0.17's, 812.535'MB/sec 2024/11/23-09:18:26.189020 139957383018048 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253870.sst): part-0: reject ZipStore ratio = 0.809 2024/11/23-09:18:26.651930 139957383018048 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253870.sst): old prealloc_size = 147639500, real_size = 130069760 2024/11/23-09:18:26.652130 139957383018048 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253870.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198485 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.79 raw-val = 0.1295 GB zip-val = 0.1297 GB avg-val = 652.21 avg-zval = 653.27 2024/11/23-09:18:26.652489 139957383018048 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253870.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-09:18:27.367220 139957383018048 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253870.sst): second pass time = 2.65's, 48.793'MB/sec, value only(96.5% of KV) wait indexing time = 0.46's, remap KeyValue time = 0.72's, 182.780'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1959.638'MB/sec (index lex order gen) rebuild zvType time = 0.57's, 0.088'MB/sec write SST data time = 0.15's, 880.453'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.65's, unzip length = 0.129'GB zip my value throughput = 48.793'MB/sec zip pipeline throughput = 95.846'MB/sec entries = 198485 avg-key = 24.00 avg-zkey = 1.79 avg-val = 652.21 avg-zval = 653.27 usrkeys = 198485 avg-key = 16.00 avg-zkey = 1.79 avg-val = 659.21 avg-zval = 653.27 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198485 bytes = 719520 } seq expand size = 1389395 multi value expand size = 0 cnt WriteAppend = 15813 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.9408 value = 0.9984 dict = 0.00 all = 1.0266 } Zip/UnZip{ index = 0.1118 value = 1.0016 dict = 0.00 all = 0.9741 } ---------------------------- total value len = 8.979463 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.065748920 Billion total entry num = 0.052556649 Billion write speed all = 7.472335452 MB/sec (with seq num) write speed all = 7.170968275 MB/sec (without seq num) 2024/11/23-09:18:27.553818 139957383018048 [compaction_job.cc:1948] [default] [JOB 23372] Generated table #253870: 198485 keys, 130741791 bytes, temperature: kWarm 2024/11/23-09:18:27.553902 139957383018048 EVENT_LOG_v1 {"time_micros": 1732324707553849, "cf_name": "default", "job": 23372, "event": "table_file_creation", "file_number": 253870, "file_size": 130741791, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3628609240, "largest_seqno": 3903084629, "table_properties": {"data_size": 129664752, "index_size": 355200, "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": 4763640, "raw_average_key_size": 24, "raw_value_size": 129454117, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198485, "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": 1732324703, "oldest_key_time": 0, "file_creation_time": 1732324703, "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": 253870, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-09:18:27.610119 139957383018048 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253871.sst) /dev/shm/ToplingTemp/Topling-10758-oz3ShE 2024/11/23-09:18:29.253051 139957383018048 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253871.sst): first pass time = 1.64's, 81.697'MB/sec 2024/11/23-09:18:31.833373 139957383018048 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253871.sst): old prealloc_size = 147639500, real_size = 103956336 2024/11/23-09:18:31.833599 139957383018048 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253871.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 198270 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.84 raw-val = 0.1295 GB zip-val = 0.1035 GB avg-val = 652.95 avg-zval = 522.22 2024/11/23-09:18:31.833841 139957383018048 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253871.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-09:18:32.297768 139957383018048 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253871.sst): second pass time = 2.58's, 50.200'MB/sec, value only(96.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.46's, 228.273'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2043.414'MB/sec (index lex order gen) rebuild zvType time = 0.40's, 0.125'MB/sec write SST data time = 0.07's, 1587.508'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.354'MB, throughput = 40436.206'MB/sec zip my value time = 2.58's, unzip length = 0.129'GB zip my value throughput = 50.200'MB/sec zip pipeline throughput = 111.386'MB/sec entries = 198270 avg-key = 24.00 avg-zkey = 1.84 avg-val = 652.95 avg-zval = 522.22 usrkeys = 198270 avg-key = 16.00 avg-zkey = 1.84 avg-val = 659.95 avg-zval = 522.22 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198270 bytes = 743520 } seq expand size = 1387890 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0032 GB value = 0.1295 GB dict = 1.35 MB all = 0.1342 GB } __ZipSize{ index = 0.0004 GB value = 0.1035 GB dict = 1.35 MB all = 0.1060 GB } UnZip/Zip{ index = 8.6900 value = 1.2503 dict = 1.00 all = 1.2661 } Zip/UnZip{ index = 0.1151 value = 0.7998 dict = 1.00 all = 0.7898 } ---------------------------- total value len = 9.110311 GB avg = 0.173 KB (by entry num) total key len = 1.450343 GB avg = 0.027 KB total ukey len = 1.004226 GB avg = 0.015 KB total ukey num = 0.065947190 Billion total entry num = 0.052754919 Billion write speed all = 7.542876446 MB/sec (with seq num) write speed all = 7.241437664 MB/sec (without seq num) 2024/11/23-09:18:32.420114 139957383018048 [compaction_job.cc:1948] [default] [JOB 23372] Generated table #253871: 198270 keys, 106006665 bytes, temperature: kWarm 2024/11/23-09:18:32.420171 139957383018048 EVENT_LOG_v1 {"time_micros": 1732324712420140, "cf_name": "default", "job": 23372, "event": "table_file_creation", "file_number": 253871, "file_size": 106006665, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3184145272, "largest_seqno": 3903084634, "table_properties": {"data_size": 103541536, "index_size": 365056, "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": 4758480, "raw_average_key_size": 24, "raw_value_size": 129459643, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198270, "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": 1732324707, "oldest_key_time": 0, "file_creation_time": 1732324707, "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": 253871, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-09:18:32.465909 139957383018048 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253872.sst) /dev/shm/ToplingTemp/Topling-10758-bcWdxG 2024/11/23-09:18:33.999796 139957383018048 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253872.sst): first pass time = 1.53's, 87.504'MB/sec 2024/11/23-09:18:36.252891 139957383018048 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253872.sst): part-0: reject ZipStore ratio = 0.800 2024/11/23-09:18:36.543778 139957383018048 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253872.sst): old prealloc_size = 147639500, real_size = 130071312 2024/11/23-09:18:36.543954 139957383018048 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253872.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198326 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.75 avg-zval = 653.81 2024/11/23-09:18:36.544228 139957383018048 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253872.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-09:18:36.910025 139957383018048 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253872.sst): second pass time = 2.25's, 57.493'MB/sec, value only(96.5% of KV) wait indexing time = 0.29's, remap KeyValue time = 0.37's, 357.086'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2143.472'MB/sec (index lex order gen) rebuild zvType time = 0.31's, 0.162'MB/sec write SST data time = 0.06's, 2181.010'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.25's, unzip length = 0.129'GB zip my value throughput = 57.493'MB/sec zip pipeline throughput = 113.960'MB/sec entries = 198326 avg-key = 24.00 avg-zkey = 1.78 avg-val = 652.75 avg-zval = 653.81 usrkeys = 198326 avg-key = 16.00 avg-zkey = 1.78 avg-val = 659.75 avg-zval = 653.81 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198326 bytes = 743744 } seq expand size = 1388282 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.9854 value = 0.9984 dict = 0.00 all = 1.0264 } Zip/UnZip{ index = 0.1113 value = 1.0016 dict = 0.00 all = 0.9743 } ---------------------------- 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.066145516 Billion total entry num = 0.052953245 Billion write speed all = 7.614647662 MB/sec (with seq num) write speed all = 7.313069131 MB/sec (without seq num) 2024/11/23-09:18:37.063622 139957383018048 [compaction_job.cc:1948] [default] [JOB 23372] Generated table #253872: 198326 keys, 130768479 bytes, temperature: kWarm 2024/11/23-09:18:37.063712 139957383018048 EVENT_LOG_v1 {"time_micros": 1732324717063665, "cf_name": "default", "job": 23372, "event": "table_file_creation", "file_number": 253872, "file_size": 130768479, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237868515, "largest_seqno": 3903084494, "table_properties": {"data_size": 129668416, "index_size": 353152, "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": 4759824, "raw_average_key_size": 24, "raw_value_size": 129458004, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198326, "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": 1732324712, "oldest_key_time": 0, "file_creation_time": 1732324712, "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": 253872, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-09:18:37.117485 139957383018048 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253873.sst) /dev/shm/ToplingTemp/Topling-10758-YWnDqG 2024/11/23-09:18:37.164201 139957383018048 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253873.sst): first pass time = 0.05's, 83.888'MB/sec 2024/11/23-09:18:37.223119 139957383018048 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253873.sst): part-0: reject ZipStore ratio = 0.828 2024/11/23-09:18:37.230722 139957383018048 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253873.sst): old prealloc_size = 147639500, real_size = 3794544 2024/11/23-09:18:37.230757 139957383018048 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253873.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 5782 prefix = 4 raw-key = 0.0001 GB zip-key = 0.0000 GB avg-key = 12.00 avg-zkey = 2.09 raw-val = 0.0038 GB zip-val = 0.0038 GB avg-val = 652.80 avg-zval = 653.90 2024/11/23-09:18:37.230791 139957383018048 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253873.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0000 GB, waited 0.000 sec, Key+Value = 0.004 GB 2024/11/23-09:18:37.241495 139957383018048 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00/253873.sst): second pass time = 0.06's, 64.745'MB/sec, value only(96.5% of KV) wait indexing time = 0.01's, remap KeyValue time = 0.01's, 355.106'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 432.077'MB/sec (index lex order gen) rebuild zvType time = 0.01's, 0.164'MB/sec write SST data time = 0.00's, 2020.128'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.06's, unzip length = 0.004'GB zip my value throughput = 64.745'MB/sec zip pipeline throughput = 64.745'MB/sec entries = 5782 avg-key = 24.00 avg-zkey = 2.09 avg-val = 652.80 avg-zval = 653.90 usrkeys = 5782 avg-key = 16.00 avg-zkey = 2.09 avg-val = 659.80 avg-zval = 653.90 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 5782 bytes = 20256 } seq expand size = 40474 multi value expand size = 0 cnt WriteAppend = 470 UnZipSize{ index = 0.0001 GB value = 0.0038 GB dict = 0.00 MB all = 0.0039 GB } __ZipSize{ index = 0.0000 GB value = 0.0038 GB dict = 0.00 MB all = 0.0038 GB } UnZip/Zip{ index = 7.6481 value = 0.9983 dict = 0.00 all = 1.0259 } Zip/UnZip{ index = 0.1308 value = 1.0017 dict = 0.00 all = 0.9748 } ---------------------------- total value len = 9.244972 GB avg = 0.175 KB (by entry num) total key len = 1.455242 GB avg = 0.027 KB total ukey len = 1.007492 GB avg = 0.015 KB total ukey num = 0.066151298 Billion total entry num = 0.052959027 Billion write speed all = 7.615665078 MB/sec (with seq num) write speed all = 7.314124779 MB/sec (without seq num) 2024/11/23-09:18:37.257131 139957383018048 [compaction_job.cc:1948] [default] [JOB 23372] Generated table #253873: 5782 keys, 3814556 bytes, temperature: kWarm 2024/11/23-09:18:37.257182 139957383018048 EVENT_LOG_v1 {"time_micros": 1732324717257151, "cf_name": "default", "job": 23372, "event": "table_file_creation", "file_number": 253873, "file_size": 3814556, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3702181928, "largest_seqno": 3903050581, "table_properties": {"data_size": 3780832, "index_size": 12096, "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": 138768, "raw_average_key_size": 24, "raw_value_size": 3774508, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 5782, "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": 1732324717, "oldest_key_time": 0, "file_creation_time": 1732324717, "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": 253873, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-09:18:37.270873 139957383018048 [compaction_job.cc:703] job-23372: subcompact[0], size: 0.371331 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23372/att-00 [253870,253871,253872,253873] 2024/11/23-09:18:37.315838 139957383018048 (Original Log Time 2024/11/23-09:18:21.887784) EVENT_LOG_v1 {"time_micros": 1732324701887718, "job": 23372, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [253860], "files_L3": [253765, 253766, 253767, 253768], "score": 0.995384, "input_data_size": 416585101, "oldest_snapshot_seqno": 3903136498} 2024/11/23-09:18:37.315842 139957383018048 (Original Log Time 2024/11/23-09:18:37.311765) [compaction_job.cc:2022] [default] [JOB 23372] Compacted 1@2 + 4@3 files to L3 => 371331491 bytes 2024/11/23-09:18:37.315843 139957383018048 (Original Log Time 2024/11/23-09:18:37.315781) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.01, MB/sec: 27.1 rd, 24.1 wr, level 3, files in(1, 4) out(4 +0 blob) MB in(21.7, 375.6 +0.0 blob) out(354.1 +0.0 blob), read-write-amplify(34.7) write-amplify(16.3) OK, records in: 631740, records dropped: 30877 output_compression: Snappy 2024/11/23-09:18:37.315849 139957383018048 (Original Log Time 2024/11/23-09:18:37.315822) EVENT_LOG_v1 {"time_micros": 1732324717315803, "cf": "default", "job": 23372, "event": "compaction_finished", "compaction_time_micros": 15383092, "compaction_time_cpu_micros": 2457886, "output_level": 3, "num_output_files": 4, "total_output_size": 371331491, "num_input_records": 631740, "num_output_records": 600863, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 452410472, "file_range_sync_nanos": 0, "file_fsync_nanos": 3293, "file_prepare_write_nanos": 1588126, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/23-09:18:37.441204 139957383018048 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":1732324701,"executesMs":15560,"compactionJobId":23372,"attempt":0,"compactionInputRawBytes":427531599,"compactionInputZipBytes":416585101,"compactionOutputRawBytes":0,"compactionOutputZipBytes":371331491,"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-7864021908456cffcb1601f6c6323aab-6d155b32b1a6af5e-00"}}, response = 2024/11/23-09:18:37.441281 139957383018048 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-23372/att-00: olev 3, work 15.560 s, result 7.704 ms, install 4.101 ms, input{raw 407.726 MiB zip 397.287 MiB}