2024/07/09-13:17:11.996911 140099186165312 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00: fork to child time = 0.029789 sec 2024/07/09-13:17:11.998165 140099186165312 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00 2024/07/09-13:17:12.004121 140099186165312 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00 2024/07/09-13:17:12.006053 140099186165312 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/07/09-13:17:12.008683 140099186165312 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/07/09-13:17:12.054220 140099186165312 [version_set.cc:6139] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-07-08T14.41.36/.rocksdb/job-46344/att-00/MANIFEST-12625661 2024/07/09-13:17:12.070139 140099186165312 [version_set.cc:6182] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-07-08T14.41.36/.rocksdb/job-46344/att-00/MANIFEST-12625661 succeeded,manifest_file_number is 12625661, next_file_number is 12678925, last_sequence is 148370099854, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 12678872 2024/07/09-13:17:12.070153 140099186165312 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/07/09-13:17:12.070260 140099186165312 [version_set.cc:5652] Creating manifest 12678925 2024/07/09-13:17:12.094808 140099186165312 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00: bottommost_level: fake = 1, rpc = 0 2024/07/09-13:17:12.108148 140099186165312 [compaction_job.cc:2433] [default] [JOB 46344] Compacting 1@2 + 2@3 files to L3, score 0.99, subcompactions 1 : 1 2024/07/09-13:17:12.108171 140099186165312 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 23952 Base level 2, inputs: [12678882(31MB)], [12678813(97MB) 12678814(38MB)] 2024/07/09-13:17:12.422694 140099186165312 [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/09-13:17:12.423009 140099186165312 [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/09-13:17:12.423044 140099186165312 [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/09-13:17:12.423060 140099186165312 [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/09-13:17:12.423074 140099186165312 [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/09-13:17:13.453777 140099186165312 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678926.sst) /dev/shm/ToplingTemp/Topling-87345-qCdsvO 2024/07/09-13:17:13.960067 140099186165312 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678926.sst): first pass time = 0.51's, 265.132'MB/sec 2024/07/09-13:17:20.872102 140099186165312 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678926.sst): old prealloc_size = 147639500, real_size = 100354160 2024/07/09-13:17:20.872337 140099186165312 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678926.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 197712 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.87 raw-val = 0.1295 GB zip-val = 0.0999 GB avg-val = 654.86 avg-zval = 505.45 2024/07/09-13:17:20.872697 140099186165312 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678926.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0004 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/07/09-13:17:21.363560 140099186165312 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678926.sst): second pass time = 6.91's, 18.734'MB/sec, value only(96.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.49's, 208.310'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1974.906'MB/sec (index lex order gen) rebuild zvType time = 0.37's, 0.134'MB/sec write SST data time = 0.12's, 827.848'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.350'MB, throughput = 32688.611'MB/sec zip my value time = 6.91's, unzip length = 0.129'GB zip my value throughput = 18.734'MB/sec zip pipeline throughput = 152.345'MB/sec entries = 197712 avg-key = 24.00 avg-zkey = 1.87 avg-val = 654.86 avg-zval = 505.45 usrkeys = 197712 avg-key = 16.00 avg-zkey = 1.87 avg-val = 661.86 avg-zval = 505.45 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 197712 bytes = 716720 } seq expand size = 1383984 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0032 GB value = 0.1295 GB dict = 1.35 MB all = 0.1342 GB } __ZipSize{ index = 0.0004 GB value = 0.0999 GB dict = 1.35 MB all = 0.1024 GB } UnZip/Zip{ index = 8.5412 value = 1.2956 dict = 1.00 all = 1.3111 } Zip/UnZip{ index = 0.1171 value = 0.7719 dict = 1.00 all = 0.7627 } ---------------------------- total value len = 0.130857 GB avg = 0.662 KB (by entry num) total key len = 0.004745 GB avg = 0.024 KB total ukey len = 0.003163 GB avg = 0.016 KB total ukey num = 0.000197712 Billion total entry num = 0.000197712 Billion write speed all = 0.006362918 MB/sec (with seq num) write speed all = 0.006288700 MB/sec (without seq num) 2024/07/09-13:17:21.491548 140099186165312 [compaction_job.cc:1944] [default] [JOB 46344] Generated table #12678926: 197712 keys, 102374305 bytes, temperature: kWarm 2024/07/09-13:17:21.491652 140099186165312 EVENT_LOG_v1 {"time_micros": 1720502241491593, "cf_name": "default", "job": 46344, "event": "table_file_creation", "file_number": 12678926, "file_size": 102374305, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 148045360575, "largest_seqno": 148370055156, "table_properties": {"data_size": 99934176, "index_size": 370368, "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": 4745088, "raw_average_key_size": 24, "raw_value_size": 129472749, "raw_average_value_size": 654, "num_data_blocks": 1, "num_entries": 197712, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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": 1720502233, "oldest_key_time": 0, "file_creation_time": 1720502233, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "465QC0QPK7Q93426EREI", "orig_file_number": 12678926, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/09-13:17:21.593266 140099186165312 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678927.sst) /dev/shm/ToplingTemp/Topling-87345-8AXgJO 2024/07/09-13:17:22.199247 140099186165312 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678927.sst): first pass time = 0.61's, 96.720'MB/sec 2024/07/09-13:17:24.258607 140099186165312 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678927.sst): old prealloc_size = 147639500, real_size = 44267056 2024/07/09-13:17:24.258745 140099186165312 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678927.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 86314 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 12.00 avg-zkey = 2.04 raw-val = 0.0565 GB zip-val = 0.0441 GB avg-val = 654.97 avg-zval = 510.57 2024/07/09-13:17:24.258955 140099186165312 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678927.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0002 GB, waited 0.000 sec, Key+Value = 0.059 GB 2024/07/09-13:17:24.544319 140099186165312 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00/12678927.sst): second pass time = 2.06's, 27.465'MB/sec, value only(96.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.29's, 158.025'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1485.937'MB/sec (index lex order gen) rebuild zvType time = 0.24's, 0.090'MB/sec write SST data time = 0.05's, 965.516'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.586'MB, throughput = 11579.267'MB/sec zip my value time = 2.06's, unzip length = 0.057'GB zip my value throughput = 27.465'MB/sec zip pipeline throughput = 112.554'MB/sec entries = 86314 avg-key = 24.00 avg-zkey = 2.04 avg-val = 654.97 avg-zval = 510.57 usrkeys = 86314 avg-key = 16.00 avg-zkey = 2.04 avg-val = 661.97 avg-zval = 510.57 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 86314 bytes = 312896 } seq expand size = 604198 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0014 GB value = 0.0565 GB dict = 0.59 MB all = 0.0586 GB } __ZipSize{ index = 0.0002 GB value = 0.0441 GB dict = 0.59 MB all = 0.0451 GB } UnZip/Zip{ index = 7.8382 value = 1.2828 dict = 1.00 all = 1.2981 } Zip/UnZip{ index = 0.1276 value = 0.7795 dict = 1.00 all = 0.7704 } ---------------------------- total value len = 0.187994 GB avg = 0.662 KB (by entry num) total key len = 0.006817 GB avg = 0.024 KB total ukey len = 0.004544 GB avg = 0.016 KB total ukey num = 0.000284026 Billion total entry num = 0.000284026 Billion write speed all = 0.009139862 MB/sec (with seq num) write speed all = 0.009033258 MB/sec (without seq num) 2024/07/09-13:17:24.603674 140099186165312 [compaction_job.cc:1944] [default] [JOB 46344] Generated table #12678927: 86314 keys, 45146823 bytes, temperature: kWarm 2024/07/09-13:17:24.603767 140099186165312 EVENT_LOG_v1 {"time_micros": 1720502244603713, "cf_name": "default", "job": 46344, "event": "table_file_creation", "file_number": 12678927, "file_size": 45146823, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 147982513639, "largest_seqno": 148370054916, "table_properties": {"data_size": 44069088, "index_size": 176192, "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": 2071536, "raw_average_key_size": 24, "raw_value_size": 56533507, "raw_average_value_size": 654, "num_data_blocks": 1, "num_entries": 86314, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 24, "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": 1720502241, "oldest_key_time": 0, "file_creation_time": 1720502241, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "465QC0QPK7Q93426EREI", "orig_file_number": 12678927, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/09-13:17:24.629132 140099186165312 [compaction_job.cc:699] job-46344: subcompact[0], size: 0.147521 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-46344/att-00 [12678926,12678927] 2024/07/09-13:17:24.695411 140099186165312 (Original Log Time 2024/07/09-13:17:12.108270) EVENT_LOG_v1 {"time_micros": 1720502232108193, "job": 46344, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [12678882], "files_L3": [12678813, 12678814], "score": 0.98558, "input_data_size": 176299045, "oldest_snapshot_seqno": 148370099772} 2024/07/09-13:17:24.695415 140099186165312 (Original Log Time 2024/07/09-13:17:24.693768) [compaction_job.cc:2018] [default] [JOB 46344] Compacted 1@2 + 2@3 files to L3 => 147521128 bytes 2024/07/09-13:17:24.695418 140099186165312 (Original Log Time 2024/07/09-13:17:24.695321) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 2 0 0 0] max score 0.01, MB/sec: 14.1 rd, 11.8 wr, level 3, files in(1, 2) out(2 +0 blob) MB in(31.5, 136.6 +0.0 blob) out(140.7 +0.0 blob), read-write-amplify(9.8) write-amplify(4.5) OK, records in: 323975, records dropped: 39949 output_compression: Snappy 2024/07/09-13:17:24.695429 140099186165312 (Original Log Time 2024/07/09-13:17:24.695381) EVENT_LOG_v1 {"time_micros": 1720502244695355, "cf": "default", "job": 46344, "event": "compaction_finished", "compaction_time_micros": 12520877, "compaction_time_cpu_micros": 1220053, "output_level": 3, "num_output_files": 2, "total_output_size": 147521128, "num_input_records": 323975, "num_output_records": 284026, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 194580398, "file_range_sync_nanos": 0, "file_fsync_nanos": 1805, "file_prepare_write_nanos": 5589, "lsm_state": [0, 0, 0, 2, 0, 0, 0]} 2024/07/09-13:17:24.841096 140099186165312 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":1720420896,"starts":1720502231,"executesMs":12672,"compactionJobId":46344,"attempt":0,"compactionInputRawBytes":219957338,"compactionInputZipBytes":176299045,"compactionOutputRawBytes":0,"compactionOutputZipBytes":147521128,"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-330f7f66b5ecf894cd68ccdf7311e9f9-cd64fab2be06f2cc-00"}}, response = 2024/07/09-13:17:24.841213 140099186165312 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-07-08T14.41.36/.rocksdb/job-46344/att-00: olev 3, work 12.672 s, result 24.326 ms, install 1.716 ms, input{raw 209.768 MiB zip 168.132 MiB}