2024/08/20-00:12:57.469919 140500422706752 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00: fork to child time = 0.010513 sec 2024/08/20-00:12:57.471020 140500422706752 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00 2024/08/20-00:12:57.475820 140500422706752 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00 2024/08/20-00:12:57.477209 140500422706752 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/08/20-00:12:57.477504 140500422706752 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/08/20-00:12:57.519853 140500422706752 [version_set.cc:6139] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-19T23.41.30/.rocksdb/job-01442/att-00/MANIFEST-14619535 2024/08/20-00:12:57.563084 140500422706752 [version_set.cc:6182] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-19T23.41.30/.rocksdb/job-01442/att-00/MANIFEST-14619535 succeeded,manifest_file_number is 14619535, next_file_number is 14621125, last_sequence is 189615429896, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 14621034 2024/08/20-00:12:57.563097 140500422706752 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/08/20-00:12:57.563174 140500422706752 [version_set.cc:5652] Creating manifest 14621125 2024/08/20-00:12:57.596269 140500422706752 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00: bottommost_level: fake = 1, rpc = 0 2024/08/20-00:12:57.610882 140500422706752 [compaction_job.cc:2433] [default] [JOB 1442] Compacting 1@2 + 1@3 files to L3, score 1.13, subcompactions 1 : 1 2024/08/20-00:12:57.610897 140500422706752 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 732 Base level 2, inputs: [14621120(21MB)], [14620755(41MB)] 2024/08/20-00:12:57.616163 140500422706752 [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-00:12:57.616210 140500422706752 [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-00:12:57.616237 140500422706752 [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-00:12:57.616249 140500422706752 [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-00:12:57.616259 140500422706752 [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-00:12:58.060448 140500422706752 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621126.sst) /dev/shm/ToplingTemp/Topling-71252-dybXiW 2024/08/20-00:12:58.588853 140500422706752 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621126.sst): first pass time = 0.53's, 254.030'MB/sec 2024/08/20-00:13:01.189307 140500422706752 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621126.sst): old prealloc_size = 71948662, real_size = 39291280 2024/08/20-00:13:01.189899 140500422706752 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621126.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 932211 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.89 raw-val = 0.1081 GB zip-val = 0.0373 GB avg-val = 115.98 avg-zval = 40.01 2024/08/20-00:13:01.190722 140500422706752 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621126.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.020 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/08/20-00:13:01.924578 140500422706752 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621126.sst): second pass time = 2.60's, 41.591'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.74's, 58.562'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3090.546'MB/sec (index lex order gen) rebuild zvType time = 0.60's, 0.387'MB/sec write SST data time = 0.13's, 323.180'MB/sec dict compress time = 0.00's, 1077698.000'MB/sec z-dict build time = 0.00's, sample length = 1.078'MB, throughput = 28905.882'MB/sec zip my value time = 2.60's, unzip length = 0.108'GB zip my value throughput = 41.591'MB/sec zip pipeline throughput = 120.808'MB/sec entries = 932211 avg-key = 28.00 avg-zkey = 1.89 avg-val = 115.98 avg-zval = 40.01 usrkeys = 932211 avg-key = 20.00 avg-zkey = 1.89 avg-val = 122.98 avg-zval = 40.01 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 932211 bytes = 2913168 } seq expand size = 6525477 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0186 GB value = 0.1081 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0373 GB dict = 1.08 MB all = 0.0431 GB } UnZip/Zip{ index = 10.5806 value = 2.8989 dict = 1.00 all = 3.1171 } Zip/UnZip{ index = 0.0945 value = 0.3450 dict = 1.00 all = 0.3208 } ---------------------------- total value len = 62.411391 GB avg = 0.180 KB (by entry num) total key len = 6.814860 GB avg = 0.020 KB total ukey len = 3.208152 GB avg = 0.008 KB total ukey num = 0.390265772 Billion total entry num = 0.347143780 Billion write speed all = 2.891569032 MB/sec (with seq num) write speed all = 2.775567926 MB/sec (without seq num) 2024/08/20-00:13:01.975686 140500422706752 [compaction_job.cc:1944] [default] [JOB 1442] Generated table #14621126: 932211 keys, 43058707 bytes, temperature: kWarm 2024/08/20-00:13:01.975782 140500422706752 EVENT_LOG_v1 {"time_micros": 1724083981975726, "cf_name": "default", "job": 1442, "event": "table_file_creation", "file_number": 14621126, "file_size": 43058707, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 189583807644, "largest_seqno": 189614867118, "table_properties": {"data_size": 37295936, "index_size": 1762112, "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": 26101908, "raw_average_key_size": 28, "raw_value_size": 108115826, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 932211, "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": 1724083978, "oldest_key_time": 0, "file_creation_time": 1724083978, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "9474K4QZ2QA6TIYF9LEW", "orig_file_number": 14621126, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-00:13:02.014619 140500422706752 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621127.sst) /dev/shm/ToplingTemp/Topling-71252-MvKevU 2024/08/20-00:13:02.263051 140500422706752 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621127.sst): first pass time = 0.25's, 231.083'MB/sec 2024/08/20-00:13:03.035551 140500422706752 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621127.sst): old prealloc_size = 71948662, real_size = 16942400 2024/08/20-00:13:03.035841 140500422706752 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621127.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 395094 prefix = 4 raw-key = 0.0063 GB zip-key = 0.0008 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.0463 GB zip-val = 0.0161 GB avg-val = 117.28 avg-zval = 40.73 2024/08/20-00:13:03.036215 140500422706752 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621127.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.020 GB, reorder workingMem = 0.0009 GB, waited 0.000 sec, Key+Value = 0.057 GB 2024/08/20-00:13:03.343646 140500422706752 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00/14621127.sst): second pass time = 0.77's, 60.044'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.31's, 60.378'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2833.426'MB/sec (index lex order gen) rebuild zvType time = 0.25's, 0.392'MB/sec write SST data time = 0.06's, 332.004'MB/sec dict compress time = 0.00's, 471340.000'MB/sec z-dict build time = 0.00's, sample length = 0.471'MB, throughput = 13102.969'MB/sec zip my value time = 0.77's, unzip length = 0.046'GB zip my value throughput = 60.044'MB/sec zip pipeline throughput = 88.590'MB/sec entries = 395094 avg-key = 28.00 avg-zkey = 1.90 avg-val = 117.28 avg-zval = 40.73 usrkeys = 395094 avg-key = 20.00 avg-zkey = 1.90 avg-val = 124.28 avg-zval = 40.73 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 395094 bytes = 1284064 } seq expand size = 2765658 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0079 GB value = 0.0463 GB dict = 0.47 MB all = 0.0574 GB } __ZipSize{ index = 0.0008 GB value = 0.0161 GB dict = 0.47 MB all = 0.0186 GB } UnZip/Zip{ index = 10.4989 value = 2.8796 dict = 1.00 all = 3.0855 } Zip/UnZip{ index = 0.0952 value = 0.3473 dict = 1.00 all = 0.3241 } ---------------------------- total value len = 62.460492 GB avg = 0.180 KB (by entry num) total key len = 6.825922 GB avg = 0.020 KB total ukey len = 3.216054 GB avg = 0.008 KB total ukey num = 0.390660866 Billion total entry num = 0.347538874 Billion write speed all = 2.893910499 MB/sec (with seq num) write speed all = 2.777784252 MB/sec (without seq num) 2024/08/20-00:13:03.368766 140500422706752 [compaction_job.cc:1944] [default] [JOB 1442] Generated table #14621127: 395094 keys, 18602236 bytes, temperature: kWarm 2024/08/20-00:13:03.368831 140500422706752 EVENT_LOG_v1 {"time_micros": 1724083983368802, "cf_name": "default", "job": 1442, "event": "table_file_creation", "file_number": 14621127, "file_size": 18602236, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 189575614523, "largest_seqno": 189614866692, "table_properties": {"data_size": 16090800, "index_size": 752640, "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": 11062632, "raw_average_key_size": 28, "raw_value_size": 46334816, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 395094, "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": 1724083982, "oldest_key_time": 0, "file_creation_time": 1724083982, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "9474K4QZ2QA6TIYF9LEW", "orig_file_number": 14621127, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-00:13:03.382465 140500422706752 [compaction_job.cc:699] job-01442: subcompact[0], size: 0.061661 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-01442/att-00 [14621126,14621127] 2024/08/20-00:13:03.403656 140500422706752 (Original Log Time 2024/08/20-00:12:57.610993) EVENT_LOG_v1 {"time_micros": 1724083977610914, "job": 1442, "event": "compaction_started", "compaction_reason": "LevelMaxLevelSize", "files_L2": [14621120], "files_L3": [14620755], "score": 1.1305, "input_data_size": 65407875, "oldest_snapshot_seqno": 189615428618} 2024/08/20-00:13:03.403659 140500422706752 (Original Log Time 2024/08/20-00:13:03.400561) [compaction_job.cc:2018] [default] [JOB 1442] Compacted 1@2 + 1@3 files to L3 => 61660943 bytes 2024/08/20-00:13:03.403661 140500422706752 (Original Log Time 2024/08/20-00:13:03.403595) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 2 0 0 0] max score 0.00, MB/sec: 11.3 rd, 10.7 wr, level 3, files in(1, 1) out(2 +0 blob) MB in(21.1, 41.3 +0.0 blob) out(58.8 +0.0 blob), read-write-amplify(5.8) write-amplify(2.8) OK, records in: 1395696, records dropped: 68391 output_compression: Snappy 2024/08/20-00:13:03.403668 140500422706752 (Original Log Time 2024/08/20-00:13:03.403638) EVENT_LOG_v1 {"time_micros": 1724083983403619, "cf": "default", "job": 1442, "event": "compaction_finished", "compaction_time_micros": 5771480, "compaction_time_cpu_micros": 1837062, "output_level": 3, "num_output_files": 2, "total_output_size": 61660943, "num_input_records": 1395696, "num_output_records": 1327305, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 41129870, "file_range_sync_nanos": 0, "file_fsync_nanos": 1399, "file_prepare_write_nanos": 5306, "lsm_state": [0, 0, 0, 2, 0, 0, 0]} 2024/08/20-00:13:03.526114 140500422706752 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":1724082090,"starts":1724083977,"executesMs":5925,"compactionJobId":1442,"attempt":0,"compactionInputRawBytes":201326704,"compactionInputZipBytes":65407875,"compactionOutputRawBytes":0,"compactionOutputZipBytes":61660943,"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-940553d0817c16ab691957552dbd2746-ce4b0bdd55cda8da-00"}}, response = 2024/08/20-00:13:03.526211 140500422706752 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-19T23.41.30/.rocksdb/job-01442/att-00: olev 3, work 5.926 s, result 4.699 ms, install 3.127 ms, input{raw 192.000 MiB zip 62.378 MiB}