2024/07/23-18:50:21.389966 140548769523264 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00: fork to child time = 0.008063 sec 2024/07/23-18:50:21.390903 140548769523264 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00 2024/07/23-18:50:21.395514 140548769523264 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00 2024/07/23-18:50:21.396379 140548769523264 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/07/23-18:50:21.396646 140548769523264 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/07/23-18:50:21.431302 140548769523264 [version_set.cc:6139] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-07-23T15.41.52/.rocksdb/job-05570/att-00/MANIFEST-13366722 2024/07/23-18:50:21.480617 140548769523264 [version_set.cc:6182] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-07-23T15.41.52/.rocksdb/job-05570/att-00/MANIFEST-13366722 succeeded,manifest_file_number is 13366722, next_file_number is 13373118, last_sequence is 163286996578, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 13372990 2024/07/23-18:50:21.480626 140548769523264 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/07/23-18:50:21.480737 140548769523264 [version_set.cc:5652] Creating manifest 13373118 2024/07/23-18:50:21.504469 140548769523264 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00: bottommost_level: fake = 1, rpc = 0 2024/07/23-18:50:21.517443 140548769523264 [compaction_job.cc:2433] [default] [JOB 5570] Compacting 1@3 + 1@4 files to L4, score 1.01, subcompactions 1 : 1 2024/07/23-18:50:21.517454 140548769523264 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 2911 Base level 3, inputs: [13372647(35MB)], [13371754(77MB)] 2024/07/23-18:50:21.524956 140548769523264 [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/07/23-18:50:21.524988 140548769523264 [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/07/23-18:50:21.525010 140548769523264 [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/07/23-18:50:21.525021 140548769523264 [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/07/23-18:50:21.525028 140548769523264 [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/07/23-18:50:22.392896 140548769523264 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373119.sst) /dev/shm/ToplingTemp/Topling-235630-rMATzs 2024/07/23-18:50:23.662835 140548769523264 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373119.sst): first pass time = 1.27's, 211.384'MB/sec 2024/07/23-18:50:26.550990 140548769523264 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373119.sst): old prealloc_size = 129946218, real_size = 71727744 2024/07/23-18:50:26.552079 140548769523264 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373119.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 1867550 prefix = 4 raw-key = 0.0299 GB zip-key = 0.0036 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.2161 GB zip-val = 0.0677 GB avg-val = 115.74 avg-zval = 36.26 2024/07/23-18:50:26.555346 140548769523264 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373119.sst: sumWaitingMem = 0.005 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0049 GB, waited 0.000 sec, Key+Value = 0.268 GB 2024/07/23-18:50:28.183962 140548769523264 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373119.sst): second pass time = 2.89's, 74.886'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.63's, 48.972'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3332.138'MB/sec (index lex order gen) rebuild zvType time = 1.37's, 0.340'MB/sec write SST data time = 0.26's, 309.232'MB/sec dict compress time = 0.00's, 2154400.000'MB/sec z-dict build time = 0.00's, sample length = 2.154'MB, throughput = 66819.676'MB/sec zip my value time = 2.89's, unzip length = 0.216'GB zip my value throughput = 74.886'MB/sec zip pipeline throughput = 74.886'MB/sec entries = 1867550 avg-key = 28.00 avg-zkey = 1.90 avg-val = 115.74 avg-zval = 36.26 usrkeys = 1867550 avg-key = 20.00 avg-zkey = 1.90 avg-val = 122.74 avg-zval = 36.26 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 1867550 bytes = 6536432 } seq expand size = 13072850 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0374 GB value = 0.2161 GB dict = 2.15 MB all = 0.2684 GB } __ZipSize{ index = 0.0036 GB value = 0.0677 GB dict = 2.15 MB all = 0.0800 GB } UnZip/Zip{ index = 10.5176 value = 3.1922 dict = 1.00 all = 3.3567 } Zip/UnZip{ index = 0.0951 value = 0.3133 dict = 1.00 all = 0.2979 } ---------------------------- total value len = 0.229217 GB avg = 0.123 KB (by entry num) total key len = 0.052291 GB avg = 0.028 KB total ukey len = 0.037351 GB avg = 0.020 KB total ukey num = 0.001867550 Billion total entry num = 0.001867550 Billion write speed all = 0.003969207 MB/sec (with seq num) write speed all = 0.003758551 MB/sec (without seq num) 2024/07/23-18:50:28.273562 140548769523264 [compaction_job.cc:1944] [default] [JOB 5570] Generated table #13373119: 1867550 keys, 79969651 bytes, temperature: kWarm 2024/07/23-18:50:28.273651 140548769523264 EVENT_LOG_v1 {"time_micros": 1721731828273601, "cf_name": "default", "job": 5570, "event": "table_file_creation", "file_number": 13373119, "file_size": 79969651, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 163087292574, "largest_seqno": 163272130835, "table_properties": {"data_size": 67709360, "index_size": 3551296, "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": 52291400, "raw_average_key_size": 28, "raw_value_size": 216144180, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 1867550, "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": 1721731822, "oldest_key_time": 0, "file_creation_time": 1721731822, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "FDMKK73D6HWPO0XETTGC", "orig_file_number": 13373119, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/23-18:50:28.324316 140548769523264 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373120.sst) /dev/shm/ToplingTemp/Topling-235630-vt8jgp 2024/07/23-18:50:28.788908 140548769523264 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373120.sst): first pass time = 0.46's, 252.938'MB/sec 2024/07/23-18:50:30.056588 140548769523264 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373120.sst): old prealloc_size = 129946218, real_size = 31909824 2024/07/23-18:50:30.057130 140548769523264 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373120.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 814925 prefix = 4 raw-key = 0.0130 GB zip-key = 0.0015 GB avg-key = 16.00 avg-zkey = 1.89 raw-val = 0.0947 GB zip-val = 0.0302 GB avg-val = 116.19 avg-zval = 37.02 2024/07/23-18:50:30.057859 140548769523264 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373120.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0020 GB, waited 0.000 sec, Key+Value = 0.118 GB 2024/07/23-18:50:30.777554 140548769523264 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00/13373120.sst): second pass time = 1.27's, 74.741'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.72's, 49.398'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2949.335'MB/sec (index lex order gen) rebuild zvType time = 0.60's, 0.337'MB/sec write SST data time = 0.12's, 307.416'MB/sec dict compress time = 0.00's, 944896.000'MB/sec z-dict build time = 0.00's, sample length = 0.945'MB, throughput = 17683.423'MB/sec zip my value time = 1.27's, unzip length = 0.095'GB zip my value throughput = 74.741'MB/sec zip pipeline throughput = 74.741'MB/sec entries = 814925 avg-key = 28.00 avg-zkey = 1.89 avg-val = 116.19 avg-zval = 37.02 usrkeys = 814925 avg-key = 20.00 avg-zkey = 1.89 avg-val = 123.19 avg-zval = 37.02 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 814925 bytes = 2954112 } seq expand size = 5704475 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0163 GB value = 0.0947 GB dict = 0.94 MB all = 0.1175 GB } __ZipSize{ index = 0.0015 GB value = 0.0302 GB dict = 0.94 MB all = 0.0356 GB } UnZip/Zip{ index = 10.5797 value = 3.1390 dict = 1.00 all = 3.2995 } Zip/UnZip{ index = 0.0945 value = 0.3186 dict = 1.00 all = 0.3031 } ---------------------------- total value len = 0.329609 GB avg = 0.123 KB (by entry num) total key len = 0.075109 GB avg = 0.028 KB total ukey len = 0.053650 GB avg = 0.020 KB total ukey num = 0.002682475 Billion total entry num = 0.002682475 Billion write speed all = 0.005706236 MB/sec (with seq num) write speed all = 0.005403669 MB/sec (without seq num) 2024/07/23-18:50:30.821229 140548769523264 [compaction_job.cc:1944] [default] [JOB 5570] Generated table #13373120: 814925 keys, 35613649 bytes, temperature: kWarm 2024/07/23-18:50:30.821295 140548769523264 EVENT_LOG_v1 {"time_micros": 1721731830821262, "cf_name": "default", "job": 5570, "event": "table_file_creation", "file_number": 13373120, "file_size": 35613649, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 162989408112, "largest_seqno": 163272127786, "table_properties": {"data_size": 30165360, "index_size": 1540544, "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": 22817900, "raw_average_key_size": 28, "raw_value_size": 94687866, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 814925, "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": 1721731828, "oldest_key_time": 0, "file_creation_time": 1721731828, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "FDMKK73D6HWPO0XETTGC", "orig_file_number": 13373120, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/23-18:50:30.842900 140548769523264 [compaction_job.cc:699] job-05570: subcompact[0], size: 0.115583 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-05570/att-00 [13373119,13373120] 2024/07/23-18:50:30.866591 140548769523264 (Original Log Time 2024/07/23-18:50:21.517522) EVENT_LOG_v1 {"time_micros": 1721731821517469, "job": 5570, "event": "compaction_started", "compaction_reason": "LevelMaxLevelSize", "files_L3": [13372647], "files_L4": [13371754], "score": 1.00895, "input_data_size": 118132926, "oldest_snapshot_seqno": 163286996254} 2024/07/23-18:50:30.866595 140548769523264 (Original Log Time 2024/07/23-18:50:30.866225) [compaction_job.cc:2018] [default] [JOB 5570] Compacted 1@3 + 1@4 files to L4 => 115583300 bytes 2024/07/23-18:50:30.866596 140548769523264 (Original Log Time 2024/07/23-18:50:30.866533) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 0 2 0 0] max score 0.00, MB/sec: 12.7 rd, 12.4 wr, level 4, files in(1, 1) out(2 +0 blob) MB in(35.3, 77.4 +0.0 blob) out(110.2 +0.0 blob), read-write-amplify(6.3) write-amplify(3.1) OK, records in: 2682475, records dropped: 0 output_compression: Snappy 2024/07/23-18:50:30.866602 140548769523264 (Original Log Time 2024/07/23-18:50:30.866576) EVENT_LOG_v1 {"time_micros": 1721731830866558, "cf": "default", "job": 5570, "event": "compaction_finished", "compaction_time_micros": 9325385, "compaction_time_cpu_micros": 4118875, "output_level": 4, "num_output_files": 2, "total_output_size": 115583300, "num_input_records": 2682475, "num_output_records": 2682475, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 76901172, "file_range_sync_nanos": 0, "file_fsync_nanos": 1518, "file_prepare_write_nanos": 5117, "lsm_state": [0, 0, 0, 0, 2, 0, 0]} 2024/07/23-18:50:30.970853 140548769523264 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":1721720512,"starts":1721731821,"executesMs":9469,"compactionJobId":5570,"attempt":0,"compactionInputRawBytes":385941346,"compactionInputZipBytes":118132926,"compactionOutputRawBytes":0,"compactionOutputZipBytes":115583300,"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-06b1577dede2e0cdeddc473b96a6ea89-2202fddaae143517-00"}}, response = 2024/07/23-18:50:30.970963 140548769523264 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-07-23T15.41.52/.rocksdb/job-05570/att-00: olev 4, work 9.469 s, result 7.012 ms, install 0.394 ms, input{raw 368.062 MiB zip 112.660 MiB}