2024/11/22-20:34:32.984936 140025213425216 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00: fork to child time = 0.030354 sec 2024/11/22-20:34:32.986055 140025213425216 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00 2024/11/22-20:34:32.993598 140025213425216 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00 2024/11/22-20:34:32.995037 140025213425216 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/22-20:34:32.995380 140025213425216 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/22-20:34:33.064895 140025213425216 [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-10345/att-00/MANIFEST-206347 2024/11/22-20:34:33.085049 140025213425216 [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-10345/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 226370, last_sequence is 3544003260, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 226225 2024/11/22-20:34:33.085058 140025213425216 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/22-20:34:33.085148 140025213425216 [version_set.cc:5721] Creating manifest 226370 2024/11/22-20:34:33.124465 140025213425216 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/22-20:34:33.150524 140025213425216 [compaction_job.cc:2437] [default] [JOB 10345] Compacting 1@2 + 4@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/22-20:34:33.150546 140025213425216 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 7818 Base level 2, inputs: [226366(15MB)], [226303(36MB) 226304(35MB) 226305(37MB) 226306(36MB)] 2024/11/22-20:34:33.156787 140025213425216 [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/22-20:34:33.156836 140025213425216 [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/22-20:34:33.156863 140025213425216 [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/22-20:34:33.156871 140025213425216 [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/22-20:34:33.156887 140025213425216 [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/22-20:34:33.564280 140025213425216 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226371.sst) /dev/shm/ToplingTemp/Topling-281001-DLvOR9 2024/11/22-20:34:34.630008 140025213425216 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226371.sst): first pass time = 1.07's, 125.946'MB/sec 2024/11/22-20:34:38.241643 140025213425216 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226371.sst): old prealloc_size = 147639500, real_size = 34665440 2024/11/22-20:34:38.242313 140025213425216 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226371.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 927852 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1082 GB zip-val = 0.0327 GB avg-val = 116.65 avg-zval = 35.21 2024/11/22-20:34:38.243182 140025213425216 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226371.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/22-20:34:39.552993 140025213425216 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226371.sst): second pass time = 3.61's, 29.977'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.31's, 29.474'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2710.881'MB/sec (index lex order gen) rebuild zvType time = 1.15's, 0.202'MB/sec write SST data time = 0.16's, 236.655'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 = 32507.765'MB/sec zip my value time = 3.61's, unzip length = 0.108'GB zip my value throughput = 29.977'MB/sec zip pipeline throughput = 117.844'MB/sec entries = 927852 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.65 avg-zval = 35.21 usrkeys = 927852 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.65 avg-zval = 35.21 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 927852 bytes = 3131520 } seq expand size = 6494964 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0327 GB dict = 1.08 MB all = 0.0387 GB } UnZip/Zip{ index = 10.5151 value = 3.3132 dict = 1.00 all = 3.4726 } Zip/UnZip{ index = 0.0951 value = 0.3018 dict = 1.00 all = 0.2880 } ---------------------------- total value len = 0.114733 GB avg = 0.124 KB (by entry num) total key len = 0.025980 GB avg = 0.028 KB total ukey len = 0.018557 GB avg = 0.020 KB total ukey num = 0.000927852 Billion total entry num = 0.000927852 Billion write speed all = 0.003339455 MB/sec (with seq num) write speed all = 0.003163293 MB/sec (without seq num) 2024/11/22-20:34:39.588545 140025213425216 [compaction_job.cc:1948] [default] [JOB 10345] Generated table #226371: 927852 keys, 38651000 bytes, temperature: kWarm 2024/11/22-20:34:39.588628 140025213425216 EVENT_LOG_v1 {"time_micros": 1732278879588577, "cf_name": "default", "job": 10345, "event": "table_file_creation", "file_number": 226371, "file_size": 38651000, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3434038037, "largest_seqno": 3543967373, "table_properties": {"data_size": 32668496, "index_size": 1764800, "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": 25979856, "raw_average_key_size": 28, "raw_value_size": 108237972, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 927852, "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": 1732278873, "oldest_key_time": 0, "file_creation_time": 1732278873, "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": 226371, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-20:34:39.625354 140025213425216 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226372.sst) /dev/shm/ToplingTemp/Topling-281001-xI4XSa 2024/11/22-20:34:40.725082 140025213425216 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226372.sst): first pass time = 1.10's, 122.050'MB/sec 2024/11/22-20:34:43.534571 140025213425216 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226372.sst): old prealloc_size = 147639500, real_size = 33609664 2024/11/22-20:34:43.535338 140025213425216 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226372.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 924457 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.1083 GB zip-val = 0.0316 GB avg-val = 117.19 avg-zval = 34.19 2024/11/22-20:34:43.536168 140025213425216 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226372.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/22-20:34:45.106885 140025213425216 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226372.sst): second pass time = 2.81's, 38.569'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.57's, 23.905'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2450.202'MB/sec (index lex order gen) rebuild zvType time = 1.41's, 0.164'MB/sec write SST data time = 0.16's, 230.954'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.082'MB, throughput = 34633.843'MB/sec zip my value time = 2.81's, unzip length = 0.108'GB zip my value throughput = 38.569'MB/sec zip pipeline throughput = 108.680'MB/sec entries = 924457 avg-key = 28.00 avg-zkey = 1.92 avg-val = 117.19 avg-zval = 34.19 usrkeys = 924457 avg-key = 20.00 avg-zkey = 1.92 avg-val = 124.19 avg-zval = 34.19 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 924457 bytes = 3120064 } seq expand size = 6471199 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0316 GB dict = 1.08 MB all = 0.0376 GB } UnZip/Zip{ index = 10.4425 value = 3.4274 dict = 1.00 all = 3.5709 } Zip/UnZip{ index = 0.0958 value = 0.2918 dict = 1.00 all = 0.2800 } ---------------------------- total value len = 0.229537 GB avg = 0.124 KB (by entry num) total key len = 0.051865 GB avg = 0.028 KB total ukey len = 0.037046 GB avg = 0.020 KB total ukey num = 0.001852309 Billion total entry num = 0.001852309 Billion write speed all = 0.006677464 MB/sec (with seq num) write speed all = 0.006325833 MB/sec (without seq num) 2024/11/22-20:34:45.162375 140025213425216 [compaction_job.cc:1948] [default] [JOB 10345] Generated table #226372: 924457 keys, 37586356 bytes, temperature: kWarm 2024/11/22-20:34:45.162437 140025213425216 EVENT_LOG_v1 {"time_micros": 1732278885162400, "cf_name": "default", "job": 10345, "event": "table_file_creation", "file_number": 226372, "file_size": 37586356, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3434038055, "largest_seqno": 3543966585, "table_properties": {"data_size": 31607792, "index_size": 1770560, "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": 25884796, "raw_average_key_size": 28, "raw_value_size": 108332990, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 924457, "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": 1732278879, "oldest_key_time": 0, "file_creation_time": 1732278879, "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": 226372, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-20:34:45.214393 140025213425216 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226373.sst) /dev/shm/ToplingTemp/Topling-281001-uhnZEc 2024/11/22-20:34:46.320436 140025213425216 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226373.sst): first pass time = 1.11's, 121.354'MB/sec 2024/11/22-20:34:49.761059 140025213425216 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226373.sst): old prealloc_size = 147639500, real_size = 35303600 2024/11/22-20:34:49.761613 140025213425216 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226373.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 928805 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.0333 GB avg-val = 116.51 avg-zval = 35.86 2024/11/22-20:34:49.762395 140025213425216 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226373.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/22-20:34:50.834849 140025213425216 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226373.sst): second pass time = 3.44's, 31.457'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.07's, 36.593'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3312.645'MB/sec (index lex order gen) rebuild zvType time = 0.83's, 0.281'MB/sec write SST data time = 0.25's, 158.318'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.079'MB, throughput = 26583.309'MB/sec zip my value time = 3.44's, unzip length = 0.108'GB zip my value throughput = 31.457'MB/sec zip pipeline throughput = 107.348'MB/sec entries = 928805 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.51 avg-zval = 35.86 usrkeys = 928805 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.51 avg-zval = 35.86 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 928805 bytes = 3134736 } seq expand size = 6501635 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.0333 GB dict = 1.08 MB all = 0.0393 GB } UnZip/Zip{ index = 10.5133 value = 3.2492 dict = 1.00 all = 3.4160 } Zip/UnZip{ index = 0.0951 value = 0.3078 dict = 1.00 all = 0.2927 } ---------------------------- total value len = 0.344250 GB avg = 0.124 KB (by entry num) total key len = 0.077871 GB avg = 0.028 KB total ukey len = 0.055622 GB avg = 0.020 KB total ukey num = 0.002781114 Billion total entry num = 0.002781114 Billion write speed all = 0.010015274 MB/sec (with seq num) write speed all = 0.009487395 MB/sec (without seq num) 2024/11/22-20:34:50.887437 140025213425216 [compaction_job.cc:1948] [default] [JOB 10345] Generated table #226373: 928805 keys, 39291160 bytes, temperature: kWarm 2024/11/22-20:34:50.887517 140025213425216 EVENT_LOG_v1 {"time_micros": 1732278890887474, "cf_name": "default", "job": 10345, "event": "table_file_creation", "file_number": 226373, "file_size": 39291160, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3434038075, "largest_seqno": 3543967071, "table_properties": {"data_size": 33304288, "index_size": 1766912, "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": 26006540, "raw_average_key_size": 28, "raw_value_size": 108211218, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 928805, "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": 1732278885, "oldest_key_time": 0, "file_creation_time": 1732278885, "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": 226373, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-20:34:50.938401 140025213425216 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226374.sst) /dev/shm/ToplingTemp/Topling-281001-NQoJHb 2024/11/22-20:34:52.159522 140025213425216 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226374.sst): first pass time = 1.22's, 109.917'MB/sec 2024/11/22-20:34:53.933608 140025213425216 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226374.sst): old prealloc_size = 147639500, real_size = 34408080 2024/11/22-20:34:53.934212 140025213425216 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226374.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 930707 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.1082 GB zip-val = 0.0324 GB avg-val = 116.21 avg-zval = 34.80 2024/11/22-20:34:53.935058 140025213425216 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226374.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/22-20:34:54.913012 140025213425216 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226374.sst): second pass time = 1.77's, 61.035'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.98's, 39.209'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3034.036'MB/sec (index lex order gen) rebuild zvType time = 0.82's, 0.284'MB/sec write SST data time = 0.16's, 241.324'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 = 35662.157'MB/sec zip my value time = 1.77's, unzip length = 0.108'GB zip my value throughput = 61.035'MB/sec zip pipeline throughput = 61.035'MB/sec entries = 930707 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.21 avg-zval = 34.80 usrkeys = 930707 avg-key = 20.00 avg-zkey = 1.91 avg-val = 123.21 avg-zval = 34.80 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 930707 bytes = 3141152 } seq expand size = 6514949 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0324 GB dict = 1.08 MB all = 0.0384 GB } UnZip/Zip{ index = 10.4444 value = 3.3389 dict = 1.00 all = 3.4952 } Zip/UnZip{ index = 0.0957 value = 0.2995 dict = 1.00 all = 0.2861 } ---------------------------- total value len = 0.458923 GB avg = 0.124 KB (by entry num) total key len = 0.103931 GB avg = 0.028 KB total ukey len = 0.074236 GB avg = 0.020 KB total ukey num = 0.003711821 Billion total entry num = 0.003711821 Billion write speed all = 0.013353016 MB/sec (with seq num) write speed all = 0.012648549 MB/sec (without seq num) 2024/11/22-20:34:54.951026 140025213425216 [compaction_job.cc:1948] [default] [JOB 10345] Generated table #226374: 930707 keys, 38400622 bytes, temperature: kWarm 2024/11/22-20:34:54.951095 140025213425216 EVENT_LOG_v1 {"time_micros": 1732278894951060, "cf_name": "default", "job": 10345, "event": "table_file_creation", "file_number": 226374, "file_size": 38400622, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3434038136, "largest_seqno": 3543967434, "table_properties": {"data_size": 32393024, "index_size": 1782208, "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": 26059796, "raw_average_key_size": 28, "raw_value_size": 108157970, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930707, "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": 1732278890, "oldest_key_time": 0, "file_creation_time": 1732278890, "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": 226374, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-20:34:54.991077 140025213425216 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226375.sst) /dev/shm/ToplingTemp/Topling-281001-vYaB3c 2024/11/22-20:34:55.079135 140025213425216 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226375.sst): first pass time = 0.09's, 158.019'MB/sec 2024/11/22-20:34:55.208672 140025213425216 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226375.sst): old prealloc_size = 147639500, real_size = 4228896 2024/11/22-20:34:55.208788 140025213425216 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226375.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 95254 prefix = 4 raw-key = 0.0015 GB zip-key = 0.0002 GB avg-key = 16.00 avg-zkey = 1.93 raw-val = 0.0112 GB zip-val = 0.0040 GB avg-val = 118.00 avg-zval = 42.22 2024/11/22-20:34:55.208901 140025213425216 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226375.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0002 GB, waited 0.000 sec, Key+Value = 0.014 GB 2024/11/22-20:34:55.296063 140025213425216 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00/226375.sst): second pass time = 0.13's, 87.152'MB/sec, value only(80.8% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.09's, 52.888'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1926.498'MB/sec (index lex order gen) rebuild zvType time = 0.07's, 0.324'MB/sec write SST data time = 0.01's, 333.894'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.117'MB, throughput = 3534.513'MB/sec zip my value time = 0.13's, unzip length = 0.011'GB zip my value throughput = 87.152'MB/sec zip pipeline throughput = 87.152'MB/sec entries = 95254 avg-key = 28.00 avg-zkey = 1.93 avg-val = 118.00 avg-zval = 42.22 usrkeys = 95254 avg-key = 20.00 avg-zkey = 1.93 avg-val = 125.00 avg-zval = 42.22 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 95254 bytes = 297680 } seq expand size = 666778 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0019 GB value = 0.0112 GB dict = 0.12 MB all = 0.0139 GB } __ZipSize{ index = 0.0002 GB value = 0.0040 GB dict = 0.12 MB all = 0.0046 GB } UnZip/Zip{ index = 10.3717 value = 2.7952 dict = 1.00 all = 3.0094 } Zip/UnZip{ index = 0.0964 value = 0.3578 dict = 1.00 all = 0.3323 } ---------------------------- total value len = 0.470830 GB avg = 0.124 KB (by entry num) total key len = 0.106598 GB avg = 0.028 KB total ukey len = 0.076142 GB avg = 0.020 KB total ukey num = 0.003807075 Billion total entry num = 0.003807075 Billion write speed all = 0.013698638 MB/sec (with seq num) write speed all = 0.012976100 MB/sec (without seq num) 2024/11/22-20:34:55.307077 140025213425216 [compaction_job.cc:1948] [default] [JOB 10345] Generated table #226375: 95254 keys, 4621215 bytes, temperature: kWarm 2024/11/22-20:34:55.307135 140025213425216 EVENT_LOG_v1 {"time_micros": 1732278895307105, "cf_name": "default", "job": 10345, "event": "table_file_creation", "file_number": 226375, "file_size": 4621215, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3512599312, "largest_seqno": 3532308550, "table_properties": {"data_size": 4021200, "index_size": 183680, "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": 2667112, "raw_average_key_size": 28, "raw_value_size": 11239972, "raw_average_value_size": 118, "num_data_blocks": 1, "num_entries": 95254, "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": 118, "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": 1732278894, "oldest_key_time": 0, "file_creation_time": 1732278894, "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": 226375, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/22-20:34:55.317649 140025213425216 [compaction_job.cc:703] job-10345: subcompact[0], size: 0.158550 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-10345/att-00 [226371,226372,226373,226374,226375] 2024/11/22-20:34:55.359279 140025213425216 (Original Log Time 2024/11/22-20:34:33.150635) EVENT_LOG_v1 {"time_micros": 1732278873150576, "job": 10345, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [226366], "files_L3": [226303, 226304, 226305, 226306], "score": 0.995903, "input_data_size": 169706076, "oldest_snapshot_seqno": 3544003260} 2024/11/22-20:34:55.359282 140025213425216 (Original Log Time 2024/11/22-20:34:55.356018) [compaction_job.cc:2022] [default] [JOB 10345] Compacted 1@2 + 4@3 files to L3 => 158550353 bytes 2024/11/22-20:34:55.359283 140025213425216 (Original Log Time 2024/11/22-20:34:55.359216) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 7.7 rd, 7.2 wr, level 3, files in(1, 4) out(5 +0 blob) MB in(15.5, 146.4 +0.0 blob) out(151.2 +0.0 blob), read-write-amplify(20.2) write-amplify(9.8) OK, records in: 3843869, records dropped: 36794 output_compression: Snappy 2024/11/22-20:34:55.359289 140025213425216 (Original Log Time 2024/11/22-20:34:55.359258) EVENT_LOG_v1 {"time_micros": 1732278895359240, "cf": "default", "job": 10345, "event": "compaction_finished", "compaction_time_micros": 22167021, "compaction_time_cpu_micros": 7740222, "output_level": 3, "num_output_files": 5, "total_output_size": 158550353, "num_input_records": 3843869, "num_output_records": 3807075, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 130550800, "file_range_sync_nanos": 0, "file_fsync_nanos": 4211, "file_prepare_write_nanos": 11339, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/22-20:34:55.501073 140025213425216 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":1732278872,"executesMs":22364,"compactionJobId":10345,"attempt":0,"compactionInputRawBytes":556002970,"compactionInputZipBytes":169706076,"compactionOutputRawBytes":0,"compactionOutputZipBytes":158550353,"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-b99cfe4b83dee1da194fa99f13c67882-01c410813391b340-00"}}, response = 2024/11/22-20:34:55.501154 140025213425216 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-10345/att-00: olev 3, work 22.365 s, result 6.277 ms, install 3.293 ms, input{raw 530.246 MiB zip 161.844 MiB}