2024/11/24-02:46:28.571890 139957206771264 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00: fork to child time = 0.008107 sec 2024/11/24-02:46:28.572917 139957206771264 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00 2024/11/24-02:46:28.579329 139957206771264 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00 2024/11/24-02:46:28.580248 139957206771264 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/24-02:46:28.580524 139957206771264 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/24-02:46:28.634391 139957206771264 [version_set.cc:6208] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-40312/att-00/MANIFEST-206347 2024/11/24-02:46:28.651757 139957206771264 [version_set.cc:6251] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-40312/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 289249, last_sequence is 4402311240, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 289114 2024/11/24-02:46:28.651768 139957206771264 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/24-02:46:28.651851 139957206771264 [version_set.cc:5721] Creating manifest 289249 2024/11/24-02:46:28.687388 139957206771264 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/24-02:46:28.709136 139957206771264 [compaction_job.cc:2437] [default] [JOB 40312] Compacting 1@2 + 4@3 files to L3, score 0.81, subcompactions 1 : 1 2024/11/24-02:46:28.709149 139957206771264 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 30194 Base level 2, inputs: [289239(7029KB)], [289203(35MB) 289204(35MB) 289205(34MB) 289206(33MB)] 2024/11/24-02:46:28.714307 139957206771264 [top_zip_table.cc:59] core git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap 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/11/24-02:46:28.714350 139957206771264 [top_zip_table.cc:60] fsa git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap 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/11/24-02:46:28.714377 139957206771264 [top_zip_table.cc:61] zbs git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap 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/11/24-02:46:28.714385 139957206771264 [top_zip_table.cc:62] topling-zip_table_reader: git_version_hash_info_is: commit a4a382006cb82713acf5b3425835f22711877681 Author: leipeng Date: 2024-04-11 19:44:14 +0800 fixed_len_hole_index.cc: Add env bool FixedLenHoleIndexUseAVX512 for ut & debug 1. FixedLenHoleIndexUseAVX512 is only in unit tests or debug 2. In release mode, use avx512 by compile options(-march=) 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/11/24-02:46:28.714401 139957206771264 [top_zip_table.cc:64] topling-rocks git_version_hash_info_is: commit feab587e468621ba0204d47b4ffacc52e7c4290d Author: leipeng Date: 2024-03-22 13:35:06 +0800 ToplingZipTableBuilder::Add: immediately return after error This function returns void, and caller does not check builder->status() after calling this function and graceful abandon. So immediately return after error, and return error status in 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. cpu_flag: -march=native -mbmi -mbmi2 2024/11/24-02:46:29.116875 139957206771264 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289250.sst) /dev/shm/ToplingTemp/Topling-251250-90nA0x 2024/11/24-02:46:29.705296 139957206771264 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289250.sst): first pass time = 0.59's, 228.113'MB/sec 2024/11/24-02:46:32.232265 139957206771264 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289250.sst): old prealloc_size = 147639500, real_size = 33449312 2024/11/24-02:46:32.233148 139957206771264 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289250.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 926409 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1083 GB zip-val = 0.0315 GB avg-val = 116.88 avg-zval = 33.95 2024/11/24-02:46:32.234287 139957206771264 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289250.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.006 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/24-02:46:33.770188 139957206771264 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289250.sst): second pass time = 2.52's, 43.038'MB/sec, value only(80.7% of KV) wait indexing time = 0.01's, remap KeyValue time = 1.54's, 24.414'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2091.820'MB/sec (index lex order gen) rebuild zvType time = 1.38's, 0.168'MB/sec write SST data time = 0.15's, 242.766'MB/sec dict compress time = 0.00's, 1080592.000'MB/sec z-dict build time = 0.00's, sample length = 1.081'MB, throughput = 34200.279'MB/sec zip my value time = 2.52's, unzip length = 0.108'GB zip my value throughput = 43.038'MB/sec zip pipeline throughput = 51.513'MB/sec entries = 926409 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.88 avg-zval = 33.95 usrkeys = 926409 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.88 avg-zval = 33.95 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 926409 bytes = 3242448 } seq expand size = 6484863 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0315 GB dict = 1.08 MB all = 0.0375 GB } UnZip/Zip{ index = 10.5125 value = 3.4423 dict = 1.00 all = 3.5747 } Zip/UnZip{ index = 0.0951 value = 0.2905 dict = 1.00 all = 0.2797 } ---------------------------- total value len = 2251.440336 GB avg = 0.200 KB (by entry num) total key len = 306.908902 GB avg = 0.027 KB total ukey len = 237.373256 GB avg = 0.015 KB total ukey num = 15.739587572 Billion total entry num = 11.280901520 Billion write speed all = 39.799118375 MB/sec (with seq num) write speed all = 38.395182030 MB/sec (without seq num) 2024/11/24-02:46:33.862448 139957206771264 [compaction_job.cc:1948] [default] [JOB 40312] Generated table #289250: 926409 keys, 37546592 bytes, temperature: kWarm 2024/11/24-02:46:33.862539 139957206771264 EVENT_LOG_v1 {"time_micros": 1732387593862483, "cf_name": "default", "job": 40312, "event": "table_file_creation", "file_number": 289250, "file_size": 37546592, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4261178686, "largest_seqno": 4402295543, "table_properties": {"data_size": 31455056, "index_size": 1762496, "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": 25939452, "raw_average_key_size": 28, "raw_value_size": 108278314, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 926409, "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": 1732387589, "oldest_key_time": 0, "file_creation_time": 1732387589, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 289250, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-02:46:33.903138 139957206771264 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289251.sst) /dev/shm/ToplingTemp/Topling-251250-BBY0bz 2024/11/24-02:46:34.773426 139957206771264 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289251.sst): first pass time = 0.87's, 154.228'MB/sec 2024/11/24-02:46:36.386670 139957206771264 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289251.sst): old prealloc_size = 147639500, real_size = 33012512 2024/11/24-02:46:36.387406 139957206771264 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289251.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 926365 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.1083 GB zip-val = 0.0310 GB avg-val = 116.89 avg-zval = 33.47 2024/11/24-02:46:36.388254 139957206771264 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289251.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.006 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/24-02:46:37.971333 139957206771264 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289251.sst): second pass time = 1.61's, 67.192'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.58's, 23.418'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2492.529'MB/sec (index lex order gen) rebuild zvType time = 1.32's, 0.176'MB/sec write SST data time = 0.27's, 138.652'MB/sec dict compress time = 0.00's, 1080482.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 27673.445'MB/sec zip my value time = 1.61's, unzip length = 0.108'GB zip my value throughput = 67.192'MB/sec zip pipeline throughput = 67.192'MB/sec entries = 926365 avg-key = 28.00 avg-zkey = 1.92 avg-val = 116.89 avg-zval = 33.47 usrkeys = 926365 avg-key = 20.00 avg-zkey = 1.92 avg-val = 123.89 avg-zval = 33.47 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 926365 bytes = 3242288 } seq expand size = 6484555 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0310 GB dict = 1.08 MB all = 0.0371 GB } UnZip/Zip{ index = 10.4433 value = 3.4921 dict = 1.00 all = 3.6168 } Zip/UnZip{ index = 0.0958 value = 0.2864 dict = 1.00 all = 0.2765 } ---------------------------- total value len = 2251.555101 GB avg = 0.200 KB (by entry num) total key len = 306.934840 GB avg = 0.027 KB total ukey len = 237.391783 GB avg = 0.015 KB total ukey num = 15.740513937 Billion total entry num = 11.281827885 Billion write speed all = 39.798706181 MB/sec (with seq num) write speed all = 38.394746303 MB/sec (without seq num) 2024/11/24-02:46:38.019885 139957206771264 [compaction_job.cc:1948] [default] [JOB 40312] Generated table #289251: 926365 keys, 37109362 bytes, temperature: kWarm 2024/11/24-02:46:38.019988 139957206771264 EVENT_LOG_v1 {"time_micros": 1732387598019929, "cf_name": "default", "job": 40312, "event": "table_file_creation", "file_number": 289251, "file_size": 37109362, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4261178700, "largest_seqno": 4402295457, "table_properties": {"data_size": 31006672, "index_size": 1774080, "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": 25938220, "raw_average_key_size": 28, "raw_value_size": 108279614, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 926365, "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": 1732387593, "oldest_key_time": 0, "file_creation_time": 1732387593, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 289251, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-02:46:38.070481 139957206771264 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289252.sst) /dev/shm/ToplingTemp/Topling-251250-QsJIIw 2024/11/24-02:46:39.407860 139957206771264 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289252.sst): first pass time = 1.34's, 100.362'MB/sec 2024/11/24-02:46:40.967264 139957206771264 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289252.sst): old prealloc_size = 147639500, real_size = 31661616 2024/11/24-02:46:40.967822 139957206771264 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289252.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 926349 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1083 GB zip-val = 0.0297 GB avg-val = 116.89 avg-zval = 32.03 2024/11/24-02:46:40.968583 139957206771264 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289252.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.006 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/24-02:46:41.922473 139957206771264 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289252.sst): second pass time = 1.56's, 69.495'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.96's, 37.436'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3289.913'MB/sec (index lex order gen) rebuild zvType time = 0.83's, 0.280'MB/sec write SST data time = 0.13's, 277.435'MB/sec dict compress time = 0.00's, 1080248.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 40817.986'MB/sec zip my value time = 1.56's, unzip length = 0.108'GB zip my value throughput = 69.495'MB/sec zip pipeline throughput = 69.495'MB/sec entries = 926349 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.89 avg-zval = 32.03 usrkeys = 926349 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.89 avg-zval = 32.03 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 926349 bytes = 3242240 } seq expand size = 6484443 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0185 GB value = 0.1083 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0297 GB dict = 1.08 MB all = 0.0358 GB } UnZip/Zip{ index = 10.5137 value = 3.6498 dict = 1.00 all = 3.7535 } Zip/UnZip{ index = 0.0951 value = 0.2740 dict = 1.00 all = 0.2664 } ---------------------------- total value len = 2251.669865 GB avg = 0.200 KB (by entry num) total key len = 306.960778 GB avg = 0.027 KB total ukey len = 237.410310 GB avg = 0.015 KB total ukey num = 15.741440286 Billion total entry num = 11.282754234 Billion write speed all = 39.798448769 MB/sec (with seq num) write speed all = 38.394459905 MB/sec (without seq num) 2024/11/24-02:46:41.969244 139957206771264 [compaction_job.cc:1948] [default] [JOB 40312] Generated table #289252: 926349 keys, 35758408 bytes, temperature: kWarm 2024/11/24-02:46:41.969313 139957206771264 EVENT_LOG_v1 {"time_micros": 1732387601969278, "cf_name": "default", "job": 40312, "event": "table_file_creation", "file_number": 289252, "file_size": 35758408, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4261178719, "largest_seqno": 4402295593, "table_properties": {"data_size": 29667680, "index_size": 1762176, "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": 25937772, "raw_average_key_size": 28, "raw_value_size": 108280090, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 926349, "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": 1732387598, "oldest_key_time": 0, "file_creation_time": 1732387598, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 289252, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-02:46:42.006617 139957206771264 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289253.sst) /dev/shm/ToplingTemp/Topling-251250-cPGRGy 2024/11/24-02:46:42.996257 139957206771264 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289253.sst): first pass time = 0.99's, 135.628'MB/sec 2024/11/24-02:46:44.344940 139957206771264 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289253.sst): old prealloc_size = 147639500, real_size = 31060336 2024/11/24-02:46:44.345525 139957206771264 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289253.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 923342 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.1084 GB zip-val = 0.0291 GB avg-val = 117.36 avg-zval = 31.47 2024/11/24-02:46:44.346341 139957206771264 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289253.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.006 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/24-02:46:45.303349 139957206771264 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289253.sst): second pass time = 1.35's, 80.420'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.96's, 36.554'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3253.421'MB/sec (index lex order gen) rebuild zvType time = 0.81's, 0.284'MB/sec write SST data time = 0.14's, 243.330'MB/sec dict compress time = 0.00's, 1082926.000'MB/sec z-dict build time = 0.00's, sample length = 1.083'MB, throughput = 36866.821'MB/sec zip my value time = 1.35's, unzip length = 0.108'GB zip my value throughput = 80.420'MB/sec zip pipeline throughput = 80.420'MB/sec entries = 923342 avg-key = 28.00 avg-zkey = 1.92 avg-val = 117.36 avg-zval = 31.47 usrkeys = 923342 avg-key = 20.00 avg-zkey = 1.92 avg-val = 124.36 avg-zval = 31.47 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 923342 bytes = 3116288 } seq expand size = 6463394 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0185 GB value = 0.1084 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0291 GB dict = 1.08 MB all = 0.0350 GB } UnZip/Zip{ index = 10.4428 value = 3.7289 dict = 1.00 all = 3.8312 } Zip/UnZip{ index = 0.0958 value = 0.2682 dict = 1.00 all = 0.2610 } ---------------------------- total value len = 2251.784693 GB avg = 0.200 KB (by entry num) total key len = 306.986632 GB avg = 0.027 KB total ukey len = 237.428777 GB avg = 0.015 KB total ukey num = 15.742363628 Billion total entry num = 11.283677576 Billion write speed all = 39.798544076 MB/sec (with seq num) write speed all = 38.394514149 MB/sec (without seq num) 2024/11/24-02:46:45.348538 139957206771264 [compaction_job.cc:1948] [default] [JOB 40312] Generated table #289253: 923342 keys, 35032766 bytes, temperature: kWarm 2024/11/24-02:46:45.348608 139957206771264 EVENT_LOG_v1 {"time_micros": 1732387605348572, "cf_name": "default", "job": 40312, "event": "table_file_creation", "file_number": 289253, "file_size": 35032766, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4272153015, "largest_seqno": 4401644093, "table_properties": {"data_size": 29060960, "index_size": 1768384, "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": 25853576, "raw_average_key_size": 28, "raw_value_size": 108364244, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 923342, "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": 1732387601, "oldest_key_time": 0, "file_creation_time": 1732387601, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 289253, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-02:46:45.385968 139957206771264 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289254.sst) /dev/shm/ToplingTemp/Topling-251250-4rA7vx 2024/11/24-02:46:45.408058 139957206771264 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289254.sst): first pass time = 0.02's, 204.009'MB/sec 2024/11/24-02:46:45.469204 139957206771264 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289254.sst): old prealloc_size = 147639500, real_size = 1382656 2024/11/24-02:46:45.469279 139957206771264 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289254.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 31607 prefix = 4 raw-key = 0.0005 GB zip-key = 0.0001 GB avg-key = 16.00 avg-zkey = 1.96 raw-val = 0.0036 GB zip-val = 0.0013 GB avg-val = 114.00 avg-zval = 41.53 2024/11/24-02:46:45.469356 139957206771264 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289254.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.006 GB, reorder workingMem = 0.0001 GB, waited 0.000 sec, Key+Value = 0.004 GB 2024/11/24-02:46:45.497190 139957206771264 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00/289254.sst): second pass time = 0.06's, 59.663'MB/sec, value only(80.3% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.03's, 53.701'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1160.584'MB/sec (index lex order gen) rebuild zvType time = 0.02's, 0.341'MB/sec write SST data time = 0.00's, 316.109'MB/sec dict compress time = 0.00's, 35112.000'MB/sec z-dict build time = 0.00's, sample length = 0.035'MB, throughput = 1269.873'MB/sec zip my value time = 0.06's, unzip length = 0.004'GB zip my value throughput = 59.663'MB/sec zip pipeline throughput = 59.663'MB/sec entries = 31607 avg-key = 28.00 avg-zkey = 1.96 avg-val = 114.00 avg-zval = 41.53 usrkeys = 31607 avg-key = 20.00 avg-zkey = 1.96 avg-val = 121.00 avg-zval = 41.53 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 31607 bytes = 90880 } seq expand size = 221249 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0006 GB value = 0.0036 GB dict = 0.04 MB all = 0.0045 GB } __ZipSize{ index = 0.0001 GB value = 0.0013 GB dict = 0.04 MB all = 0.0015 GB } UnZip/Zip{ index = 10.2037 value = 2.7450 dict = 1.00 all = 2.9880 } Zip/UnZip{ index = 0.0980 value = 0.3643 dict = 1.00 all = 0.3347 } ---------------------------- total value len = 2251.788517 GB avg = 0.200 KB (by entry num) total key len = 306.987517 GB avg = 0.027 KB total ukey len = 237.429409 GB avg = 0.015 KB total ukey num = 15.742395235 Billion total entry num = 11.283709183 Billion write speed all = 39.798497330 MB/sec (with seq num) write speed all = 38.394467704 MB/sec (without seq num) 2024/11/24-02:46:45.505329 139957206771264 [compaction_job.cc:1948] [default] [JOB 40312] Generated table #289254: 31607 keys, 1502081 bytes, temperature: kWarm 2024/11/24-02:46:45.505380 139957206771264 EVENT_LOG_v1 {"time_micros": 1732387605505354, "cf_name": "default", "job": 40312, "event": "table_file_creation", "file_number": 289254, "file_size": 1502081, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4383857145, "largest_seqno": 4388280578, "table_properties": {"data_size": 1312624, "index_size": 61952, "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": 884996, "raw_average_key_size": 28, "raw_value_size": 3603198, "raw_average_value_size": 114, "num_data_blocks": 1, "num_entries": 31607, "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": 114, "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": 1732387605, "oldest_key_time": 0, "file_creation_time": 1732387605, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 289254, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-02:46:45.515707 139957206771264 [compaction_job.cc:703] job-40312: subcompact[0], size: 0.146949 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-40312/att-00 [289250,289251,289252,289253,289254] 2024/11/24-02:46:45.547264 139957206771264 (Original Log Time 2024/11/24-02:46:28.709204) EVENT_LOG_v1 {"time_micros": 1732387588709161, "job": 40312, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [289239], "files_L3": [289203, 289204, 289205, 289206], "score": 0.809539, "input_data_size": 153170771, "oldest_snapshot_seqno": 4402311023} 2024/11/24-02:46:45.547267 139957206771264 (Original Log Time 2024/11/24-02:46:45.546664) [compaction_job.cc:2022] [default] [JOB 40312] Compacted 1@2 + 4@3 files to L3 => 146949209 bytes 2024/11/24-02:46:45.547269 139957206771264 (Original Log Time 2024/11/24-02:46:45.547205) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 9.1 rd, 8.7 wr, level 3, files in(1, 4) out(5 +0 blob) MB in(6.9, 139.2 +0.0 blob) out(140.1 +0.0 blob), read-write-amplify(41.7) write-amplify(20.4) OK, records in: 3762266, records dropped: 28194 output_compression: Snappy 2024/11/24-02:46:45.547274 139957206771264 (Original Log Time 2024/11/24-02:46:45.547247) EVENT_LOG_v1 {"time_micros": 1732387605547228, "cf": "default", "job": 40312, "event": "compaction_finished", "compaction_time_micros": 16806509, "compaction_time_cpu_micros": 6991238, "output_level": 3, "num_output_files": 5, "total_output_size": 146949209, "num_input_records": 3762266, "num_output_records": 3734072, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 122008034, "file_range_sync_nanos": 0, "file_fsync_nanos": 3758, "file_prepare_write_nanos": 12243, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/24-02:46:45.670587 139957206771264 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":"d89b4006-2803-486e-b7a2-759bcf348921","dbStarts":1732256054,"starts":1732387588,"executesMs":16968,"compactionJobId":40312,"attempt":0,"compactionInputRawBytes":545363024,"compactionInputZipBytes":153170771,"compactionOutputRawBytes":0,"compactionOutputZipBytes":146949209,"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-d44ef77c1bc5aabe8e1340239578eeb2-de965daf578032f9-00"}}, response = 2024/11/24-02:46:45.670647 139957206771264 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-40312/att-00: olev 3, work 16.969 s, result 5.958 ms, install 0.627 ms, input{raw 520.099 MiB zip 146.075 MiB}