2024/11/23-14:35:19.119595 139957324269120 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00: fork to child time = 0.007884 sec 2024/11/23-14:35:19.120301 139957324269120 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00 2024/11/23-14:35:19.125447 139957324269120 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00 2024/11/23-14:35:19.126328 139957324269120 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-14:35:19.126616 139957324269120 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-14:35:19.187623 139957324269120 [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-28023/att-00/MANIFEST-206347 2024/11/23-14:35:19.222120 139957324269120 [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-28023/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 263721, last_sequence is 4029026313, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 263543 2024/11/23-14:35:19.222144 139957324269120 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-14:35:19.222332 139957324269120 [version_set.cc:5721] Creating manifest 263721 2024/11/23-14:35:19.258863 139957324269120 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-14:35:19.280428 139957324269120 [compaction_job.cc:2437] [default] [JOB 28023] Compacting 1@2 + 4@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/23-14:35:19.280447 139957324269120 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 20937 Base level 2, inputs: [263708(14MB)], [263631(124MB) 263632(124MB) 263633(101MB) 263713(28MB)] 2024/11/23-14:35:19.286856 139957324269120 [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-14:35:19.286903 139957324269120 [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-14:35:19.286932 139957324269120 [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-14:35:19.286941 139957324269120 [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-14:35:19.286957 139957324269120 [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-14:35:20.842705 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263722.sst) /dev/shm/ToplingTemp/Topling-76214-m6uwX7 2024/11/23-14:35:21.197409 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263722.sst): first pass time = 0.35's, 378.454'MB/sec 2024/11/23-14:35:23.613971 139957324269120 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263722.sst): part-0: reject ZipStore ratio = 0.809 2024/11/23-14:35:23.908397 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263722.sst): old prealloc_size = 147639500, real_size = 130062512 2024/11/23-14:35:23.908552 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263722.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198569 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0003 GB avg-key = 12.00 avg-zkey = 1.76 raw-val = 0.1295 GB zip-val = 0.1297 GB avg-val = 651.93 avg-zval = 652.99 2024/11/23-14:35:23.909108 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263722.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-14:35:24.540806 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263722.sst): second pass time = 2.42's, 53.588'MB/sec, value only(96.4% of KV) wait indexing time = 0.29's, remap KeyValue time = 0.63's, 206.730'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2522.700'MB/sec (index lex order gen) rebuild zvType time = 0.55's, 0.090'MB/sec write SST data time = 0.08's, 1654.061'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.000'MB, throughput = 0.000'MB/sec zip my value time = 2.42's, unzip length = 0.129'GB zip my value throughput = 53.588'MB/sec zip pipeline throughput = 97.329'MB/sec entries = 198569 avg-key = 24.00 avg-zkey = 1.76 avg-val = 651.93 avg-zval = 652.99 usrkeys = 198569 avg-key = 16.00 avg-zkey = 1.76 avg-val = 658.93 avg-zval = 652.99 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198569 bytes = 719824 } seq expand size = 1389983 multi value expand size = 0 cnt WriteAppend = 15813 UnZipSize{ index = 0.0032 GB value = 0.1295 GB dict = 0.00 MB all = 0.1342 GB } __ZipSize{ index = 0.0003 GB value = 0.1297 GB dict = 0.00 MB all = 0.1307 GB } UnZip/Zip{ index = 9.0887 value = 0.9984 dict = 0.00 all = 1.0266 } Zip/UnZip{ index = 0.1100 value = 1.0016 dict = 0.00 all = 0.9740 } ---------------------------- total value len = 8.979462 GB avg = 0.171 KB (by entry num) total key len = 1.445587 GB avg = 0.028 KB total ukey len = 1.001055 GB avg = 0.015 KB total ukey num = 0.065749004 Billion total entry num = 0.052556733 Billion write speed all = 0.510723222 MB/sec (with seq num) write speed all = 0.490125185 MB/sec (without seq num) 2024/11/23-14:35:24.684288 139957324269120 [compaction_job.cc:1948] [default] [JOB 28023] Generated table #263722: 198569 keys, 130734879 bytes, temperature: kWarm 2024/11/23-14:35:24.684384 139957324269120 EVENT_LOG_v1 {"time_micros": 1732343724684326, "cf_name": "default", "job": 28023, "event": "table_file_creation", "file_number": 263722, "file_size": 130734879, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3628612478, "largest_seqno": 4028962721, "table_properties": {"data_size": 129663136, "index_size": 349568, "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": 4765656, "raw_average_key_size": 24, "raw_value_size": 129452477, "raw_average_value_size": 651, "num_data_blocks": 1, "num_entries": 198569, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-ZipOffsetBlobStore", "creation_time": 1732343720, "oldest_key_time": 0, "file_creation_time": 1732343720, "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": 263722, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-14:35:24.744550 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263723.sst) /dev/shm/ToplingTemp/Topling-76214-MMrBV7 2024/11/23-14:35:26.380071 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263723.sst): first pass time = 1.64's, 82.066'MB/sec 2024/11/23-14:35:28.446640 139957324269120 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263723.sst): part-0: reject ZipStore ratio = 0.801 2024/11/23-14:35:28.811234 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263723.sst): old prealloc_size = 147639500, real_size = 130086192 2024/11/23-14:35:28.811428 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263723.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 198392 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.86 raw-val = 0.1295 GB zip-val = 0.1297 GB avg-val = 652.53 avg-zval = 653.59 2024/11/23-14:35:28.811676 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263723.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-14:35:29.220954 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263723.sst): second pass time = 2.06's, 62.710'MB/sec, value only(96.5% of KV) wait indexing time = 0.37's, remap KeyValue time = 0.41's, 319.208'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2084.408'MB/sec (index lex order gen) rebuild zvType time = 0.34's, 0.144'MB/sec write SST data time = 0.07's, 1973.172'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.000'MB, throughput = 0.000'MB/sec zip my value time = 2.06's, unzip length = 0.129'GB zip my value throughput = 62.710'MB/sec zip pipeline throughput = 68.028'MB/sec entries = 198392 avg-key = 24.00 avg-zkey = 1.86 avg-val = 652.53 avg-zval = 653.59 usrkeys = 198392 avg-key = 16.00 avg-zkey = 1.86 avg-val = 659.53 avg-zval = 653.59 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198392 bytes = 743984 } seq expand size = 1388744 multi value expand size = 0 cnt WriteAppend = 15812 UnZipSize{ index = 0.0032 GB value = 0.1295 GB dict = 0.00 MB all = 0.1342 GB } __ZipSize{ index = 0.0004 GB value = 0.1297 GB dict = 0.00 MB all = 0.1308 GB } UnZip/Zip{ index = 8.5958 value = 0.9984 dict = 0.00 all = 1.0263 } Zip/UnZip{ index = 0.1163 value = 1.0016 dict = 0.00 all = 0.9744 } ---------------------------- total value len = 9.110308 GB avg = 0.173 KB (by entry num) total key len = 1.450348 GB avg = 0.027 KB total ukey len = 1.004229 GB avg = 0.015 KB total ukey num = 0.065947396 Billion total entry num = 0.052755125 Billion write speed all = 0.517248004 MB/sec (with seq num) write speed all = 0.496576952 MB/sec (without seq num) 2024/11/23-14:35:29.366487 139957324269120 [compaction_job.cc:1948] [default] [JOB 28023] Generated table #263723: 198392 keys, 130783263 bytes, temperature: kWarm 2024/11/23-14:35:29.366558 139957324269120 EVENT_LOG_v1 {"time_micros": 1732343729366524, "cf_name": "default", "job": 28023, "event": "table_file_creation", "file_number": 263723, "file_size": 130783263, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3184145272, "largest_seqno": 4028963428, "table_properties": {"data_size": 129667104, "index_size": 369280, "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": 4761408, "raw_average_key_size": 24, "raw_value_size": 129456631, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198392, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-ZipOffsetBlobStore", "creation_time": 1732343724, "oldest_key_time": 0, "file_creation_time": 1732343724, "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": 263723, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-14:35:29.427941 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263724.sst) /dev/shm/ToplingTemp/Topling-76214-tAAiRa 2024/11/23-14:35:30.766857 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263724.sst): first pass time = 1.34's, 100.248'MB/sec 2024/11/23-14:35:32.782534 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263724.sst): old prealloc_size = 147639500, real_size = 103942352 2024/11/23-14:35:32.782741 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263724.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 198307 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.77 raw-val = 0.1295 GB zip-val = 0.1035 GB avg-val = 652.82 avg-zval = 522.12 2024/11/23-14:35:32.783018 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263724.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-14:35:33.147724 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263724.sst): second pass time = 2.01's, 64.253'MB/sec, value only(96.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.37's, 290.248'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1891.646'MB/sec (index lex order gen) rebuild zvType time = 0.30's, 0.166'MB/sec write SST data time = 0.07's, 1593.823'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.351'MB, throughput = 31171.386'MB/sec zip my value time = 2.01's, unzip length = 0.129'GB zip my value throughput = 64.253'MB/sec zip pipeline throughput = 66.588'MB/sec entries = 198307 avg-key = 24.00 avg-zkey = 1.77 avg-val = 652.82 avg-zval = 522.12 usrkeys = 198307 avg-key = 16.00 avg-zkey = 1.77 avg-val = 659.82 avg-zval = 522.12 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 198307 bytes = 743664 } seq expand size = 1388149 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0032 GB value = 0.1295 GB dict = 1.35 MB all = 0.1342 GB } __ZipSize{ index = 0.0004 GB value = 0.1035 GB dict = 1.35 MB all = 0.1060 GB } UnZip/Zip{ index = 9.0205 value = 1.2503 dict = 1.00 all = 1.2663 } Zip/UnZip{ index = 0.1109 value = 0.7998 dict = 1.00 all = 0.7897 } ---------------------------- total value len = 9.241154 GB avg = 0.175 KB (by entry num) total key len = 1.455108 GB avg = 0.027 KB total ukey len = 1.007402 GB avg = 0.015 KB total ukey num = 0.066145703 Billion total entry num = 0.052953432 Billion write speed all = 0.523789090 MB/sec (with seq num) write speed all = 0.503044325 MB/sec (without seq num) 2024/11/23-14:35:33.272178 139957324269120 [compaction_job.cc:1948] [default] [JOB 28023] Generated table #263724: 198307 keys, 105990056 bytes, temperature: kWarm 2024/11/23-14:35:33.272248 139957324269120 EVENT_LOG_v1 {"time_micros": 1732343733272211, "cf_name": "default", "job": 28023, "event": "table_file_creation", "file_number": 263724, "file_size": 105990056, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3237868515, "largest_seqno": 4028962662, "table_properties": {"data_size": 103540864, "index_size": 351744, "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": 4759368, "raw_average_key_size": 24, "raw_value_size": 129458670, "raw_average_value_size": 652, "num_data_blocks": 1, "num_entries": 198307, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732343729, "oldest_key_time": 0, "file_creation_time": 1732343729, "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": 263724, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-14:35:33.317595 139957324269120 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263725.sst) /dev/shm/ToplingTemp/Topling-76214-0jZQU9 2024/11/23-14:35:33.649099 139957324269120 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263725.sst): first pass time = 0.33's, 103.030'MB/sec 2024/11/23-14:35:34.205513 139957324269120 [top_zip_table_builder.cc:2726] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263725.sst): part-0: reject ZipStore ratio = 0.812 2024/11/23-14:35:34.273035 139957324269120 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263725.sst): old prealloc_size = 147639500, real_size = 33091664 2024/11/23-14:35:34.273113 139957324269120 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263725.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = ZipOffsetBlobStore usrkeys = 50571 prefix = 4 raw-key = 0.0006 GB zip-key = 0.0001 GB avg-key = 12.00 avg-zkey = 1.73 raw-val = 0.0329 GB zip-val = 0.0330 GB avg-val = 651.32 avg-zval = 652.38 2024/11/23-14:35:34.273203 139957324269120 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263725.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0001 GB, waited 0.000 sec, Key+Value = 0.034 GB 2024/11/23-14:35:34.353370 139957324269120 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00/263725.sst): second pass time = 0.56's, 59.265'MB/sec, value only(96.4% of KV) wait indexing time = 0.07's, remap KeyValue time = 0.08's, 414.174'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1340.556'MB/sec (index lex order gen) rebuild zvType time = 0.07's, 0.194'MB/sec write SST data time = 0.01's, 2224.218'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.000'MB, throughput = 0.000'MB/sec zip my value time = 0.56's, unzip length = 0.033'GB zip my value throughput = 59.265'MB/sec zip pipeline throughput = 59.265'MB/sec entries = 50571 avg-key = 24.00 avg-zkey = 1.73 avg-val = 651.32 avg-zval = 652.38 usrkeys = 50571 avg-key = 16.00 avg-zkey = 1.73 avg-val = 658.32 avg-zval = 652.38 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 50571 bytes = 183328 } seq expand size = 353997 multi value expand size = 0 cnt WriteAppend = 4030 UnZipSize{ index = 0.0008 GB value = 0.0329 GB dict = 0.00 MB all = 0.0342 GB } __ZipSize{ index = 0.0001 GB value = 0.0330 GB dict = 0.00 MB all = 0.0333 GB } UnZip/Zip{ index = 9.2621 value = 0.9984 dict = 0.00 all = 1.0267 } Zip/UnZip{ index = 0.1080 value = 1.0016 dict = 0.00 all = 0.9740 } ---------------------------- total value len = 9.274446 GB avg = 0.175 KB (by entry num) total key len = 1.456321 GB avg = 0.027 KB total ukey len = 1.008211 GB avg = 0.015 KB total ukey num = 0.066196274 Billion total entry num = 0.053004003 Billion write speed all = 0.525447782 MB/sec (with seq num) write speed all = 0.504684431 MB/sec (without seq num) 2024/11/23-14:35:34.396803 139957324269120 [compaction_job.cc:1948] [default] [JOB 28023] Generated table #263725: 50571 keys, 33263902 bytes, temperature: kWarm 2024/11/23-14:35:34.396892 139957324269120 EVENT_LOG_v1 {"time_micros": 1732343734396846, "cf_name": "default", "job": 28023, "event": "table_file_creation", "file_number": 263725, "file_size": 33263902, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3702181928, "largest_seqno": 4028963479, "table_properties": {"data_size": 32991488, "index_size": 87360, "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": 1213704, "raw_average_key_size": 24, "raw_value_size": 32937834, "raw_average_value_size": 651, "num_data_blocks": 1, "num_entries": 50571, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-ZipOffsetBlobStore", "creation_time": 1732343733, "oldest_key_time": 0, "file_creation_time": 1732343733, "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": 263725, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-14:35:34.423955 139957324269120 [compaction_job.cc:703] job-28023: subcompact[0], size: 0.400772 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28023/att-00 [263722,263723,263724,263725] 2024/11/23-14:35:34.560484 139957324269120 (Original Log Time 2024/11/23-14:35:19.280522) EVENT_LOG_v1 {"time_micros": 1732343719280467, "job": 28023, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [263708], "files_L3": [263631, 263632, 263633, 263713], "score": 0.995847, "input_data_size": 412249516, "oldest_snapshot_seqno": 4029026281} 2024/11/23-14:35:34.560489 139957324269120 (Original Log Time 2024/11/23-14:35:34.556253) [compaction_job.cc:2022] [default] [JOB 28023] Compacted 1@2 + 4@3 files to L3 => 400772100 bytes 2024/11/23-14:35:34.560492 139957324269120 (Original Log Time 2024/11/23-14:35:34.560391) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.01, MB/sec: 27.2 rd, 26.5 wr, level 3, files in(1, 4) out(4 +0 blob) MB in(14.2, 379.0 +0.0 blob) out(382.2 +0.0 blob), read-write-amplify(54.6) write-amplify(26.9) OK, records in: 663236, records dropped: 17397 output_compression: Snappy 2024/11/23-14:35:34.560503 139957324269120 (Original Log Time 2024/11/23-14:35:34.560457) EVENT_LOG_v1 {"time_micros": 1732343734560429, "cf": "default", "job": 28023, "event": "compaction_finished", "compaction_time_micros": 15143445, "compaction_time_cpu_micros": 2660655, "output_level": 3, "num_output_files": 4, "total_output_size": 400772100, "num_input_records": 663236, "num_output_records": 645839, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 444134893, "file_range_sync_nanos": 0, "file_fsync_nanos": 3565, "file_prepare_write_nanos": 1862934, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/23-14:35:34.705280 139957324269120 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":1732343719,"executesMs":15428,"compactionJobId":28023,"attempt":0,"compactionInputRawBytes":448576801,"compactionInputZipBytes":412249516,"compactionOutputRawBytes":0,"compactionOutputZipBytes":400772100,"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-c999c8f810e5e4749016d34c92afbb74-23589973704a489a-00"}}, response = 2024/11/23-14:35:34.705416 139957324269120 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-28023/att-00: olev 3, work 15.429 s, result 7.851 ms, install 4.272 ms, input{raw 427.796 MiB zip 393.152 MiB}