2024/09/08-18:42:48.912890 140334125823552 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00: fork to child time = 0.018187 sec 2024/09/08-18:42:48.913740 140334125823552 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00 2024/09/08-18:42:48.919230 140334125823552 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00 2024/09/08-18:42:48.920978 140334125823552 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/09/08-18:42:48.921354 140334125823552 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/09/08-18:42:48.955610 140334125823552 [version_set.cc:6139] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-09-08T18.40.49/.rocksdb/job-00186/att-00/MANIFEST-14705022 2024/09/08-18:42:49.009506 140334125823552 [version_set.cc:6182] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-09-08T18.40.49/.rocksdb/job-00186/att-00/MANIFEST-14705022 succeeded,manifest_file_number is 14705022, next_file_number is 14705236, last_sequence is 191448466956, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 14705017 2024/09/08-18:42:49.009521 140334125823552 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/09/08-18:42:49.009572 140334125823552 [version_set.cc:5652] Creating manifest 14705236 2024/09/08-18:42:49.032518 140334125823552 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00: bottommost_level: fake = 1, rpc = 0 2024/09/08-18:42:49.046634 140334125823552 [compaction_job.cc:2433] [default] [JOB 186] Compacting 1@3 + 1@4 files to L4, score 1.00, subcompactions 1 : 1 2024/09/08-18:42:49.046650 140334125823552 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 101 Base level 3, inputs: [14702396(36MB)], [14703060(65MB)] 2024/09/08-18:42:49.049870 140334125823552 [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/09/08-18:42:49.049913 140334125823552 [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/09/08-18:42:49.049937 140334125823552 [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/09/08-18:42:49.049947 140334125823552 [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/09/08-18:42:49.049956 140334125823552 [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/09/08-18:42:49.759584 140334125823552 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705237.sst) /dev/shm/ToplingTemp/Topling-8477-zQi9ab 2024/09/08-18:42:50.944134 140334125823552 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705237.sst): first pass time = 1.18's, 226.623'MB/sec 2024/09/08-18:42:53.644181 140334125823552 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705237.sst): old prealloc_size = 117400395, real_size = 61703120 2024/09/08-18:42:53.645410 140334125823552 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705237.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 1852198 prefix = 4 raw-key = 0.0296 GB zip-key = 0.0035 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.2166 GB zip-val = 0.0577 GB avg-val = 116.93 avg-zval = 31.16 2024/09/08-18:42:53.649031 140334125823552 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705237.sst: sumWaitingMem = 0.005 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0049 GB, waited 0.000 sec, Key+Value = 0.268 GB 2024/09/08-18:42:55.364183 140334125823552 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705237.sst): second pass time = 2.70's, 80.259'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.72's, 40.903'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2930.182'MB/sec (index lex order gen) rebuild zvType time = 1.39's, 0.333'MB/sec write SST data time = 0.33's, 214.108'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 2.158'MB, throughput = 57101.080'MB/sec zip my value time = 2.70's, unzip length = 0.217'GB zip my value throughput = 80.259'MB/sec zip pipeline throughput = 80.259'MB/sec entries = 1852198 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.93 avg-zval = 31.16 usrkeys = 1852198 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.93 avg-zval = 31.16 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 1852198 bytes = 6945760 } seq expand size = 12965386 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0370 GB value = 0.2166 GB dict = 2.16 MB all = 0.2684 GB } __ZipSize{ index = 0.0035 GB value = 0.0577 GB dict = 2.16 MB all = 0.0704 GB } UnZip/Zip{ index = 10.5185 value = 3.7523 dict = 1.00 all = 3.8155 } Zip/UnZip{ index = 0.0951 value = 0.2665 dict = 1.00 all = 0.2621 } ---------------------------- total value len = 0.229539 GB avg = 0.124 KB (by entry num) total key len = 0.051862 GB avg = 0.028 KB total ukey len = 0.037044 GB avg = 0.020 KB total ukey num = 0.001852198 Billion total entry num = 0.001852198 Billion write speed all = 0.013458190 MB/sec (with seq num) write speed all = 0.012749529 MB/sec (without seq num) 2024/09/08-18:42:55.442830 140334125823552 [compaction_job.cc:1944] [default] [JOB 186] Generated table #14705237: 1852198 keys, 70354207 bytes, temperature: kWarm 2024/09/08-18:42:55.442908 140334125823552 EVENT_LOG_v1 {"time_micros": 1725792175442864, "cf_name": "default", "job": 186, "event": "table_file_creation", "file_number": 14705237, "file_size": 70354207, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 190781169593, "largest_seqno": 191400371382, "table_properties": {"data_size": 57718080, "index_size": 3521792, "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": 51861544, "raw_average_key_size": 28, "raw_value_size": 216574000, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 1852198, "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": 1725792169, "oldest_key_time": 0, "file_creation_time": 1725792169, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "J36RAWAWW5D2UOPL8TAE", "orig_file_number": 14705237, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/09/08-18:42:55.493298 140334125823552 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705238.sst) /dev/shm/ToplingTemp/Topling-8477-QTTAjc 2024/09/08-18:42:55.993129 140334125823552 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705238.sst): first pass time = 0.50's, 232.682'MB/sec 2024/09/08-18:42:57.293419 140334125823552 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705238.sst): old prealloc_size = 117400395, real_size = 29292144 2024/09/08-18:42:57.293967 140334125823552 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705238.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 801828 prefix = 4 raw-key = 0.0128 GB zip-key = 0.0015 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.0938 GB zip-val = 0.0276 GB avg-val = 117.03 avg-zval = 34.38 2024/09/08-18:42:57.294970 140334125823552 [top_zip_table_builder.cc:1295] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705238.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0020 GB, waited 0.000 sec, Key+Value = 0.116 GB 2024/09/08-18:42:58.079497 140334125823552 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00/14705238.sst): second pass time = 1.30's, 72.223'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.79's, 42.160'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2916.649'MB/sec (index lex order gen) rebuild zvType time = 0.65's, 0.309'MB/sec write SST data time = 0.14's, 241.469'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.937'MB, throughput = 22391.740'MB/sec zip my value time = 1.30's, unzip length = 0.094'GB zip my value throughput = 72.223'MB/sec zip pipeline throughput = 72.223'MB/sec entries = 801828 avg-key = 28.00 avg-zkey = 1.90 avg-val = 117.03 avg-zval = 34.38 usrkeys = 801828 avg-key = 20.00 avg-zkey = 1.90 avg-val = 124.03 avg-zval = 34.38 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 801828 bytes = 3107104 } seq expand size = 5612796 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0160 GB value = 0.0938 GB dict = 0.94 MB all = 0.1163 GB } __ZipSize{ index = 0.0015 GB value = 0.0276 GB dict = 0.94 MB all = 0.0331 GB } UnZip/Zip{ index = 10.5114 value = 3.4043 dict = 1.00 all = 3.5090 } Zip/UnZip{ index = 0.0951 value = 0.2937 dict = 1.00 all = 0.2850 } ---------------------------- total value len = 0.328994 GB avg = 0.124 KB (by entry num) total key len = 0.074313 GB avg = 0.028 KB total ukey len = 0.053081 GB avg = 0.020 KB total ukey num = 0.002654026 Billion total entry num = 0.002654026 Billion write speed all = 0.019285903 MB/sec (with seq num) write speed all = 0.018270590 MB/sec (without seq num) 2024/09/08-18:42:58.119686 140334125823552 [compaction_job.cc:1944] [default] [JOB 186] Generated table #14705238: 801828 keys, 33140833 bytes, temperature: kWarm 2024/09/08-18:42:58.119768 140334125823552 EVENT_LOG_v1 {"time_micros": 1725792178119733, "cf_name": "default", "job": 186, "event": "table_file_creation", "file_number": 14705238, "file_size": 33140833, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 189793097437, "largest_seqno": 191400372494, "table_properties": {"data_size": 27565856, "index_size": 1525632, "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": 22451184, "raw_average_key_size": 28, "raw_value_size": 93841620, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 801828, "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": 1725792175, "oldest_key_time": 0, "file_creation_time": 1725792175, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "a007a635-5c0a-4b4a-be96-b9c695cb016b", "db_session_id": "J36RAWAWW5D2UOPL8TAE", "orig_file_number": 14705238, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/09/08-18:42:58.138183 140334125823552 [compaction_job.cc:699] job-00186: subcompact[0], size: 0.103495 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-00186/att-00 [14705237,14705238] 2024/09/08-18:42:58.158534 140334125823552 (Original Log Time 2024/09/08-18:42:49.046728) EVENT_LOG_v1 {"time_micros": 1725792169046668, "job": 186, "event": "compaction_started", "compaction_reason": "LevelMaxLevelSize", "files_L3": [14702396], "files_L4": [14703060], "score": 1.00211, "input_data_size": 106727632, "oldest_snapshot_seqno": 191448466764} 2024/09/08-18:42:58.158539 140334125823552 (Original Log Time 2024/09/08-18:42:58.158114) [compaction_job.cc:2018] [default] [JOB 186] Compacted 1@3 + 1@4 files to L4 => 103495040 bytes 2024/09/08-18:42:58.158540 140334125823552 (Original Log Time 2024/09/08-18:42:58.158465) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 0 2 0 0] max score 0.00, MB/sec: 11.7 rd, 11.4 wr, level 4, files in(1, 1) out(2 +0 blob) MB in(36.2, 65.6 +0.0 blob) out(98.7 +0.0 blob), read-write-amplify(5.5) write-amplify(2.7) OK, records in: 2780258, records dropped: 126232 output_compression: Snappy 2024/09/08-18:42:58.158549 140334125823552 (Original Log Time 2024/09/08-18:42:58.158509) EVENT_LOG_v1 {"time_micros": 1725792178158492, "cf": "default", "job": 186, "event": "compaction_finished", "compaction_time_micros": 9091468, "compaction_time_cpu_micros": 4175861, "output_level": 4, "num_output_files": 2, "total_output_size": 103495040, "num_input_records": 2780258, "num_output_records": 2654026, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 63621893, "file_range_sync_nanos": 0, "file_fsync_nanos": 1538, "file_prepare_write_nanos": 6349, "lsm_state": [0, 0, 0, 0, 2, 0, 0]} 2024/09/08-18:42:58.278684 140334125823552 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":1725792049,"starts":1725792168,"executesMs":9239,"compactionJobId":186,"attempt":0,"compactionInputRawBytes":402653292,"compactionInputZipBytes":106727632,"compactionOutputRawBytes":0,"compactionOutputZipBytes":103495040,"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-bb317c84d71b60071e3c04333c7da62d-9ea036b73347f11b-00"}}, response = 2024/09/08-18:42:58.278792 140334125823552 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-09-08T18.40.49/.rocksdb/job-00186/att-00: olev 4, work 9.240 s, result 5.032 ms, install 0.460 ms, input{raw 384.000 MiB zip 101.783 MiB}