2024/08/20-12:11:23.464356 140500582168128 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00: fork to child time = 0.010555 sec 2024/08/20-12:11:23.465368 140500582168128 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00 2024/08/20-12:11:23.470799 140500582168128 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00 2024/08/20-12:11:23.471122 140500582168128 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/08/20-12:11:23.471440 140500582168128 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/08/20-12:11:23.527006 140500582168128 [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-28663/att-00/MANIFEST-14629260 2024/08/20-12:11:23.578779 140500582168128 [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-28663/att-00/MANIFEST-14629260 succeeded,manifest_file_number is 14629260, next_file_number is 14662113, last_sequence is 190513476354, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 14661905 2024/08/20-12:11:23.578793 140500582168128 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/08/20-12:11:23.578868 140500582168128 [version_set.cc:5652] Creating manifest 14662113 2024/08/20-12:11:23.607183 140500582168128 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00: bottommost_level: fake = 1, rpc = 0 2024/08/20-12:11:23.621969 140500582168128 [compaction_job.cc:2433] [default] [JOB 28663] Compacting 1@2 + 3@3 files to L3, score 0.98, subcompactions 1 : 1 2024/08/20-12:11:23.621988 140500582168128 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 14646 Base level 2, inputs: [14662055(31MB)], [14662108(3071KB) 14662001(3772KB) 14662084(41MB)] 2024/08/20-12:11:23.839973 140500582168128 [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-12:11:23.839997 140500582168128 [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-12:11:23.840013 140500582168128 [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-12:11:23.840029 140500582168128 [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-12:11:23.840039 140500582168128 [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-12:11:23.870021 140500582168128 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662114.sst) /dev/shm/ToplingTemp/Topling-340437-6Tgulr 2024/08/20-12:11:24.501344 140500582168128 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662114.sst): first pass time = 0.63's, 212.618'MB/sec 2024/08/20-12:11:26.412782 140500582168128 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662114.sst): old prealloc_size = 92689317, real_size = 41975904 2024/08/20-12:11:26.412858 140500582168128 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662114.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 129429 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0008 GB avg-key = 8.00 avg-zkey = 6.24 raw-val = 0.1316 GB zip-val = 0.0411 GB avg-val =1017.00 avg-zval = 317.83 2024/08/20-12:11:26.649950 140500582168128 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662114.sst): second pass time = 1.90's, 69.195'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.24's, 184.368'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 16331.445'MB/sec (index lex order gen) rebuild zvType time = 0.19's, 0.174'MB/sec write SST data time = 0.05's, 861.145'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 = 29330.347'MB/sec zip my value time = 1.90's, unzip length = 0.132'GB zip my value throughput = 69.195'MB/sec zip pipeline throughput = 142.767'MB/sec entries = 129429 avg-key = 20.00 avg-zkey = 6.24 avg-val = 1017.00 avg-zval = 317.83 usrkeys = 129429 avg-key = 12.00 avg-zkey = 6.24 avg-val = 1024.00 avg-zval = 317.83 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129429 bytes = 404480 } seq expand size = 906003 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0008 GB value = 0.0411 GB dict = 1.38 MB all = 0.0437 GB } UnZip/Zip{ index = 1.9239 value = 3.1999 dict = 1.00 all = 3.0694 } Zip/UnZip{ index = 0.5198 value = 0.3125 dict = 1.00 all = 0.3258 } ---------------------------- total value len = 62.429285 GB avg = 0.180 KB (by entry num) total key len = 6.791346 GB avg = 0.020 KB total ukey len = 3.191061 GB avg = 0.008 KB total ukey num = 0.389462990 Billion total entry num = 0.346340998 Billion write speed all = 1.032443427 MB/sec (with seq num) write speed all = 0.991117310 MB/sec (without seq num) 2024/08/20-12:11:26.702809 140500582168128 [compaction_job.cc:1944] [default] [JOB 28663] Generated table #14662114: 129429 keys, 43728013 bytes, temperature: kWarm 2024/08/20-12:11:26.702891 140500582168128 EVENT_LOG_v1 {"time_micros": 1724127086702847, "cf_name": "default", "job": 28663, "event": "table_file_creation", "file_number": 14662114, "file_size": 43728013, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190486061031, "largest_seqno": 190513015379, "table_properties": {"data_size": 41136080, "index_size": 807296, "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": 2588580, "raw_average_key_size": 20, "raw_value_size": 131629548, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129429, "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": 1724127083, "oldest_key_time": 0, "file_creation_time": 1724127083, "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": 14662114, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-12:11:26.756197 140500582168128 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662115.sst) /dev/shm/ToplingTemp/Topling-340437-q2U1Xt 2024/08/20-12:11:26.795210 140500582168128 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662115.sst): first pass time = 0.04's, 668.980'MB/sec 2024/08/20-12:11:27.029421 140500582168128 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662115.sst): old prealloc_size = 92689317, real_size = 8267408 2024/08/20-12:11:27.029486 140500582168128 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662115.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 25145 prefix = 4 raw-key = 0.0002 GB zip-key = 0.0001 GB avg-key = 8.00 avg-zkey = 5.58 raw-val = 0.0256 GB zip-val = 0.0081 GB avg-val =1016.98 avg-zval = 322.95 2024/08/20-12:11:27.062917 140500582168128 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00/14662115.sst): second pass time = 0.23's, 109.541'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.03's, 256.550'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3754.635'MB/sec (index lex order gen) rebuild zvType time = 0.02's, 0.270'MB/sec write SST data time = 0.01's, 844.479'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.254'MB, throughput = 6813.830'MB/sec zip my value time = 0.23's, unzip length = 0.026'GB zip my value throughput = 109.541'MB/sec zip pipeline throughput = 109.541'MB/sec entries = 25145 avg-key = 20.00 avg-zkey = 5.58 avg-val = 1016.98 avg-zval = 322.95 usrkeys = 25145 avg-key = 12.00 avg-zkey = 5.58 avg-val = 1023.98 avg-zval = 322.95 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 25145 bytes = 75456 } seq expand size = 176015 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0003 GB value = 0.0256 GB dict = 0.25 MB all = 0.0261 GB } __ZipSize{ index = 0.0001 GB value = 0.0081 GB dict = 0.25 MB all = 0.0086 GB } UnZip/Zip{ index = 2.1499 value = 3.1490 dict = 1.00 all = 3.0347 } Zip/UnZip{ index = 0.4651 value = 0.3176 dict = 1.00 all = 0.3295 } ---------------------------- total value len = 62.455033 GB avg = 0.180 KB (by entry num) total key len = 6.791849 GB avg = 0.020 KB total ukey len = 3.191362 GB avg = 0.008 KB total ukey num = 0.389488135 Billion total entry num = 0.346366143 Billion write speed all = 1.032828604 MB/sec (with seq num) write speed all = 0.991499742 MB/sec (without seq num) 2024/08/20-12:11:27.077460 140500582168128 [compaction_job.cc:1944] [default] [JOB 28663] Generated table #14662115: 25145 keys, 8592168 bytes, temperature: kWarm 2024/08/20-12:11:27.077531 140500582168128 EVENT_LOG_v1 {"time_micros": 1724127087077497, "cf_name": "default", "job": 28663, "event": "table_file_creation", "file_number": 14662115, "file_size": 8592168, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190499484642, "largest_seqno": 190513015386, "table_properties": {"data_size": 8120576, "index_size": 140352, "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": 502900, "raw_average_key_size": 20, "raw_value_size": 25572005, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 25145, "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": 1724127086, "oldest_key_time": 0, "file_creation_time": 1724127086, "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": 14662115, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-12:11:27.088752 140500582168128 [compaction_job.cc:699] job-28663: subcompact[0], size: 0.052320 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-28663/att-00 [14662114,14662115] 2024/08/20-12:11:27.108949 140500582168128 (Original Log Time 2024/08/20-12:11:23.622059) EVENT_LOG_v1 {"time_micros": 1724127083622007, "job": 28663, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [14662055], "files_L3": [14662108, 14662001, 14662084], "score": 0.976004, "input_data_size": 84263016, "oldest_snapshot_seqno": 190513475848} 2024/08/20-12:11:27.108953 140500582168128 (Original Log Time 2024/08/20-12:11:27.105807) [compaction_job.cc:2018] [default] [JOB 28663] Compacted 1@2 + 3@3 files to L3 => 52320181 bytes 2024/08/20-12:11:27.108954 140500582168128 (Original Log Time 2024/08/20-12:11:27.108874) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 2 0 0 0] max score 0.00, MB/sec: 24.3 rd, 15.1 wr, level 3, files in(1, 3) out(2 +0 blob) MB in(32.0, 48.4 +0.0 blob) out(49.9 +0.0 blob), read-write-amplify(4.1) write-amplify(1.6) OK, records in: 181945, records dropped: 27371 output_compression: Snappy 2024/08/20-12:11:27.108961 140500582168128 (Original Log Time 2024/08/20-12:11:27.108917) EVENT_LOG_v1 {"time_micros": 1724127087108899, "cf": "default", "job": 28663, "event": "compaction_finished", "compaction_time_micros": 3466703, "compaction_time_cpu_micros": 578934, "output_level": 3, "num_output_files": 2, "total_output_size": 52320181, "num_input_records": 181945, "num_output_records": 154574, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 49043838, "file_range_sync_nanos": 0, "file_fsync_nanos": 1341, "file_prepare_write_nanos": 3743, "lsm_state": [0, 0, 0, 2, 0, 0, 0]} 2024/08/20-12:11:27.229739 140500582168128 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":1724127083,"executesMs":3636,"compactionJobId":28663,"attempt":0,"compactionInputRawBytes":188675228,"compactionInputZipBytes":84263016,"compactionOutputRawBytes":0,"compactionOutputZipBytes":52320181,"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-9e956c4e8337e5f7417235909040a1d5-50290c868a4584d5-00"}}, response = 2024/08/20-12:11:27.229834 140500582168128 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-20T02.42.00/.rocksdb/job-28663/att-00: olev 3, work 3.636 s, result 4.695 ms, install 3.173 ms, input{raw 179.935 MiB zip 80.359 MiB}