2024/11/23-17:51:43.207932 139957290698304 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00: fork to child time = 0.010029 sec 2024/11/23-17:51:43.208729 139957290698304 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00 2024/11/23-17:51:43.214299 139957290698304 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00 2024/11/23-17:51:43.215199 139957290698304 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-17:51:43.215468 139957290698304 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-17:51:43.266863 139957290698304 [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-32393/att-00/MANIFEST-206347 2024/11/23-17:51:43.299771 139957290698304 [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-32393/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 273306, last_sequence is 4161890943, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 273169 2024/11/23-17:51:43.299779 139957290698304 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-17:51:43.299863 139957290698304 [version_set.cc:5721] Creating manifest 273306 2024/11/23-17:51:43.334647 139957290698304 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-17:51:43.354487 139957290698304 [compaction_job.cc:2437] [default] [JOB 32393] Compacting 1@2 + 4@3 files to L3, score 0.99, subcompactions 1 : 1 2024/11/23-17:51:43.354501 139957290698304 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 24247 Base level 2, inputs: [273302(27MB)], [273272(34MB) 273273(35MB) 273274(25MB) 273242(35MB)] 2024/11/23-17:51:43.361459 139957290698304 [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-17:51:43.361493 139957290698304 [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-17:51:43.361512 139957290698304 [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-17:51:43.361518 139957290698304 [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-17:51:43.361530 139957290698304 [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-17:51:43.917257 139957290698304 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273307.sst) /dev/shm/ToplingTemp/Topling-139584-zZIfrV 2024/11/23-17:51:44.772656 139957290698304 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273307.sst): first pass time = 0.86's, 156.914'MB/sec 2024/11/23-17:51:46.449145 139957290698304 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273307.sst): old prealloc_size = 147639500, real_size = 32456528 2024/11/23-17:51:46.449875 139957290698304 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273307.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 930606 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.93 raw-val = 0.1082 GB zip-val = 0.0304 GB avg-val = 116.23 avg-zval = 32.70 2024/11/23-17:51:46.450750 139957290698304 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273307.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-17:51:47.931560 139957290698304 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273307.sst): second pass time = 1.66's, 65.154'MB/sec, value only(80.6% of KV) wait indexing time = 0.01's, remap KeyValue time = 1.48's, 24.587'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2557.430'MB/sec (index lex order gen) rebuild zvType time = 1.26's, 0.184'MB/sec write SST data time = 0.22's, 167.574'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 = 27134.473'MB/sec zip my value time = 1.66's, unzip length = 0.108'GB zip my value throughput = 65.154'MB/sec zip pipeline throughput = 65.154'MB/sec entries = 930606 avg-key = 28.00 avg-zkey = 1.93 avg-val = 116.23 avg-zval = 32.70 usrkeys = 930606 avg-key = 20.00 avg-zkey = 1.93 avg-val = 123.23 avg-zval = 32.70 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 930606 bytes = 3140816 } seq expand size = 6514242 multi value expand size = 0 cnt WriteAppend = 15 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0304 GB dict = 1.08 MB all = 0.0364 GB } UnZip/Zip{ index = 10.3792 value = 3.5544 dict = 1.00 all = 3.6824 } Zip/UnZip{ index = 0.0963 value = 0.2813 dict = 1.00 all = 0.2716 } ---------------------------- total value len = 8.963295 GB avg = 0.168 KB (by entry num) total key len = 1.466878 GB avg = 0.028 KB total ukey len = 1.016490 GB avg = 0.015 KB total ukey num = 0.066481041 Billion total entry num = 0.053288770 Billion write speed all = 0.323961507 MB/sec (with seq num) write speed all = 0.310720300 MB/sec (without seq num) 2024/11/23-17:51:47.979159 139957290698304 [compaction_job.cc:1948] [default] [JOB 32393] Generated table #273307: 930606 keys, 36448646 bytes, temperature: kWarm 2024/11/23-17:51:47.979243 139957290698304 EVENT_LOG_v1 {"time_micros": 1732355507979189, "cf_name": "default", "job": 32393, "event": "table_file_creation", "file_number": 273307, "file_size": 36448646, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4076718630, "largest_seqno": 4161867308, "table_properties": {"data_size": 30430464, "index_size": 1793216, "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": 26056968, "raw_average_key_size": 28, "raw_value_size": 108160892, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930606, "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": 1732355503, "oldest_key_time": 0, "file_creation_time": 1732355503, "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": 273307, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-17:51:48.062739 139957290698304 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273308.sst) /dev/shm/ToplingTemp/Topling-139584-rrtusS 2024/11/23-17:51:49.067847 139957290698304 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273308.sst): first pass time = 1.01's, 133.543'MB/sec 2024/11/23-17:51:51.327574 139957290698304 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273308.sst): old prealloc_size = 147639500, real_size = 33569408 2024/11/23-17:51:51.328288 139957290698304 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273308.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 931276 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1081 GB zip-val = 0.0316 GB avg-val = 116.12 avg-zval = 33.89 2024/11/23-17:51:51.329117 139957290698304 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273308.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-17:51:52.828026 139957290698304 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273308.sst): second pass time = 2.26's, 47.875'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.50's, 24.958'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2556.284'MB/sec (index lex order gen) rebuild zvType time = 1.24's, 0.188'MB/sec write SST data time = 0.26's, 143.176'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 = 33325.340'MB/sec zip my value time = 2.26's, unzip length = 0.108'GB zip my value throughput = 47.875'MB/sec zip pipeline throughput = 132.990'MB/sec entries = 931276 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.12 avg-zval = 33.89 usrkeys = 931276 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.12 avg-zval = 33.89 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 931276 bytes = 3026656 } seq expand size = 6518932 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0186 GB value = 0.1081 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0316 GB dict = 1.08 MB all = 0.0374 GB } UnZip/Zip{ index = 10.5139 value = 3.4260 dict = 1.00 all = 3.5842 } Zip/UnZip{ index = 0.0951 value = 0.2919 dict = 1.00 all = 0.2790 } ---------------------------- total value len = 9.077956 GB avg = 0.167 KB (by entry num) total key len = 1.492954 GB avg = 0.028 KB total ukey len = 1.035116 GB avg = 0.015 KB total ukey num = 0.067412317 Billion total entry num = 0.054220046 Billion write speed all = 0.328282868 MB/sec (with seq num) write speed all = 0.314812305 MB/sec (without seq num) 2024/11/23-17:51:52.879823 139957290698304 [compaction_job.cc:1948] [default] [JOB 32393] Generated table #273308: 931276 keys, 37447512 bytes, temperature: kWarm 2024/11/23-17:51:52.879913 139957290698304 EVENT_LOG_v1 {"time_micros": 1732355512879864, "cf_name": "default", "job": 32393, "event": "table_file_creation", "file_number": 273308, "file_size": 37447512, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4124223986, "largest_seqno": 4161868091, "table_properties": {"data_size": 31564912, "index_size": 1771520, "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": 26075728, "raw_average_key_size": 28, "raw_value_size": 108142056, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 931276, "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": 1732355508, "oldest_key_time": 0, "file_creation_time": 1732355508, "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": 273308, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-17:51:52.957499 139957290698304 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273309.sst) /dev/shm/ToplingTemp/Topling-139584-7MxhmR 2024/11/23-17:51:54.281937 139957290698304 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273309.sst): first pass time = 1.32's, 101.343'MB/sec 2024/11/23-17:51:56.606057 139957290698304 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273309.sst): old prealloc_size = 147639500, real_size = 34521632 2024/11/23-17:51:56.606776 139957290698304 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273309.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 928839 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.0325 GB avg-val = 116.50 avg-zval = 35.00 2024/11/23-17:51:56.607596 139957290698304 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273309.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-17:51:57.782554 139957290698304 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273309.sst): second pass time = 2.32's, 46.580'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.18's, 32.635'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2557.780'MB/sec (index lex order gen) rebuild zvType time = 1.02's, 0.228'MB/sec write SST data time = 0.16's, 242.137'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 = 33446.774'MB/sec zip my value time = 2.32's, unzip length = 0.108'GB zip my value throughput = 46.580'MB/sec zip pipeline throughput = 78.053'MB/sec entries = 928839 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.50 avg-zval = 35.00 usrkeys = 928839 avg-key = 20.00 avg-zkey = 1.91 avg-val = 123.50 avg-zval = 35.00 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 928839 bytes = 3018736 } seq expand size = 6501873 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.0325 GB dict = 1.08 MB all = 0.0384 GB } UnZip/Zip{ index = 10.4456 value = 3.3284 dict = 1.00 all = 3.4958 } Zip/UnZip{ index = 0.0957 value = 0.3004 dict = 1.00 all = 0.2861 } ---------------------------- total value len = 9.192668 GB avg = 0.167 KB (by entry num) total key len = 1.518961 GB avg = 0.028 KB total ukey len = 1.053692 GB avg = 0.015 KB total ukey num = 0.068341156 Billion total entry num = 0.055148885 Billion write speed all = 0.332601785 MB/sec (with seq num) write speed all = 0.318902568 MB/sec (without seq num) 2024/11/23-17:51:57.831421 139957290698304 [compaction_job.cc:1948] [default] [JOB 32393] Generated table #273309: 928839 keys, 38393832 bytes, temperature: kWarm 2024/11/23-17:51:57.831476 139957290698304 EVENT_LOG_v1 {"time_micros": 1732355517831445, "cf_name": "default", "job": 32393, "event": "table_file_creation", "file_number": 273309, "file_size": 38393832, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4098574454, "largest_seqno": 4161868057, "table_properties": {"data_size": 32510800, "index_size": 1778432, "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": 26007492, "raw_average_key_size": 28, "raw_value_size": 108210322, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 928839, "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": 1732355512, "oldest_key_time": 0, "file_creation_time": 1732355512, "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": 273309, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-17:51:57.869388 139957290698304 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273310.sst) /dev/shm/ToplingTemp/Topling-139584-b6MmAS 2024/11/23-17:51:58.326222 139957290698304 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273310.sst): first pass time = 0.46's, 242.370'MB/sec 2024/11/23-17:51:59.983326 139957290698304 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273310.sst): old prealloc_size = 147639500, real_size = 28163728 2024/11/23-17:51:59.983830 139957290698304 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273310.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 767070 prefix = 4 raw-key = 0.0123 GB zip-key = 0.0015 GB avg-key = 16.00 avg-zkey = 1.93 raw-val = 0.0892 GB zip-val = 0.0265 GB avg-val = 116.34 avg-zval = 34.54 2024/11/23-17:51:59.984480 139957290698304 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273310.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0019 GB, waited 0.000 sec, Key+Value = 0.111 GB 2024/11/23-17:52:00.688795 139957290698304 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00/273310.sst): second pass time = 1.66's, 53.877'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.71's, 44.593'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3074.922'MB/sec (index lex order gen) rebuild zvType time = 0.60's, 0.321'MB/sec write SST data time = 0.11's, 294.522'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.893'MB, throughput = 23822.613'MB/sec zip my value time = 1.66's, unzip length = 0.089'GB zip my value throughput = 53.877'MB/sec zip pipeline throughput = 137.205'MB/sec entries = 767070 avg-key = 28.00 avg-zkey = 1.93 avg-val = 116.34 avg-zval = 34.54 usrkeys = 767070 avg-key = 20.00 avg-zkey = 1.93 avg-val = 123.34 avg-zval = 34.54 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 767070 bytes = 2588880 } seq expand size = 5369490 multi value expand size = 0 cnt WriteAppend = 18 UnZipSize{ index = 0.0153 GB value = 0.0892 GB dict = 0.89 MB all = 0.1107 GB } __ZipSize{ index = 0.0015 GB value = 0.0265 GB dict = 0.89 MB all = 0.0315 GB } UnZip/Zip{ index = 10.3730 value = 3.3684 dict = 1.00 all = 3.5194 } Zip/UnZip{ index = 0.0964 value = 0.2969 dict = 1.00 all = 0.2841 } ---------------------------- total value len = 9.287275 GB avg = 0.166 KB (by entry num) total key len = 1.540439 GB avg = 0.028 KB total ukey len = 1.069034 GB avg = 0.015 KB total ukey num = 0.069108226 Billion total entry num = 0.055915955 Billion write speed all = 0.336175953 MB/sec (with seq num) write speed all = 0.322287446 MB/sec (without seq num) 2024/11/23-17:52:00.731058 139957290698304 [compaction_job.cc:1948] [default] [JOB 32393] Generated table #273310: 767070 keys, 31458442 bytes, temperature: kWarm 2024/11/23-17:52:00.731129 139957290698304 EVENT_LOG_v1 {"time_micros": 1732355520731092, "cf_name": "default", "job": 32393, "event": "table_file_creation", "file_number": 273310, "file_size": 31458442, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4042106349, "largest_seqno": 4161868148, "table_properties": {"data_size": 26492800, "index_size": 1478976, "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": 21477960, "raw_average_key_size": 28, "raw_value_size": 89237672, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 767070, "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": 1732355517, "oldest_key_time": 0, "file_creation_time": 1732355517, "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": 273310, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-17:52:00.754893 139957290698304 [compaction_job.cc:703] job-32393: subcompact[0], size: 0.143748 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32393/att-00 [273307,273308,273309,273310] 2024/11/23-17:52:00.805454 139957290698304 (Original Log Time 2024/11/23-17:51:43.354565) EVENT_LOG_v1 {"time_micros": 1732355503354516, "job": 32393, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [273302], "files_L3": [273272, 273273, 273274, 273242], "score": 0.990852, "input_data_size": 165927401, "oldest_snapshot_seqno": 4161890787} 2024/11/23-17:52:00.805460 139957290698304 (Original Log Time 2024/11/23-17:52:00.804592) [compaction_job.cc:2022] [default] [JOB 32393] Compacted 1@2 + 4@3 files to L3 => 143748432 bytes 2024/11/23-17:52:00.805462 139957290698304 (Original Log Time 2024/11/23-17:52:00.805360) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.01, MB/sec: 9.5 rd, 8.3 wr, level 3, files in(1, 4) out(4 +0 blob) MB in(27.1, 131.2 +0.0 blob) out(137.1 +0.0 blob), read-write-amplify(10.9) write-amplify(5.1) OK, records in: 3634535, records dropped: 76744 output_compression: Snappy 2024/11/23-17:52:00.805472 139957290698304 (Original Log Time 2024/11/23-17:52:00.805427) EVENT_LOG_v1 {"time_micros": 1732355520805400, "cf": "default", "job": 32393, "event": "compaction_finished", "compaction_time_micros": 17400340, "compaction_time_cpu_micros": 7037087, "output_level": 3, "num_output_files": 4, "total_output_size": 143748432, "num_input_records": 3634535, "num_output_records": 3557791, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 111236604, "file_range_sync_nanos": 0, "file_fsync_nanos": 2747, "file_prepare_write_nanos": 11529, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/23-17:52:00.949282 139957290698304 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":1732355503,"executesMs":17588,"compactionJobId":32393,"attempt":0,"compactionInputRawBytes":524266738,"compactionInputZipBytes":165927401,"compactionOutputRawBytes":0,"compactionOutputZipBytes":143748432,"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-8cba3c8d822155b5bcb3760cacb51295-c259c9cde7eccde1-00"}}, response = 2024/11/23-17:52:00.949408 139957290698304 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-32393/att-00: olev 3, work 17.589 s, result 7.801 ms, install 0.901 ms, input{raw 499.980 MiB zip 158.241 MiB}