2024/08/20-01:25:13.518293 140500447884864 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00: fork to child time = 0.011658 sec 2024/08/20-01:25:13.519389 140500447884864 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00 2024/08/20-01:25:13.524409 140500447884864 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00 2024/08/20-01:25:13.524717 140500447884864 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/08/20-01:25:13.525056 140500447884864 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/08/20-01:25:13.571948 140500447884864 [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-04764/att-00/MANIFEST-14619535 2024/08/20-01:25:13.585776 140500447884864 [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-04764/att-00/MANIFEST-14619535 succeeded,manifest_file_number is 14619535, next_file_number is 14625167, last_sequence is 189704204285, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 14625056 2024/08/20-01:25:13.585785 140500447884864 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/08/20-01:25:13.585859 140500447884864 [version_set.cc:5652] Creating manifest 14625167 2024/08/20-01:25:13.612005 140500447884864 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00: bottommost_level: fake = 1, rpc = 0 2024/08/20-01:25:13.627699 140500447884864 [compaction_job.cc:2433] [default] [JOB 4764] Compacting 1@2 + 2@3 files to L3, score 1.14, subcompactions 1 : 1 2024/08/20-01:25:13.627724 140500447884864 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 2374 Base level 2, inputs: [14625159(20MB)], [14624461(9929KB) 14624374(20MB)] 2024/08/20-01:25:13.634104 140500447884864 [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-01:25:13.634179 140500447884864 [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-01:25:13.634216 140500447884864 [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-01:25:13.634232 140500447884864 [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-01:25:13.634249 140500447884864 [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-01:25:13.863872 140500447884864 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625168.sst) /dev/shm/ToplingTemp/Topling-93945-Y2bDHS 2024/08/20-01:25:14.699692 140500447884864 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625168.sst): first pass time = 0.84's, 160.595'MB/sec 2024/08/20-01:25:17.802300 140500447884864 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625168.sst): old prealloc_size = 57582542, real_size = 36873488 2024/08/20-01:25:17.803062 140500447884864 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625168.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 924822 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1083 GB zip-val = 0.0349 GB avg-val = 117.13 avg-zval = 37.72 2024/08/20-01:25:17.804094 140500447884864 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625168.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-01:25:18.730968 140500447884864 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625168.sst): second pass time = 3.10's, 34.927'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.93's, 43.864'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2383.036'MB/sec (index lex order gen) rebuild zvType time = 0.76's, 0.302'MB/sec write SST data time = 0.16's, 249.926'MB/sec dict compress time = 0.00's, 1081414.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 27551.247'MB/sec zip my value time = 3.10's, unzip length = 0.108'GB zip my value throughput = 34.927'MB/sec zip pipeline throughput = 138.111'MB/sec entries = 924822 avg-key = 28.00 avg-zkey = 1.90 avg-val = 117.13 avg-zval = 37.72 usrkeys = 924822 avg-key = 20.00 avg-zkey = 1.90 avg-val = 124.13 avg-zval = 37.72 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 924822 bytes = 3005680 } seq expand size = 6473754 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0349 GB dict = 1.08 MB all = 0.0407 GB } UnZip/Zip{ index = 10.5101 value = 3.1054 dict = 1.00 all = 3.2949 } Zip/UnZip{ index = 0.0951 value = 0.3220 dict = 1.00 all = 0.3035 } ---------------------------- total value len = 62.411546 GB avg = 0.180 KB (by entry num) total key len = 6.814653 GB avg = 0.020 KB total ukey len = 3.208004 GB avg = 0.008 KB total ukey num = 0.390258383 Billion total entry num = 0.347136391 Billion write speed all = 2.448099349 MB/sec (with seq num) write speed all = 2.349890938 MB/sec (without seq num) 2024/08/20-01:25:18.815482 140500447884864 [compaction_job.cc:1944] [default] [JOB 4764] Generated table #14625168: 924822 keys, 40735191 bytes, temperature: kWarm 2024/08/20-01:25:18.815551 140500447884864 EVENT_LOG_v1 {"time_micros": 1724088318815511, "cf_name": "default", "job": 4764, "event": "table_file_creation", "file_number": 14625168, "file_size": 40735191, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 189636722107, "largest_seqno": 189703628376, "table_properties": {"data_size": 34882240, "index_size": 1759872, "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": 25895016, "raw_average_key_size": 28, "raw_value_size": 108322844, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 924822, "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": 1724088313, "oldest_key_time": 0, "file_creation_time": 1724088313, "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": 14625168, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-01:25:18.861215 140500447884864 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625169.sst) /dev/shm/ToplingTemp/Topling-93945-HxR9jR 2024/08/20-01:25:18.897860 140500447884864 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625169.sst): first pass time = 0.04's, 222.822'MB/sec 2024/08/20-01:25:18.972561 140500447884864 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625169.sst): old prealloc_size = 57582542, real_size = 2593264 2024/08/20-01:25:18.972664 140500447884864 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625169.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 56045 prefix = 4 raw-key = 0.0009 GB zip-key = 0.0001 GB avg-key = 16.00 avg-zkey = 1.94 raw-val = 0.0066 GB zip-val = 0.0025 GB avg-val = 117.52 avg-zval = 44.08 2024/08/20-01:25:18.972748 140500447884864 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625169.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.020 GB, reorder workingMem = 0.0001 GB, waited 0.000 sec, Key+Value = 0.008 GB 2024/08/20-01:25:19.018345 140500447884864 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00/14625169.sst): second pass time = 0.07's, 89.049'MB/sec, value only(80.8% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.05's, 61.796'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1507.614'MB/sec (index lex order gen) rebuild zvType time = 0.04's, 0.379'MB/sec write SST data time = 0.01's, 321.979'MB/sec dict compress time = 0.00's, 66382.000'MB/sec z-dict build time = 0.00's, sample length = 0.066'MB, throughput = 1582.596'MB/sec zip my value time = 0.07's, unzip length = 0.007'GB zip my value throughput = 89.049'MB/sec zip pipeline throughput = 89.049'MB/sec entries = 56045 avg-key = 28.00 avg-zkey = 1.94 avg-val = 117.52 avg-zval = 44.08 usrkeys = 56045 avg-key = 20.00 avg-zkey = 1.94 avg-val = 124.52 avg-zval = 44.08 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 56045 bytes = 182160 } seq expand size = 392315 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0011 GB value = 0.0066 GB dict = 0.07 MB all = 0.0082 GB } __ZipSize{ index = 0.0001 GB value = 0.0025 GB dict = 0.07 MB all = 0.0028 GB } UnZip/Zip{ index = 10.3024 value = 2.6663 dict = 1.00 all = 2.8826 } Zip/UnZip{ index = 0.0971 value = 0.3751 dict = 1.00 all = 0.3469 } ---------------------------- total value len = 62.418525 GB avg = 0.180 KB (by entry num) total key len = 6.816222 GB avg = 0.020 KB total ukey len = 3.209125 GB avg = 0.008 KB total ukey num = 0.390314428 Billion total entry num = 0.347192436 Billion write speed all = 2.448376750 MB/sec (with seq num) write speed all = 2.350153482 MB/sec (without seq num) 2024/08/20-01:25:19.026713 140500447884864 [compaction_job.cc:1944] [default] [JOB 4764] Generated table #14625169: 56045 keys, 2829277 bytes, temperature: kWarm 2024/08/20-01:25:19.026771 140500447884864 EVENT_LOG_v1 {"time_micros": 1724088319026741, "cf_name": "default", "job": 4764, "event": "table_file_creation", "file_number": 14625169, "file_size": 2829277, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 189640135596, "largest_seqno": 189697939930, "table_properties": {"data_size": 2470240, "index_size": 108800, "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": 1569260, "raw_average_key_size": 28, "raw_value_size": 6586310, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 56045, "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": 1724088318, "oldest_key_time": 0, "file_creation_time": 1724088318, "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": 14625169, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-01:25:19.034735 140500447884864 [compaction_job.cc:699] job-04764: subcompact[0], size: 0.043564 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04764/att-00 [14625168,14625169] 2024/08/20-01:25:19.052515 140500447884864 (Original Log Time 2024/08/20-01:25:13.627824) EVENT_LOG_v1 {"time_micros": 1724088313627748, "job": 4764, "event": "compaction_started", "compaction_reason": "LevelMaxLevelSize", "files_L2": [14625159], "files_L3": [14624461, 14624374], "score": 1.14443, "input_data_size": 52347766, "oldest_snapshot_seqno": 189704203947} 2024/08/20-01:25:19.052520 140500447884864 (Original Log Time 2024/08/20-01:25:19.052038) [compaction_job.cc:2018] [default] [JOB 4764] Compacted 1@2 + 2@3 files to L3 => 43564468 bytes 2024/08/20-01:25:19.052522 140500447884864 (Original Log Time 2024/08/20-01:25:19.052434) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 2 0 0 0] max score 0.00, MB/sec: 9.7 rd, 8.1 wr, level 3, files in(1, 2) out(2 +0 blob) MB in(20.2, 29.7 +0.0 blob) out(41.5 +0.0 blob), read-write-amplify(4.5) write-amplify(2.1) OK, records in: 1146142, records dropped: 165275 output_compression: Snappy 2024/08/20-01:25:19.052534 140500447884864 (Original Log Time 2024/08/20-01:25:19.052490) EVENT_LOG_v1 {"time_micros": 1724088319052466, "cf": "default", "job": 4764, "event": "compaction_finished", "compaction_time_micros": 5406917, "compaction_time_cpu_micros": 1701340, "output_level": 3, "num_output_files": 2, "total_output_size": 43564468, "num_input_records": 1146142, "num_output_records": 980867, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 28982957, "file_range_sync_nanos": 0, "file_fsync_nanos": 1409, "file_prepare_write_nanos": 4872, "lsm_state": [0, 0, 0, 2, 0, 0, 0]} 2024/08/20-01:25:19.155345 140500447884864 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":1724088313,"executesMs":5528,"compactionJobId":4764,"attempt":0,"compactionInputRawBytes":165842480,"compactionInputZipBytes":52347766,"compactionOutputRawBytes":0,"compactionOutputZipBytes":43564468,"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-603750935289941a1250f5d25341476c-96b920fe02a82c18-00"}}, response = 2024/08/20-01:25:19.155468 140500447884864 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-19T23.41.30/.rocksdb/job-04764/att-00: olev 3, work 5.529 s, result 4.910 ms, install 0.521 ms, input{raw 158.160 MiB zip 49.923 MiB}