2024/11/24-08:49:06.334453 139957290698304 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00: fork to child time = 0.008267 sec 2024/11/24-08:49:06.335445 139957290698304 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00 2024/11/24-08:49:06.340645 139957290698304 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00 2024/11/24-08:49:06.341533 139957290698304 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/24-08:49:06.341793 139957290698304 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/24-08:49:06.399630 139957290698304 [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-44162/att-00/MANIFEST-206347 2024/11/24-08:49:06.420112 139957290698304 [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-44162/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 298037, last_sequence is 4520387130, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 297897 2024/11/24-08:49:06.420120 139957290698304 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/24-08:49:06.420206 139957290698304 [version_set.cc:5721] Creating manifest 298037 2024/11/24-08:49:06.458540 139957290698304 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/24-08:49:06.478591 139957290698304 [compaction_job.cc:2437] [default] [JOB 44162] Compacting 1@2 + 4@3 files to L3, score 0.79, subcompactions 1 : 1 2024/11/24-08:49:06.478607 139957290698304 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 33102 Base level 2, inputs: [298027(3253KB)], [297984(34MB) 297985(33MB) 297986(33MB) 297987(15MB)] 2024/11/24-08:49:06.482810 139957290698304 [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-08:49:06.482844 139957290698304 [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-08:49:06.482872 139957290698304 [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-08:49:06.482878 139957290698304 [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-08:49:06.482886 139957290698304 [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-08:49:06.819928 139957290698304 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298038.sst) /dev/shm/ToplingTemp/Topling-308540-OrEuGx 2024/11/24-08:49:07.395863 139957290698304 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298038.sst): first pass time = 0.58's, 233.060'MB/sec 2024/11/24-08:49:09.377357 139957290698304 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298038.sst): old prealloc_size = 139639374, real_size = 32401872 2024/11/24-08:49:09.377949 139957290698304 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298038.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 933516 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1081 GB zip-val = 0.0304 GB avg-val = 115.78 avg-zval = 32.56 2024/11/24-08:49:09.378791 139957290698304 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298038.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-08:49:10.504461 139957290698304 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298038.sst): second pass time = 1.98's, 54.586'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.13's, 32.402'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3119.697'MB/sec (index lex order gen) rebuild zvType time = 0.99's, 0.236'MB/sec write SST data time = 0.14's, 262.836'MB/sec dict compress time = 0.00's, 1078136.000'MB/sec z-dict build time = 0.00's, sample length = 1.078'MB, throughput = 35416.070'MB/sec zip my value time = 1.98's, unzip length = 0.108'GB zip my value throughput = 54.586'MB/sec zip pipeline throughput = 83.589'MB/sec entries = 933516 avg-key = 28.00 avg-zkey = 1.90 avg-val = 115.78 avg-zval = 32.56 usrkeys = 933516 avg-key = 20.00 avg-zkey = 1.90 avg-val = 122.78 avg-zval = 32.56 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 933516 bytes = 3267328 } seq expand size = 6534612 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0187 GB value = 0.1081 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0304 GB dict = 1.08 MB all = 0.0365 GB } UnZip/Zip{ index = 10.5133 value = 3.5561 dict = 1.00 all = 3.6752 } Zip/UnZip{ index = 0.0951 value = 0.2812 dict = 1.00 all = 0.2721 } ---------------------------- total value len = 2251.440187 GB avg = 0.200 KB (by entry num) total key len = 306.909101 GB avg = 0.027 KB total ukey len = 237.373398 GB avg = 0.015 KB total ukey num = 15.739594679 Billion total entry num = 11.280908627 Billion write speed all = 29.735008608 MB/sec (with seq num) write speed all = 28.686088770 MB/sec (without seq num) 2024/11/24-08:49:10.551093 139957290698304 [compaction_job.cc:1948] [default] [JOB 44162] Generated table #298038: 933516 keys, 36519880 bytes, temperature: kWarm 2024/11/24-08:49:10.551185 139957290698304 EVENT_LOG_v1 {"time_micros": 1732409350551130, "cf_name": "default", "job": 44162, "event": "table_file_creation", "file_number": 298038, "file_size": 36519880, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4265679976, "largest_seqno": 4520372871, "table_properties": {"data_size": 30392448, "index_size": 1775872, "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": 26138448, "raw_average_key_size": 28, "raw_value_size": 108079408, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 933516, "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": 1732409346, "oldest_key_time": 0, "file_creation_time": 1732409346, "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": 298038, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-08:49:10.648736 139957290698304 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298039.sst) /dev/shm/ToplingTemp/Topling-308540-BuN37v 2024/11/24-08:49:11.828836 139957290698304 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298039.sst): first pass time = 1.18's, 113.739'MB/sec 2024/11/24-08:49:13.541687 139957290698304 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298039.sst): old prealloc_size = 139639374, real_size = 31369296 2024/11/24-08:49:13.542433 139957290698304 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298039.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 919300 prefix = 4 raw-key = 0.0147 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.1085 GB zip-val = 0.0294 GB avg-val = 118.00 avg-zval = 31.96 2024/11/24-08:49:13.543306 139957290698304 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298039.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-08:49:14.557117 139957290698304 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298039.sst): second pass time = 1.71's, 63.366'MB/sec, value only(80.8% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.02's, 34.795'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2438.426'MB/sec (index lex order gen) rebuild zvType time = 0.86's, 0.267'MB/sec write SST data time = 0.16's, 227.453'MB/sec dict compress time = 0.00's, 1085010.000'MB/sec z-dict build time = 0.00's, sample length = 1.085'MB, throughput = 34731.434'MB/sec zip my value time = 1.71's, unzip length = 0.108'GB zip my value throughput = 63.366'MB/sec zip pipeline throughput = 80.282'MB/sec entries = 919300 avg-key = 28.00 avg-zkey = 1.91 avg-val = 118.00 avg-zval = 31.96 usrkeys = 919300 avg-key = 20.00 avg-zkey = 1.91 avg-val = 125.00 avg-zval = 31.96 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 919300 bytes = 3102656 } seq expand size = 6435100 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0184 GB value = 0.1085 GB dict = 1.09 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0294 GB dict = 1.09 MB all = 0.0353 GB } UnZip/Zip{ index = 10.4466 value = 3.6923 dict = 1.00 all = 3.7989 } Zip/UnZip{ index = 0.0957 value = 0.2708 dict = 1.00 all = 0.2632 } ---------------------------- total value len = 2251.555100 GB avg = 0.200 KB (by entry num) total key len = 306.934841 GB avg = 0.027 KB total ukey len = 237.391784 GB avg = 0.015 KB total ukey num = 15.740513979 Billion total entry num = 11.281827927 Billion write speed all = 29.735242760 MB/sec (with seq num) write speed all = 28.686286853 MB/sec (without seq num) 2024/11/24-08:49:14.603231 139957290698304 [compaction_job.cc:1948] [default] [JOB 44162] Generated table #298039: 919300 keys, 35331122 bytes, temperature: kWarm 2024/11/24-08:49:14.603332 139957290698304 EVENT_LOG_v1 {"time_micros": 1732409354603265, "cf_name": "default", "job": 44162, "event": "table_file_creation", "file_number": 298039, "file_size": 35331122, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4302295540, "largest_seqno": 4412508761, "table_properties": {"data_size": 29379264, "index_size": 1760000, "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": 25740400, "raw_average_key_size": 28, "raw_value_size": 108477400, "raw_average_value_size": 118, "num_data_blocks": 1, "num_entries": 919300, "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-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732409350, "oldest_key_time": 0, "file_creation_time": 1732409350, "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": 298039, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-08:49:14.639821 139957290698304 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298040.sst) /dev/shm/ToplingTemp/Topling-308540-Kco6ew 2024/11/24-08:49:15.509488 139957290698304 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298040.sst): first pass time = 0.87's, 154.341'MB/sec 2024/11/24-08:49:17.010689 139957290698304 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298040.sst): old prealloc_size = 139639374, real_size = 31304864 2024/11/24-08:49:17.011318 139957290698304 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298040.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 920652 prefix = 4 raw-key = 0.0147 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.93 raw-val = 0.1084 GB zip-val = 0.0293 GB avg-val = 117.79 avg-zval = 31.83 2024/11/24-08:49:17.012086 139957290698304 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298040.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-08:49:17.942963 139957290698304 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298040.sst): second pass time = 1.50's, 72.298'MB/sec, value only(80.8% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.93's, 37.833'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2923.372'MB/sec (index lex order gen) rebuild zvType time = 0.76's, 0.302'MB/sec write SST data time = 0.17's, 209.132'MB/sec dict compress time = 0.00's, 1084270.000'MB/sec z-dict build time = 0.00's, sample length = 1.084'MB, throughput = 34298.232'MB/sec zip my value time = 1.50's, unzip length = 0.108'GB zip my value throughput = 72.298'MB/sec zip pipeline throughput = 72.298'MB/sec entries = 920652 avg-key = 28.00 avg-zkey = 1.93 avg-val = 117.79 avg-zval = 31.83 usrkeys = 920652 avg-key = 20.00 avg-zkey = 1.93 avg-val = 124.79 avg-zval = 31.83 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 920652 bytes = 3107216 } seq expand size = 6444564 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0184 GB value = 0.1084 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0293 GB dict = 1.08 MB all = 0.0353 GB } UnZip/Zip{ index = 10.3759 value = 3.7010 dict = 1.00 all = 3.8054 } Zip/UnZip{ index = 0.0964 value = 0.2702 dict = 1.00 all = 0.2628 } ---------------------------- total value len = 2251.669984 GB avg = 0.200 KB (by entry num) total key len = 306.960620 GB avg = 0.027 KB total ukey len = 237.410197 GB avg = 0.015 KB total ukey num = 15.741434631 Billion total entry num = 11.282748579 Billion write speed all = 29.735707440 MB/sec (with seq num) write speed all = 28.686707212 MB/sec (without seq num) 2024/11/24-08:49:17.989407 139957290698304 [compaction_job.cc:1948] [default] [JOB 44162] Generated table #298040: 920652 keys, 35270142 bytes, temperature: kWarm 2024/11/24-08:49:17.989477 139957290698304 EVENT_LOG_v1 {"time_micros": 1732409357989442, "cf_name": "default", "job": 44162, "event": "table_file_creation", "file_number": 298040, "file_size": 35270142, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4412508762, "largest_seqno": 4520375987, "table_properties": {"data_size": 29299920, "index_size": 1774592, "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": 25778256, "raw_average_key_size": 28, "raw_value_size": 108439584, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 920652, "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": 1732409354, "oldest_key_time": 0, "file_creation_time": 1732409354, "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": 298040, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-08:49:18.029142 139957290698304 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298041.sst) /dev/shm/ToplingTemp/Topling-308540-VxrmPv 2024/11/24-08:49:18.922128 139957290698304 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298041.sst): first pass time = 0.89's, 72.580'MB/sec 2024/11/24-08:49:20.785280 139957290698304 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298041.sst): old prealloc_size = 139639374, real_size = 15211664 2024/11/24-08:49:20.785589 139957290698304 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298041.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 456406 prefix = 4 raw-key = 0.0073 GB zip-key = 0.0009 GB avg-key = 16.00 avg-zkey = 1.93 raw-val = 0.0520 GB zip-val = 0.0142 GB avg-val = 114.00 avg-zval = 31.15 2024/11/24-08:49:20.786022 139957290698304 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298041.sst: sumWaitingMem = 0.001 GB, sumWorkingMem = 0.006 GB, reorder workingMem = 0.0011 GB, waited 0.000 sec, Key+Value = 0.065 GB 2024/11/24-08:49:21.371840 139957290698304 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00/298041.sst): second pass time = 1.86's, 27.941'MB/sec, value only(80.3% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.59's, 29.168'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3078.287'MB/sec (index lex order gen) rebuild zvType time = 0.50's, 0.228'MB/sec write SST data time = 0.09's, 200.809'MB/sec dict compress time = 0.00's, 524742.000'MB/sec z-dict build time = 0.00's, sample length = 0.525'MB, throughput = 11763.406'MB/sec zip my value time = 1.86's, unzip length = 0.052'GB zip my value throughput = 27.941'MB/sec zip pipeline throughput = 66.457'MB/sec entries = 456406 avg-key = 28.00 avg-zkey = 1.93 avg-val = 114.00 avg-zval = 31.15 usrkeys = 456406 avg-key = 20.00 avg-zkey = 1.93 avg-val = 121.00 avg-zval = 31.15 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 456406 bytes = 1483328 } seq expand size = 3194842 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0091 GB value = 0.0520 GB dict = 0.52 MB all = 0.0648 GB } __ZipSize{ index = 0.0009 GB value = 0.0142 GB dict = 0.52 MB all = 0.0171 GB } UnZip/Zip{ index = 10.3683 value = 3.6597 dict = 1.00 all = 3.7882 } Zip/UnZip{ index = 0.0964 value = 0.2732 dict = 1.00 all = 0.2640 } ---------------------------- total value len = 2251.725209 GB avg = 0.200 KB (by entry num) total key len = 306.973399 GB avg = 0.027 KB total ukey len = 237.419325 GB avg = 0.015 KB total ukey num = 15.741891037 Billion total entry num = 11.283204985 Billion write speed all = 29.735312835 MB/sec (with seq num) write speed all = 28.686311975 MB/sec (without seq num) 2024/11/24-08:49:21.430900 139957290698304 [compaction_job.cc:1948] [default] [JOB 44162] Generated table #298041: 456406 keys, 17108261 bytes, temperature: kWarm 2024/11/24-08:49:21.430972 139957290698304 EVENT_LOG_v1 {"time_micros": 1732409361430935, "cf_name": "default", "job": 44162, "event": "table_file_creation", "file_number": 298041, "file_size": 17108261, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4469050335, "largest_seqno": 4520375041, "table_properties": {"data_size": 14217024, "index_size": 880384, "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": 12779368, "raw_average_key_size": 28, "raw_value_size": 52030284, "raw_average_value_size": 114, "num_data_blocks": 1, "num_entries": 456406, "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": 1732409358, "oldest_key_time": 0, "file_creation_time": 1732409358, "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": 298041, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-08:49:21.449907 139957290698304 [compaction_job.cc:703] job-44162: subcompact[0], size: 0.124229 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-44162/att-00 [298038,298039,298040,298041] 2024/11/24-08:49:21.492475 139957290698304 (Original Log Time 2024/11/24-08:49:06.478668) EVENT_LOG_v1 {"time_micros": 1732409346478623, "job": 44162, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [298027], "files_L3": [297984, 297985, 297986, 297987], "score": 0.793488, "input_data_size": 126944886, "oldest_snapshot_seqno": 4520386761} 2024/11/24-08:49:21.492479 139957290698304 (Original Log Time 2024/11/24-08:49:21.488434) [compaction_job.cc:2022] [default] [JOB 44162] Compacted 1@2 + 4@3 files to L3 => 124229405 bytes 2024/11/24-08:49:21.492481 139957290698304 (Original Log Time 2024/11/24-08:49:21.492423) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 4 0 0 0] max score 0.00, MB/sec: 8.5 rd, 8.3 wr, level 3, files in(1, 4) out(4 +0 blob) MB in(3.2, 117.9 +0.0 blob) out(118.5 +0.0 blob), read-write-amplify(75.4) write-amplify(37.3) OK, records in: 3241948, records dropped: 12074 output_compression: Snappy 2024/11/24-08:49:21.492487 139957290698304 (Original Log Time 2024/11/24-08:49:21.492461) EVENT_LOG_v1 {"time_micros": 1732409361492443, "cf": "default", "job": 44162, "event": "compaction_finished", "compaction_time_micros": 14971252, "compaction_time_cpu_micros": 5918292, "output_level": 3, "num_output_files": 4, "total_output_size": 124229405, "num_input_records": 3241948, "num_output_records": 3229874, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 99847926, "file_range_sync_nanos": 0, "file_fsync_nanos": 3135, "file_prepare_write_nanos": 9615, "lsm_state": [0, 0, 0, 4, 0, 0, 0]} 2024/11/24-08:49:21.621531 139957290698304 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":1732409346,"executesMs":15145,"compactionJobId":44162,"attempt":0,"compactionInputRawBytes":469177656,"compactionInputZipBytes":126944886,"compactionOutputRawBytes":0,"compactionOutputZipBytes":124229405,"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-e3a02ff23417ca247796c80f1c4102a4-614bfef80b2a3d51-00"}}, response = 2024/11/24-08:49:21.621649 139957290698304 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-44162/att-00: olev 3, work 15.146 s, result 7.807 ms, install 4.070 ms, input{raw 447.443 MiB zip 121.064 MiB}