2024/08/20-15:56:04.293412 140500112176704 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00: fork to child time = 0.009832 sec 2024/08/20-15:56:04.294500 140500112176704 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00 2024/08/20-15:56:04.300010 140500112176704 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00 2024/08/20-15:56:04.300314 140500112176704 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/08/20-15:56:04.300637 140500112176704 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/08/20-15:56:04.337327 140500112176704 [version_set.cc:6139] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-20T02.42.00/.rocksdb/job-38289/att-00/MANIFEST-14629260 2024/08/20-15:56:04.388620 140500112176704 [version_set.cc:6182] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-20T02.42.00/.rocksdb/job-38289/att-00/MANIFEST-14629260 succeeded,manifest_file_number is 14629260, next_file_number is 14673344, last_sequence is 190750006032, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 14673156 2024/08/20-15:56:04.388633 140500112176704 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/08/20-15:56:04.388708 140500112176704 [version_set.cc:5652] Creating manifest 14673344 2024/08/20-15:56:04.412979 140500112176704 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00: bottommost_level: fake = 1, rpc = 0 2024/08/20-15:56:04.426464 140500112176704 [compaction_job.cc:2433] [default] [JOB 38289] Compacting 1@1 + 5@2 files to L2, score 0.99, subcompactions 1 : 1 2024/08/20-15:56:04.426478 140500112176704 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 19564 Base level 1, inputs: [14673286(23MB)], [14673332(20MB) 14673333(10MB) 14673249(19MB) 14673250(20MB) 14673251(17MB)] 2024/08/20-15:56:04.707748 140500112176704 [top_zip_table.cc:59] core git_version_hash_info_is:commit 7517bad5c1a147474c3830831b9a22c996321ae8 Author: leipeng Date: 2024-01-08 19:18:17 +0800 vfork_cmd: call close before wait_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. 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/08/20-15:56:04.707772 140500112176704 [top_zip_table.cc:60] fsa git_version_hash_info_is:commit 7517bad5c1a147474c3830831b9a22c996321ae8 Author: leipeng Date: 2024-01-08 19:18:17 +0800 vfork_cmd: call close before wait_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. 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/08/20-15:56:04.707789 140500112176704 [top_zip_table.cc:61] zbs git_version_hash_info_is:commit 7517bad5c1a147474c3830831b9a22c996321ae8 Author: leipeng Date: 2024-01-08 19:18:17 +0800 vfork_cmd: call close before wait_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. 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/08/20-15:56:04.707801 140500112176704 [top_zip_table.cc:62] topling-zip_table_reader: git_version_hash_info_is: commit 7f80399bfbd2071b6e0f5683e8ab7225b8e6e394 Author: leipeng Date: 2024-01-19 14:52:30 +0800 Change ToplingZipTableOptions::sampleRatio to vector 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/08/20-15:56:04.707811 140500112176704 [top_zip_table.cc:64] topling-rocks git_version_hash_info_is: commit 1240987ca13d0fe562c9b9c037155079f0877840 Author: leipeng Date: 2024-01-19 15:07:04 +0800 Change ToplingZipTableOptions::sampleRatio to vector 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/08/20-15:56:04.859679 140500112176704 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673345.sst) /dev/shm/ToplingTemp/Topling-415014-VyJHWB 2024/08/20-15:56:05.113064 140500112176704 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673345.sst): first pass time = 0.25's, 264.905'MB/sec 2024/08/20-15:56:05.845350 140500112176704 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673345.sst): old prealloc_size = 73819750, real_size = 19648512 2024/08/20-15:56:05.845688 140500112176704 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673345.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 466845 prefix = 4 raw-key = 0.0075 GB zip-key = 0.0009 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.0540 GB zip-val = 0.0186 GB avg-val = 115.75 avg-zval = 39.92 2024/08/20-15:56:05.846124 140500112176704 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673345.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.020 GB, reorder workingMem = 0.0011 GB, waited 0.000 sec, Key+Value = 0.067 GB 2024/08/20-15:56:06.434735 140500112176704 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673345.sst): second pass time = 0.73's, 73.885'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.59's, 36.643'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2867.116'MB/sec (index lex order gen) rebuild zvType time = 0.42's, 0.278'MB/sec write SST data time = 0.17's, 127.905'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.542'MB, throughput = 10521.861'MB/sec zip my value time = 0.73's, unzip length = 0.054'GB zip my value throughput = 73.885'MB/sec zip pipeline throughput = 73.885'MB/sec entries = 466845 avg-key = 28.00 avg-zkey = 1.92 avg-val = 115.75 avg-zval = 39.92 usrkeys = 466845 avg-key = 20.00 avg-zkey = 1.92 avg-val = 122.75 avg-zval = 39.92 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 466845 bytes = 1517264 } seq expand size = 3267915 multi value expand size = 0 cnt WriteAppend = 16 UnZipSize{ index = 0.0093 GB value = 0.0540 GB dict = 0.54 MB all = 0.0671 GB } __ZipSize{ index = 0.0009 GB value = 0.0186 GB dict = 0.54 MB all = 0.0216 GB } UnZip/Zip{ index = 10.4348 value = 2.8995 dict = 1.00 all = 3.1073 } Zip/UnZip{ index = 0.0958 value = 0.3449 dict = 1.00 all = 0.3218 } ---------------------------- total value len = 62.354055 GB avg = 0.180 KB (by entry num) total key len = 6.801829 GB avg = 0.020 KB total ukey len = 3.198844 GB avg = 0.008 KB total ukey num = 0.389800406 Billion total entry num = 0.346678414 Billion write speed all = 0.858810118 MB/sec (with seq num) write speed all = 0.824368400 MB/sec (without seq num) 2024/08/20-15:56:06.465092 140500112176704 [compaction_job.cc:1944] [default] [JOB 38289] Generated table #14673345: 466845 keys, 21596860 bytes, temperature: kWarm 2024/08/20-15:56:06.465196 140500112176704 EVENT_LOG_v1 {"time_micros": 1724140566465136, "cf_name": "default", "job": 38289, "event": "table_file_creation", "file_number": 14673345, "file_size": 21596860, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190694182453, "largest_seqno": 190749439052, "table_properties": {"data_size": 18636848, "index_size": 894784, "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": 13071660, "raw_average_key_size": 28, "raw_value_size": 54037206, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 466845, "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": 1724140564, "oldest_key_time": 0, "file_creation_time": 1724140564, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "90ZT1ZM5QNL093I8HHQG", "orig_file_number": 14673345, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-15:56:06.501220 140500112176704 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673346.sst) /dev/shm/ToplingTemp/Topling-415014-VavWgA 2024/08/20-15:56:07.005655 140500112176704 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673346.sst): first pass time = 0.50's, 133.053'MB/sec 2024/08/20-15:56:07.748548 140500112176704 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673346.sst): old prealloc_size = 73819750, real_size = 19248496 2024/08/20-15:56:07.748877 140500112176704 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673346.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 467375 prefix = 4 raw-key = 0.0075 GB zip-key = 0.0009 GB avg-key = 16.00 avg-zkey = 1.89 raw-val = 0.0540 GB zip-val = 0.0182 GB avg-val = 115.59 avg-zval = 39.04 2024/08/20-15:56:07.749303 140500112176704 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673346.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.020 GB, reorder workingMem = 0.0011 GB, waited 0.000 sec, Key+Value = 0.067 GB 2024/08/20-15:56:08.142486 140500112176704 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673346.sst): second pass time = 0.74's, 72.799'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.39's, 53.815'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3034.930'MB/sec (index lex order gen) rebuild zvType time = 0.30's, 0.387'MB/sec write SST data time = 0.09's, 231.038'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.542'MB, throughput = 11926.323'MB/sec zip my value time = 0.74's, unzip length = 0.054'GB zip my value throughput = 72.799'MB/sec zip pipeline throughput = 72.799'MB/sec entries = 467375 avg-key = 28.00 avg-zkey = 1.89 avg-val = 115.59 avg-zval = 39.04 usrkeys = 467375 avg-key = 20.00 avg-zkey = 1.89 avg-val = 122.59 avg-zval = 39.04 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 467375 bytes = 1518976 } seq expand size = 3271625 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0093 GB value = 0.0540 GB dict = 0.54 MB all = 0.0671 GB } __ZipSize{ index = 0.0009 GB value = 0.0182 GB dict = 0.54 MB all = 0.0212 GB } UnZip/Zip{ index = 10.5722 value = 2.9606 dict = 1.00 all = 3.1658 } Zip/UnZip{ index = 0.0946 value = 0.3378 dict = 1.00 all = 0.3159 } ---------------------------- total value len = 62.411349 GB avg = 0.180 KB (by entry num) total key len = 6.814916 GB avg = 0.020 KB total ukey len = 3.208192 GB avg = 0.008 KB total ukey num = 0.390267781 Billion total entry num = 0.347145789 Billion write speed all = 0.859665905 MB/sec (with seq num) write speed all = 0.825178486 MB/sec (without seq num) 2024/08/20-15:56:08.172372 140500112176704 [compaction_job.cc:1944] [default] [JOB 38289] Generated table #14673346: 467375 keys, 21198358 bytes, temperature: kWarm 2024/08/20-15:56:08.172457 140500112176704 EVENT_LOG_v1 {"time_micros": 1724140568172412, "cf_name": "default", "job": 38289, "event": "table_file_creation", "file_number": 14673346, "file_size": 21198358, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190706604272, "largest_seqno": 190749439616, "table_properties": {"data_size": 18247328, "index_size": 884160, "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": 13086500, "raw_average_key_size": 28, "raw_value_size": 54022402, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 467375, "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": 1724140566, "oldest_key_time": 0, "file_creation_time": 1724140566, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "90ZT1ZM5QNL093I8HHQG", "orig_file_number": 14673346, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-15:56:08.205885 140500112176704 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673347.sst) /dev/shm/ToplingTemp/Topling-415014-h5VTNC 2024/08/20-15:56:08.773303 140500112176704 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673347.sst): first pass time = 0.57's, 118.288'MB/sec 2024/08/20-15:56:09.471382 140500112176704 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673347.sst): old prealloc_size = 73819750, real_size = 19050096 2024/08/20-15:56:09.471752 140500112176704 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673347.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 466875 prefix = 4 raw-key = 0.0075 GB zip-key = 0.0009 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.0540 GB zip-val = 0.0180 GB avg-val = 115.74 avg-zval = 38.65 2024/08/20-15:56:09.472173 140500112176704 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673347.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.020 GB, reorder workingMem = 0.0011 GB, waited 0.000 sec, Key+Value = 0.067 GB 2024/08/20-15:56:09.840827 140500112176704 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673347.sst): second pass time = 0.70's, 77.498'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.37's, 56.996'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2578.393'MB/sec (index lex order gen) rebuild zvType time = 0.30's, 0.386'MB/sec write SST data time = 0.07's, 315.879'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.542'MB, throughput = 14149.311'MB/sec zip my value time = 0.70's, unzip length = 0.054'GB zip my value throughput = 77.498'MB/sec zip pipeline throughput = 77.498'MB/sec entries = 466875 avg-key = 28.00 avg-zkey = 1.90 avg-val = 115.74 avg-zval = 38.65 usrkeys = 466875 avg-key = 20.00 avg-zkey = 1.90 avg-val = 122.74 avg-zval = 38.65 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 466875 bytes = 1575712 } seq expand size = 3268125 multi value expand size = 0 cnt WriteAppend = 15 UnZipSize{ index = 0.0093 GB value = 0.0540 GB dict = 0.54 MB all = 0.0671 GB } __ZipSize{ index = 0.0009 GB value = 0.0180 GB dict = 0.54 MB all = 0.0211 GB } UnZip/Zip{ index = 10.5001 value = 2.9947 dict = 1.00 all = 3.1870 } Zip/UnZip{ index = 0.0952 value = 0.3339 dict = 1.00 all = 0.3138 } ---------------------------- total value len = 62.468654 GB avg = 0.180 KB (by entry num) total key len = 6.827988 GB avg = 0.020 KB total ukey len = 3.217529 GB avg = 0.008 KB total ukey num = 0.390734656 Billion total entry num = 0.347612664 Billion write speed all = 0.860521713 MB/sec (with seq num) write speed all = 0.825988641 MB/sec (without seq num) 2024/08/20-15:56:09.869128 140500112176704 [compaction_job.cc:1944] [default] [JOB 38289] Generated table #14673347: 466875 keys, 21056940 bytes, temperature: kWarm 2024/08/20-15:56:09.869196 140500112176704 EVENT_LOG_v1 {"time_micros": 1724140569869163, "cf_name": "default", "job": 38289, "event": "table_file_creation", "file_number": 14673347, "file_size": 21056940, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190663877521, "largest_seqno": 190749439288, "table_properties": {"data_size": 18043936, "index_size": 889280, "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": 13072500, "raw_average_key_size": 28, "raw_value_size": 54036490, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 466875, "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": 1724140568, "oldest_key_time": 0, "file_creation_time": 1724140568, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "90ZT1ZM5QNL093I8HHQG", "orig_file_number": 14673347, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-15:56:09.892949 140500112176704 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673348.sst) /dev/shm/ToplingTemp/Topling-415014-dzSt0C 2024/08/20-15:56:10.264445 140500112176704 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673348.sst): first pass time = 0.37's, 180.666'MB/sec 2024/08/20-15:56:10.964408 140500112176704 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673348.sst): old prealloc_size = 73819750, real_size = 19248416 2024/08/20-15:56:10.964757 140500112176704 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673348.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 466240 prefix = 4 raw-key = 0.0075 GB zip-key = 0.0009 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.0541 GB zip-val = 0.0182 GB avg-val = 115.94 avg-zval = 39.12 2024/08/20-15:56:10.965172 140500112176704 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673348.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.020 GB, reorder workingMem = 0.0011 GB, waited 0.000 sec, Key+Value = 0.067 GB 2024/08/20-15:56:11.334389 140500112176704 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673348.sst): second pass time = 0.70's, 77.324'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.37's, 57.447'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2766.495'MB/sec (index lex order gen) rebuild zvType time = 0.30's, 0.385'MB/sec write SST data time = 0.07's, 318.437'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.543'MB, throughput = 13415.198'MB/sec zip my value time = 0.70's, unzip length = 0.054'GB zip my value throughput = 77.324'MB/sec zip pipeline throughput = 77.324'MB/sec entries = 466240 avg-key = 28.00 avg-zkey = 1.92 avg-val = 115.94 avg-zval = 39.12 usrkeys = 466240 avg-key = 20.00 avg-zkey = 1.92 avg-val = 122.94 avg-zval = 39.12 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 466240 bytes = 1573568 } seq expand size = 3263680 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0093 GB value = 0.0541 GB dict = 0.54 MB all = 0.0671 GB } __ZipSize{ index = 0.0009 GB value = 0.0182 GB dict = 0.54 MB all = 0.0213 GB } UnZip/Zip{ index = 10.4325 value = 2.9638 dict = 1.00 all = 3.1574 } Zip/UnZip{ index = 0.0959 value = 0.3374 dict = 1.00 all = 0.3167 } ---------------------------- total value len = 62.525971 GB avg = 0.180 KB (by entry num) total key len = 6.841043 GB avg = 0.020 KB total ukey len = 3.226854 GB avg = 0.008 KB total ukey num = 0.391200896 Billion total entry num = 0.348078904 Billion write speed all = 0.861379620 MB/sec (with seq num) write speed all = 0.826800871 MB/sec (without seq num) 2024/08/20-15:56:11.364011 140500112176704 [compaction_job.cc:1944] [default] [JOB 38289] Generated table #14673348: 466240 keys, 21254158 bytes, temperature: kWarm 2024/08/20-15:56:11.364072 140500112176704 EVENT_LOG_v1 {"time_micros": 1724140571364041, "cf_name": "default", "job": 38289, "event": "table_file_creation", "file_number": 14673348, "file_size": 21254158, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190668917374, "largest_seqno": 190749439347, "table_properties": {"data_size": 18237840, "index_size": 893824, "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": 13054720, "raw_average_key_size": 28, "raw_value_size": 54054204, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 466240, "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": 1724140569, "oldest_key_time": 0, "file_creation_time": 1724140569, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "90ZT1ZM5QNL093I8HHQG", "orig_file_number": 14673348, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-15:56:11.386962 140500112176704 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673349.sst) /dev/shm/ToplingTemp/Topling-415014-6uYpRA 2024/08/20-15:56:11.572199 140500112176704 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673349.sst): first pass time = 0.19's, 266.058'MB/sec 2024/08/20-15:56:12.085018 140500112176704 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673349.sst): old prealloc_size = 73819750, real_size = 14326688 2024/08/20-15:56:12.085277 140500112176704 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673349.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 342351 prefix = 4 raw-key = 0.0055 GB zip-key = 0.0007 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.0397 GB zip-val = 0.0136 GB avg-val = 115.92 avg-zval = 39.68 2024/08/20-15:56:12.085596 140500112176704 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673349.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.020 GB, reorder workingMem = 0.0008 GB, waited 0.000 sec, Key+Value = 0.049 GB 2024/08/20-15:56:12.353241 140500112176704 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00/14673349.sst): second pass time = 0.51's, 77.516'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.27's, 58.766'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2817.902'MB/sec (index lex order gen) rebuild zvType time = 0.22's, 0.392'MB/sec write SST data time = 0.05's, 318.252'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.405'MB, throughput = 9943.079'MB/sec zip my value time = 0.51's, unzip length = 0.040'GB zip my value throughput = 77.516'MB/sec zip pipeline throughput = 77.516'MB/sec entries = 342351 avg-key = 28.00 avg-zkey = 1.92 avg-val = 115.92 avg-zval = 39.68 usrkeys = 342351 avg-key = 20.00 avg-zkey = 1.92 avg-val = 122.92 avg-zval = 39.68 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 342351 bytes = 1112656 } seq expand size = 2396457 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0068 GB value = 0.0397 GB dict = 0.41 MB all = 0.0493 GB } __ZipSize{ index = 0.0007 GB value = 0.0136 GB dict = 0.41 MB all = 0.0158 GB } UnZip/Zip{ index = 10.4294 value = 2.9215 dict = 1.00 all = 3.1260 } Zip/UnZip{ index = 0.0959 value = 0.3423 dict = 1.00 all = 0.3199 } ---------------------------- total value len = 62.568054 GB avg = 0.180 KB (by entry num) total key len = 6.850629 GB avg = 0.020 KB total ukey len = 3.233701 GB avg = 0.008 KB total ukey num = 0.391543247 Billion total entry num = 0.348421255 Billion write speed all = 0.862010321 MB/sec (with seq num) write speed all = 0.827398000 MB/sec (without seq num) 2024/08/20-15:56:12.375627 140500112176704 [compaction_job.cc:1944] [default] [JOB 38289] Generated table #14673349: 342351 keys, 15761884 bytes, temperature: kWarm 2024/08/20-15:56:12.375697 140500112176704 EVENT_LOG_v1 {"time_micros": 1724140572375662, "cf_name": "default", "job": 38289, "event": "table_file_creation", "file_number": 14673349, "file_size": 15761884, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190695602078, "largest_seqno": 190749439446, "table_properties": {"data_size": 13584400, "index_size": 656512, "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": 9585828, "raw_average_key_size": 28, "raw_value_size": 39686370, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 342351, "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": 1724140571, "oldest_key_time": 0, "file_creation_time": 1724140571, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "90ZT1ZM5QNL093I8HHQG", "orig_file_number": 14673349, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-15:56:12.387676 140500112176704 [compaction_job.cc:699] job-38289: subcompact[0], size: 0.100868 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-38289/att-00 [14673345,14673346,14673347,14673348,14673349] 2024/08/20-15:56:12.414964 140500112176704 (Original Log Time 2024/08/20-15:56:04.426530) EVENT_LOG_v1 {"time_micros": 1724140564426492, "job": 38289, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L1": [14673286], "files_L2": [14673332, 14673333, 14673249, 14673250, 14673251], "score": 0.994069, "input_data_size": 117885033, "oldest_snapshot_seqno": 190750005532} 2024/08/20-15:56:12.414968 140500112176704 (Original Log Time 2024/08/20-15:56:12.414358) [compaction_job.cc:2018] [default] [JOB 38289] Compacted 1@1 + 5@2 files to L2 => 100868200 bytes 2024/08/20-15:56:12.414969 140500112176704 (Original Log Time 2024/08/20-15:56:12.414884) [compaction_job.cc:1220] [default] compacted to: files[0 0 5 0 0 0 0] max score 0.04, MB/sec: 14.8 rd, 12.7 wr, level 2, files in(1, 5) out(5 +0 blob) MB in(23.9, 88.6 +0.0 blob) out(96.2 +0.0 blob), read-write-amplify(8.7) write-amplify(4.0) OK, records in: 2209686, records dropped: 0 output_compression: Snappy 2024/08/20-15:56:12.414976 140500112176704 (Original Log Time 2024/08/20-15:56:12.414941) EVENT_LOG_v1 {"time_micros": 1724140572414910, "cf": "default", "job": 38289, "event": "compaction_finished", "compaction_time_micros": 7961159, "compaction_time_cpu_micros": 3290274, "output_level": 2, "num_output_files": 5, "total_output_size": 100868200, "num_input_records": 2209686, "num_output_records": 2209686, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 71971957, "file_range_sync_nanos": 0, "file_fsync_nanos": 3877, "file_prepare_write_nanos": 15231, "lsm_state": [0, 0, 5, 0, 0, 0, 0]} 2024/08/20-15:56:12.538908 140500112176704 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":"a007a635-5c0a-4b4a-be96-b9c695cb016b","dbStarts":1724092920,"starts":1724140564,"executesMs":8115,"compactionJobId":38289,"attempt":0,"compactionInputRawBytes":317707880,"compactionInputZipBytes":117885033,"compactionOutputRawBytes":0,"compactionOutputZipBytes":100868200,"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-1c31aac08beb60681e828037cdd06ba9-986114e6fff036ed-00"}}, response = 2024/08/20-15:56:12.539037 140500112176704 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-20T02.42.00/.rocksdb/job-38289/att-00: olev 2, work 8.116 s, result 4.731 ms, install 0.638 ms, input{raw 302.990 MiB zip 112.424 MiB}