2024/11/23-07:43:41.671915 140024810575424 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00: fork to child time = 0.009704 sec 2024/11/23-07:43:41.672725 140024810575424 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00 2024/11/23-07:43:41.679260 140024810575424 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00 2024/11/23-07:43:41.680833 140024810575424 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-07:43:41.681372 140024810575424 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-07:43:41.728432 140024810575424 [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-22067/att-00/MANIFEST-206347 2024/11/23-07:43:41.743610 140024810575424 [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-22067/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 250976, last_sequence is 3866198629, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 250765 2024/11/23-07:43:41.743621 140024810575424 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-07:43:41.743691 140024810575424 [version_set.cc:5721] Creating manifest 250976 2024/11/23-07:43:41.775296 140024810575424 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-07:43:41.797112 140024810575424 [compaction_job.cc:2437] [default] [JOB 22067] Compacting 1@2 + 5@3 files to L3, score 0.99, subcompactions 1 : 1 2024/11/23-07:43:41.797128 140024810575424 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 16556 Base level 2, inputs: [250902(7501KB)], [250958(35MB) 250959(7748KB) 250858(34MB) 250859(35MB) 250960(34MB)] 2024/11/23-07:43:41.801279 140024810575424 [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/23-07:43:41.801315 140024810575424 [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/23-07:43:41.801347 140024810575424 [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/23-07:43:41.801352 140024810575424 [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/23-07:43:41.801363 140024810575424 [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/23-07:43:42.132029 140024810575424 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250977.sst) /dev/shm/ToplingTemp/Topling-450574-kT7Xvv 2024/11/23-07:43:42.766994 140024810575424 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250977.sst): first pass time = 0.63's, 211.393'MB/sec 2024/11/23-07:43:44.428178 140024810575424 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250977.sst): old prealloc_size = 147639500, real_size = 32441504 2024/11/23-07:43:44.428890 140024810575424 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250977.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 928966 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.1082 GB zip-val = 0.0304 GB avg-val = 116.48 avg-zval = 32.76 2024/11/23-07:43:44.429765 140024810575424 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250977.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-07:43:45.584245 140024810575424 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250977.sst): second pass time = 1.66's, 65.181'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.16's, 31.713'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2582.330'MB/sec (index lex order gen) rebuild zvType time = 1.00's, 0.232'MB/sec write SST data time = 0.16's, 235.150'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 35114.197'MB/sec zip my value time = 1.66's, unzip length = 0.108'GB zip my value throughput = 65.181'MB/sec zip pipeline throughput = 65.181'MB/sec entries = 928966 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.48 avg-zval = 32.76 usrkeys = 928966 avg-key = 20.00 avg-zkey = 1.91 avg-val = 123.48 avg-zval = 32.76 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 928966 bytes = 3367520 } seq expand size = 6502762 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0304 GB dict = 1.08 MB all = 0.0367 GB } UnZip/Zip{ index = 10.4440 value = 3.5559 dict = 1.00 all = 3.6609 } Zip/UnZip{ index = 0.0957 value = 0.2812 dict = 1.00 all = 0.2732 } ---------------------------- total value len = 0.114710 GB avg = 0.123 KB (by entry num) total key len = 0.026011 GB avg = 0.028 KB total ukey len = 0.018579 GB avg = 0.020 KB total ukey num = 0.000928966 Billion total entry num = 0.000928966 Billion write speed all = 0.001710213 MB/sec (with seq num) write speed all = 0.001619894 MB/sec (without seq num) 2024/11/23-07:43:45.620181 140024810575424 [compaction_job.cc:1948] [default] [JOB 22067] Generated table #250977: 928966 keys, 36662194 bytes, temperature: kWarm 2024/11/23-07:43:45.620268 140024810575424 EVENT_LOG_v1 {"time_micros": 1732319025620217, "cf_name": "default", "job": 22067, "event": "table_file_creation", "file_number": 250977, "file_size": 36662194, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3376774746, "largest_seqno": 3865785627, "table_properties": {"data_size": 30430160, "index_size": 1778944, "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": 26011048, "raw_average_key_size": 28, "raw_value_size": 108206788, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 928966, "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": 1732319022, "oldest_key_time": 0, "file_creation_time": 1732319022, "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": 250977, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-07:43:45.656558 140024810575424 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250978.sst) /dev/shm/ToplingTemp/Topling-450574-IbtSHv 2024/11/23-07:43:46.765029 140024810575424 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250978.sst): first pass time = 1.11's, 121.088'MB/sec 2024/11/23-07:43:48.550559 140024810575424 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250978.sst): old prealloc_size = 147639500, real_size = 30674288 2024/11/23-07:43:48.551157 140024810575424 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250978.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 927675 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.1082 GB zip-val = 0.0287 GB avg-val = 116.68 avg-zval = 30.90 2024/11/23-07:43:48.552001 140024810575424 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250978.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-07:43:49.408938 140024810575424 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250978.sst): second pass time = 1.78's, 60.661'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.86's, 40.376'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3135.937'MB/sec (index lex order gen) rebuild zvType time = 0.73's, 0.317'MB/sec write SST data time = 0.13's, 273.279'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 34286.939'MB/sec zip my value time = 1.78's, unzip length = 0.108'GB zip my value throughput = 60.661'MB/sec zip pipeline throughput = 82.050'MB/sec entries = 927675 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.68 avg-zval = 30.90 usrkeys = 927675 avg-key = 20.00 avg-zkey = 1.91 avg-val = 123.68 avg-zval = 30.90 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 927675 bytes = 3130912 } seq expand size = 6493725 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0287 GB dict = 1.08 MB all = 0.0347 GB } UnZip/Zip{ index = 10.4449 value = 3.7760 dict = 1.00 all = 3.8727 } Zip/UnZip{ index = 0.0957 value = 0.2648 dict = 1.00 all = 0.2582 } ---------------------------- total value len = 0.229446 GB avg = 0.124 KB (by entry num) total key len = 0.051986 GB avg = 0.028 KB total ukey len = 0.037133 GB avg = 0.020 KB total ukey num = 0.001856641 Billion total entry num = 0.001856641 Billion write speed all = 0.003420157 MB/sec (with seq num) write speed all = 0.003239652 MB/sec (without seq num) 2024/11/23-07:43:49.439454 140024810575424 [compaction_job.cc:1948] [default] [JOB 22067] Generated table #250978: 927675 keys, 34657506 bytes, temperature: kWarm 2024/11/23-07:43:49.439517 140024810575424 EVENT_LOG_v1 {"time_micros": 1732319029439484, "cf_name": "default", "job": 22067, "event": "table_file_creation", "file_number": 250978, "file_size": 34657506, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3740903205, "largest_seqno": 3865785640, "table_properties": {"data_size": 28665888, "index_size": 1776320, "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": 25974900, "raw_average_key_size": 28, "raw_value_size": 108242906, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 927675, "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": 1732319025, "oldest_key_time": 0, "file_creation_time": 1732319025, "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": 250978, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-07:43:49.476164 140024810575424 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250979.sst) /dev/shm/ToplingTemp/Topling-450574-TLqIBw 2024/11/23-07:43:50.267988 140024810575424 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250979.sst): first pass time = 0.79's, 169.513'MB/sec 2024/11/23-07:43:51.683881 140024810575424 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250979.sst): old prealloc_size = 147639500, real_size = 33499712 2024/11/23-07:43:51.684427 140024810575424 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250979.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 927895 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1082 GB zip-val = 0.0315 GB avg-val = 116.65 avg-zval = 33.95 2024/11/23-07:43:51.685219 140024810575424 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250979.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-07:43:52.612701 140024810575424 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250979.sst): second pass time = 1.42's, 76.480'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.93's, 40.609'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3353.843'MB/sec (index lex order gen) rebuild zvType time = 0.80's, 0.289'MB/sec write SST data time = 0.13's, 299.018'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.080'MB, throughput = 33915.392'MB/sec zip my value time = 1.42's, unzip length = 0.108'GB zip my value throughput = 76.480'MB/sec zip pipeline throughput = 76.480'MB/sec entries = 927895 avg-key = 28.00 avg-zkey = 1.90 avg-val = 116.65 avg-zval = 33.95 usrkeys = 927895 avg-key = 20.00 avg-zkey = 1.90 avg-val = 123.65 avg-zval = 33.95 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 927895 bytes = 3363632 } seq expand size = 6495265 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0315 GB dict = 1.08 MB all = 0.0377 GB } UnZip/Zip{ index = 10.5122 value = 3.4358 dict = 1.00 all = 3.5585 } Zip/UnZip{ index = 0.0951 value = 0.2910 dict = 1.00 all = 0.2810 } ---------------------------- total value len = 0.344178 GB avg = 0.124 KB (by entry num) total key len = 0.077967 GB avg = 0.028 KB total ukey len = 0.055691 GB avg = 0.020 KB total ukey num = 0.002784536 Billion total entry num = 0.002784536 Billion write speed all = 0.005130000 MB/sec (with seq num) write speed all = 0.004859294 MB/sec (without seq num) 2024/11/23-07:43:52.647664 140024810575424 [compaction_job.cc:1948] [default] [JOB 22067] Generated table #250979: 927895 keys, 37717100 bytes, temperature: kWarm 2024/11/23-07:43:52.647727 140024810575424 EVENT_LOG_v1 {"time_micros": 1732319032647696, "cf_name": "default", "job": 22067, "event": "table_file_creation", "file_number": 250979, "file_size": 37717100, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3563652023, "largest_seqno": 3865786071, "table_properties": {"data_size": 31502192, "index_size": 1765376, "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": 25981060, "raw_average_key_size": 28, "raw_value_size": 108236774, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 927895, "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": 1732319029, "oldest_key_time": 0, "file_creation_time": 1732319029, "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": 250979, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-07:43:52.681943 140024810575424 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250980.sst) /dev/shm/ToplingTemp/Topling-450574-dAqSbt 2024/11/23-07:43:53.528944 140024810575424 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250980.sst): first pass time = 0.85's, 158.471'MB/sec 2024/11/23-07:43:54.925760 140024810575424 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250980.sst): old prealloc_size = 147639500, real_size = 32060560 2024/11/23-07:43:54.926356 140024810575424 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250980.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 934614 prefix = 4 raw-key = 0.0150 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1080 GB zip-val = 0.0300 GB avg-val = 115.61 avg-zval = 32.15 2024/11/23-07:43:54.927083 140024810575424 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250980.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/23-07:43:55.855884 140024810575424 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250980.sst): second pass time = 1.40's, 77.411'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.93's, 38.650'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3160.554'MB/sec (index lex order gen) rebuild zvType time = 0.80's, 0.291'MB/sec write SST data time = 0.13's, 284.982'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.078'MB, throughput = 34423.526'MB/sec zip my value time = 1.40's, unzip length = 0.108'GB zip my value throughput = 77.411'MB/sec zip pipeline throughput = 77.411'MB/sec entries = 934614 avg-key = 28.00 avg-zkey = 1.90 avg-val = 115.61 avg-zval = 32.15 usrkeys = 934614 avg-key = 20.00 avg-zkey = 1.90 avg-val = 122.61 avg-zval = 32.15 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 934614 bytes = 3037504 } seq expand size = 6542298 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0187 GB value = 0.1080 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0300 GB dict = 1.08 MB all = 0.0359 GB } UnZip/Zip{ index = 10.5139 value = 3.5958 dict = 1.00 all = 3.7336 } Zip/UnZip{ index = 0.0951 value = 0.2781 dict = 1.00 all = 0.2678 } ---------------------------- total value len = 0.458769 GB avg = 0.123 KB (by entry num) total key len = 0.104136 GB avg = 0.028 KB total ukey len = 0.074383 GB avg = 0.020 KB total ukey num = 0.003719150 Billion total entry num = 0.003719150 Billion write speed all = 0.006840278 MB/sec (with seq num) write speed all = 0.006478725 MB/sec (without seq num) 2024/11/23-07:43:55.888081 140024810575424 [compaction_job.cc:1948] [default] [JOB 22067] Generated table #250980: 934614 keys, 35948428 bytes, temperature: kWarm 2024/11/23-07:43:55.888150 140024810575424 EVENT_LOG_v1 {"time_micros": 1732319035888110, "cf_name": "default", "job": 22067, "event": "table_file_creation", "file_number": 250980, "file_size": 35948428, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3800475006, "largest_seqno": 3865785692, "table_properties": {"data_size": 30048896, "index_size": 1777856, "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": 26169192, "raw_average_key_size": 28, "raw_value_size": 108048612, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 934614, "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": 1732319032, "oldest_key_time": 0, "file_creation_time": 1732319032, "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": 250980, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-07:43:55.922476 140024810575424 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250981.sst) /dev/shm/ToplingTemp/Topling-450574-l4PQPw 2024/11/23-07:43:56.041808 140024810575424 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250981.sst): first pass time = 0.12's, 266.900'MB/sec 2024/11/23-07:43:56.308974 140024810575424 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250981.sst): old prealloc_size = 147639500, real_size = 8863456 2024/11/23-07:43:56.309174 140024810575424 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250981.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 220415 prefix = 4 raw-key = 0.0035 GB zip-key = 0.0004 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.0257 GB zip-val = 0.0084 GB avg-val = 116.46 avg-zval = 38.05 2024/11/23-07:43:56.309262 140024810575424 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250981.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0005 GB, waited 0.000 sec, Key+Value = 0.032 GB 2024/11/23-07:43:56.460680 140024810575424 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00/250981.sst): second pass time = 0.27's, 96.305'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.15's, 60.639'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2487.930'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.454'MB/sec write SST data time = 0.03's, 304.181'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.265'MB, throughput = 9568.915'MB/sec zip my value time = 0.27's, unzip length = 0.026'GB zip my value throughput = 96.305'MB/sec zip pipeline throughput = 96.305'MB/sec entries = 220415 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.46 avg-zval = 38.05 usrkeys = 220415 avg-key = 20.00 avg-zkey = 1.91 avg-val = 117.42 avg-zval = 38.05 TagRS{ kinds = RS_Key0_TagN bytes = 34520 } TagArray{ size = 30309 bytes = 87152 } seq expand size = 212163 multi value expand size = 0 cnt WriteAppend = 15 UnZipSize{ index = 0.0044 GB value = 0.0257 GB dict = 0.27 MB all = 0.0318 GB } __ZipSize{ index = 0.0004 GB value = 0.0084 GB dict = 0.27 MB all = 0.0092 GB } UnZip/Zip{ index = 10.4840 value = 3.0603 dict = 1.00 all = 3.4614 } Zip/UnZip{ index = 0.0954 value = 0.3268 dict = 1.00 all = 0.2889 } ---------------------------- total value len = 0.484650 GB avg = 0.123 KB (by entry num) total key len = 0.110308 GB avg = 0.028 KB total ukey len = 0.078791 GB avg = 0.020 KB total ukey num = 0.003939565 Billion total entry num = 0.003939565 Billion write speed all = 0.007229715 MB/sec (with seq num) write speed all = 0.006846737 MB/sec (without seq num) 2024/11/23-07:43:56.474203 140024810575424 [compaction_job.cc:1948] [default] [JOB 22067] Generated table #250981: 220415 keys, 9198545 bytes, temperature: kWarm 2024/11/23-07:43:56.474261 140024810575424 EVENT_LOG_v1 {"time_micros": 1732319036474231, "cf_name": "default", "job": 22067, "event": "table_file_creation", "file_number": 250981, "file_size": 9198545, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 0, "largest_seqno": 3865786285, "table_properties": {"data_size": 8387664, "index_size": 420480, "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": 6171620, "raw_average_key_size": 28, "raw_value_size": 25668462, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 220415, "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_TagN-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732319035, "oldest_key_time": 0, "file_creation_time": 1732319035, "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": 250981, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-07:43:56.487449 140024810575424 [compaction_job.cc:703] job-22067: subcompact[0], size: 0.154184 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-22067/att-00 [250977,250978,250979,250980,250981] 2024/11/23-07:43:56.522201 140024810575424 (Original Log Time 2024/11/23-07:43:41.797190) EVENT_LOG_v1 {"time_micros": 1732319021797143, "job": 22067, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [250902], "files_L3": [250958, 250959, 250858, 250859, 250960], "score": 0.992555, "input_data_size": 161760430, "oldest_snapshot_seqno": 3866198596} 2024/11/23-07:43:56.522204 140024810575424 (Original Log Time 2024/11/23-07:43:56.521753) [compaction_job.cc:2022] [default] [JOB 22067] Compacted 1@2 + 5@3 files to L3 => 154183773 bytes 2024/11/23-07:43:56.522206 140024810575424 (Original Log Time 2024/11/23-07:43:56.522126) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 11.0 rd, 10.5 wr, level 3, files in(1, 5) out(5 +0 blob) MB in(7.3, 146.9 +0.0 blob) out(147.0 +0.0 blob), read-write-amplify(41.1) write-amplify(20.1) OK, records in: 3955317, records dropped: 15752 output_compression: Snappy 2024/11/23-07:43:56.522211 140024810575424 (Original Log Time 2024/11/23-07:43:56.522182) EVENT_LOG_v1 {"time_micros": 1732319036522162, "cf": "default", "job": 22067, "event": "compaction_finished", "compaction_time_micros": 14690267, "compaction_time_cpu_micros": 6384374, "output_level": 3, "num_output_files": 5, "total_output_size": 154183773, "num_input_records": 3955317, "num_output_records": 3939565, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 107729325, "file_range_sync_nanos": 0, "file_fsync_nanos": 4173, "file_prepare_write_nanos": 9996, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/23-07:43:56.649240 140024810575424 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":1732319021,"executesMs":14844,"compactionJobId":22067,"attempt":0,"compactionInputRawBytes":570948146,"compactionInputZipBytes":161760430,"compactionOutputRawBytes":0,"compactionOutputZipBytes":154183773,"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-5e5b50ff8ae8a8a931238d47c6448951-e541a5f16535ab77-00"}}, response = 2024/11/23-07:43:56.649315 140024810575424 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-22067/att-00: olev 3, work 14.845 s, result 4.876 ms, install 0.476 ms, input{raw 544.499 MiB zip 154.267 MiB}