2024/11/23-09:10:05.126835 139957441766976 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00: fork to child time = 0.007997 sec 2024/11/23-09:10:05.127272 139957441766976 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00 2024/11/23-09:10:05.133561 139957441766976 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00 2024/11/23-09:10:05.134395 139957441766976 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-09:10:05.134562 139957441766976 [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:10:05.188050 139957441766976 [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-23255/att-00/MANIFEST-206347 2024/11/23-09:10:05.202859 139957441766976 [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-23255/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 253629, last_sequence is 3900088034, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 253484 2024/11/23-09:10:05.202866 139957441766976 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-09:10:05.202923 139957441766976 [version_set.cc:5721] Creating manifest 253629 2024/11/23-09:10:05.233028 139957441766976 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-09:10:05.255139 139957441766976 [compaction_job.cc:2437] [default] [JOB 23255] Compacting 1@2 + 5@3 files to L3, score 0.99, subcompactions 1 : 1 2024/11/23-09:10:05.255154 139957441766976 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 17461 Base level 2, inputs: [253625(31MB)], [253564(40MB) 253565(609KB) 253519(40MB) 253520(40MB) 253552(40MB)] 2024/11/23-09:10:05.262360 139957441766976 [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:10:05.262402 139957441766976 [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:10:05.262428 139957441766976 [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:10:05.262436 139957441766976 [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:10:05.262449 139957441766976 [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:10:05.890341 139957441766976 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253630.sst) /dev/shm/ToplingTemp/Topling-9054-lE8w2N 2024/11/23-09:10:06.085089 139957441766976 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253630.sst): first pass time = 0.19's, 689.338'MB/sec 2024/11/23-09:10:06.892862 139957441766976 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253630.sst): old prealloc_size = 147639500, real_size = 40894096 2024/11/23-09:10:06.893001 139957441766976 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253630.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129431 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.78 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1016.98 avg-zval = 313.92 2024/11/23-09:10:06.893190 139957441766976 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253630.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-09:10:07.057540 139957441766976 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253630.sst): second pass time = 0.81's, 163.178'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 259.463'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1914.224'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.263'MB/sec write SST data time = 0.04's, 1027.163'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 50632.382'MB/sec zip my value time = 0.81's, unzip length = 0.132'GB zip my value throughput = 163.178'MB/sec zip pipeline throughput = 163.178'MB/sec entries = 129431 avg-key = 20.00 avg-zkey = 1.78 avg-val = 1016.98 avg-zval = 313.92 usrkeys = 129431 avg-key = 12.00 avg-zkey = 1.78 avg-val = 1023.98 avg-zval = 313.92 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129431 bytes = 485376 } seq expand size = 906017 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0406 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 6.7244 value = 3.2397 dict = 1.00 all = 3.1413 } Zip/UnZip{ index = 0.1487 value = 0.3087 dict = 1.00 all = 0.3183 } ---------------------------- total value len = 8.981155 GB avg = 0.171 KB (by entry num) total key len = 1.443410 GB avg = 0.028 KB total ukey len = 0.999431 GB avg = 0.015 KB total ukey num = 0.065679866 Billion total entry num = 0.052487595 Billion write speed all = 11.649603301 MB/sec (with seq num) write speed all = 11.180358074 MB/sec (without seq num) 2024/11/23-09:10:07.108841 139957441766976 [compaction_job.cc:1948] [default] [JOB 23255] Generated table #253630: 129431 keys, 42726722 bytes, temperature: kWarm 2024/11/23-09:10:07.108916 139957441766976 EVENT_LOG_v1 {"time_micros": 1732324207108866, "cf_name": "default", "job": 23255, "event": "table_file_creation", "file_number": 253630, "file_size": 42726722, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237872082, "largest_seqno": 3900076425, "table_properties": {"data_size": 40630592, "index_size": 230976, "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": 2588620, "raw_average_key_size": 20, "raw_value_size": 131629295, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129431, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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": 1732324205, "oldest_key_time": 0, "file_creation_time": 1732324205, "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": 253630, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-09:10:07.149935 139957441766976 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253631.sst) /dev/shm/ToplingTemp/Topling-9054-As0jFQ 2024/11/23-09:10:07.775440 139957441766976 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253631.sst): first pass time = 0.63's, 214.589'MB/sec 2024/11/23-09:10:08.792393 139957441766976 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253631.sst): old prealloc_size = 147639500, real_size = 40848720 2024/11/23-09:10:08.792532 139957441766976 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253631.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129425 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.79 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1017.04 avg-zval = 313.57 2024/11/23-09:10:08.792735 139957441766976 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253631.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-09:10:09.243866 139957441766976 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253631.sst): second pass time = 1.00's, 131.345'MB/sec, value only(98.1% of KV) wait indexing time = 0.01's, remap KeyValue time = 0.45's, 94.545'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2003.837'MB/sec (index lex order gen) rebuild zvType time = 0.33's, 0.098'MB/sec write SST data time = 0.12's, 348.113'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 51440.629'MB/sec zip my value time = 1.00's, unzip length = 0.132'GB zip my value throughput = 131.345'MB/sec zip pipeline throughput = 131.345'MB/sec entries = 129425 avg-key = 20.00 avg-zkey = 1.79 avg-val = 1017.04 avg-zval = 313.57 usrkeys = 129425 avg-key = 12.00 avg-zkey = 1.79 avg-val = 1024.04 avg-zval = 313.57 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129425 bytes = 485360 } seq expand size = 905975 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0406 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 6.6981 value = 3.2434 dict = 1.00 all = 3.1447 } Zip/UnZip{ index = 0.1493 value = 0.3083 dict = 1.00 all = 0.3180 } ---------------------------- total value len = 9.113691 GB avg = 0.173 KB (by entry num) total key len = 1.445998 GB avg = 0.027 KB total ukey len = 1.000984 GB avg = 0.015 KB total ukey num = 0.065809291 Billion total entry num = 0.052617020 Billion write speed all = 11.771845829 MB/sec (with seq num) write speed all = 11.302590021 MB/sec (without seq num) 2024/11/23-09:10:09.298500 139957441766976 [compaction_job.cc:1948] [default] [JOB 23255] Generated table #253631: 129425 keys, 42681466 bytes, temperature: kWarm 2024/11/23-09:10:09.298587 139957441766976 EVENT_LOG_v1 {"time_micros": 1732324209298540, "cf_name": "default", "job": 23255, "event": "table_file_creation", "file_number": 253631, "file_size": 42681466, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237871365, "largest_seqno": 3900076428, "table_properties": {"data_size": 40584320, "index_size": 231872, "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": 2588500, "raw_average_key_size": 20, "raw_value_size": 131630111, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129425, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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": 1732324207, "oldest_key_time": 0, "file_creation_time": 1732324207, "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": 253631, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-09:10:09.361467 139957441766976 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253632.sst) /dev/shm/ToplingTemp/Topling-9054-efoX8P 2024/11/23-09:10:10.357972 139957441766976 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253632.sst): first pass time = 1.00's, 134.696'MB/sec 2024/11/23-09:10:11.420278 139957441766976 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253632.sst): old prealloc_size = 147639500, real_size = 40483232 2024/11/23-09:10:11.420403 139957441766976 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253632.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129430 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.73 raw-val = 0.1316 GB zip-val = 0.0402 GB avg-val =1016.99 avg-zval = 310.80 2024/11/23-09:10:11.420518 139957441766976 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253632.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-09:10:11.603044 139957441766976 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253632.sst): second pass time = 1.06's, 123.987'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.18's, 229.864'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2133.151'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.268'MB/sec write SST data time = 0.06's, 678.469'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.379'MB, throughput = 38821.257'MB/sec zip my value time = 1.06's, unzip length = 0.132'GB zip my value throughput = 123.987'MB/sec zip pipeline throughput = 123.987'MB/sec entries = 129430 avg-key = 20.00 avg-zkey = 1.73 avg-val = 1016.99 avg-zval = 310.80 usrkeys = 129430 avg-key = 12.00 avg-zkey = 1.73 avg-val = 1019.10 avg-zval = 310.80 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 39018 bytes = 146336 } seq expand size = 273126 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0402 GB dict = 1.38 MB all = 0.0420 GB } UnZip/Zip{ index = 6.9258 value = 3.2722 dict = 1.00 all = 3.1958 } Zip/UnZip{ index = 0.1444 value = 0.3056 dict = 1.00 all = 0.3129 } ---------------------------- total value len = 9.245594 GB avg = 0.175 KB (by entry num) total key len = 1.448587 GB avg = 0.027 KB total ukey len = 1.002537 GB avg = 0.015 KB total ukey num = 0.065938721 Billion total entry num = 0.052746450 Billion write speed all = 11.890503379 MB/sec (with seq num) write speed all = 11.421327193 MB/sec (without seq num) 2024/11/23-09:10:11.673536 139957441766976 [compaction_job.cc:1948] [default] [JOB 23255] Generated table #253632: 129430 keys, 41997767 bytes, temperature: kWarm 2024/11/23-09:10:11.673619 139957441766976 EVENT_LOG_v1 {"time_micros": 1732324211673571, "cf_name": "default", "job": 23255, "event": "table_file_creation", "file_number": 253632, "file_size": 41997767, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 3900072171, "table_properties": {"data_size": 40226448, "index_size": 224256, "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": 2588600, "raw_average_key_size": 20, "raw_value_size": 131629212, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129430, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732324209, "oldest_key_time": 0, "file_creation_time": 1732324209, "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": 253632, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-09:10:11.718013 139957441766976 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253633.sst) /dev/shm/ToplingTemp/Topling-9054-4H58cR 2024/11/23-09:10:12.548691 139957441766976 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253633.sst): first pass time = 0.83's, 161.589'MB/sec 2024/11/23-09:10:13.585198 139957441766976 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253633.sst): old prealloc_size = 147639500, real_size = 41047152 2024/11/23-09:10:13.585321 139957441766976 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253633.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129431 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.71 raw-val = 0.1316 GB zip-val = 0.0408 GB avg-val =1016.99 avg-zval = 315.17 2024/11/23-09:10:13.585471 139957441766976 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253633.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-09:10:13.743647 139957441766976 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253633.sst): second pass time = 1.04's, 127.071'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.16's, 270.440'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2183.626'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.276'MB/sec write SST data time = 0.04's, 1047.499'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 35289.894'MB/sec zip my value time = 1.04's, unzip length = 0.132'GB zip my value throughput = 127.071'MB/sec zip pipeline throughput = 133.701'MB/sec entries = 129431 avg-key = 20.00 avg-zkey = 1.71 avg-val = 1016.99 avg-zval = 315.17 usrkeys = 129431 avg-key = 12.00 avg-zkey = 1.71 avg-val = 1023.20 avg-zval = 315.17 TagRS{ kinds = RS_Key0_TagN bytes = 20320 } TagArray{ size = 114840 bytes = 430672 } seq expand size = 803880 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0408 GB dict = 1.38 MB all = 0.0428 GB } UnZip/Zip{ index = 7.0160 value = 3.2268 dict = 1.00 all = 3.1326 } Zip/UnZip{ index = 0.1425 value = 0.3099 dict = 1.00 all = 0.3192 } ---------------------------- total value len = 9.378027 GB avg = 0.177 KB (by entry num) total key len = 1.451175 GB avg = 0.027 KB total ukey len = 1.004091 GB avg = 0.015 KB total ukey num = 0.066068152 Billion total entry num = 0.052875881 Billion write speed all = 12.012040173 MB/sec (with seq num) write speed all = 11.542829477 MB/sec (without seq num) 2024/11/23-09:10:13.796560 139957441766976 [compaction_job.cc:1948] [default] [JOB 23255] Generated table #253633: 129431 keys, 42845060 bytes, temperature: kWarm 2024/11/23-09:10:13.796623 139957441766976 EVENT_LOG_v1 {"time_micros": 1732324213796592, "cf_name": "default", "job": 23255, "event": "table_file_creation", "file_number": 253633, "file_size": 42845060, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 3900076402, "table_properties": {"data_size": 40793248, "index_size": 221376, "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": 2588620, "raw_average_key_size": 20, "raw_value_size": 131629696, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129431, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732324211, "oldest_key_time": 0, "file_creation_time": 1732324211, "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": 253633, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-09:10:13.838283 139957441766976 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253634.sst) /dev/shm/ToplingTemp/Topling-9054-3CJDqO 2024/11/23-09:10:13.848379 139957441766976 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253634.sst): first pass time = 0.01's, 210.281'MB/sec 2024/11/23-09:10:14.268555 139957441766976 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253634.sst): old prealloc_size = 147639500, real_size = 655176 2024/11/23-09:10:14.268599 139957441766976 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253634.sst): index type = UintIndex_AllOne , store type = DictZipBlobStore usrkeys = 2035 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 0.08 raw-val = 0.0021 GB zip-val = 0.0007 GB avg-val =1016.89 avg-zval = 321.52 2024/11/23-09:10:14.272613 139957441766976 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00/253634.sst): second pass time = 0.42's, 4.934'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.00's, 169.994'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 6.053'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.191'MB/sec write SST data time = 0.00's, 512.244'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.029'MB, throughput = 1142.989'MB/sec zip my value time = 0.42's, unzip length = 0.002'GB zip my value throughput = 4.934'MB/sec zip pipeline throughput = 87.339'MB/sec entries = 2035 avg-key = 20.00 avg-zkey = 0.09 avg-val = 1016.89 avg-zval = 321.52 usrkeys = 2035 avg-key = 12.00 avg-zkey = 0.09 avg-val = 1016.96 avg-zval = 321.52 TagRS{ kinds = RS_Key0_TagN bytes = 400 } TagArray{ size = 21 bytes = 96 } seq expand size = 147 multi value expand size = 0 cnt WriteAppend = 11 UnZipSize{ index = 0.0000 GB value = 0.0021 GB dict = 0.03 MB all = 0.0021 GB } __ZipSize{ index = 0.0000 GB value = 0.0007 GB dict = 0.03 MB all = 0.0007 GB } UnZip/Zip{ index = 127.1875 value = 3.1628 dict = 1.00 all = 3.0820 } Zip/UnZip{ index = 0.0079 value = 0.3162 dict = 1.00 all = 0.3245 } ---------------------------- total value len = 9.380097 GB avg = 0.177 KB (by entry num) total key len = 1.451216 GB avg = 0.027 KB total ukey len = 1.004115 GB avg = 0.015 KB total ukey num = 0.066070187 Billion total entry num = 0.052877916 Billion write speed all = 12.007335808 MB/sec (with seq num) write speed all = 11.538382203 MB/sec (without seq num) 2024/11/23-09:10:14.280485 139957441766976 [compaction_job.cc:1948] [default] [JOB 23255] Generated table #253634: 2035 keys, 684646 bytes, temperature: kWarm 2024/11/23-09:10:14.280572 139957441766976 EVENT_LOG_v1 {"time_micros": 1732324214280512, "cf_name": "default", "job": 23255, "event": "table_file_creation", "file_number": 253634, "file_size": 684646, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 3896871854, "table_properties": {"data_size": 654288, "index_size": 192, "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": 40700, "raw_average_key_size": 20, "raw_value_size": 2069371, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 2035, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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_TagN-UintIndex_AllOne-DictZipBlobStore", "creation_time": 1732324213, "oldest_key_time": 0, "file_creation_time": 1732324213, "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": 253634, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-09:10:14.290842 139957441766976 [compaction_job.cc:703] job-23255: subcompact[0], size: 0.170936 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-23255/att-00 [253630,253631,253632,253633,253634] 2024/11/23-09:10:14.340704 139957441766976 (Original Log Time 2024/11/23-09:10:05.255206) EVENT_LOG_v1 {"time_micros": 1732324205255165, "job": 23255, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [253625], "files_L3": [253564, 253565, 253519, 253520, 253552], "score": 0.993593, "input_data_size": 203599189, "oldest_snapshot_seqno": 3900088004} 2024/11/23-09:10:14.340709 139957441766976 (Original Log Time 2024/11/23-09:10:14.340042) [compaction_job.cc:2022] [default] [JOB 23255] Compacted 1@2 + 5@3 files to L3 => 170935661 bytes 2024/11/23-09:10:14.340712 139957441766976 (Original Log Time 2024/11/23-09:10:14.340616) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 22.5 rd, 18.9 wr, level 3, files in(1, 5) out(5 +0 blob) MB in(31.2, 163.0 +0.0 blob) out(163.0 +0.0 blob), read-write-amplify(11.4) write-amplify(5.2) OK, records in: 551457, records dropped: 31705 output_compression: Snappy 2024/11/23-09:10:14.340722 139957441766976 (Original Log Time 2024/11/23-09:10:14.340684) EVENT_LOG_v1 {"time_micros": 1732324214340647, "cf": "default", "job": 23255, "event": "compaction_finished", "compaction_time_micros": 9035646, "compaction_time_cpu_micros": 1787380, "output_level": 3, "num_output_files": 5, "total_output_size": 170935661, "num_input_records": 551457, "num_output_records": 519752, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 188478337, "file_range_sync_nanos": 0, "file_fsync_nanos": 3994, "file_prepare_write_nanos": 11234, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/23-09:10:14.483591 139957441766976 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":1732324205,"executesMs":9204,"compactionJobId":23255,"attempt":0,"compactionInputRawBytes":571859103,"compactionInputZipBytes":203599189,"compactionOutputRawBytes":0,"compactionOutputZipBytes":170935661,"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-b524f6446ed1ecc6c563c41e2b35d683-faa491d0e293b7bc-00"}}, response = 2024/11/23-09:10:14.483721 139957441766976 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-23255/att-00: olev 3, work 9.205 s, result 8.490 ms, install 0.702 ms, input{raw 545.367 MiB zip 194.167 MiB}