2024/08/20-11:17:12.189614 140500095391296 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00: fork to child time = 0.016763 sec 2024/08/20-11:17:12.191054 140500095391296 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00 2024/08/20-11:17:12.197697 140500095391296 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00 2024/08/20-11:17:12.208196 140500095391296 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/08/20-11:17:12.208672 140500095391296 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/08/20-11:17:12.250899 140500095391296 [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-26240/att-00/MANIFEST-14629260 2024/08/20-11:17:12.320478 140500095391296 [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-26240/att-00/MANIFEST-14629260 succeeded,manifest_file_number is 14629260, next_file_number is 14659380, last_sequence is 190453583041, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 14659289 2024/08/20-11:17:12.320491 140500095391296 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/08/20-11:17:12.320582 140500095391296 [version_set.cc:5652] Creating manifest 14659380 2024/08/20-11:17:12.353466 140500095391296 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00: bottommost_level: fake = 1, rpc = 0 2024/08/20-11:17:12.373032 140500095391296 [compaction_job.cc:2433] [default] [JOB 26240] Compacting 1@2 + 1@3 files to L3, score 1.12, subcompactions 1 : 1 2024/08/20-11:17:12.373055 140500095391296 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 13452 Base level 2, inputs: [14659375(19MB)], [14657992(37MB)] 2024/08/20-11:17:12.381004 140500095391296 [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-11:17:12.381066 140500095391296 [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-11:17:12.381101 140500095391296 [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-11:17:12.381115 140500095391296 [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-11:17:12.381134 140500095391296 [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-11:17:12.938710 140500095391296 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659381.sst) /dev/shm/ToplingTemp/Topling-322060-UXUyMT 2024/08/20-11:17:13.601305 140500095391296 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659381.sst): first pass time = 0.66's, 202.582'MB/sec 2024/08/20-11:17:17.739216 140500095391296 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659381.sst): old prealloc_size = 66352212, real_size = 35111312 2024/08/20-11:17:17.739849 140500095391296 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659381.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 930430 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1082 GB zip-val = 0.0331 GB avg-val = 116.25 avg-zval = 35.58 2024/08/20-11:17:17.740702 140500095391296 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659381.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-11:17:19.180620 140500095391296 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659381.sst): second pass time = 4.14's, 26.146'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.44's, 27.129'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2895.134'MB/sec (index lex order gen) rebuild zvType time = 1.21's, 0.192'MB/sec write SST data time = 0.23's, 168.431'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.079'MB, throughput = 25284.224'MB/sec zip my value time = 4.14's, unzip length = 0.108'GB zip my value throughput = 26.146'MB/sec zip pipeline throughput = 148.425'MB/sec entries = 930430 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.25 avg-zval = 35.58 usrkeys = 930430 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.25 avg-zval = 35.58 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 930430 bytes = 3140224 } seq expand size = 6513010 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0331 GB dict = 1.08 MB all = 0.0391 GB } UnZip/Zip{ index = 10.5138 value = 3.2670 dict = 1.00 all = 3.4324 } Zip/UnZip{ index = 0.0951 value = 0.3061 dict = 1.00 all = 0.2913 } ---------------------------- total value len = 62.411429 GB avg = 0.180 KB (by entry num) total key len = 6.814810 GB avg = 0.020 KB total ukey len = 3.208116 GB avg = 0.008 KB total ukey num = 0.390263991 Billion total entry num = 0.347141999 Billion write speed all = 1.085085144 MB/sec (with seq num) write speed all = 1.041554987 MB/sec (without seq num) 2024/08/20-11:17:19.229333 140500095391296 [compaction_job.cc:1944] [default] [JOB 26240] Generated table #14659381: 930430 keys, 39103587 bytes, temperature: kWarm 2024/08/20-11:17:19.229447 140500095391296 EVENT_LOG_v1 {"time_micros": 1724123839229387, "cf_name": "default", "job": 26240, "event": "table_file_creation", "file_number": 14659381, "file_size": 39103587, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190371265462, "largest_seqno": 190453259267, "table_properties": {"data_size": 33108608, "index_size": 1769920, "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": 26052040, "raw_average_key_size": 28, "raw_value_size": 108165824, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930430, "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": 1724123832, "oldest_key_time": 0, "file_creation_time": 1724123832, "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": 14659381, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-11:17:19.281937 140500095391296 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659382.sst) /dev/shm/ToplingTemp/Topling-322060-rpYSAP 2024/08/20-11:17:19.918418 140500095391296 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659382.sst): first pass time = 0.64's, 89.692'MB/sec 2024/08/20-11:17:20.845360 140500095391296 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659382.sst): old prealloc_size = 66352212, real_size = 15368112 2024/08/20-11:17:20.845704 140500095391296 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659382.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 397193 prefix = 4 raw-key = 0.0064 GB zip-key = 0.0008 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.0460 GB zip-val = 0.0145 GB avg-val = 115.72 avg-zval = 36.54 2024/08/20-11:17:20.846110 140500095391296 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659382.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-11:17:21.422947 140500095391296 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00/14659382.sst): second pass time = 0.93's, 49.642'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.58's, 29.571'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2349.828'MB/sec (index lex order gen) rebuild zvType time = 0.48's, 0.207'MB/sec write SST data time = 0.10's, 176.521'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.467'MB, throughput = 9670.640'MB/sec zip my value time = 0.93's, unzip length = 0.046'GB zip my value throughput = 49.642'MB/sec zip pipeline throughput = 77.248'MB/sec entries = 397193 avg-key = 28.00 avg-zkey = 1.90 avg-val = 115.72 avg-zval = 36.54 usrkeys = 397193 avg-key = 20.00 avg-zkey = 1.90 avg-val = 122.72 avg-zval = 36.54 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 397193 bytes = 1340544 } seq expand size = 2780351 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0079 GB value = 0.0460 GB dict = 0.47 MB all = 0.0571 GB } __ZipSize{ index = 0.0008 GB value = 0.0145 GB dict = 0.47 MB all = 0.0171 GB } UnZip/Zip{ index = 10.5011 value = 3.1671 dict = 1.00 all = 3.3421 } Zip/UnZip{ index = 0.0952 value = 0.3157 dict = 1.00 all = 0.2992 } ---------------------------- total value len = 62.460171 GB avg = 0.180 KB (by entry num) total key len = 6.825931 GB avg = 0.020 KB total ukey len = 3.216060 GB avg = 0.008 KB total ukey num = 0.390661184 Billion total entry num = 0.347539192 Billion write speed all = 1.085985301 MB/sec (with seq num) write speed all = 1.042406870 MB/sec (without seq num) 2024/08/20-11:17:21.448231 140500095391296 [compaction_job.cc:1944] [default] [JOB 26240] Generated table #14659382: 397193 keys, 17079890 bytes, temperature: kWarm 2024/08/20-11:17:21.448548 140500095391296 EVENT_LOG_v1 {"time_micros": 1724123841448266, "cf_name": "default", "job": 26240, "event": "table_file_creation", "file_number": 14659382, "file_size": 17079890, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190328453249, "largest_seqno": 190453260005, "table_properties": {"data_size": 14512160, "index_size": 756480, "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": 11121404, "raw_average_key_size": 28, "raw_value_size": 45961598, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 397193, "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": 1724123839, "oldest_key_time": 0, "file_creation_time": 1724123839, "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": 14659382, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-11:17:21.462945 140500095391296 [compaction_job.cc:699] job-26240: subcompact[0], size: 0.056183 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-26240/att-00 [14659381,14659382] 2024/08/20-11:17:21.485428 140500095391296 (Original Log Time 2024/08/20-11:17:12.373146) EVENT_LOG_v1 {"time_micros": 1724123832373077, "job": 26240, "event": "compaction_started", "compaction_reason": "LevelMaxLevelSize", "files_L2": [14659375], "files_L3": [14657992], "score": 1.11663, "input_data_size": 60320193, "oldest_snapshot_seqno": 190453582079} 2024/08/20-11:17:21.485432 140500095391296 (Original Log Time 2024/08/20-11:17:21.482258) [compaction_job.cc:2018] [default] [JOB 26240] Compacted 1@2 + 1@3 files to L3 => 56183477 bytes 2024/08/20-11:17:21.485433 140500095391296 (Original Log Time 2024/08/20-11:17:21.485358) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 2 0 0 0] max score 0.00, MB/sec: 6.6 rd, 6.2 wr, level 3, files in(1, 1) out(2 +0 blob) MB in(19.8, 37.7 +0.0 blob) out(53.6 +0.0 blob), read-write-amplify(5.6) write-amplify(2.7) OK, records in: 1398228, records dropped: 70605 output_compression: Snappy 2024/08/20-11:17:21.485440 140500095391296 (Original Log Time 2024/08/20-11:17:21.485404) EVENT_LOG_v1 {"time_micros": 1724123841485383, "cf": "default", "job": 26240, "event": "compaction_finished", "compaction_time_micros": 9089812, "compaction_time_cpu_micros": 2777985, "output_level": 3, "num_output_files": 2, "total_output_size": 56183477, "num_input_records": 1398228, "num_output_records": 1327623, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 68477287, "file_range_sync_nanos": 0, "file_fsync_nanos": 1447, "file_prepare_write_nanos": 7121, "lsm_state": [0, 0, 0, 2, 0, 0, 0]} 2024/08/20-11:17:21.618518 140500095391296 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":1724123832,"executesMs":9286,"compactionJobId":26240,"attempt":0,"compactionInputRawBytes":201326776,"compactionInputZipBytes":60320193,"compactionOutputRawBytes":0,"compactionOutputZipBytes":56183477,"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-8b2e903da5bbf30a6a439ac302acc9b3-18d6d2b9a50a6606-00"}}, response = 2024/08/20-11:17:21.618610 140500095391296 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-20T02.42.00/.rocksdb/job-26240/att-00: olev 3, work 9.286 s, result 6.140 ms, install 3.203 ms, input{raw 192.000 MiB zip 57.526 MiB}