2024/11/23-04:47:34.062876 140024978429504 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00: fork to child time = 0.009079 sec 2024/11/23-04:47:34.063695 140024978429504 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00 2024/11/23-04:47:34.068891 140024978429504 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00 2024/11/23-04:47:34.069832 140024978429504 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-04:47:34.070130 140024978429504 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-04:47:34.118826 140024978429504 [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-19580/att-00/MANIFEST-206347 2024/11/23-04:47:34.148483 140024978429504 [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-19580/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 245326, last_sequence is 3794024273, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 245133 2024/11/23-04:47:34.148488 140024978429504 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-04:47:34.148561 140024978429504 [version_set.cc:5721] Creating manifest 245326 2024/11/23-04:47:34.180567 140024978429504 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-04:47:34.200623 140024978429504 [compaction_job.cc:2437] [default] [JOB 19580] Compacting 1@2 + 5@3 files to L3, score 1.00, subcompactions 1 : 1 2024/11/23-04:47:34.200636 140024978429504 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 14636 Base level 2, inputs: [245281(13MB)], [245243(36MB) 245244(35MB) 245245(35MB) 245246(35MB) 245247(31MB)] 2024/11/23-04:47:34.205143 140024978429504 [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-04:47:34.205175 140024978429504 [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-04:47:34.205196 140024978429504 [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-04:47:34.205201 140024978429504 [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-04:47:34.205212 140024978429504 [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-04:47:34.587074 140024978429504 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245327.sst) /dev/shm/ToplingTemp/Topling-412784-iu4cRX 2024/11/23-04:47:35.118293 140024978429504 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245327.sst): first pass time = 0.53's, 252.681'MB/sec 2024/11/23-04:47:36.656595 140024978429504 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245327.sst): old prealloc_size = 147639500, real_size = 33671504 2024/11/23-04:47:36.657136 140024978429504 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245327.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 932787 prefix = 4 raw-key = 0.0149 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.91 raw-val = 0.1081 GB zip-val = 0.0317 GB avg-val = 115.89 avg-zval = 33.93 2024/11/23-04:47:36.657986 140024978429504 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245327.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-04:47:37.721984 140024978429504 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245327.sst): second pass time = 1.54's, 70.310'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 1.07's, 35.577'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3449.758'MB/sec (index lex order gen) rebuild zvType time = 0.94's, 0.249'MB/sec write SST data time = 0.13's, 295.936'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 = 39870.435'MB/sec zip my value time = 1.54's, unzip length = 0.108'GB zip my value throughput = 70.310'MB/sec zip pipeline throughput = 70.310'MB/sec entries = 932787 avg-key = 28.00 avg-zkey = 1.91 avg-val = 115.89 avg-zval = 33.93 usrkeys = 932787 avg-key = 20.00 avg-zkey = 1.91 avg-val = 122.89 avg-zval = 33.93 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 932787 bytes = 3381360 } seq expand size = 6529509 multi value expand size = 0 cnt WriteAppend = 15 UnZipSize{ index = 0.0187 GB value = 0.1081 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0317 GB dict = 1.08 MB all = 0.0379 GB } UnZip/Zip{ index = 10.4441 value = 3.4153 dict = 1.00 all = 3.5411 } Zip/UnZip{ index = 0.0957 value = 0.2928 dict = 1.00 all = 0.2824 } ---------------------------- total value len = 0.114629 GB avg = 0.123 KB (by entry num) total key len = 0.026118 GB avg = 0.028 KB total ukey len = 0.018656 GB avg = 0.020 KB total ukey num = 0.000932787 Billion total entry num = 0.000932787 Billion write speed all = 0.001962603 MB/sec (with seq num) write speed all = 0.001858547 MB/sec (without seq num) 2024/11/23-04:47:37.758108 140024978429504 [compaction_job.cc:1948] [default] [JOB 19580] Generated table #245327: 932787 keys, 37903210 bytes, temperature: kWarm 2024/11/23-04:47:37.758195 140024978429504 EVENT_LOG_v1 {"time_micros": 1732308457758141, "cf_name": "default", "job": 19580, "event": "table_file_creation", "file_number": 245327, "file_size": 37903210, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3485447251, "largest_seqno": 3793637396, "table_properties": {"data_size": 31651904, "index_size": 1786240, "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": 26118036, "raw_average_key_size": 28, "raw_value_size": 108099770, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 932787, "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": 1732308454, "oldest_key_time": 0, "file_creation_time": 1732308454, "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": 245327, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-04:47:37.796942 140024978429504 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245328.sst) /dev/shm/ToplingTemp/Topling-412784-zV6Zq1 2024/11/23-04:47:38.826340 140024978429504 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245328.sst): first pass time = 1.03's, 130.389'MB/sec 2024/11/23-04:47:40.350313 140024978429504 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245328.sst): old prealloc_size = 147639500, real_size = 32831776 2024/11/23-04:47:40.350963 140024978429504 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245328.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 923812 prefix = 4 raw-key = 0.0148 GB zip-key = 0.0018 GB avg-key = 16.00 avg-zkey = 1.90 raw-val = 0.1084 GB zip-val = 0.0308 GB avg-val = 117.29 avg-zval = 33.39 2024/11/23-04:47:40.351996 140024978429504 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245328.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-04:47:41.341081 140024978429504 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245328.sst): second pass time = 1.52's, 71.189'MB/sec, value only(80.7% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.99's, 37.383'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2798.679'MB/sec (index lex order gen) rebuild zvType time = 0.84's, 0.275'MB/sec write SST data time = 0.15's, 248.751'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.082'MB, throughput = 31308.818'MB/sec zip my value time = 1.52's, unzip length = 0.108'GB zip my value throughput = 71.189'MB/sec zip pipeline throughput = 71.189'MB/sec entries = 923812 avg-key = 28.00 avg-zkey = 1.90 avg-val = 117.29 avg-zval = 33.39 usrkeys = 923812 avg-key = 20.00 avg-zkey = 1.90 avg-val = 124.29 avg-zval = 33.39 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 923812 bytes = 3348832 } seq expand size = 6466684 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0185 GB value = 0.1084 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0308 GB dict = 1.08 MB all = 0.0370 GB } UnZip/Zip{ index = 10.5120 value = 3.5130 dict = 1.00 all = 3.6238 } Zip/UnZip{ index = 0.0951 value = 0.2847 dict = 1.00 all = 0.2760 } ---------------------------- total value len = 0.229447 GB avg = 0.124 KB (by entry num) total key len = 0.051985 GB avg = 0.028 KB total ukey len = 0.037132 GB avg = 0.020 KB total ukey num = 0.001856599 Billion total entry num = 0.001856599 Billion write speed all = 0.003924131 MB/sec (with seq num) write speed all = 0.003717031 MB/sec (without seq num) 2024/11/23-04:47:41.374734 140024978429504 [compaction_job.cc:1948] [default] [JOB 19580] Generated table #245328: 923812 keys, 37037630 bytes, temperature: kWarm 2024/11/23-04:47:41.374808 140024978429504 EVENT_LOG_v1 {"time_micros": 1732308461374768, "cf_name": "default", "job": 19580, "event": "table_file_creation", "file_number": 245328, "file_size": 37037630, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3411274482, "largest_seqno": 3793637223, "table_properties": {"data_size": 30843024, "index_size": 1757632, "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": 25866736, "raw_average_key_size": 28, "raw_value_size": 108351032, "raw_average_value_size": 117, "num_data_blocks": 1, "num_entries": 923812, "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": 1732308457, "oldest_key_time": 0, "file_creation_time": 1732308457, "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": 245328, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-04:47:41.408562 140024978429504 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245329.sst) /dev/shm/ToplingTemp/Topling-412784-LlYgV0 2024/11/23-04:47:42.282546 140024978429504 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245329.sst): first pass time = 0.87's, 153.576'MB/sec 2024/11/23-04:47:43.613559 140024978429504 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245329.sst): old prealloc_size = 147639500, real_size = 32844464 2024/11/23-04:47:43.614149 140024978429504 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245329.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 930692 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.0308 GB avg-val = 116.21 avg-zval = 33.13 2024/11/23-04:47:43.615204 140024978429504 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245329.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-04:47:44.571988 140024978429504 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245329.sst): second pass time = 1.33's, 81.336'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.96's, 38.557'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3135.937'MB/sec (index lex order gen) rebuild zvType time = 0.83's, 0.280'MB/sec write SST data time = 0.13's, 290.332'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 = 25140.525'MB/sec zip my value time = 1.33's, unzip length = 0.108'GB zip my value throughput = 81.336'MB/sec zip pipeline throughput = 81.336'MB/sec entries = 930692 avg-key = 28.00 avg-zkey = 1.91 avg-val = 116.21 avg-zval = 33.13 usrkeys = 930692 avg-key = 20.00 avg-zkey = 1.91 avg-val = 123.21 avg-zval = 33.13 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 930692 bytes = 3257440 } seq expand size = 6514844 multi value expand size = 0 cnt WriteAppend = 15 UnZipSize{ index = 0.0186 GB value = 0.1082 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0308 GB dict = 1.08 MB all = 0.0370 GB } UnZip/Zip{ index = 10.4439 value = 3.5083 dict = 1.00 all = 3.6321 } Zip/UnZip{ index = 0.0957 value = 0.2850 dict = 1.00 all = 0.2753 } ---------------------------- total value len = 0.344120 GB avg = 0.123 KB (by entry num) total key len = 0.078044 GB avg = 0.028 KB total ukey len = 0.055746 GB avg = 0.020 KB total ukey num = 0.002787291 Billion total entry num = 0.002787291 Billion write speed all = 0.005886165 MB/sec (with seq num) write speed all = 0.005575263 MB/sec (without seq num) 2024/11/23-04:47:44.606818 140024978429504 [compaction_job.cc:1948] [default] [JOB 19580] Generated table #245329: 930692 keys, 36953228 bytes, temperature: kWarm 2024/11/23-04:47:44.606878 140024978429504 EVENT_LOG_v1 {"time_micros": 1732308464606846, "cf_name": "default", "job": 19580, "event": "table_file_creation", "file_number": 245329, "file_size": 36953228, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3525889795, "largest_seqno": 3793637246, "table_properties": {"data_size": 30829344, "index_size": 1782272, "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": 26059376, "raw_average_key_size": 28, "raw_value_size": 108158420, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 930692, "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": 1732308461, "oldest_key_time": 0, "file_creation_time": 1732308461, "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": 245329, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-04:47:44.648191 140024978429504 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245330.sst) /dev/shm/ToplingTemp/Topling-412784-MAOxJZ 2024/11/23-04:47:45.434099 140024978429504 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245330.sst): first pass time = 0.79's, 170.788'MB/sec 2024/11/23-04:47:46.768628 140024978429504 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245330.sst): old prealloc_size = 147639500, real_size = 32699616 2024/11/23-04:47:46.769203 140024978429504 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245330.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 933631 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.0307 GB avg-val = 115.76 avg-zval = 32.87 2024/11/23-04:47:46.770134 140024978429504 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245330.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-04:47:47.696070 140024978429504 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245330.sst): second pass time = 1.33's, 81.031'MB/sec, value only(80.5% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.93's, 39.825'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3206.429'MB/sec (index lex order gen) rebuild zvType time = 0.80's, 0.293'MB/sec write SST data time = 0.13's, 285.347'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 = 33797.805'MB/sec zip my value time = 1.33's, unzip length = 0.108'GB zip my value throughput = 81.031'MB/sec zip pipeline throughput = 81.031'MB/sec entries = 933631 avg-key = 28.00 avg-zkey = 1.90 avg-val = 115.76 avg-zval = 32.87 usrkeys = 933631 avg-key = 20.00 avg-zkey = 1.90 avg-val = 122.76 avg-zval = 32.87 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 933631 bytes = 3384432 } seq expand size = 6535417 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0187 GB value = 0.1081 GB dict = 1.08 MB all = 0.1342 GB } __ZipSize{ index = 0.0018 GB value = 0.0307 GB dict = 1.08 MB all = 0.0369 GB } UnZip/Zip{ index = 10.5116 value = 3.5216 dict = 1.00 all = 3.6340 } Zip/UnZip{ index = 0.0951 value = 0.2840 dict = 1.00 all = 0.2752 } ---------------------------- total value len = 0.458732 GB avg = 0.123 KB (by entry num) total key len = 0.104186 GB avg = 0.028 KB total ukey len = 0.074418 GB avg = 0.020 KB total ukey num = 0.003720922 Billion total entry num = 0.003720922 Billion write speed all = 0.007848319 MB/sec (with seq num) write speed all = 0.007433296 MB/sec (without seq num) 2024/11/23-04:47:47.730373 140024978429504 [compaction_job.cc:1948] [default] [JOB 19580] Generated table #245330: 933631 keys, 36934276 bytes, temperature: kWarm 2024/11/23-04:47:47.730447 140024978429504 EVENT_LOG_v1 {"time_micros": 1732308467730405, "cf_name": "default", "job": 19580, "event": "table_file_creation", "file_number": 245330, "file_size": 36934276, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3405268578, "largest_seqno": 3793637720, "table_properties": {"data_size": 30689616, "index_size": 1776384, "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": 26141668, "raw_average_key_size": 28, "raw_value_size": 108076082, "raw_average_value_size": 115, "num_data_blocks": 1, "num_entries": 933631, "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": 1732308464, "oldest_key_time": 0, "file_creation_time": 1732308464, "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": 245330, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-04:47:47.766928 140024978429504 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245331.sst) /dev/shm/ToplingTemp/Topling-412784-q2Ym90 2024/11/23-04:47:48.618703 140024978429504 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245331.sst): first pass time = 0.85's, 152.682'MB/sec 2024/11/23-04:47:49.915532 140024978429504 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245331.sst): old prealloc_size = 147639500, real_size = 32229184 2024/11/23-04:47:49.916109 140024978429504 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245331.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 900203 prefix = 4 raw-key = 0.0144 GB zip-key = 0.0017 GB avg-key = 16.00 avg-zkey = 1.92 raw-val = 0.1048 GB zip-val = 0.0303 GB avg-val = 116.46 avg-zval = 33.64 2024/11/23-04:47:49.918656 140024978429504 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245331.sst: sumWaitingMem = 0.002 GB, sumWorkingMem = 0.000 GB, reorder workingMem = 0.0023 GB, waited 0.000 sec, Key+Value = 0.130 GB 2024/11/23-04:47:50.846313 140024978429504 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00/245331.sst): second pass time = 1.30's, 80.895'MB/sec, value only(80.6% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.93's, 39.025'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3108.175'MB/sec (index lex order gen) rebuild zvType time = 0.80's, 0.281'MB/sec write SST data time = 0.13's, 280.211'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.050'MB, throughput = 31861.123'MB/sec zip my value time = 1.30's, unzip length = 0.105'GB zip my value throughput = 80.895'MB/sec zip pipeline throughput = 80.895'MB/sec entries = 900203 avg-key = 28.00 avg-zkey = 1.92 avg-val = 116.46 avg-zval = 33.64 usrkeys = 900203 avg-key = 20.00 avg-zkey = 1.92 avg-val = 123.46 avg-zval = 33.64 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 900203 bytes = 3263248 } seq expand size = 6301421 multi value expand size = 0 cnt WriteAppend = 14 UnZipSize{ index = 0.0180 GB value = 0.1048 GB dict = 1.05 MB all = 0.1300 GB } __ZipSize{ index = 0.0017 GB value = 0.0303 GB dict = 1.05 MB all = 0.0363 GB } UnZip/Zip{ index = 10.4414 value = 3.4623 dict = 1.00 all = 3.5802 } Zip/UnZip{ index = 0.0958 value = 0.2888 dict = 1.00 all = 0.2793 } ---------------------------- total value len = 0.569872 GB avg = 0.123 KB (by entry num) total key len = 0.129391 GB avg = 0.028 KB total ukey len = 0.092423 GB avg = 0.020 KB total ukey num = 0.004621125 Billion total entry num = 0.004621125 Billion write speed all = 0.009748852 MB/sec (with seq num) write speed all = 0.009233445 MB/sec (without seq num) 2024/11/23-04:47:50.877508 140024978429504 [compaction_job.cc:1948] [default] [JOB 19580] Generated table #245331: 900203 keys, 36322928 bytes, temperature: kWarm 2024/11/23-04:47:50.877571 140024978429504 EVENT_LOG_v1 {"time_micros": 1732308470877539, "cf_name": "default", "job": 19580, "event": "table_file_creation", "file_number": 245331, "file_size": 36322928, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 3420809537, "largest_seqno": 3793637296, "table_properties": {"data_size": 30279664, "index_size": 1724288, "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": 25205684, "raw_average_key_size": 28, "raw_value_size": 104838566, "raw_average_value_size": 116, "num_data_blocks": 1, "num_entries": 900203, "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": 1732308467, "oldest_key_time": 0, "file_creation_time": 1732308467, "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": 245331, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-04:47:50.903967 140024978429504 [compaction_job.cc:703] job-19580: subcompact[0], size: 0.185151 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-19580/att-00 [245327,245328,245329,245330,245331] 2024/11/23-04:47:50.940915 140024978429504 (Original Log Time 2024/11/23-04:47:34.200686) EVENT_LOG_v1 {"time_micros": 1732308454200647, "job": 19580, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [245281], "files_L3": [245243, 245244, 245245, 245246, 245247], "score": 0.999009, "input_data_size": 196589296, "oldest_snapshot_seqno": 3794024248} 2024/11/23-04:47:50.940918 140024978429504 (Original Log Time 2024/11/23-04:47:50.940496) [compaction_job.cc:2022] [default] [JOB 19580] Compacted 1@2 + 5@3 files to L3 => 185151272 bytes 2024/11/23-04:47:50.940919 140024978429504 (Original Log Time 2024/11/23-04:47:50.940857) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 11.8 rd, 11.1 wr, level 3, files in(1, 5) out(5 +0 blob) MB in(13.9, 173.6 +0.0 blob) out(176.6 +0.0 blob), read-write-amplify(26.2) write-amplify(12.7) OK, records in: 4659883, records dropped: 38758 output_compression: Snappy 2024/11/23-04:47:50.940925 140024978429504 (Original Log Time 2024/11/23-04:47:50.940899) EVENT_LOG_v1 {"time_micros": 1732308470940879, "cf": "default", "job": 19580, "event": "compaction_finished", "compaction_time_micros": 16703288, "compaction_time_cpu_micros": 7687562, "output_level": 3, "num_output_files": 5, "total_output_size": 185151272, "num_input_records": 4659883, "num_output_records": 4621125, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 115686377, "file_range_sync_nanos": 0, "file_fsync_nanos": 4187, "file_prepare_write_nanos": 12504, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/23-04:47:51.082456 140024978429504 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":1732308454,"executesMs":16871,"compactionJobId":19580,"attempt":0,"compactionInputRawBytes":672419006,"compactionInputZipBytes":196589296,"compactionOutputRawBytes":0,"compactionOutputZipBytes":185151272,"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-217946d24f3989363b9a8bbc8ee20bae-a0d4ee664d74b6d2-00"}}, response = 2024/11/23-04:47:51.082522 140024978429504 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-19580/att-00: olev 3, work 16.871 s, result 6.292 ms, install 0.446 ms, input{raw 641.269 MiB zip 187.482 MiB}