2024/11/20-16:36:42.016904 140257902970432 DEBG dcompact_worker.cpp:2219: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00: fork to child time = 0.009874 sec 2024/11/20-16:36:42.017439 140257902970432 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00 2024/11/20-16:36:42.022184 140257902970432 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00 2024/11/20-16:36:42.023742 140257902970432 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/20-16:36:42.023977 140257902970432 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/20-16:36:42.069254 140257902970432 [version_set.cc:6211] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-16205/att-00/MANIFEST-019309 2024/11/20-16:36:42.084397 140257902970432 [version_set.cc:6254] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-16205/att-00/MANIFEST-019309 succeeded,manifest_file_number is 19309, next_file_number is 46119, last_sequence is 784850929, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 45989 2024/11/20-16:36:42.084402 140257902970432 [version_set.cc:6269] Column family [default] (ID 0), log number is 0 2024/11/20-16:36:42.084473 140257902970432 [version_set.cc:5724] Creating manifest 46119 2024/11/20-16:36:42.115592 140257902970432 DEBG dcompact_worker.cpp:1225: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/20-16:36:42.131858 140257902970432 [compaction_job.cc:2437] [default] [JOB 16205] Compacting 1@2 + 5@3 files to L3, score 0.96, subcompactions 1 : 1 2024/11/20-16:36:42.131869 140257902970432 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 12506 Base level 2, inputs: [46117(11MB)], [46086(37MB) 46087(37MB) 46088(38MB) 46089(17MB) 46039(27MB)] 2024/11/20-16:36:42.136691 140257902970432 [top_zip_table.cc:59] core git_version_hash_info_is:commit 81964c21ebbcc178d8e99dae0fbf61bded2729cc Author: rockeet Date: Mon Nov 11 21:28:46 2024 +0800 Makefile: fix gen git-version-*.cpp GIT_PATH_ARG = :!src/terark/fsa :!tools/fsa :!src/terark/zbs :!tools/zbs g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) 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/zstd -Iboost-include DEFS = -DTOPLING_IO_WITH_URING=1 -DDIVSUFSORT_API= CXXFLAGS = -fPIC -time -fdiagnostics-color -mcx16 -fno-stack-protector WARNINGS = -Wno-class-memaccess -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -Wno-deprecated-declarations -Wstrict-aliasing=3 RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 LDFLAGS = -fPIC -rdynamic 2024/11/20-16:36:42.136713 140257902970432 [top_zip_table.cc:60] fsa git_version_hash_info_is:commit 5dfecb7d107196f044ff5bf78dc39d2e725b9d9b Author: leipeng Date: Thu Nov 7 15:22:45 2024 +0800 Makefile: fix for x86_64 CPU older than haswell GIT_PATH_ARG = src/terark/fsa tools/fsa g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) 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/zstd -Iboost-include DEFS = -DTOPLING_IO_WITH_URING=1 -DDIVSUFSORT_API= CXXFLAGS = -fPIC -time -fdiagnostics-color -mcx16 -fno-stack-protector WARNINGS = -Wno-class-memaccess -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -Wno-deprecated-declarations -Wstrict-aliasing=3 RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 LDFLAGS = -fPIC -rdynamic 2024/11/20-16:36:42.136731 140257902970432 [top_zip_table.cc:61] zbs git_version_hash_info_is:commit d44dd5ff72707128fe3c916077b43d2093c01f7c Author: leipeng Date: Sun Oct 27 23:38:26 2024 +0800 Fix for msvc, when toplingdb on msvc GIT_PATH_ARG = src/terark/zbs tools/zbs g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) 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/zstd -Iboost-include DEFS = -DTOPLING_IO_WITH_URING=1 -DDIVSUFSORT_API= CXXFLAGS = -fPIC -time -fdiagnostics-color -mcx16 -fno-stack-protector WARNINGS = -Wno-class-memaccess -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -Wno-deprecated-declarations -Wstrict-aliasing=3 RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 LDFLAGS = -fPIC -rdynamic 2024/11/20-16:36:42.136739 140257902970432 [top_zip_table.cc:62] topling-zip_table_reader: git_version_hash_info_is: commit 79614a7e7dc27362fc5151b0797eb7d83c674c7b Author: rockeet Date: Sun Nov 10 15:02:21 2024 +0800 cpu_has_bmi2.sh: detect by compile c++ code check __BMI2__ g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) 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/20-16:36:42.136748 140257902970432 [top_zip_table.cc:64] topling-rocks git_version_hash_info_is: commit c46b65a52d9c74aa8b87aeb8438620ff2dbc669c Author: rockeet Date: Sun Nov 10 15:02:42 2024 +0800 cpu_has_bmi2.sh: detect by compile c++ code check __BMI2__ g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) 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/20-16:36:42.594316 140257902970432 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046120.sst) /dev/shm/ToplingTemp/Topling-589458-51mjgg 2024/11/20-16:36:43.096010 140257902970432 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046120.sst): first pass time = 0.50's, 267.548'MB/sec 2024/11/20-16:36:44.322756 140257902970432 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046120.sst): old prealloc_size = 147639500, real_size = 35207344 2024/11/20-16:36:44.323353 140257902970432 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046120.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 930140 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.0332 GB avg-val = 116.30 avg-zval = 35.67 2024/11/20-16:36:44.324171 140257902970432 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046120.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-16:36:45.678840 140257902970432 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046120.sst): second pass time = 1.23's, 88.230'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.36's, 28.907'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3100.133'MB/sec (index lex order gen) rebuild zvType time = 1.01's, 0.230'MB/sec write SST data time = 0.35's, 113.569'MB/sec dict compress time = 3978983280.14's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.079'MB, throughput = 36677.316'MB/sec zip my value time = 1.23's, unzip length = 0.108'GB zip my value throughput = 88.230'MB/sec zip pipeline throughput = 88.230'MB/sec entries = 930140 avg-key = 28.00 avg-zkey = 1.93 avg-val = 116.30 avg-zval = 35.67 usrkeys = 930140 avg-key = 20.00 avg-zkey = 1.93 avg-val = 123.30 avg-zval = 35.67 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 930140 bytes = 3139232 } seq expand size = 6510980 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.0332 GB dict = 1.08 MB all = 0.0392 GB } UnZip/Zip{ index = 10.3762 value = 3.2600 dict = 1.00 all = 3.4240 } Zip/UnZip{ index = 0.0964 value = 0.3067 dict = 1.00 all = 0.2921 } ---------------------------- total value len = 2183.597465 GB avg = 0.300 KB (by entry num) total key len = 191.589336 GB avg = 0.026 KB total ukey len = 134.138934 GB avg = 0.014 KB total ukey num = 9.327062206 Billion total entry num = 7.271212352 Billion write speed all = 149.868222694 MB/sec (with seq num) write speed all = 146.197863220 MB/sec (without seq num) 2024/11/20-16:36:45.737459 140257902970432 [compaction_job.cc:1948] [default] [JOB 16205] Generated table #46120: 930140 keys, 39198944 bytes, temperature: kWarm 2024/11/20-16:36:45.737554 140257902970432 EVENT_LOG_v1 {"time_micros": 1732091805737501, "cf_name": "default", "job": 16205, "event": "table_file_creation", "file_number": 46120, "file_size": 39198944, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 684241312, "largest_seqno": 784811959, "table_properties": {"data_size": 33181792, "index_size": 1792832, "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": 26043920, "raw_average_key_size": 28, "raw_value_size": 108173912, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930140, "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": 1732091802, "oldest_key_time": 0, "file_creation_time": 1732091802, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 46120, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:36:45.797622 140257902970432 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046121.sst) /dev/shm/ToplingTemp/Topling-589458-dD6pWg 2024/11/20-16:36:47.080413 140257902970432 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046121.sst): first pass time = 1.28's, 104.633'MB/sec 2024/11/20-16:36:49.275296 140257902970432 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046121.sst): old prealloc_size = 147639500, real_size = 36488752 2024/11/20-16:36:49.275980 140257902970432 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046121.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 926865 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.1083 GB zip-val = 0.0345 GB avg-val = 116.81 avg-zval = 37.20 2024/11/20-16:36:49.276635 140257902970432 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046121.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-16:36:50.324836 140257902970432 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046121.sst): second pass time = 2.19's, 49.345'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.05's, 37.680'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2682.154'MB/sec (index lex order gen) rebuild zvType time = 0.86's, 0.269'MB/sec write SST data time = 0.19's, 211.067'MB/sec dict compress time = 3978983280.14's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 32562.163'MB/sec zip my value time = 2.19's, unzip length = 0.108'GB zip my value throughput = 49.345'MB/sec zip pipeline throughput = 170.147'MB/sec entries = 926865 avg-key = 28.00 avg-zkey = 1.92 avg-val = 116.81 avg-zval = 37.20 usrkeys = 926865 avg-key = 20.00 avg-zkey = 1.92 avg-val = 121.24 avg-zval = 37.20 TagRS{ kinds = RS_Key0_TagN bytes = 144920 } TagArray{ size = 586366 bytes = 2052288 } seq expand size = 4104562 multi value expand size = 0 cnt WriteAppend = 17 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0345 GB dict = 1.08 MB all = 0.0395 GB } UnZip/Zip{ index = 10.4418 value = 3.1398 dict = 1.00 all = 3.3940 } Zip/UnZip{ index = 0.0958 value = 0.3185 dict = 1.00 all = 0.2946 } ---------------------------- total value len = 2183.709835 GB avg = 0.300 KB (by entry num) total key len = 191.615289 GB avg = 0.026 KB total ukey len = 134.157472 GB avg = 0.014 KB total ukey num = 9.327989071 Billion total entry num = 7.272139217 Billion write speed all = 149.833026853 MB/sec (with seq num) write speed all = 146.163275306 MB/sec (without seq num) 2024/11/20-16:36:50.404309 140257902970432 [compaction_job.cc:1948] [default] [JOB 16205] Generated table #46121: 926865 keys, 39545164 bytes, temperature: kWarm 2024/11/20-16:36:50.404402 140257902970432 EVENT_LOG_v1 {"time_micros": 1732091810404353, "cf_name": "default", "job": 16205, "event": "table_file_creation", "file_number": 46121, "file_size": 39545164, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 784814440, "table_properties": {"data_size": 34481568, "index_size": 1775296, "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": 25952220, "raw_average_key_size": 28, "raw_value_size": 108265514, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 926865, "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_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732091805, "oldest_key_time": 0, "file_creation_time": 1732091805, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 46121, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:36:50.480123 140257902970432 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046122.sst) /dev/shm/ToplingTemp/Topling-589458-V4Wkke 2024/11/20-16:36:51.804589 140257902970432 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046122.sst): first pass time = 1.32's, 101.341'MB/sec 2024/11/20-16:36:53.269282 140257902970432 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046122.sst): old prealloc_size = 147639500, real_size = 36943984 2024/11/20-16:36:53.270066 140257902970432 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046122.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 925843 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.89 raw-val = 0.1083 GB zip-val = 0.0350 GB avg-val = 116.97 avg-zval = 37.76 2024/11/20-16:36:53.270801 140257902970432 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046122.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-16:36:54.179398 140257902970432 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046122.sst): second pass time = 1.46's, 73.980'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.91's, 44.448'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2304.690'MB/sec (index lex order gen) rebuild zvType time = 0.74's, 0.311'MB/sec write SST data time = 0.17's, 243.495'MB/sec dict compress time = 140278.07's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 26094.422'MB/sec zip my value time = 1.46's, unzip length = 0.108'GB zip my value throughput = 73.980'MB/sec zip pipeline throughput = 73.980'MB/sec entries = 925843 avg-key = 28.00 avg-zkey = 1.89 avg-val = 116.97 avg-zval = 37.76 usrkeys = 925843 avg-key = 20.00 avg-zkey = 1.89 avg-val = 122.38 avg-zval = 37.76 TagRS{ kinds = RS_Key0_TagN bytes = 144760 } TagArray{ size = 715832 bytes = 2505424 } seq expand size = 5010824 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0350 GB dict = 1.08 MB all = 0.0405 GB } UnZip/Zip{ index = 10.5810 value = 3.0975 dict = 1.00 all = 3.3179 } Zip/UnZip{ index = 0.0945 value = 0.3228 dict = 1.00 all = 0.3014 } ---------------------------- total value len = 2183.823140 GB avg = 0.300 KB (by entry num) total key len = 191.641212 GB avg = 0.026 KB total ukey len = 134.175989 GB avg = 0.014 KB total ukey num = 9.328914914 Billion total entry num = 7.273065060 Billion write speed all = 149.805384954 MB/sec (with seq num) write speed all = 146.136058373 MB/sec (without seq num) 2024/11/20-16:36:54.230764 140257902970432 [compaction_job.cc:1948] [default] [JOB 16205] Generated table #46122: 925843 keys, 40452874 bytes, temperature: kWarm 2024/11/20-16:36:54.230824 140257902970432 EVENT_LOG_v1 {"time_micros": 1732091814230794, "cf_name": "default", "job": 16205, "event": "table_file_creation", "file_number": 46122, "file_size": 40452874, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 784813044, "table_properties": {"data_size": 34962336, "index_size": 1750016, "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": 25923604, "raw_average_key_size": 28, "raw_value_size": 108294206, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 925843, "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_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732091810, "oldest_key_time": 0, "file_creation_time": 1732091810, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 46122, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:36:54.291393 140257902970432 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046123.sst) /dev/shm/ToplingTemp/Topling-589458-6DLR7f 2024/11/20-16:36:55.467560 140257902970432 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046123.sst): first pass time = 1.18's, 114.118'MB/sec 2024/11/20-16:36:57.090138 140257902970432 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046123.sst): old prealloc_size = 147639500, real_size = 35762720 2024/11/20-16:36:57.090724 140257902970432 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046123.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 925016 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.1083 GB zip-val = 0.0338 GB avg-val = 117.10 avg-zval = 36.50 2024/11/20-16:36:57.091553 140257902970432 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046123.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/20-16:36:58.279088 140257902970432 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046123.sst): second pass time = 1.62's, 66.790'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.19's, 33.524'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3142.137'MB/sec (index lex order gen) rebuild zvType time = 0.89's, 0.260'MB/sec write SST data time = 0.30's, 132.713'MB/sec dict compress time = 140278.07's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 28003.678'MB/sec zip my value time = 1.62's, unzip length = 0.108'GB zip my value throughput = 66.790'MB/sec zip pipeline throughput = 152.097'MB/sec entries = 925016 avg-key = 28.00 avg-zkey = 1.91 avg-val = 117.10 avg-zval = 36.50 usrkeys = 925016 avg-key = 20.00 avg-zkey = 1.91 avg-val = 124.10 avg-zval = 36.50 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 925016 bytes = 3237568 } seq expand size = 6475112 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0338 GB dict = 1.08 MB all = 0.0399 GB } UnZip/Zip{ index = 10.4458 value = 3.2084 dict = 1.00 all = 3.3676 } Zip/UnZip{ index = 0.0957 value = 0.3117 dict = 1.00 all = 0.2970 } ---------------------------- total value len = 2183.937932 GB avg = 0.300 KB (by entry num) total key len = 191.667113 GB avg = 0.026 KB total ukey len = 134.194489 GB avg = 0.014 KB total ukey num = 9.329839930 Billion total entry num = 7.273990076 Billion write speed all = 149.775534864 MB/sec (with seq num) write speed all = 146.106690140 MB/sec (without seq num) 2024/11/20-16:36:58.331873 140257902970432 [compaction_job.cc:1948] [default] [JOB 16205] Generated table #46123: 925016 keys, 39856170 bytes, temperature: kWarm 2024/11/20-16:36:58.331970 140257902970432 EVENT_LOG_v1 {"time_micros": 1732091818331926, "cf_name": "default", "job": 16205, "event": "table_file_creation", "file_number": 46123, "file_size": 39856170, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 634070385, "largest_seqno": 784814183, "table_properties": {"data_size": 33760208, "index_size": 1771072, "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": 25900448, "raw_average_key_size": 28, "raw_value_size": 108317284, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 925016, "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": 1732091814, "oldest_key_time": 0, "file_creation_time": 1732091814, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 46123, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:36:58.392034 140257902970432 [top_zip_table_builder.cc:960] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046124.sst) /dev/shm/ToplingTemp/Topling-589458-xx1WLd 2024/11/20-16:36:58.677552 140257902970432 [top_zip_table_builder.cc:1378] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046124.sst): first pass time = 0.29's, 126.131'MB/sec 2024/11/20-16:36:59.066191 140257902970432 [top_zip_table_builder.cc:2798] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046124.sst): old prealloc_size = 147639500, real_size = 9898096 2024/11/20-16:36:59.066356 140257902970432 [top_zip_table_builder.cc:1799] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046124.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 248526 prefix = 4 raw-key = 0.0040 GB zip-key = 0.0005 GB avg-key = 16.00 avg-zkey = 1.93 raw-val = 0.0290 GB zip-val = 0.0094 GB avg-val = 116.86 avg-zval = 37.64 2024/11/20-16:36:59.066583 140257902970432 [top_zip_table_builder.cc:1325] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046124.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.018 GB, reorder workingMem = 0.0006 GB, waited 0.000 sec, Key+Value = 0.036 GB 2024/11/20-16:36:59.290191 140257902970432 [top_zip_table_builder.cc:3129] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00/046124.sst): second pass time = 0.39's, 74.882'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.22's, 49.065'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3295.687'MB/sec (index lex order gen) rebuild zvType time = 0.19's, 0.331'MB/sec write SST data time = 0.04's, 305.171'MB/sec dict compress time = 3611950820.56's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.298'MB, throughput = 9068.876'MB/sec zip my value time = 0.39's, unzip length = 0.029'GB zip my value throughput = 74.882'MB/sec zip pipeline throughput = 112.044'MB/sec entries = 248526 avg-key = 28.00 avg-zkey = 1.93 avg-val = 116.86 avg-zval = 37.64 usrkeys = 248526 avg-key = 20.00 avg-zkey = 1.93 avg-val = 123.65 avg-zval = 37.64 TagRS{ kinds = RS_Key0_TagN bytes = 38920 } TagArray{ size = 240939 bytes = 813184 } seq expand size = 1686573 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0050 GB value = 0.0290 GB dict = 0.30 MB all = 0.0360 GB } __ZipSize{ index = 0.0005 GB value = 0.0094 GB dict = 0.30 MB all = 0.0110 GB } UnZip/Zip{ index = 10.3484 value = 3.1044 dict = 1.00 all = 3.2761 } Zip/UnZip{ index = 0.0966 value = 0.3221 dict = 1.00 all = 0.3052 } ---------------------------- total value len = 2183.968662 GB avg = 0.300 KB (by entry num) total key len = 191.674071 GB avg = 0.026 KB total ukey len = 134.199459 GB avg = 0.014 KB total ukey num = 9.330088456 Billion total entry num = 7.274238602 Billion write speed all = 149.768363332 MB/sec (with seq num) write speed all = 146.099627137 MB/sec (without seq num) 2024/11/20-16:36:59.309168 140257902970432 [compaction_job.cc:1948] [default] [JOB 16205] Generated table #46124: 248526 keys, 10989303 bytes, temperature: kWarm 2024/11/20-16:36:59.309232 140257902970432 EVENT_LOG_v1 {"time_micros": 1732091819309201, "cf_name": "default", "job": 16205, "event": "table_file_creation", "file_number": 46124, "file_size": 10989303, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 784813903, "table_properties": {"data_size": 9355488, "index_size": 480320, "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": 6958728, "raw_average_key_size": 28, "raw_value_size": 29043108, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 248526, "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_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732091818, "oldest_key_time": 0, "file_creation_time": 1732091818, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "92E45FH6K6HCJOD41QCQ", "orig_file_number": 46124, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/20-16:36:59.322782 140257902970432 [compaction_job.cc:703] job-16205: subcompact[0], size: 0.170042 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-16205/att-00 [046120,046121,046122,046123,046124] 2024/11/20-16:36:59.373461 140257902970432 (Original Log Time 2024/11/20-16:36:42.131929) EVENT_LOG_v1 {"time_micros": 1732091802131881, "job": 16205, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [46117], "files_L3": [46086, 46087, 46088, 46089, 46039], "score": 0.963164, "input_data_size": 178898413, "oldest_snapshot_seqno": 784850866} 2024/11/20-16:36:59.373464 140257902970432 (Original Log Time 2024/11/20-16:36:59.372845) [compaction_job.cc:2022] [default] [JOB 16205] Compacted 1@2 + 5@3 files to L3 => 170042455 bytes 2024/11/20-16:36:59.373465 140257902970432 (Original Log Time 2024/11/20-16:36:59.373390) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 10.4 rd, 9.9 wr, level 3, files in(1, 5) out(5 +0 blob) MB in(11.8, 158.9 +0.0 blob) out(162.2 +0.0 blob), read-write-amplify(28.3) write-amplify(13.8) OK, records in: 3979351, records dropped: 22961 output_compression: Snappy 2024/11/20-16:36:59.373469 140257902970432 (Original Log Time 2024/11/20-16:36:59.373438) EVENT_LOG_v1 {"time_micros": 1732091819373414, "cf": "default", "job": 16205, "event": "compaction_finished", "compaction_time_micros": 17190862, "compaction_time_cpu_micros": 7801786, "output_level": 3, "num_output_files": 5, "total_output_size": 170042455, "num_input_records": 3979351, "num_output_records": 3956390, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 150151011, "file_range_sync_nanos": 0, "file_fsync_nanos": 4983, "file_prepare_write_nanos": 13199, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/20-16:36:59.513077 140257902970432 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":1732076400,"starts":1732091801,"executesMs":17347,"compactionJobId":16205,"attempt":0,"compactionInputRawBytes":576133406,"compactionInputZipBytes":178898413,"compactionOutputRawBytes":0,"compactionOutputZipBytes":170042455,"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-99868643090ad6037bc13e579ed7288a-583085ae8a52aed0-00"}}, response = 2024/11/20-16:36:59.513177 140257902970432 INFO dcompact_worker.cpp:1464: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-20T12.20.00/.rocksdb/job-16205/att-00: olev 3, work 17.347 s, result 8.417 ms, install 0.643 ms, input{raw 549.444 MiB zip 170.611 MiB}