2024/11/24-07:57:29.716988 139957164807744 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00: fork to child time = 0.008073 sec 2024/11/24-07:57:29.717739 139957164807744 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00 2024/11/24-07:57:29.723193 139957164807744 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00 2024/11/24-07:57:29.724076 139957164807744 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/24-07:57:29.724311 139957164807744 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/24-07:57:29.775386 139957164807744 [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-43688/att-00/MANIFEST-206347 2024/11/24-07:57:29.791592 139957164807744 [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-43688/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 296930, last_sequence is 4505451670, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 296826 2024/11/24-07:57:29.791598 139957164807744 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/24-07:57:29.791673 139957164807744 [version_set.cc:5721] Creating manifest 296930 2024/11/24-07:57:29.826505 139957164807744 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/24-07:57:29.846093 139957164807744 [compaction_job.cc:2437] [default] [JOB 43688] Compacting 1@2 + 4@3 files to L3, score 0.80, subcompactions 1 : 1 2024/11/24-07:57:29.846106 139957164807744 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 32748 Base level 2, inputs: [296924(31MB)], [296834(41MB) 296835(40MB) 296836(40MB) 296837(40MB)] 2024/11/24-07:57:29.853357 139957164807744 [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-07:57:29.853387 139957164807744 [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-07:57:29.853406 139957164807744 [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-07:57:29.853412 139957164807744 [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-07:57:29.853422 139957164807744 [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-07:57:30.496308 139957164807744 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296931.sst) /dev/shm/ToplingTemp/Topling-301626-MNARNK 2024/11/24-07:57:30.679087 139957164807744 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296931.sst): first pass time = 0.18's, 734.505'MB/sec 2024/11/24-07:57:32.124461 139957164807744 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296931.sst): old prealloc_size = 147639500, real_size = 41546352 2024/11/24-07:57:32.124508 139957164807744 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296931.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 129429 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0011 GB avg-key = 8.00 avg-zkey = 8.88 raw-val = 0.1316 GB zip-val = 0.0404 GB avg-val =1017.01 avg-zval = 311.87 2024/11/24-07:57:32.301843 139957164807744 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296931.sst): second pass time = 1.44's, 91.163'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.18's, 244.385'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 43732.156'MB/sec (index lex order gen) rebuild zvType time = 0.13's, 0.244'MB/sec write SST data time = 0.04's, 972.044'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 46804.577'MB/sec zip my value time = 1.44's, unzip length = 0.132'GB zip my value throughput = 91.163'MB/sec zip pipeline throughput = 164.146'MB/sec entries = 129429 avg-key = 20.00 avg-zkey = 8.88 avg-val = 1017.01 avg-zval = 311.87 usrkeys = 129429 avg-key = 12.00 avg-zkey = 8.88 avg-val = 1024.01 avg-zval = 311.87 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129429 bytes = 453024 } seq expand size = 906003 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0011 GB value = 0.0404 GB dict = 1.38 MB all = 0.0433 GB } UnZip/Zip{ index = 1.3520 value = 3.2610 dict = 1.00 all = 3.0964 } Zip/UnZip{ index = 0.7397 value = 0.3067 dict = 1.00 all = 0.3230 } ---------------------------- total value len = 2251.458109 GB avg = 0.200 KB (by entry num) total key len = 306.885551 GB avg = 0.027 KB total ukey len = 237.356280 GB avg = 0.015 KB total ukey num = 15.738790592 Billion total entry num = 11.280104540 Billion write speed all = 30.845683272 MB/sec (with seq num) write speed all = 29.757658900 MB/sec (without seq num) 2024/11/24-07:57:32.360391 139957164807744 [compaction_job.cc:1948] [default] [JOB 43688] Generated table #296931: 129429 keys, 43347095 bytes, temperature: kWarm 2024/11/24-07:57:32.360514 139957164807744 EVENT_LOG_v1 {"time_micros": 1732406252360438, "cf_name": "default", "job": 43688, "event": "table_file_creation", "file_number": 296931, "file_size": 43347095, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4268702065, "largest_seqno": 4505431217, "table_properties": {"data_size": 40365024, "index_size": 1148800, "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": 2588580, "raw_average_key_size": 20, "raw_value_size": 131630042, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129429, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-FixedLenKeyIndex-DictZipBlobStore", "creation_time": 1732406250, "oldest_key_time": 0, "file_creation_time": 1732406250, "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": 296931, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-07:57:32.444744 139957164807744 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296932.sst) /dev/shm/ToplingTemp/Topling-301626-3Oh3cM 2024/11/24-07:57:33.286428 139957164807744 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296932.sst): first pass time = 0.84's, 159.475'MB/sec 2024/11/24-07:57:34.555540 139957164807744 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296932.sst): old prealloc_size = 147639500, real_size = 40900976 2024/11/24-07:57:34.555668 139957164807744 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296932.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129433 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.91 raw-val = 0.1316 GB zip-val = 0.0406 GB avg-val =1016.97 avg-zval = 313.84 2024/11/24-07:57:34.555838 139957164807744 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296932.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.006 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/24-07:57:34.723713 139957164807744 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296932.sst): second pass time = 1.27's, 103.771'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 253.955'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2354.066'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.273'MB/sec write SST data time = 0.05's, 861.779'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 35951.318'MB/sec zip my value time = 1.27's, unzip length = 0.132'GB zip my value throughput = 103.771'MB/sec zip pipeline throughput = 118.111'MB/sec entries = 129433 avg-key = 20.00 avg-zkey = 1.91 avg-val = 1016.97 avg-zval = 313.84 usrkeys = 129433 avg-key = 12.00 avg-zkey = 1.91 avg-val = 1023.97 avg-zval = 313.84 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129433 bytes = 453024 } seq expand size = 906031 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0406 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 6.2856 value = 3.2404 dict = 1.00 all = 3.1432 } Zip/UnZip{ index = 0.1591 value = 0.3086 dict = 1.00 all = 0.3181 } ---------------------------- total value len = 2251.590645 GB avg = 0.200 KB (by entry num) total key len = 306.888140 GB avg = 0.027 KB total ukey len = 237.357834 GB avg = 0.015 KB total ukey num = 15.738920025 Billion total entry num = 11.280233973 Billion write speed all = 30.846411728 MB/sec (with seq num) write speed all = 29.758406641 MB/sec (without seq num) 2024/11/24-07:57:34.776648 139957164807744 [compaction_job.cc:1948] [default] [JOB 43688] Generated table #296932: 129433 keys, 42701405 bytes, temperature: kWarm 2024/11/24-07:57:34.776714 139957164807744 EVENT_LOG_v1 {"time_micros": 1732406254776682, "cf_name": "default", "job": 43688, "event": "table_file_creation", "file_number": 296932, "file_size": 42701405, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4268702260, "largest_seqno": 4505433693, "table_properties": {"data_size": 40621344, "index_size": 247104, "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": 2588660, "raw_average_key_size": 20, "raw_value_size": 131629230, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129433, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732406252, "oldest_key_time": 0, "file_creation_time": 1732406252, "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": 296932, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-07:57:34.823884 139957164807744 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296933.sst) /dev/shm/ToplingTemp/Topling-301626-WVLwNJ 2024/11/24-07:57:35.682744 139957164807744 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296933.sst): first pass time = 0.86's, 156.283'MB/sec 2024/11/24-07:57:36.635416 139957164807744 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296933.sst): old prealloc_size = 147639500, real_size = 40926464 2024/11/24-07:57:36.635538 139957164807744 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296933.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129433 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0002 GB avg-key = 8.00 avg-zkey = 1.88 raw-val = 0.1316 GB zip-val = 0.0407 GB avg-val =1016.97 avg-zval = 314.06 2024/11/24-07:57:36.635684 139957164807744 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296933.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.006 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/24-07:57:36.806113 139957164807744 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296933.sst): second pass time = 0.95's, 138.290'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.17's, 250.363'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2420.907'MB/sec (index lex order gen) rebuild zvType time = 0.12's, 0.272'MB/sec write SST data time = 0.05's, 830.360'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.377'MB, throughput = 47794.337'MB/sec zip my value time = 0.95's, unzip length = 0.132'GB zip my value throughput = 138.290'MB/sec zip pipeline throughput = 138.290'MB/sec entries = 129433 avg-key = 20.00 avg-zkey = 1.88 avg-val = 1016.97 avg-zval = 314.06 usrkeys = 129433 avg-key = 12.00 avg-zkey = 1.88 avg-val = 1023.97 avg-zval = 314.06 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129433 bytes = 453024 } seq expand size = 906031 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0002 GB value = 0.0407 GB dict = 1.38 MB all = 0.0427 GB } UnZip/Zip{ index = 6.3681 value = 3.2381 dict = 1.00 all = 3.1414 } Zip/UnZip{ index = 0.1570 value = 0.3088 dict = 1.00 all = 0.3183 } ---------------------------- total value len = 2251.723181 GB avg = 0.200 KB (by entry num) total key len = 306.890728 GB avg = 0.027 KB total ukey len = 237.359387 GB avg = 0.015 KB total ukey num = 15.739049458 Billion total entry num = 11.280363406 Billion write speed all = 30.847266401 MB/sec (with seq num) write speed all = 29.759276146 MB/sec (without seq num) 2024/11/24-07:57:36.864055 139957164807744 [compaction_job.cc:1948] [default] [JOB 43688] Generated table #296933: 129433 keys, 42726248 bytes, temperature: kWarm 2024/11/24-07:57:36.864153 139957164807744 EVENT_LOG_v1 {"time_micros": 1732406256864098, "cf_name": "default", "job": 43688, "event": "table_file_creation", "file_number": 296933, "file_size": 42726248, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4271713072, "largest_seqno": 4505433778, "table_properties": {"data_size": 40650032, "index_size": 243904, "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": 2588660, "raw_average_key_size": 20, "raw_value_size": 131629991, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 129433, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732406254, "oldest_key_time": 0, "file_creation_time": 1732406254, "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": 296933, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-07:57:36.919599 139957164807744 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296934.sst) /dev/shm/ToplingTemp/Topling-301626-uMMnpK 2024/11/24-07:57:37.806524 139957164807744 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296934.sst): first pass time = 0.89's, 151.339'MB/sec 2024/11/24-07:57:39.041066 139957164807744 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296934.sst): old prealloc_size = 147639500, real_size = 40684544 2024/11/24-07:57:39.041202 139957164807744 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296934.sst): index type = NestLoudsTrieDAWG_Mixed_XL_256_32_FL, store type = DictZipBlobStore usrkeys = 129429 prefix = 4 raw-key = 0.0010 GB zip-key = 0.0003 GB avg-key = 8.00 avg-zkey = 2.02 raw-val = 0.1316 GB zip-val = 0.0404 GB avg-val =1017.00 avg-zval = 312.07 2024/11/24-07:57:39.041353 139957164807744 [top_zip_table_builder.cc:1299] /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296934.sst: sumWaitingMem = 0.000 GB, sumWorkingMem = 0.006 GB, reorder workingMem = 0.0003 GB, waited 0.000 sec, Key+Value = 0.134 GB 2024/11/24-07:57:39.219727 139957164807744 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296934.sst): second pass time = 1.23's, 106.780'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.18's, 237.829'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 2399.207'MB/sec (index lex order gen) rebuild zvType time = 0.13's, 0.254'MB/sec write SST data time = 0.05's, 831.081'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.378'MB, throughput = 39072.289'MB/sec zip my value time = 1.23's, unzip length = 0.132'GB zip my value throughput = 106.780'MB/sec zip pipeline throughput = 124.787'MB/sec entries = 129429 avg-key = 20.00 avg-zkey = 2.02 avg-val = 1017.00 avg-zval = 312.07 usrkeys = 129429 avg-key = 12.00 avg-zkey = 2.02 avg-val = 1024.00 avg-zval = 312.07 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 129429 bytes = 453024 } seq expand size = 906003 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0016 GB value = 0.1316 GB dict = 1.38 MB all = 0.1342 GB } __ZipSize{ index = 0.0003 GB value = 0.0404 GB dict = 1.38 MB all = 0.0425 GB } UnZip/Zip{ index = 5.9393 value = 3.2589 dict = 1.00 all = 3.1592 } Zip/UnZip{ index = 0.1684 value = 0.3068 dict = 1.00 all = 0.3165 } ---------------------------- total value len = 2251.855716 GB avg = 0.200 KB (by entry num) total key len = 306.893317 GB avg = 0.027 KB total ukey len = 237.360940 GB avg = 0.015 KB total ukey num = 15.739178887 Billion total entry num = 11.280492835 Billion write speed all = 30.847997840 MB/sec (with seq num) write speed all = 29.760026760 MB/sec (without seq num) 2024/11/24-07:57:39.272839 139957164807744 [compaction_job.cc:1948] [default] [JOB 43688] Generated table #296934: 129429 keys, 42485346 bytes, temperature: kWarm 2024/11/24-07:57:39.272904 139957164807744 EVENT_LOG_v1 {"time_micros": 1732406259272870, "cf_name": "default", "job": 43688, "event": "table_file_creation", "file_number": 296934, "file_size": 42485346, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4271715735, "largest_seqno": 4505433700, "table_properties": {"data_size": 40390512, "index_size": 261504, "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": 2588580, "raw_average_key_size": 20, "raw_value_size": 131629845, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 129429, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-NestLoudsTrieDAWG_Mixed_XL_256_32_FL-DictZipBlobStore", "creation_time": 1732406256, "oldest_key_time": 0, "file_creation_time": 1732406256, "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": 296934, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-07:57:39.311138 139957164807744 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296935.sst) /dev/shm/ToplingTemp/Topling-301626-dDKQpM 2024/11/24-07:57:39.318317 139957164807744 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296935.sst): first pass time = 0.01's, 322.470'MB/sec 2024/11/24-07:57:39.346645 139957164807744 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296935.sst): old prealloc_size = 147639500, real_size = 750048 2024/11/24-07:57:39.346679 139957164807744 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296935.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 2222 prefix = 4 raw-key = 0.0000 GB zip-key = 0.0000 GB avg-key = 8.00 avg-zkey = 12.73 raw-val = 0.0023 GB zip-val = 0.0007 GB avg-val =1017.13 avg-zval = 324.50 2024/11/24-07:57:39.349472 139957164807744 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00/296935.sst): second pass time = 0.03's, 81.291'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.00's, 280.356'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 1615.442'MB/sec (index lex order gen) rebuild zvType time = 0.00's, 0.299'MB/sec write SST data time = 0.00's, 843.558'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.028'MB, throughput = 971.547'MB/sec zip my value time = 0.03's, unzip length = 0.002'GB zip my value throughput = 81.291'MB/sec zip pipeline throughput = 81.291'MB/sec entries = 2222 avg-key = 20.00 avg-zkey = 12.73 avg-val = 1017.13 avg-zval = 324.50 usrkeys = 2222 avg-key = 12.00 avg-zkey = 12.73 avg-val = 1024.13 avg-zval = 324.50 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 2222 bytes = 7792 } seq expand size = 15554 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0000 GB value = 0.0023 GB dict = 0.03 MB all = 0.0023 GB } __ZipSize{ index = 0.0000 GB value = 0.0007 GB dict = 0.03 MB all = 0.0008 GB } UnZip/Zip{ index = 0.9426 value = 3.1344 dict = 1.00 all = 2.9285 } Zip/UnZip{ index = 1.0609 value = 0.3190 dict = 1.00 all = 0.3415 } ---------------------------- total value len = 2251.857992 GB avg = 0.200 KB (by entry num) total key len = 306.893361 GB avg = 0.027 KB total ukey len = 237.360967 GB avg = 0.015 KB total ukey num = 15.739181109 Billion total entry num = 11.280495057 Billion write speed all = 30.847977554 MB/sec (with seq num) write speed all = 29.760007961 MB/sec (without seq num) 2024/11/24-07:57:39.366149 139957164807744 [compaction_job.cc:1948] [default] [JOB 43688] Generated table #296935: 2222 keys, 786913 bytes, temperature: kWarm 2024/11/24-07:57:39.366212 139957164807744 EVENT_LOG_v1 {"time_micros": 1732406259366180, "cf_name": "default", "job": 43688, "event": "table_file_creation", "file_number": 296935, "file_size": 786913, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4273255043, "largest_seqno": 4503627858, "table_properties": {"data_size": 721040, "index_size": 28288, "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": 44440, "raw_average_key_size": 20, "raw_value_size": 2260058, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 2222, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-FixedLenKeyIndex-DictZipBlobStore", "creation_time": 1732406259, "oldest_key_time": 0, "file_creation_time": 1732406259, "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": 296935, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/24-07:57:39.376598 139957164807744 [compaction_job.cc:703] job-43688: subcompact[0], size: 0.172047 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-43688/att-00 [296931,296932,296933,296934,296935] 2024/11/24-07:57:39.417248 139957164807744 (Original Log Time 2024/11/24-07:57:29.846165) EVENT_LOG_v1 {"time_micros": 1732406249846121, "job": 43688, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [296924], "files_L3": [296834, 296835, 296836, 296837], "score": 0.799507, "input_data_size": 203961407, "oldest_snapshot_seqno": 4505451222} 2024/11/24-07:57:39.417252 139957164807744 (Original Log Time 2024/11/24-07:57:39.413057) [compaction_job.cc:2022] [default] [JOB 43688] Compacted 1@2 + 4@3 files to L3 => 172047007 bytes 2024/11/24-07:57:39.417254 139957164807744 (Original Log Time 2024/11/24-07:57:39.417182) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 5 0 0 0] max score 0.01, MB/sec: 21.4 rd, 18.1 wr, level 3, files in(1, 4) out(5 +0 blob) MB in(31.2, 163.3 +0.0 blob) out(164.1 +0.0 blob), read-write-amplify(11.5) write-amplify(5.3) OK, records in: 549649, records dropped: 29703 output_compression: Snappy 2024/11/24-07:57:39.417260 139957164807744 (Original Log Time 2024/11/24-07:57:39.417228) EVENT_LOG_v1 {"time_micros": 1732406259417205, "cf": "default", "job": 43688, "event": "compaction_finished", "compaction_time_micros": 9530442, "compaction_time_cpu_micros": 1912110, "output_level": 3, "num_output_files": 5, "total_output_size": 172047007, "num_input_records": 549649, "num_output_records": 519946, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 125295268, "file_range_sync_nanos": 0, "file_fsync_nanos": 4360, "file_prepare_write_nanos": 10433, "lsm_state": [0, 0, 0, 5, 0, 0, 0]} 2024/11/24-07:57:39.541642 139957164807744 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":1732406249,"executesMs":9688,"compactionJobId":43688,"attempt":0,"compactionInputRawBytes":569979244,"compactionInputZipBytes":203961407,"compactionOutputRawBytes":0,"compactionOutputZipBytes":172047007,"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-a3e867e5e5ec75422fd43258f127b629-08886e8b248df7a9-00"}}, response = 2024/11/24-07:57:39.541757 139957164807744 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-43688/att-00: olev 3, work 9.688 s, result 7.663 ms, install 4.219 ms, input{raw 543.575 MiB zip 194.513 MiB}