2024/07/26-23:33:33.370570 139696281192000 DEBG dcompact_worker.cpp:2211: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00: fork to child time = 0.015964 sec 2024/07/26-23:33:33.371548 139696281192000 DEBG dcompact_worker.cpp:1011: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00 2024/07/26-23:33:33.377440 139696281192000 DEBG dcompact_worker.cpp:1031: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00 2024/07/26-23:33:33.379242 139696281192000 TRAC dcompact_worker.cpp:1081: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/07/26-23:33:33.379603 139696281192000 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/07/26-23:33:33.413852 139696281192000 [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-121204/att-00/MANIFEST-13366722 2024/07/26-23:33:33.429642 139696281192000 [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-121204/att-00/MANIFEST-13366722 succeeded,manifest_file_number is 13366722, next_file_number is 13511847, last_sequence is 166232098041, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 13511812 2024/07/26-23:33:33.429651 139696281192000 [version_set.cc:6197] Column family [default] (ID 0), log number is 0 2024/07/26-23:33:33.429714 139696281192000 [version_set.cc:5652] Creating manifest 13511847 2024/07/26-23:33:33.451172 139696281192000 DEBG dcompact_worker.cpp:1215: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00: bottommost_level: fake = 1, rpc = 0 2024/07/26-23:33:33.462770 139696281192000 [compaction_job.cc:2433] [default] [JOB 121204] Compacting 1@3 + 2@4 files to L4, score 0.92, subcompactions 1 : 1 2024/07/26-23:33:33.462785 139696281192000 [compaction_job.cc:2441] [default]: Compaction start summary: Base version 62708 Base level 3, inputs: [13511837(25MB)], [13511808(83MB) 13511809(24MB)] 2024/07/26-23:33:33.718338 139696281192000 [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/26-23:33:33.718364 139696281192000 [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/26-23:33:33.718387 139696281192000 [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/26-23:33:33.718401 139696281192000 [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/26-23:33:33.718414 139696281192000 [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/26-23:33:34.435032 139696281192000 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511848.sst) /dev/shm/ToplingTemp/Topling-41391-PhBHnY 2024/07/26-23:33:35.177587 139696281192000 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511848.sst): first pass time = 0.74's, 361.529'MB/sec 2024/07/26-23:33:43.671176 139696281192000 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511848.sst): old prealloc_size = 153987607, real_size = 83590672 2024/07/26-23:33:43.671276 139696281192000 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511848.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 258861 prefix = 4 raw-key = 0.0021 GB zip-key = 0.0017 GB avg-key = 8.00 avg-zkey = 6.46 raw-val = 0.2633 GB zip-val = 0.0819 GB avg-val =1016.99 avg-zval = 316.21 2024/07/26-23:33:44.406803 139696281192000 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511848.sst): second pass time = 8.49's, 31.011'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.74's, 118.477'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 37025.848'MB/sec (index lex order gen) rebuild zvType time = 0.50's, 0.131'MB/sec write SST data time = 0.24's, 362.927'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 2.689'MB, throughput = 47165.638'MB/sec zip my value time = 8.49's, unzip length = 0.263'GB zip my value throughput = 31.011'MB/sec zip pipeline throughput = 143.379'MB/sec entries = 258861 avg-key = 20.00 avg-zkey = 6.46 avg-val = 1016.99 avg-zval = 316.21 usrkeys = 258861 avg-key = 12.00 avg-zkey = 6.46 avg-val = 1023.99 avg-zval = 316.21 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 258861 bytes = 938384 } seq expand size = 1812027 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0031 GB value = 0.2633 GB dict = 2.69 MB all = 0.2684 GB } __ZipSize{ index = 0.0017 GB value = 0.0819 GB dict = 2.69 MB all = 0.0872 GB } UnZip/Zip{ index = 1.8582 value = 3.2162 dict = 1.00 all = 3.0799 } Zip/UnZip{ index = 0.5382 value = 0.3109 dict = 1.00 all = 0.3247 } ---------------------------- total value len = 0.265071 GB avg = 1.024 KB (by entry num) total key len = 0.005177 GB avg = 0.020 KB total ukey len = 0.003106 GB avg = 0.012 KB total ukey num = 0.000258861 Billion total entry num = 0.000258861 Billion write speed all = 0.026543586 MB/sec (with seq num) write speed all = 0.026340184 MB/sec (without seq num) 2024/07/26-23:33:44.525505 139696281192000 [compaction_job.cc:1944] [default] [JOB 121204] Generated table #13511848: 258861 keys, 87155993 bytes, temperature: kWarm 2024/07/26-23:33:44.525602 139696281192000 EVENT_LOG_v1 {"time_micros": 1722008024525542, "cf_name": "default", "job": 121204, "event": "table_file_creation", "file_number": 13511848, "file_size": 87155993, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 165811081124, "largest_seqno": 166232069418, "table_properties": {"data_size": 81854080, "index_size": 1671680, "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": 5177220, "raw_average_key_size": 20, "raw_value_size": 263258777, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 258861, "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": 1722008014, "oldest_key_time": 0, "file_creation_time": 1722008014, "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": 13511848, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/26-23:33:44.619084 139696281192000 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511849.sst) /dev/shm/ToplingTemp/Topling-41391-ryjcU0 2024/07/26-23:33:45.062901 139696281192000 [top_zip_table_builder.cc:1344] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511849.sst): first pass time = 0.44's, 179.213'MB/sec 2024/07/26-23:33:46.636431 139696281192000 [top_zip_table_builder.cc:2764] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511849.sst): old prealloc_size = 153987607, real_size = 24922816 2024/07/26-23:33:46.636492 139696281192000 [top_zip_table_builder.cc:1765] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511849.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 76688 prefix = 4 raw-key = 0.0006 GB zip-key = 0.0005 GB avg-key = 8.00 avg-zkey = 6.69 raw-val = 0.0780 GB zip-val = 0.0244 GB avg-val =1017.03 avg-zval = 318.05 2024/07/26-23:33:46.785472 139696281192000 [top_zip_table_builder.cc:3092] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00/13511849.sst): second pass time = 1.57's, 49.642'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.15's, 174.397'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 16342.551'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.162'MB/sec write SST data time = 0.03's, 845.585'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.809'MB, throughput = 21494.397'MB/sec zip my value time = 1.57's, unzip length = 0.078'GB zip my value throughput = 49.642'MB/sec zip pipeline throughput = 165.448'MB/sec entries = 76688 avg-key = 20.00 avg-zkey = 6.69 avg-val = 1017.03 avg-zval = 318.05 usrkeys = 76688 avg-key = 12.00 avg-zkey = 6.69 avg-val = 1024.03 avg-zval = 318.05 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 76688 bytes = 278016 } seq expand size = 536816 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0009 GB value = 0.0780 GB dict = 0.81 MB all = 0.0795 GB } __ZipSize{ index = 0.0005 GB value = 0.0244 GB dict = 0.81 MB all = 0.0260 GB } UnZip/Zip{ index = 1.7940 value = 3.1977 dict = 1.00 all = 3.0596 } Zip/UnZip{ index = 0.5574 value = 0.3127 dict = 1.00 all = 0.3268 } ---------------------------- total value len = 0.343601 GB avg = 1.024 KB (by entry num) total key len = 0.006711 GB avg = 0.020 KB total ukey len = 0.004027 GB avg = 0.012 KB total ukey num = 0.000335549 Billion total entry num = 0.000335549 Billion write speed all = 0.034399410 MB/sec (with seq num) write speed all = 0.034135813 MB/sec (without seq num) 2024/07/26-23:33:46.823155 139696281192000 [compaction_job.cc:1944] [default] [JOB 121204] Generated table #13511849: 76688 keys, 25992626 bytes, temperature: kWarm 2024/07/26-23:33:46.823222 139696281192000 EVENT_LOG_v1 {"time_micros": 1722008026823187, "cf_name": "default", "job": 121204, "event": "table_file_creation", "file_number": 13511849, "file_size": 25992626, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 165818436436, "largest_seqno": 166232068705, "table_properties": {"data_size": 24390512, "index_size": 512960, "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": 1533760, "raw_average_key_size": 20, "raw_value_size": 77993704, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 76688, "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": 1722008024, "oldest_key_time": 0, "file_creation_time": 1722008024, "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": 13511849, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/07/26-23:33:46.838936 139696281192000 [compaction_job.cc:699] job-121204: subcompact[0], size: 0.113149 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-121204/att-00 [13511848,13511849] 2024/07/26-23:33:46.862081 139696281192000 (Original Log Time 2024/07/26-23:33:33.462833) EVENT_LOG_v1 {"time_micros": 1722008013462797, "job": 121204, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L3": [13511837], "files_L4": [13511808, 13511809], "score": 0.917619, "input_data_size": 139988734, "oldest_snapshot_seqno": 166232095361} 2024/07/26-23:33:46.862085 139696281192000 (Original Log Time 2024/07/26-23:33:46.861553) [compaction_job.cc:2018] [default] [JOB 121204] Compacted 1@3 + 2@4 files to L4 => 113148619 bytes 2024/07/26-23:33:46.862087 139696281192000 (Original Log Time 2024/07/26-23:33:46.861987) [compaction_job.cc:1220] [default] compacted to: files[0 0 0 0 2 0 0] max score 0.00, MB/sec: 10.5 rd, 8.5 wr, level 4, files in(1, 2) out(2 +0 blob) MB in(25.7, 107.8 +0.0 blob) out(107.9 +0.0 blob), read-write-amplify(9.4) write-amplify(4.2) OK, records in: 360890, records dropped: 25341 output_compression: Snappy 2024/07/26-23:33:46.862098 139696281192000 (Original Log Time 2024/07/26-23:33:46.862053) EVENT_LOG_v1 {"time_micros": 1722008026862017, "cf": "default", "job": 121204, "event": "compaction_finished", "compaction_time_micros": 13376121, "compaction_time_cpu_micros": 1435861, "output_level": 4, "num_output_files": 2, "total_output_size": 113148619, "num_input_records": 360890, "num_output_records": 335549, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 98246411, "file_range_sync_nanos": 0, "file_fsync_nanos": 1463, "file_prepare_write_nanos": 5588, "lsm_state": [0, 0, 0, 0, 2, 0, 0]} 2024/07/26-23:33:46.998490 139696281192000 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":1722008013,"executesMs":13485,"compactionJobId":121204,"attempt":0,"compactionInputRawBytes":374243669,"compactionInputZipBytes":139988734,"compactionOutputRawBytes":0,"compactionOutputZipBytes":113148619,"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-0795ddad7a66c3da30e91d0000862af4-dce9084b587923e5-00"}}, response = 2024/07/26-23:33:46.998575 139696281192000 INFO dcompact_worker.cpp:1456: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-07-23T15.41.52/.rocksdb/job-121204/att-00: olev 4, work 13.485 s, result 5.621 ms, install 0.571 ms, input{raw 356.907 MiB zip 133.504 MiB}