2024/11/23-10:37:02.932720 139957567657536 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00: fork to child time = 0.007573 sec 2024/11/23-10:37:02.933250 139957567657536 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00 2024/11/23-10:37:02.938217 139957567657536 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00 2024/11/23-10:37:02.939087 139957567657536 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-10:37:02.939304 139957567657536 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-10:37:02.999567 139957567657536 [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-24475/att-00/MANIFEST-206347 2024/11/23-10:37:03.034131 139957567657536 [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-24475/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 256244, last_sequence is 3933120799, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 256091 2024/11/23-10:37:03.034141 139957567657536 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-10:37:03.034220 139957567657536 [version_set.cc:5721] Creating manifest 256244 2024/11/23-10:37:03.068693 139957567657536 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-10:37:03.097154 139957567657536 [compaction_job.cc:2437] [default] [JOB 24475] Compacting 1@2 + 4@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/23-10:37:03.097180 139957567657536 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 18361 Base level 2, inputs: [256233(21MB)], [256161(124MB) 256162(124MB) 256163(100MB) 256164(43MB)] 2024/11/23-10:37:03.107967 139957567657536 [top_zip_table.cc:59] core git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCS = -Isrc -I3rdparty/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/23-10:37:03.108031 139957567657536 [top_zip_table.cc:60] fsa git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCS = -Isrc -I3rdparty/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/23-10:37:03.108060 139957567657536 [top_zip_table.cc:61] zbs git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCS = -Isrc -I3rdparty/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/23-10:37:03.108068 139957567657536 [top_zip_table.cc:62] topling-zip_table_reader: git_version_hash_info_is: commit a4a382006cb82713acf5b3425835f22711877681 Author: leipeng Date: 2024-04-11 19:44:14 +0800 fixed_len_hole_index.cc: Add env bool FixedLenHoleIndexUseAVX512 for ut & debug 1. FixedLenHoleIndexUseAVX512 is only in unit tests or debug 2. In release mode, use avx512 by compile options(-march=) g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. cpu_flag: -march=native -mbmi -mbmi2 2024/11/23-10:37:03.108081 139957567657536 [top_zip_table.cc:64] topling-rocks git_version_hash_info_is: commit feab587e468621ba0204d47b4ffacc52e7c4290d Author: leipeng Date: 2024-03-22 13:35:06 +0800 ToplingZipTableBuilder::Add: immediately return after error This function returns void, and caller does not check builder->status() after calling this function and graceful abandon. So immediately return after error, and return error status in Finish(). g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. cpu_flag: -march=native -mbmi -mbmi2 2024/11/23-10:37:04.576712 139957567657536 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256245.sst) /dev/shm/ToplingTemp/Topling-27117-MNvzkH 2024/11/23-10:37:04.767697 139957567657536 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256245.sst): first pass time = 0.19's, 702.989'MB/sec 2024/11/23-10:37:07.781960 139957567657536 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256245.sst): part-0: reject ZipStore ratio = 0.809 2024/11/23-10:37:08.122161 139957567657536 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256245.sst): old prealloc_size = 147639500, real_size = 130068064 2024/11/23-10:37:08.122304 139957567657536 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256245.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198503 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.15 avg-zval = 653.21 2024/11/23-10:37:08.122535 139957567657536 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256245.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-10:37:08.463179 139957567657536 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256245.sst): second pass time = 3.01's, 42.974'MB/sec, value only(96.5% of KV) wait indexing time = 0.34's, remap KeyValue time = 0.34's, 383.426'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2662.329'MB/sec (index lex order gen) rebuild zvType time = 0.27's, 0.186'MB/sec write SST data time = 0.07's, 1781.665'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 = 3.01's, unzip length = 0.129'GB zip my value throughput = 42.974'MB/sec zip pipeline throughput = 116.246'MB/sec entries = 198503 avg-key = 24.00 avg-zkey = 1.78 avg-val = 652.15 avg-zval = 653.21 usrkeys = 198503 avg-key = 16.00 avg-zkey = 1.78 avg-val = 659.15 avg-zval = 653.21 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198503 bytes = 719584 } seq expand size = 1389521 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.9837 value = 0.9984 dict = 0.00 all = 1.0266 } Zip/UnZip{ index = 0.1113 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.065748938 Billion total entry num = 0.052556667 Billion write speed all = 1.704484136 MB/sec (with seq num) write speed all = 1.635740471 MB/sec (without seq num) 2024/11/23-10:37:08.621884 139957567657536 [compaction_job.cc:1948] [default] [JOB 24475] Generated table #256245: 198503 keys, 130740191 bytes, temperature: kWarm 2024/11/23-10:37:08.622034 139957567657536 EVENT_LOG_v1 {"time_micros": 1732329428621930, "cf_name": "default", "job": 24475, "event": "table_file_creation", "file_number": 256245, "file_size": 130740191, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3628609240, "largest_seqno": 3933086891, "table_properties": {"data_size": 129664720, "index_size": 353536, "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": 4764072, "raw_average_key_size": 24, "raw_value_size": 129454088, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198503, "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": 1732329424, "oldest_key_time": 0, "file_creation_time": 1732329424, "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": 256245, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:37:08.752988 139957567657536 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256246.sst) /dev/shm/ToplingTemp/Topling-27117-1gA7pF 2024/11/23-10:37:10.213639 139957567657536 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256246.sst): first pass time = 1.46's, 91.892'MB/sec 2024/11/23-10:37:12.631477 139957567657536 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256246.sst): part-0: reject ZipStore ratio = 0.804 2024/11/23-10:37:13.000215 139957567657536 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256246.sst): old prealloc_size = 147639500, real_size = 130081392 2024/11/23-10:37:13.000411 139957567657536 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256246.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198365 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.84 raw-val = 0.1295 GB zip-val = 0.1297 GB avg-val = 652.62 avg-zval = 653.68 2024/11/23-10:37:13.000675 139957567657536 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256246.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-10:37:13.483500 139957567657536 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256246.sst): second pass time = 2.42's, 53.560'MB/sec, value only(96.5% of KV) wait indexing time = 0.37's, remap KeyValue time = 0.48's, 270.624'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2067.482'MB/sec (index lex order gen) rebuild zvType time = 0.40's, 0.123'MB/sec write SST data time = 0.08's, 1642.531'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.000'MB, throughput = 0.000'MB/sec zip my value time = 2.42's, unzip length = 0.129'GB zip my value throughput = 53.560'MB/sec zip pipeline throughput = 79.734'MB/sec entries = 198365 avg-key = 24.00 avg-zkey = 1.84 avg-val = 652.62 avg-zval = 653.68 usrkeys = 198365 avg-key = 16.00 avg-zkey = 1.84 avg-val = 659.62 avg-zval = 653.68 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198365 bytes = 743888 } seq expand size = 1388555 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.7155 value = 0.9984 dict = 0.00 all = 1.0263 } Zip/UnZip{ index = 0.1147 value = 1.0016 dict = 0.00 all = 0.9744 } ---------------------------- total value len = 9.110309 GB avg = 0.173 KB (by entry num) total key len = 1.450346 GB avg = 0.027 KB total ukey len = 1.004228 GB avg = 0.015 KB total ukey num = 0.065947303 Billion total entry num = 0.052755032 Billion write speed all = 1.725239519 MB/sec (with seq num) write speed all = 1.656292987 MB/sec (without seq num) 2024/11/23-10:37:13.718925 139957567657536 [compaction_job.cc:1948] [default] [JOB 24475] Generated table #256246: 198365 keys, 130778463 bytes, temperature: kWarm 2024/11/23-10:37:13.719024 139957567657536 EVENT_LOG_v1 {"time_micros": 1732329433718966, "cf_name": "default", "job": 24475, "event": "table_file_creation", "file_number": 256246, "file_size": 130778463, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3184145272, "largest_seqno": 3933087459, "table_properties": {"data_size": 129667488, "index_size": 364160, "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": 4760760, "raw_average_key_size": 24, "raw_value_size": 129457007, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198365, "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": 1732329428, "oldest_key_time": 0, "file_creation_time": 1732329428, "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": 256246, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:37:13.825496 139957567657536 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256247.sst) /dev/shm/ToplingTemp/Topling-27117-YPnFGG 2024/11/23-10:37:15.393163 139957567657536 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256247.sst): first pass time = 1.57's, 85.620'MB/sec 2024/11/23-10:37:17.922596 139957567657536 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256247.sst): old prealloc_size = 147639500, real_size = 103394016 2024/11/23-10:37:17.922785 139957567657536 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256247.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 198224 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0003 GB avg-key = 12.00 avg-zkey = 1.76 raw-val = 0.1295 GB zip-val = 0.1030 GB avg-val = 653.10 avg-zval = 519.59 2024/11/23-10:37:17.923041 139957567657536 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256247.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-10:37:18.522100 139957567657536 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256247.sst): second pass time = 2.53's, 51.223'MB/sec, value only(96.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.60's, 175.807'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2137.675'MB/sec (index lex order gen) rebuild zvType time = 0.50's, 0.099'MB/sec write SST data time = 0.10's, 1060.935'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.350'MB, throughput = 45383.325'MB/sec zip my value time = 2.53's, unzip length = 0.129'GB zip my value throughput = 51.223'MB/sec zip pipeline throughput = 56.705'MB/sec entries = 198224 avg-key = 24.00 avg-zkey = 1.76 avg-val = 653.10 avg-zval = 519.59 usrkeys = 198224 avg-key = 16.00 avg-zkey = 1.76 avg-val = 660.10 avg-zval = 519.59 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198224 bytes = 693792 } seq expand size = 1387568 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.0003 GB value = 0.1030 GB dict = 1.35 MB all = 0.1054 GB } UnZip/Zip{ index = 9.0945 value = 1.2570 dict = 1.00 all = 1.2735 } Zip/UnZip{ index = 0.1100 value = 0.7956 dict = 1.00 all = 0.7852 } ---------------------------- 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.066145527 Billion total entry num = 0.052953256 Billion write speed all = 1.745955561 MB/sec (with seq num) write speed all = 1.676806885 MB/sec (without seq num) 2024/11/23-10:37:18.665207 139957567657536 [compaction_job.cc:1948] [default] [JOB 24475] Generated table #256247: 198224 keys, 105391150 bytes, temperature: kWarm 2024/11/23-10:37:18.665270 139957567657536 EVENT_LOG_v1 {"time_micros": 1732329438665239, "cf_name": "default", "job": 24475, "event": "table_file_creation", "file_number": 256247, "file_size": 105391150, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3706705660, "largest_seqno": 3933087749, "table_properties": {"data_size": 102995536, "index_size": 348736, "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": 4757376, "raw_average_key_size": 24, "raw_value_size": 129460708, "raw_average_value_size": 653, "num_data_blocks": 1, "num_entries": 198224, "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": 1732329433, "oldest_key_time": 0, "file_creation_time": 1732329433, "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": 256247, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:37:18.712275 139957567657536 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256248.sst) /dev/shm/ToplingTemp/Topling-27117-JTRHTE 2024/11/23-10:37:19.325799 139957567657536 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256248.sst): first pass time = 0.61's, 80.687'MB/sec 2024/11/23-10:37:20.218412 139957567657536 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256248.sst): part-0: reject ZipStore ratio = 0.816 2024/11/23-10:37:20.401139 139957567657536 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256248.sst): old prealloc_size = 147639500, real_size = 47971872 2024/11/23-10:37:20.401248 139957567657536 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256248.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 73193 prefix = 4 raw-key = 0.0009 GB zip-key = 0.0001 GB avg-key = 12.00 avg-zkey = 1.81 raw-val = 0.0477 GB zip-val = 0.0478 GB avg-val = 652.29 avg-zval = 653.36 2024/11/23-10:37:20.401390 139957567657536 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256248.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0002 GB, waited 0.000 sec, Key+Value = 0.050 GB 2024/11/23-10:37:20.608288 139957567657536 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00/256248.sst): second pass time = 0.89's, 53.543'MB/sec, value only(96.5% of KV) wait indexing time = 0.18's, remap KeyValue time = 0.21's, 232.859'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1455.779'MB/sec (index lex order gen) rebuild zvType time = 0.18's, 0.103'MB/sec write SST data time = 0.03's, 1634.619'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.89's, unzip length = 0.048'GB zip my value throughput = 53.543'MB/sec zip pipeline throughput = 66.443'MB/sec entries = 73193 avg-key = 24.00 avg-zkey = 1.81 avg-val = 652.29 avg-zval = 653.36 usrkeys = 73193 avg-key = 16.00 avg-zkey = 1.81 avg-val = 659.29 avg-zval = 653.36 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 73193 bytes = 274496 } seq expand size = 512351 multi value expand size = 0 cnt WriteAppend = 5839 UnZipSize{ index = 0.0012 GB value = 0.0477 GB dict = 0.00 MB all = 0.0495 GB } __ZipSize{ index = 0.0001 GB value = 0.0478 GB dict = 0.00 MB all = 0.0482 GB } UnZip/Zip{ index = 8.8568 value = 0.9984 dict = 0.00 all = 1.0263 } Zip/UnZip{ index = 0.1129 value = 1.0016 dict = 0.00 all = 0.9743 } ---------------------------- total value len = 9.289413 GB avg = 0.175 KB (by entry num) total key len = 1.456860 GB avg = 0.027 KB total ukey len = 1.008571 GB avg = 0.015 KB total ukey num = 0.066218720 Billion total entry num = 0.053026449 Billion write speed all = 1.753521984 MB/sec (with seq num) write speed all = 1.684301301 MB/sec (without seq num) 2024/11/23-10:37:20.666498 139957567657536 [compaction_job.cc:1948] [default] [JOB 24475] Generated table #256248: 73193 keys, 48229598 bytes, temperature: kWarm 2024/11/23-10:37:20.666563 139957567657536 EVENT_LOG_v1 {"time_micros": 1732329440666529, "cf_name": "default", "job": 24475, "event": "table_file_creation", "file_number": 256248, "file_size": 48229598, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237868515, "largest_seqno": 3933086709, "table_properties": {"data_size": 47821136, "index_size": 132224, "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": 1756632, "raw_average_key_size": 24, "raw_value_size": 47743426, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 73193, "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": 1732329438, "oldest_key_time": 0, "file_creation_time": 1732329438, "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": 256248, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-10:37:20.720368 139957567657536 [compaction_job.cc:703] job-24475: subcompact[0], size: 0.415139 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-24475/att-00 [256245,256246,256247,256248] 2024/11/23-10:37:20.846433 139957567657536 (Original Log Time 2024/11/23-10:37:03.097314) EVENT_LOG_v1 {"time_micros": 1732329423097203, "job": 24475, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [256233], "files_L3": [256161, 256162, 256163, 256164], "score": 0.999731, "input_data_size": 435786868, "oldest_snapshot_seqno": 3933120737} 2024/11/23-10:37:20.846438 139957567657536 (Original Log Time 2024/11/23-10:37:20.842232) [compaction_job.cc:2022] [default] [JOB 24475] Compacted 1@2 + 4@3 files to L3 => 415139402 bytes 2024/11/23-10:37:20.846441 139957567657536 (Original Log Time 2024/11/23-10:37:20.846346) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.02, MB/sec: 24.7 rd, 23.6 wr, level 3, files in(1, 4) out(4 +0 blob) MB in(21.7, 393.9 +0.0 blob) out(395.9 +0.0 blob), read-write-amplify(37.4) write-amplify(18.2) OK, records in: 699342, records dropped: 31057 output_compression: Snappy 2024/11/23-10:37:20.846462 139957567657536 (Original Log Time 2024/11/23-10:37:20.846409) EVENT_LOG_v1 {"time_micros": 1732329440846377, "cf": "default", "job": 24475, "event": "compaction_finished", "compaction_time_micros": 17623062, "compaction_time_cpu_micros": 3275343, "output_level": 3, "num_output_files": 4, "total_output_size": 415139402, "num_input_records": 699342, "num_output_records": 668285, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 374905042, "file_range_sync_nanos": 0, "file_fsync_nanos": 3680, "file_prepare_write_nanos": 2094616, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/23-10:37:20.995175 139957567657536 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":1732329422,"executesMs":17897,"compactionJobId":24475,"attempt":0,"compactionInputRawBytes":473223697,"compactionInputZipBytes":435786868,"compactionOutputRawBytes":0,"compactionOutputZipBytes":415139402,"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-fcf595f2c9dab6ea52c3757b647c62dc-d0d712eedd8fdab0-00"}}, response = 2024/11/23-10:37:20.995317 139957567657536 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-24475/att-00: olev 3, work 17.897 s, result 11.951 ms, install 4.251 ms, input{raw 451.301 MiB zip 415.599 MiB}