2024/08/20-05:23:18.671620 140500221281856 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00: fork to child time = 0.010970 sec 2024/08/20-05:23:18.672787 140500221281856 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00 2024/08/20-05:23:18.678396 140500221281856 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00 2024/08/20-05:23:18.678707 140500221281856 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/08/20-05:23:18.679087 140500221281856 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/08/20-05:23:18.719944 140500221281856 [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-09457/att-00/MANIFEST-14629260 2024/08/20-05:23:18.733994 140500221281856 [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-09457/att-00/MANIFEST-14629260 succeeded,manifest_file_number is 14629260, next_file_number is 14639985, last_sequence is 190023694627, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 14639858 2024/08/20-05:23:18.734006 140500221281856 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/08/20-05:23:18.734102 140500221281856 [version_set.cc:5652] Creating manifest 14639985 2024/08/20-05:23:18.761598 140500221281856 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00: bottommost_level: fake = 1, rpc = 0 2024/08/20-05:23:18.776532 140500221281856 [compaction_job.cc:2433] [default] [JOB 9457] Compacting 1@3 + 1@4 files to L4, score 1.03, subcompactions 1 : 1 2024/08/20-05:23:18.776553 140500221281856 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 4905 Base level 3, inputs: [14639978(23MB)], [14635745(61MB)] 2024/08/20-05:23:18.782818 140500221281856 [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-05:23:18.782860 140500221281856 [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-05:23:18.782884 140500221281856 [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-05:23:18.782893 140500221281856 [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-05:23:18.782903 140500221281856 [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-05:23:19.424875 140500221281856 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639986.sst) /dev/shm/ToplingTemp/Topling-191736-pYAGrp 2024/08/20-05:23:20.510580 140500221281856 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639986.sst): first pass time = 1.09's, 247.261'MB/sec 2024/08/20-05:23:26.649556 140500221281856 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639986.sst): old prealloc_size = 98979249, real_size = 68912400 2024/08/20-05:23:26.650674 140500221281856 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639986.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 1850325 prefix = 4 raw-key = 0.0296 GB zip-key = 0.0035 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.2166 GB zip-val = 0.0649 GB avg-val = 117.07 avg-zval = 35.08 2024/08/20-05:23:26.653757 140500221281856 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639986.sst: sumWaitingMem = 0.005 GB, sumWorkingMem = 0.020 GB, reorder workingMem = 0.0049 GB, waited 0.000 sec, Key+Value = 0.268 GB 2024/08/20-05:23:28.261451 140500221281856 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639986.sst): second pass time = 6.14's, 35.297'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.61's, 47.977'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3272.733'MB/sec (index lex order gen) rebuild zvType time = 1.35's, 0.344'MB/sec write SST data time = 0.27's, 291.045'MB/sec dict compress time = 0.00's, 2158918.000'MB/sec z-dict build time = 0.00's, sample length = 2.159'MB, throughput = 42154.840'MB/sec zip my value time = 6.14's, unzip length = 0.217'GB zip my value throughput = 35.297'MB/sec zip pipeline throughput = 100.186'MB/sec entries = 1850325 avg-key = 28.00 avg-zkey = 1.91 avg-val = 117.07 avg-zval = 35.08 usrkeys = 1850325 avg-key = 20.00 avg-zkey = 1.91 avg-val = 124.07 avg-zval = 35.08 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 1850325 bytes = 6707440 } seq expand size = 12952275 multi value expand size = 0 cnt WriteAppend = 18 UnZipSize{ index = 0.0370 GB value = 0.2166 GB dict = 2.16 MB all = 0.2684 GB } __ZipSize{ index = 0.0035 GB value = 0.0649 GB dict = 2.16 MB all = 0.0773 GB } UnZip/Zip{ index = 10.4475 value = 3.3375 dict = 1.00 all = 3.4711 } Zip/UnZip{ index = 0.0957 value = 0.2996 dict = 1.00 all = 0.2881 } ---------------------------- total value len = 62.526328 GB avg = 0.180 KB (by entry num) total key len = 6.840567 GB avg = 0.020 KB total ukey len = 3.226514 GB avg = 0.008 KB total ukey num = 0.391183886 Billion total entry num = 0.348061894 Billion write speed all = 1.629590975 MB/sec (with seq num) write speed all = 1.564176657 MB/sec (without seq num) 2024/08/20-05:23:28.359411 140500221281856 [compaction_job.cc:1944] [default] [JOB 9457] Generated table #14639986: 1850325 keys, 77333977 bytes, temperature: kWarm 2024/08/20-05:23:28.359499 140500221281856 EVENT_LOG_v1 {"time_micros": 1724102608359451, "cf_name": "default", "job": 9457, "event": "table_file_creation", "file_number": 14639986, "file_size": 77333977, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 189640140336, "largest_seqno": 190022815075, "table_properties": {"data_size": 64907520, "index_size": 3542144, "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": 51809100, "raw_average_key_size": 28, "raw_value_size": 216626358, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 1850325, "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": 1724102599, "oldest_key_time": 0, "file_creation_time": 1724102599, "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": 14639986, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-05:23:28.418255 140500221281856 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639987.sst) /dev/shm/ToplingTemp/Topling-191736-6dK19o 2024/08/20-05:23:28.496230 140500221281856 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639987.sst): first pass time = 0.08's, 231.721'MB/sec 2024/08/20-05:23:28.681392 140500221281856 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639987.sst): old prealloc_size = 98979249, real_size = 6285056 2024/08/20-05:23:28.681466 140500221281856 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639987.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 123680 prefix = 4 raw-key = 0.0020 GB zip-key = 0.0010 GB avg-key = 16.00 avg-zkey = 7.69 raw-val = 0.0146 GB zip-val = 0.0053 GB avg-val = 118.00 avg-zval = 42.87 2024/08/20-05:23:28.776902 140500221281856 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00/14639987.sst): second pass time = 0.18's, 79.146'MB/sec, value only(80.8% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.10's, 71.476'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 19805.463'MB/sec (index lex order gen) rebuild zvType time = 0.08's, 0.379'MB/sec write SST data time = 0.01's, 489.431'MB/sec dict compress time = 0.00's, 153046.000'MB/sec z-dict build time = 0.00's, sample length = 0.153'MB, throughput = 3619.392'MB/sec zip my value time = 0.18's, unzip length = 0.015'GB zip my value throughput = 79.146'MB/sec zip pipeline throughput = 79.146'MB/sec entries = 123680 avg-key = 28.00 avg-zkey = 7.69 avg-val = 118.00 avg-zval = 42.87 usrkeys = 123680 avg-key = 20.00 avg-zkey = 7.69 avg-val = 125.00 avg-zval = 42.87 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 123680 bytes = 417440 } seq expand size = 865760 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0025 GB value = 0.0146 GB dict = 0.15 MB all = 0.0181 GB } __ZipSize{ index = 0.0010 GB value = 0.0053 GB dict = 0.15 MB all = 0.0068 GB } UnZip/Zip{ index = 2.6002 value = 2.7523 dict = 1.00 all = 2.6454 } Zip/UnZip{ index = 0.3846 value = 0.3633 dict = 1.00 all = 0.3780 } ---------------------------- total value len = 62.541788 GB avg = 0.180 KB (by entry num) total key len = 6.844030 GB avg = 0.020 KB total ukey len = 3.228988 GB avg = 0.008 KB total ukey num = 0.391307566 Billion total entry num = 0.348185574 Billion write speed all = 1.630015784 MB/sec (with seq num) write speed all = 1.564579014 MB/sec (without seq num) 2024/08/20-05:23:28.789707 140500221281856 [compaction_job.cc:1944] [default] [JOB 9457] Generated table #14639987: 123680 keys, 6826018 bytes, temperature: kWarm 2024/08/20-05:23:28.789773 140500221281856 EVENT_LOG_v1 {"time_micros": 1724102608789741, "cf_name": "default", "job": 9457, "event": "table_file_creation", "file_number": 14639987, "file_size": 6826018, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 189660899039, "largest_seqno": 189755314023, "table_properties": {"data_size": 5302640, "index_size": 951296, "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": 3463040, "raw_average_key_size": 28, "raw_value_size": 14594240, "raw_average_value_size": 118, "num_data_blocks": 1, "num_entries": 123680, "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": 118, "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": 1724102608, "oldest_key_time": 0, "file_creation_time": 1724102608, "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": 14639987, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/08/20-05:23:28.798690 140500221281856 [compaction_job.cc:699] job-09457: subcompact[0], size: 0.084160 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-09457/att-00 [14639986,14639987] 2024/08/20-05:23:28.821221 140500221281856 (Original Log Time 2024/08/20-05:23:18.776636) EVENT_LOG_v1 {"time_micros": 1724102598776568, "job": 9457, "event": "compaction_started", "compaction_reason": "LevelMaxLevelSize", "files_L3": [14639978], "files_L4": [14635745], "score": 1.03116, "input_data_size": 89981136, "oldest_snapshot_seqno": 190023693763} 2024/08/20-05:23:28.821224 140500221281856 (Original Log Time 2024/08/20-05:23:28.820822) [compaction_job.cc:2018] [default] [JOB 9457] Compacted 1@3 + 1@4 files to L4 => 84159995 bytes 2024/08/20-05:23:28.821226 140500221281856 (Original Log Time 2024/08/20-05:23:28.821156) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 0 2 0 0] max score 0.00, MB/sec: 9.0 rd, 8.4 wr, level 4, files in(1, 1) out(2 +0 blob) MB in(23.9, 61.9 +0.0 blob) out(80.3 +0.0 blob), read-write-amplify(6.9) write-amplify(3.4) OK, records in: 2059375, records dropped: 85370 output_compression: Snappy 2024/08/20-05:23:28.821232 140500221281856 (Original Log Time 2024/08/20-05:23:28.821198) EVENT_LOG_v1 {"time_micros": 1724102608821179, "cf": "default", "job": 9457, "event": "compaction_finished", "compaction_time_micros": 10022064, "compaction_time_cpu_micros": 2896026, "output_level": 4, "num_output_files": 2, "total_output_size": 84159995, "num_input_records": 2059375, "num_output_records": 1974005, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 58020912, "file_range_sync_nanos": 0, "file_fsync_nanos": 1686, "file_prepare_write_nanos": 11294, "lsm_state": [0, 0, 0, 0, 2, 0, 0]} 2024/08/20-05:23:28.953965 140500221281856 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":1724102598,"executesMs":10142,"compactionJobId":9457,"attempt":0,"compactionInputRawBytes":298615278,"compactionInputZipBytes":89981136,"compactionOutputRawBytes":0,"compactionOutputZipBytes":84159995,"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-3faf13547bc1a210192091ec1ffd00a1-4740c4541c981c43-00"}}, response = 2024/08/20-05:23:28.954068 140500221281856 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-08-20T02.42.00/.rocksdb/job-09457/att-00: olev 4, work 10.143 s, result 6.082 ms, install 0.432 ms, input{raw 284.782 MiB zip 85.813 MiB}