2024/11/23-18:12:17.605865 139957408196160 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00: fork to child time = 0.024339 sec 2024/11/23-18:12:17.606885 139957408196160 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00 2024/11/23-18:12:17.613166 139957408196160 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00 2024/11/23-18:12:17.614426 139957408196160 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-18:12:17.614775 139957408196160 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-18:12:17.670886 139957408196160 [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-32797/att-00/MANIFEST-206347 2024/11/23-18:12:17.705345 139957408196160 [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-32797/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 274170, last_sequence is 4174041767, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 274021 2024/11/23-18:12:17.705364 139957408196160 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-18:12:17.705479 139957408196160 [version_set.cc:5721] Creating manifest 274170 2024/11/23-18:12:17.739553 139957408196160 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-18:12:17.760223 139957408196160 [compaction_job.cc:2437] [default] [JOB 32797] Compacting 1@2 + 4@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/23-18:12:17.760251 139957408196160 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 24553 Base level 2, inputs: [274156(20MB)], [274071(36MB) 274072(36MB) 274107(36MB) 274108(39MB)] 2024/11/23-18:12:17.767599 139957408196160 [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-18:12:17.767653 139957408196160 [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-18:12:17.767684 139957408196160 [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-18:12:17.767693 139957408196160 [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-18:12:17.767712 139957408196160 [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-18:12:18.479625 139957408196160 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274171.sst) /dev/shm/ToplingTemp/Topling-145463-DJYU4p 2024/11/23-18:12:19.379699 139957408196160 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274171.sst): first pass time = 0.90's, 149.128'MB/sec 2024/11/23-18:12:21.203699 139957408196160 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274171.sst): old prealloc_size = 147639500, real_size = 34478992 2024/11/23-18:12:21.204365 139957408196160 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274171.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 927430 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.0325 GB avg-val = 116.72 avg-zval = 35.02 2024/11/23-18:12:21.205195 139957408196160 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274171.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-18:12:22.089916 139957408196160 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274171.sst): second pass time = 1.82's, 59.564'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.89's, 43.272'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2751.227'MB/sec (index lex order gen) rebuild zvType time = 0.75's, 0.309'MB/sec write SST data time = 0.14's, 281.301'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 = 37868.690'MB/sec zip my value time = 1.82's, unzip length = 0.108'GB zip my value throughput = 59.564'MB/sec zip pipeline throughput = 98.481'MB/sec entries = 927430 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.72 avg-zval = 35.02 usrkeys = 927430 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.72 avg-zval = 35.02 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 927430 bytes = 3014160 } seq expand size = 6492010 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0185 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.0383 GB } UnZip/Zip{ index = 10.5137 value = 3.3325 dict = 1.00 all = 3.5000 } Zip/UnZip{ index = 0.0951 value = 0.3001 dict = 1.00 all = 0.2857 } ---------------------------- total value len = 8.963362 GB avg = 0.168 KB (by entry num) total key len = 1.466789 GB avg = 0.028 KB total ukey len = 1.016427 GB avg = 0.015 KB total ukey num = 0.066477865 Billion total entry num = 0.053285594 Billion write speed all = 0.312000886 MB/sec (with seq num) write speed all = 0.299249276 MB/sec (without seq num) 2024/11/23-18:12:22.143745 139957408196160 [compaction_job.cc:1948] [default] [JOB 32797] Generated table #274171: 927430 keys, 38347470 bytes, temperature: kWarm 2024/11/23-18:12:22.143868 139957408196160 EVENT_LOG_v1 {"time_micros": 1732356742143793, "cf_name": "default", "job": 32797, "event": "table_file_creation", "file_number": 274171, "file_size": 38347470, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4136224546, "largest_seqno": 4173988500, "table_properties": {"data_size": 32482752, "index_size": 1764224, "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": 25968040, "raw_average_key_size": 28, "raw_value_size": 108249784, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 927430, "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": 1732356738, "oldest_key_time": 0, "file_creation_time": 1732356738, "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": 274171, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:12:22.225234 139957408196160 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274172.sst) /dev/shm/ToplingTemp/Topling-145463-UNhqto 2024/11/23-18:12:23.349352 139957408196160 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274172.sst): first pass time = 1.12's, 119.404'MB/sec 2024/11/23-18:12:26.766371 139957408196160 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274172.sst): old prealloc_size = 147639500, real_size = 34183776 2024/11/23-18:12:26.766945 139957408196160 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274172.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 927453 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.1082 GB zip-val = 0.0322 GB avg-val = 116.72 avg-zval = 34.69 2024/11/23-18:12:26.767782 139957408196160 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274172.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-18:12:27.926100 139957408196160 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274172.sst): second pass time = 3.42's, 31.687'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.16's, 32.913'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3200.340'MB/sec (index lex order gen) rebuild zvType time = 0.93's, 0.250'MB/sec write SST data time = 0.23's, 164.664'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 36753.418'MB/sec zip my value time = 3.42's, unzip length = 0.108'GB zip my value throughput = 31.687'MB/sec zip pipeline throughput = 101.519'MB/sec entries = 927453 avg-key = 28.00 avg-zkey = 1.92 avg-val = 116.72 avg-zval = 34.69 usrkeys = 927453 avg-key = 20.00 avg-zkey = 1.92 avg-val = 123.72 avg-zval = 34.69 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 927453 bytes = 3130176 } seq expand size = 6492171 multi value expand size = 0 cnt WriteAppend = 15 UnZipSize{ index = 0.0185 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0322 GB dict = 1.08 MB all = 0.0382 GB } UnZip/Zip{ index = 10.4435 value = 3.3643 dict = 1.00 all = 3.5164 } Zip/UnZip{ index = 0.0958 value = 0.2972 dict = 1.00 all = 0.2844 } ---------------------------- total value len = 9.078103 GB avg = 0.167 KB (by entry num) total key len = 1.492758 GB avg = 0.028 KB total ukey len = 1.034976 GB avg = 0.015 KB total ukey num = 0.067405318 Billion total entry num = 0.054213047 Billion write speed all = 0.316154802 MB/sec (with seq num) write speed all = 0.303183510 MB/sec (without seq num) 2024/11/23-18:12:27.978630 139957408196160 [compaction_job.cc:1948] [default] [JOB 32797] Generated table #274172: 927453 keys, 38168640 bytes, temperature: kWarm 2024/11/23-18:12:27.978715 139957408196160 EVENT_LOG_v1 {"time_micros": 1732356747978669, "cf_name": "default", "job": 32797, "event": "table_file_creation", "file_number": 274172, "file_size": 38168640, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4094024708, "largest_seqno": 4173988417, "table_properties": {"data_size": 32175632, "index_size": 1776128, "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": 25968684, "raw_average_key_size": 28, "raw_value_size": 108249182, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 927453, "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": 1732356742, "oldest_key_time": 0, "file_creation_time": 1732356742, "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": 274172, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:12:28.043275 139957408196160 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274173.sst) /dev/shm/ToplingTemp/Topling-145463-D5Xkfp 2024/11/23-18:12:29.026000 139957408196160 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274173.sst): first pass time = 0.98's, 136.585'MB/sec 2024/11/23-18:12:31.859742 139957408196160 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274173.sst): old prealloc_size = 147639500, real_size = 34618064 2024/11/23-18:12:31.860418 139957408196160 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274173.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 926921 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1083 GB zip-val = 0.0326 GB avg-val = 116.80 avg-zval = 35.20 2024/11/23-18:12:31.861177 139957408196160 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274173.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-18:12:32.999382 139957408196160 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274173.sst): second pass time = 2.83's, 38.217'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.14's, 33.872'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2715.609'MB/sec (index lex order gen) rebuild zvType time = 0.82's, 0.281'MB/sec write SST data time = 0.32's, 122.465'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 34604.752'MB/sec zip my value time = 2.83's, unzip length = 0.108'GB zip my value throughput = 38.217'MB/sec zip pipeline throughput = 114.973'MB/sec entries = 926921 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.80 avg-zval = 35.20 usrkeys = 926921 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.80 avg-zval = 35.20 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 926921 bytes = 3128368 } seq expand size = 6488447 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0326 GB dict = 1.08 MB all = 0.0386 GB } UnZip/Zip{ index = 10.5164 value = 3.3186 dict = 1.00 all = 3.4770 } Zip/UnZip{ index = 0.0951 value = 0.3013 dict = 1.00 all = 0.2876 } ---------------------------- total value len = 9.192855 GB avg = 0.167 KB (by entry num) total key len = 1.518712 GB avg = 0.028 KB total ukey len = 1.053514 GB avg = 0.015 KB total ukey num = 0.068332239 Billion total entry num = 0.055139968 Billion write speed all = 0.320314462 MB/sec (with seq num) write speed all = 0.307123391 MB/sec (without seq num) 2024/11/23-18:12:33.067019 139957408196160 [compaction_job.cc:1948] [default] [JOB 32797] Generated table #274173: 926921 keys, 38601096 bytes, temperature: kWarm 2024/11/23-18:12:33.067138 139957408196160 EVENT_LOG_v1 {"time_micros": 1732356753067089, "cf_name": "default", "job": 32797, "event": "table_file_creation", "file_number": 274173, "file_size": 38601096, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4051668904, "largest_seqno": 4173988930, "table_properties": {"data_size": 32623360, "index_size": 1762816, "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": 25953788, "raw_average_key_size": 28, "raw_value_size": 108263974, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 926921, "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": 1732356748, "oldest_key_time": 0, "file_creation_time": 1732356748, "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": 274173, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:12:33.104090 139957408196160 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274174.sst) /dev/shm/ToplingTemp/Topling-145463-rJxC0r 2024/11/23-18:12:34.884787 139957408196160 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274174.sst): first pass time = 1.78's, 75.375'MB/sec 2024/11/23-18:12:36.582043 139957408196160 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274174.sst): old prealloc_size = 147639500, real_size = 36693472 2024/11/23-18:12:36.582574 139957408196160 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274174.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 930849 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.0347 GB avg-val = 116.19 avg-zval = 37.25 2024/11/23-18:12:36.583390 139957408196160 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274174.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-18:12:37.601883 139957408196160 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274174.sst): second pass time = 1.70's, 63.747'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.02's, 40.242'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3492.567'MB/sec (index lex order gen) rebuild zvType time = 0.89's, 0.261'MB/sec write SST data time = 0.13's, 319.551'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 = 36503.283'MB/sec zip my value time = 1.70's, unzip length = 0.108'GB zip my value throughput = 63.747'MB/sec zip pipeline throughput = 63.747'MB/sec entries = 930849 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.19 avg-zval = 37.25 usrkeys = 930849 avg-key = 20.00 avg-zkey = 1.91 avg-val = 123.19 avg-zval = 37.25 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 930849 bytes = 3490704 } seq expand size = 6515943 multi value expand size = 0 cnt WriteAppend = 17 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0347 GB dict = 1.08 MB all = 0.0410 GB } UnZip/Zip{ index = 10.4460 value = 3.1188 dict = 1.00 all = 3.2704 } Zip/UnZip{ index = 0.0957 value = 0.3206 dict = 1.00 all = 0.3058 } ---------------------------- total value len = 9.307525 GB avg = 0.166 KB (by entry num) total key len = 1.544775 GB avg = 0.028 KB total ukey len = 1.072131 GB avg = 0.015 KB total ukey num = 0.069263088 Billion total entry num = 0.056070817 Billion write speed all = 0.324478249 MB/sec (with seq num) write speed all = 0.311066339 MB/sec (without seq num) 2024/11/23-18:12:37.681477 139957408196160 [compaction_job.cc:1948] [default] [JOB 32797] Generated table #274174: 930849 keys, 41039566 bytes, temperature: kWarm 2024/11/23-18:12:37.681549 139957408196160 EVENT_LOG_v1 {"time_micros": 1732356757681513, "cf_name": "default", "job": 32797, "event": "table_file_creation", "file_number": 274174, "file_size": 41039566, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3591110068, "largest_seqno": 4173988359, "table_properties": {"data_size": 34678352, "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": 26063772, "raw_average_key_size": 28, "raw_value_size": 108154034, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930849, "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": 1732356753, "oldest_key_time": 0, "file_creation_time": 1732356753, "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": 274174, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:12:37.728133 139957408196160 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274175.sst) /dev/shm/ToplingTemp/Topling-145463-OPDlms 2024/11/23-18:12:37.790068 139957408196160 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274175.sst): first pass time = 0.06's, 226.319'MB/sec 2024/11/23-18:12:37.927151 139957408196160 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274175.sst): old prealloc_size = 147639500, real_size = 3986704 2024/11/23-18:12:37.927267 139957408196160 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274175.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 98648 prefix = 4 raw-key = 0.0016 GB zip-key = 0.0002 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.0112 GB zip-val = 0.0038 GB avg-val = 114.00 avg-zval = 38.24 2024/11/23-18:12:37.927398 139957408196160 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274175.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/23-18:12:38.012350 139957408196160 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00/274175.sst): second pass time = 0.14's, 82.467'MB/sec, value only(80.3% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.09's, 51.662'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2010.115'MB/sec (index lex order gen) rebuild zvType time = 0.07's, 0.345'MB/sec write SST data time = 0.01's, 322.351'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.116'MB, throughput = 4123.112'MB/sec zip my value time = 0.14's, unzip length = 0.011'GB zip my value throughput = 82.467'MB/sec zip pipeline throughput = 82.467'MB/sec entries = 98648 avg-key = 28.00 avg-zkey = 1.92 avg-val = 114.00 avg-zval = 38.24 usrkeys = 98648 avg-key = 20.00 avg-zkey = 1.92 avg-val = 121.00 avg-zval = 38.24 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 98648 bytes = 320624 } seq expand size = 690536 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0020 GB value = 0.0112 GB dict = 0.12 MB all = 0.0140 GB } __ZipSize{ index = 0.0002 GB value = 0.0038 GB dict = 0.12 MB all = 0.0044 GB } UnZip/Zip{ index = 10.4288 value = 2.9809 dict = 1.00 all = 3.1832 } Zip/UnZip{ index = 0.0959 value = 0.3355 dict = 1.00 all = 0.3141 } ---------------------------- total value len = 9.319462 GB avg = 0.166 KB (by entry num) total key len = 1.547538 GB avg = 0.028 KB total ukey len = 1.074104 GB avg = 0.015 KB total ukey num = 0.069361736 Billion total entry num = 0.056169465 Billion write speed all = 0.324913741 MB/sec (with seq num) write speed all = 0.311478399 MB/sec (without seq num) 2024/11/23-18:12:38.026820 139957408196160 [compaction_job.cc:1948] [default] [JOB 32797] Generated table #274175: 98648 keys, 4400599 bytes, temperature: kWarm 2024/11/23-18:12:38.026880 139957408196160 EVENT_LOG_v1 {"time_micros": 1732356758026848, "cf_name": "default", "job": 32797, "event": "table_file_creation", "file_number": 274175, "file_size": 4400599, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3944604177, "largest_seqno": 3989313998, "table_properties": {"data_size": 3772672, "index_size": 189184, "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": 2762144, "raw_average_key_size": 28, "raw_value_size": 11245872, "raw_average_value_size": 114, "num_data_blocks": 1, "num_entries": 98648, "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": 114, "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": 1732356757, "oldest_key_time": 0, "file_creation_time": 1732356757, "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": 274175, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-18:12:38.038746 139957408196160 [compaction_job.cc:703] job-32797: subcompact[0], size: 0.160557 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-32797/att-00 [274171,274172,274173,274174,274175] 2024/11/23-18:12:38.073805 139957408196160 (Original Log Time 2024/11/23-18:12:17.760354) EVENT_LOG_v1 {"time_micros": 1732356737760275, "job": 32797, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [274156], "files_L3": [274071, 274072, 274107, 274108], "score": 0.999441, "input_data_size": 178388520, "oldest_snapshot_seqno": 4174041767} 2024/11/23-18:12:38.073809 139957408196160 (Original Log Time 2024/11/23-18:12:38.073244) [compaction_job.cc:2022] [default] [JOB 32797] Compacted 1@2 + 4@3 files to L3 => 160557371 bytes 2024/11/23-18:12:38.073811 139957408196160 (Original Log Time 2024/11/23-18:12:38.073745) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 8.8 rd, 7.9 wr, level 3, files in(1, 4) out(5 +0 blob) MB in(20.8, 149.3 +0.0 blob) out(153.1 +0.0 blob), read-write-amplify(15.5) write-amplify(7.3) OK, records in: 3894023, records dropped: 82722 output_compression: Snappy 2024/11/23-18:12:38.073817 139957408196160 (Original Log Time 2024/11/23-18:12:38.073785) EVENT_LOG_v1 {"time_micros": 1732356758073768, "cf": "default", "job": 32797, "event": "compaction_finished", "compaction_time_micros": 20278398, "compaction_time_cpu_micros": 7306060, "output_level": 3, "num_output_files": 5, "total_output_size": 160557371, "num_input_records": 3894023, "num_output_records": 3811301, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 175873612, "file_range_sync_nanos": 0, "file_fsync_nanos": 5118, "file_prepare_write_nanos": 15403, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/23-18:12:38.199345 139957408196160 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":1732356737,"executesMs":20459,"compactionJobId":32797,"attempt":0,"compactionInputRawBytes":562625798,"compactionInputZipBytes":178388520,"compactionOutputRawBytes":0,"compactionOutputZipBytes":160557371,"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-43b8be69656d57569e2263ecd657eaf2-6157fda33e10602c-00"}}, response = 2024/11/23-18:12:38.199427 139957408196160 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-32797/att-00: olev 3, work 20.459 s, result 7.769 ms, install 0.589 ms, input{raw 536.562 MiB zip 170.125 MiB}