2024/07/08-18:32:59.879707 140554201982528 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00: fork to child time = 0.072312 sec 2024/07/08-18:32:59.880475 140554201982528 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00 2024/07/08-18:32:59.884963 140554201982528 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00 2024/07/08-18:32:59.886365 140554201982528 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/07/08-18:32:59.886610 140554201982528 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/07/08-18:32:59.925021 140554201982528 [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-11021/att-00/MANIFEST-12625661 2024/07/08-18:32:59.942327 140554201982528 [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-11021/att-00/MANIFEST-12625661 succeeded,manifest_file_number is 12625661, next_file_number is 12636973, last_sequence is 147420187348, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 12636841 2024/07/08-18:32:59.942335 140554201982528 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/07/08-18:32:59.942408 140554201982528 [version_set.cc:5652] Creating manifest 12636973 2024/07/08-18:32:59.977550 140554201982528 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00: bottommost_level: fake = 1, rpc = 0 2024/07/08-18:32:59.996043 140554201982528 [compaction_job.cc:2433] [default] [JOB 11021] Compacting 1@2 + 2@3 files to L3, score 0.99, subcompactions 1 : 1 2024/07/08-18:32:59.996057 140554201982528 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 6100 Base level 2, inputs: [12636949(20MB)], [12636917(98MB) 12636918(72MB)] 2024/07/08-18:33:00.258183 140554201982528 [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/08-18:33:00.258204 140554201982528 [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/08-18:33:00.258221 140554201982528 [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/08-18:33:00.258232 140554201982528 [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/08-18:33:00.258244 140554201982528 [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/08-18:33:01.699620 140554201982528 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636974.sst) /dev/shm/ToplingTemp/Topling-34311-dtyv8C 2024/07/08-18:33:02.160244 140554201982528 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636974.sst): first pass time = 0.46's, 291.417'MB/sec 2024/07/08-18:33:07.695759 140554201982528 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636974.sst): old prealloc_size = 147639500, real_size = 100926688 2024/07/08-18:33:07.696004 140554201982528 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636974.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 197778 prefix = 4 raw-key = 0.0024 GB zip-key = 0.0004 GB avg-key = 12.00 avg-zkey = 1.82 raw-val = 0.1295 GB zip-val = 0.1005 GB avg-val = 654.63 avg-zval = 508.23 2024/07/08-18:33:07.696248 140554201982528 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636974.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/08-18:33:08.131550 140554201982528 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636974.sst): second pass time = 5.53's, 23.393'MB/sec, value only(96.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.44's, 236.126'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1866.318'MB/sec (index lex order gen) rebuild zvType time = 0.33's, 0.150'MB/sec write SST data time = 0.11's, 961.922'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.356'MB, throughput = 35372.020'MB/sec zip my value time = 5.53's, unzip length = 0.129'GB zip my value throughput = 23.393'MB/sec zip pipeline throughput = 158.342'MB/sec entries = 197778 avg-key = 24.00 avg-zkey = 1.82 avg-val = 654.63 avg-zval = 508.23 usrkeys = 197778 avg-key = 16.00 avg-zkey = 1.82 avg-val = 661.63 avg-zval = 508.23 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 197778 bytes = 667520 } seq expand size = 1384446 multi value expand size = 0 cnt WriteAppend = 11 UnZipSize{ index = 0.0032 GB value = 0.1295 GB dict = 1.36 MB all = 0.1342 GB } __ZipSize{ index = 0.0004 GB value = 0.1005 GB dict = 1.36 MB all = 0.1029 GB } UnZip/Zip{ index = 8.7854 value = 1.2881 dict = 1.00 all = 1.3043 } Zip/UnZip{ index = 0.1138 value = 0.7764 dict = 1.00 all = 0.7667 } ---------------------------- total value len = 236.494314 GB avg = 0.122 KB (by entry num) total key len = 46.330419 GB avg = 0.024 KB total ukey len = 31.689275 GB avg = 0.012 KB total ukey num = 2.646273366 Billion total entry num = 1.938826365 Billion write speed all = 47.207608291 MB/sec (with seq num) write speed all = 44.618659173 MB/sec (without seq num) 2024/07/08-18:33:08.264312 140554201982528 [compaction_job.cc:1944] [default] [JOB 11021] Generated table #12636974: 197778 keys, 102903762 bytes, temperature: kWarm 2024/07/08-18:33:08.264409 140554201982528 EVENT_LOG_v1 {"time_micros": 1720434788264350, "cf_name": "default", "job": 11021, "event": "table_file_creation", "file_number": 12636974, "file_size": 102903762, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 147315909835, "largest_seqno": 147420165638, "table_properties": {"data_size": 100516880, "index_size": 360192, "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": 4746672, "raw_average_key_size": 24, "raw_value_size": 129471465, "raw_average_value_size": 654, "num_data_blocks": 1, "num_entries": 197778, "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": 1720434781, "oldest_key_time": 0, "file_creation_time": 1720434781, "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": 12636974, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/08-18:33:08.345948 140554201982528 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636975.sst) /dev/shm/ToplingTemp/Topling-34311-zGZsCE 2024/07/08-18:33:09.359119 140554201982528 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636975.sst): first pass time = 1.01's, 99.617'MB/sec 2024/07/08-18:33:11.534469 140554201982528 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636975.sst): old prealloc_size = 147639500, real_size = 75959552 2024/07/08-18:33:11.534645 140554201982528 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636975.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 148670 prefix = 4 raw-key = 0.0018 GB zip-key = 0.0003 GB avg-key = 12.00 avg-zkey = 1.98 raw-val = 0.0974 GB zip-val = 0.0756 GB avg-val = 654.84 avg-zval = 508.69 2024/07/08-18:33:11.534841 140554201982528 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636975.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.101 GB 2024/07/08-18:33:11.953878 140554201982528 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00/12636975.sst): second pass time = 2.16's, 45.099'MB/sec, value only(96.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.42's, 184.686'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1994.929'MB/sec (index lex order gen) rebuild zvType time = 0.33's, 0.114'MB/sec write SST data time = 0.09's, 822.504'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.030'MB, throughput = 29239.585'MB/sec zip my value time = 2.16's, unzip length = 0.097'GB zip my value throughput = 45.099'MB/sec zip pipeline throughput = 103.903'MB/sec entries = 148670 avg-key = 24.00 avg-zkey = 1.98 avg-val = 654.84 avg-zval = 508.69 usrkeys = 148670 avg-key = 16.00 avg-zkey = 1.98 avg-val = 661.84 avg-zval = 508.69 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 148670 bytes = 501776 } seq expand size = 1040690 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0024 GB value = 0.0974 GB dict = 1.03 MB all = 0.1009 GB } __ZipSize{ index = 0.0003 GB value = 0.0756 GB dict = 1.03 MB all = 0.0775 GB } UnZip/Zip{ index = 8.0624 value = 1.2873 dict = 1.00 all = 1.3030 } Zip/UnZip{ index = 0.1240 value = 0.7768 dict = 1.00 all = 0.7675 } ---------------------------- total value len = 236.592710 GB avg = 0.122 KB (by entry num) total key len = 46.333987 GB avg = 0.024 KB total ukey len = 31.691654 GB avg = 0.012 KB total ukey num = 2.646422036 Billion total entry num = 1.938975035 Billion write speed all = 47.194517335 MB/sec (with seq num) write speed all = 44.607020523 MB/sec (without seq num) 2024/07/08-18:33:12.048624 140554201982528 [compaction_job.cc:1944] [default] [JOB 11021] Generated table #12636975: 148670 keys, 77456432 bytes, temperature: kWarm 2024/07/08-18:33:12.048708 140554201982528 EVENT_LOG_v1 {"time_micros": 1720434792048662, "cf_name": "default", "job": 11021, "event": "table_file_creation", "file_number": 12636975, "file_size": 77456432, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 147316013670, "largest_seqno": 147420165154, "table_properties": {"data_size": 75627184, "index_size": 295040, "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": 3568080, "raw_average_key_size": 24, "raw_value_size": 97354792, "raw_average_value_size": 654, "num_data_blocks": 1, "num_entries": 148670, "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": 1720434788, "oldest_key_time": 0, "file_creation_time": 1720434788, "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": 12636975, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/08-18:33:12.086616 140554201982528 [compaction_job.cc:699] job-11021: subcompact[0], size: 0.180360 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-11021/att-00 [12636974,12636975] 2024/07/08-18:33:12.125904 140554201982528 (Original Log Time 2024/07/08-18:32:59.996115) EVENT_LOG_v1 {"time_micros": 1720434779996070, "job": 11021, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [12636949], "files_L3": [12636917, 12636918], "score": 0.993551, "input_data_size": 199723829, "oldest_snapshot_seqno": 147420187047} 2024/07/08-18:33:12.125909 140554201982528 (Original Log Time 2024/07/08-18:33:12.125333) [compaction_job.cc:2018] [default] [JOB 11021] Compacted 1@2 + 2@3 files to L3 => 180360194 bytes 2024/07/08-18:33:12.125912 140554201982528 (Original Log Time 2024/07/08-18:33:12.125808) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 2 0 0 0] max score 0.01, MB/sec: 16.5 rd, 14.9 wr, level 3, files in(1, 2) out(2 +0 blob) MB in(20.3, 170.2 +0.0 blob) out(172.0 +0.0 blob), read-write-amplify(17.9) write-amplify(8.5) OK, records in: 373771, records dropped: 27323 output_compression: Snappy 2024/07/08-18:33:12.125924 140554201982528 (Original Log Time 2024/07/08-18:33:12.125867) EVENT_LOG_v1 {"time_micros": 1720434792125841, "cf": "default", "job": 11021, "event": "compaction_finished", "compaction_time_micros": 12090517, "compaction_time_cpu_micros": 1464318, "output_level": 3, "num_output_files": 2, "total_output_size": 180360194, "num_input_records": 373771, "num_output_records": 346448, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 211568512, "file_range_sync_nanos": 0, "file_fsync_nanos": 2020, "file_prepare_write_nanos": 6825, "lsm_state": [0, 0, 0, 2, 0, 0, 0]} 2024/07/08-18:33:12.276533 140554201982528 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":1720434779,"executesMs":12237,"compactionJobId":11021,"attempt":0,"compactionInputRawBytes":253704500,"compactionInputZipBytes":199723829,"compactionOutputRawBytes":0,"compactionOutputZipBytes":180360194,"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-b36954fd5fb3436e025dd0d73b856815-496b679de8b60459-00"}}, response = 2024/07/08-18:33:12.276653 140554201982528 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-07-08T14.41.36/.rocksdb/job-11021/att-00: olev 3, work 12.237 s, result 7.948 ms, install 0.626 ms, input{raw 241.951 MiB zip 190.471 MiB}