2024/07/23-18:10:02.401450 140548735952448 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00: fork to child time = 0.030413 sec 2024/07/23-18:10:02.402430 140548735952448 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00 2024/07/23-18:10:02.409741 140548735952448 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00 2024/07/23-18:10:02.410642 140548735952448 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/07/23-18:10:02.410916 140548735952448 [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:10:02.458665 140548735952448 [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-04529/att-00/MANIFEST-13366722 2024/07/23-18:10:02.495310 140548735952448 [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-04529/att-00/MANIFEST-13366722 succeeded,manifest_file_number is 13366722, next_file_number is 13371880, last_sequence is 163257882703, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 13371774 2024/07/23-18:10:02.495325 140548735952448 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/07/23-18:10:02.495407 140548735952448 [version_set.cc:5652] Creating manifest 13371880 2024/07/23-18:10:02.525023 140548735952448 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00: bottommost_level: fake = 1, rpc = 0 2024/07/23-18:10:02.538761 140548735952448 [compaction_job.cc:2433] [default] [JOB 4529] Compacting 1@2 + 4@3 files to L3, score 1.05, subcompactions 1 : 1 2024/07/23-18:10:02.538775 140548735952448 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 2364 Base level 2, inputs: [13371849(20MB)], [13371539(41MB) 13371540(1832KB) 13371463(10MB) 13371374(14MB)] 2024/07/23-18:10:02.545155 140548735952448 [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:10:02.545184 140548735952448 [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:10:02.545198 140548735952448 [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:10:02.545205 140548735952448 [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:10:02.545211 140548735952448 [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:10:03.151328 140548735952448 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371881.sst) /dev/shm/ToplingTemp/Topling-227141-iezqAz 2024/07/23-18:10:03.348957 140548735952448 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371881.sst): first pass time = 0.20's, 679.286'MB/sec 2024/07/23-18:10:05.126873 140548735952448 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371881.sst): old prealloc_size = 102625120, real_size = 41801680 2024/07/23-18:10:05.126941 140548735952448 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371881.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 129432 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0007 GB avg-key = 8.00 avg-zkey = 5.21 raw-val = 0.1316 GB zip-val = 0.0411 GB avg-val =1016.98 avg-zval = 317.50 2024/07/23-18:10:05.554413 140548735952448 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371881.sst): second pass time = 1.78's, 74.076'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.43's, 101.953'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 15869.276'MB/sec (index lex order gen) rebuild zvType time = 0.36's, 0.089'MB/sec write SST data time = 0.06's, 691.960'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 46659.340'MB/sec zip my value time = 1.78's, unzip length = 0.132'GB zip my value throughput = 74.076'MB/sec zip pipeline throughput = 143.248'MB/sec entries = 129432 avg-key = 20.00 avg-zkey = 5.21 avg-val = 1016.98 avg-zval = 317.50 usrkeys = 129432 avg-key = 12.00 avg-zkey = 5.21 avg-val = 1023.98 avg-zval = 317.50 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129432 bytes = 436848 } seq expand size = 906024 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0007 GB value = 0.0411 GB dict = 1.38 MB all = 0.0436 GB } UnZip/Zip{ index = 2.3045 value = 3.2030 dict = 1.00 all = 3.0794 } Zip/UnZip{ index = 0.4339 value = 0.3122 dict = 1.00 all = 0.3247 } ---------------------------- total value len = 0.132536 GB avg = 1.024 KB (by entry num) total key len = 0.002589 GB avg = 0.020 KB total ukey len = 0.001553 GB avg = 0.012 KB total ukey num = 0.000129432 Billion total entry num = 0.000129432 Billion write speed all = 0.001972605 MB/sec (with seq num) write speed all = 0.001957489 MB/sec (without seq num) 2024/07/23-18:10:05.611529 140548735952448 [compaction_job.cc:1944] [default] [JOB 4529] Generated table #13371881: 129432 keys, 43585469 bytes, temperature: kWarm 2024/07/23-18:10:05.611646 140548735952448 EVENT_LOG_v1 {"time_micros": 1721729405611583, "cf_name": "default", "job": 4529, "event": "table_file_creation", "file_number": 13371881, "file_size": 43585469, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 163137848602, "largest_seqno": 163257566675, "table_properties": {"data_size": 41095168, "index_size": 673984, "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": 2588640, "raw_average_key_size": 20, "raw_value_size": 131629696, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129432, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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-FixedLenKeyIndex-DictZipBlobStore", "creation_time": 1721729403, "oldest_key_time": 0, "file_creation_time": 1721729403, "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": 13371881, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/23-18:10:05.663120 140548735952448 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371882.sst) /dev/shm/ToplingTemp/Topling-227141-cERHWx 2024/07/23-18:10:06.363074 140548735952448 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371882.sst): first pass time = 0.70's, 150.132'MB/sec 2024/07/23-18:10:07.638458 140548735952448 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371882.sst): old prealloc_size = 102625120, real_size = 32812928 2024/07/23-18:10:07.638514 140548735952448 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371882.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 101325 prefix = 4 raw-key = 0.0008 GB zip-key = 0.0005 GB avg-key = 8.00 avg-zkey = 5.19 raw-val = 0.1031 GB zip-val = 0.0323 GB avg-val =1017.02 avg-zval = 318.40 2024/07/23-18:10:07.867645 140548735952448 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00/13371882.sst): second pass time = 1.27's, 80.864'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.23's, 149.291'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 15179.392'MB/sec (index lex order gen) rebuild zvType time = 0.18's, 0.143'MB/sec write SST data time = 0.05's, 662.020'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.064'MB, throughput = 27694.758'MB/sec zip my value time = 1.27's, unzip length = 0.103'GB zip my value throughput = 80.864'MB/sec zip pipeline throughput = 116.483'MB/sec entries = 101325 avg-key = 20.00 avg-zkey = 5.19 avg-val = 1017.02 avg-zval = 318.40 usrkeys = 101325 avg-key = 12.00 avg-zkey = 5.19 avg-val = 1024.02 avg-zval = 318.40 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 101325 bytes = 354656 } seq expand size = 709275 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0012 GB value = 0.1031 GB dict = 1.06 MB all = 0.1051 GB } __ZipSize{ index = 0.0005 GB value = 0.0323 GB dict = 1.06 MB all = 0.0342 GB } UnZip/Zip{ index = 2.3132 value = 3.1942 dict = 1.00 all = 3.0717 } Zip/UnZip{ index = 0.4323 value = 0.3131 dict = 1.00 all = 0.3256 } ---------------------------- total value len = 0.236295 GB avg = 1.024 KB (by entry num) total key len = 0.004615 GB avg = 0.020 KB total ukey len = 0.002769 GB avg = 0.012 KB total ukey num = 0.000230757 Billion total entry num = 0.000230757 Billion write speed all = 0.003516795 MB/sec (with seq num) write speed all = 0.003489846 MB/sec (without seq num) 2024/07/23-18:10:07.919876 140548735952448 [compaction_job.cc:1944] [default] [JOB 4529] Generated table #13371882: 101325 keys, 34207939 bytes, temperature: kWarm 2024/07/23-18:10:07.919970 140548735952448 EVENT_LOG_v1 {"time_micros": 1721729407919919, "cf_name": "default", "job": 4529, "event": "table_file_creation", "file_number": 13371882, "file_size": 34207939, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 163092873118, "largest_seqno": 163257566986, "table_properties": {"data_size": 32261808, "index_size": 525632, "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": 2026500, "raw_average_key_size": 20, "raw_value_size": 103050035, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 101325, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "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-FixedLenKeyIndex-DictZipBlobStore", "creation_time": 1721729405, "oldest_key_time": 0, "file_creation_time": 1721729405, "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": 13371882, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/23-18:10:07.962008 140548735952448 [compaction_job.cc:699] job-04529: subcompact[0], size: 0.077793 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-04529/att-00 [13371881,13371882] 2024/07/23-18:10:08.007275 140548735952448 (Original Log Time 2024/07/23-18:10:02.538836) EVENT_LOG_v1 {"time_micros": 1721729402538792, "job": 4529, "event": "compaction_started", "compaction_reason": "LevelMaxLevelSize", "files_L2": [13371849], "files_L3": [13371539, 13371540, 13371463, 13371374], "score": 1.0509, "input_data_size": 93295564, "oldest_snapshot_seqno": 163257882359} 2024/07/23-18:10:08.007281 140548735952448 (Original Log Time 2024/07/23-18:10:08.003447) [compaction_job.cc:2018] [default] [JOB 4529] Compacted 1@2 + 4@3 files to L3 => 77793408 bytes 2024/07/23-18:10:08.007283 140548735952448 (Original Log Time 2024/07/23-18:10:08.007183) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 2 0 0 0] max score 0.00, MB/sec: 17.2 rd, 14.3 wr, level 3, files in(1, 4) out(2 +0 blob) MB in(20.9, 68.1 +0.0 blob) out(74.2 +0.0 blob), read-write-amplify(7.8) write-amplify(3.5) OK, records in: 275778, records dropped: 45021 output_compression: Snappy 2024/07/23-18:10:08.007295 140548735952448 (Original Log Time 2024/07/23-18:10:08.007248) EVENT_LOG_v1 {"time_micros": 1721729408007218, "cf": "default", "job": 4529, "event": "compaction_finished", "compaction_time_micros": 5423191, "compaction_time_cpu_micros": 890052, "output_level": 3, "num_output_files": 2, "total_output_size": 77793408, "num_input_records": 275778, "num_output_records": 230757, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 139905773, "file_range_sync_nanos": 0, "file_fsync_nanos": 2368, "file_prepare_write_nanos": 5735, "lsm_state": [0, 0, 0, 2, 0, 0, 0]} 2024/07/23-18:10:08.158824 140548735952448 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":1721729402,"executesMs":5594,"compactionJobId":4529,"attempt":0,"compactionInputRawBytes":285977804,"compactionInputZipBytes":93295564,"compactionOutputRawBytes":0,"compactionOutputZipBytes":77793408,"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-b1be4e82684cb32e196f483e8f1b2b23-0ca052674901ee2b-00"}}, response = 2024/07/23-18:10:08.158948 140548735952448 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-07-23T15.41.52/.rocksdb/job-04529/att-00: olev 3, work 5.595 s, result 7.170 ms, install 3.878 ms, input{raw 272.730 MiB zip 88.974 MiB}