diff --git a/data/000045.log b/data/000045.log new file mode 100644 index 0000000..983c5e9 Binary files /dev/null and b/data/000045.log differ diff --git a/data/CURRENT b/data/CURRENT new file mode 100644 index 0000000..e146ef6 --- /dev/null +++ b/data/CURRENT @@ -0,0 +1 @@ +MANIFEST-000044 diff --git a/data/IDENTITY b/data/IDENTITY new file mode 100644 index 0000000..2b74d67 --- /dev/null +++ b/data/IDENTITY @@ -0,0 +1 @@ +6e14d737-e269-11f0-9221-b047e949a510 \ No newline at end of file diff --git a/data/LOCK b/data/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/data/LOG b/data/LOG new file mode 100644 index 0000000..cb937d8 --- /dev/null +++ b/data/LOG @@ -0,0 +1,930 @@ +2025/12/27-01:28:58.232419 76738 RocksDB version: 6.20.3 +2025/12/27-01:28:58.232496 76738 Git sha 8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c +2025/12/27-01:28:58.232511 76738 Compile date 2021-05-07 18:16:49 +2025/12/27-01:28:58.232541 76738 DB SUMMARY +2025/12/27-01:28:58.232550 76738 DB Session ID: S6EZB2JG7OLISCUBXKEV +2025/12/27-01:28:58.233048 76738 CURRENT file: CURRENT +2025/12/27-01:28:58.233060 76738 IDENTITY file: IDENTITY +2025/12/27-01:28:58.233101 76738 MANIFEST file: MANIFEST-000039 size: 59 Bytes +2025/12/27-01:28:58.233111 76738 SST files in ./data dir, Total Num: 0, files: +2025/12/27-01:28:58.233118 76738 Write Ahead Log file in ./data: 000040.log size: 0 ; +2025/12/27-01:28:58.233125 76738 Options.error_if_exists: 0 +2025/12/27-01:28:58.233349 76738 Options.create_if_missing: 1 +2025/12/27-01:28:58.233354 76738 Options.paranoid_checks: 1 +2025/12/27-01:28:58.233356 76738 Options.track_and_verify_wals_in_manifest: 0 +2025/12/27-01:28:58.233359 76738 Options.env: 00000260C856E710 +2025/12/27-01:28:58.233361 76738 Options.fs: WinFS +2025/12/27-01:28:58.233364 76738 Options.info_log: 00000260C8C4CD40 +2025/12/27-01:28:58.233367 76738 Options.max_file_opening_threads: 16 +2025/12/27-01:28:58.233369 76738 Options.statistics: 0000000000000000 +2025/12/27-01:28:58.233372 76738 Options.use_fsync: 0 +2025/12/27-01:28:58.233374 76738 Options.max_log_file_size: 0 +2025/12/27-01:28:58.233377 76738 Options.max_manifest_file_size: 1073741824 +2025/12/27-01:28:58.233379 76738 Options.log_file_time_to_roll: 0 +2025/12/27-01:28:58.233382 76738 Options.keep_log_file_num: 1000 +2025/12/27-01:28:58.233384 76738 Options.recycle_log_file_num: 0 +2025/12/27-01:28:58.233387 76738 Options.allow_fallocate: 1 +2025/12/27-01:28:58.233390 76738 Options.allow_mmap_reads: 0 +2025/12/27-01:28:58.233392 76738 Options.allow_mmap_writes: 0 +2025/12/27-01:28:58.233394 76738 Options.use_direct_reads: 0 +2025/12/27-01:28:58.233397 76738 Options.use_direct_io_for_flush_and_compaction: 0 +2025/12/27-01:28:58.233399 76738 Options.create_missing_column_families: 0 +2025/12/27-01:28:58.233402 76738 Options.db_log_dir: +2025/12/27-01:28:58.233404 76738 Options.wal_dir: ./data +2025/12/27-01:28:58.233406 76738 Options.table_cache_numshardbits: 6 +2025/12/27-01:28:58.233409 76738 Options.WAL_ttl_seconds: 0 +2025/12/27-01:28:58.233411 76738 Options.WAL_size_limit_MB: 0 +2025/12/27-01:28:58.233413 76738 Options.max_write_batch_group_size_bytes: 1048576 +2025/12/27-01:28:58.233416 76738 Options.manifest_preallocation_size: 4194304 +2025/12/27-01:28:58.233418 76738 Options.is_fd_close_on_exec: 1 +2025/12/27-01:28:58.233421 76738 Options.advise_random_on_open: 1 +2025/12/27-01:28:58.233423 76738 Options.db_write_buffer_size: 0 +2025/12/27-01:28:58.233426 76738 Options.write_buffer_manager: 0000026082549610 +2025/12/27-01:28:58.233428 76738 Options.access_hint_on_compaction_start: 1 +2025/12/27-01:28:58.233430 76738 Options.new_table_reader_for_compaction_inputs: 0 +2025/12/27-01:28:58.233433 76738 Options.random_access_max_buffer_size: 1048576 +2025/12/27-01:28:58.233435 76738 Options.use_adaptive_mutex: 0 +2025/12/27-01:28:58.233438 76738 Options.rate_limiter: 0000000000000000 +2025/12/27-01:28:58.233440 76738 Options.sst_file_manager.rate_bytes_per_sec: 0 +2025/12/27-01:28:58.233443 76738 Options.wal_recovery_mode: 2 +2025/12/27-01:28:58.233463 76738 Options.enable_thread_tracking: 0 +2025/12/27-01:28:58.233467 76738 Options.enable_pipelined_write: 0 +2025/12/27-01:28:58.233469 76738 Options.unordered_write: 0 +2025/12/27-01:28:58.233472 76738 Options.allow_concurrent_memtable_write: 1 +2025/12/27-01:28:58.233474 76738 Options.enable_write_thread_adaptive_yield: 1 +2025/12/27-01:28:58.233476 76738 Options.write_thread_max_yield_usec: 100 +2025/12/27-01:28:58.233479 76738 Options.write_thread_slow_yield_usec: 3 +2025/12/27-01:28:58.233481 76738 Options.row_cache: None +2025/12/27-01:28:58.233484 76738 Options.wal_filter: None +2025/12/27-01:28:58.233486 76738 Options.avoid_flush_during_recovery: 0 +2025/12/27-01:28:58.233489 76738 Options.allow_ingest_behind: 0 +2025/12/27-01:28:58.233491 76738 Options.preserve_deletes: 0 +2025/12/27-01:28:58.233493 76738 Options.two_write_queues: 0 +2025/12/27-01:28:58.233496 76738 Options.manual_wal_flush: 0 +2025/12/27-01:28:58.233498 76738 Options.atomic_flush: 0 +2025/12/27-01:28:58.233500 76738 Options.avoid_unnecessary_blocking_io: 0 +2025/12/27-01:28:58.233503 76738 Options.persist_stats_to_disk: 0 +2025/12/27-01:28:58.233505 76738 Options.write_dbid_to_manifest: 0 +2025/12/27-01:28:58.233508 76738 Options.log_readahead_size: 0 +2025/12/27-01:28:58.233510 76738 Options.file_checksum_gen_factory: Unknown +2025/12/27-01:28:58.233512 76738 Options.best_efforts_recovery: 0 +2025/12/27-01:28:58.233515 76738 Options.max_bgerror_resume_count: 2147483647 +2025/12/27-01:28:58.233517 76738 Options.bgerror_resume_retry_interval: 1000000 +2025/12/27-01:28:58.233520 76738 Options.allow_data_in_errors: 0 +2025/12/27-01:28:58.233522 76738 Options.db_host_id: __hostname__ +2025/12/27-01:28:58.233525 76738 Options.max_background_jobs: 2 +2025/12/27-01:28:58.233527 76738 Options.max_background_compactions: -1 +2025/12/27-01:28:58.233530 76738 Options.max_subcompactions: 1 +2025/12/27-01:28:58.233532 76738 Options.avoid_flush_during_shutdown: 0 +2025/12/27-01:28:58.233534 76738 Options.writable_file_max_buffer_size: 1048576 +2025/12/27-01:28:58.233537 76738 Options.delayed_write_rate : 16777216 +2025/12/27-01:28:58.233539 76738 Options.max_total_wal_size: 0 +2025/12/27-01:28:58.233541 76738 Options.delete_obsolete_files_period_micros: 21600000000 +2025/12/27-01:28:58.233544 76738 Options.stats_dump_period_sec: 600 +2025/12/27-01:28:58.233546 76738 Options.stats_persist_period_sec: 600 +2025/12/27-01:28:58.233549 76738 Options.stats_history_buffer_size: 1048576 +2025/12/27-01:28:58.233551 76738 Options.max_open_files: -1 +2025/12/27-01:28:58.233554 76738 Options.bytes_per_sync: 0 +2025/12/27-01:28:58.233556 76738 Options.wal_bytes_per_sync: 0 +2025/12/27-01:28:58.233558 76738 Options.strict_bytes_per_sync: 0 +2025/12/27-01:28:58.233561 76738 Options.compaction_readahead_size: 0 +2025/12/27-01:28:58.233563 76738 Options.max_background_flushes: -1 +2025/12/27-01:28:58.233569 76738 Compression algorithms supported: +2025/12/27-01:28:58.233572 76738 kZSTD supported: 1 +2025/12/27-01:28:58.233575 76738 kSnappyCompression supported: 1 +2025/12/27-01:28:58.233577 76738 kBZip2Compression supported: 0 +2025/12/27-01:28:58.233580 76738 kZlibCompression supported: 1 +2025/12/27-01:28:58.233582 76738 kLZ4Compression supported: 1 +2025/12/27-01:28:58.233584 76738 kXpressCompression supported: 0 +2025/12/27-01:28:58.233587 76738 kLZ4HCCompression supported: 1 +2025/12/27-01:28:58.233589 76738 kZSTDNotFinalCompression supported: 1 +2025/12/27-01:28:58.233611 76738 Fast CRC32 supported: Supported on x86 +2025/12/27-01:28:58.234725 76738 [db\version_set.cc:4627] Recovering from manifest file: ./data/MANIFEST-000039 +2025/12/27-01:28:58.234868 76738 [db\column_family.cc:598] --------------- Options for column family [default]: +2025/12/27-01:28:58.234877 76738 Options.comparator: leveldb.BytewiseComparator +2025/12/27-01:28:58.234880 76738 Options.merge_operator: None +2025/12/27-01:28:58.234882 76738 Options.compaction_filter: None +2025/12/27-01:28:58.234885 76738 Options.compaction_filter_factory: None +2025/12/27-01:28:58.234887 76738 Options.sst_partitioner_factory: None +2025/12/27-01:28:58.234889 76738 Options.memtable_factory: SkipListFactory +2025/12/27-01:28:58.234892 76738 Options.table_factory: BlockBasedTable +2025/12/27-01:28:58.234916 76738 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (00000260C87F8CF0) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + hash_index_allow_collision: 1 + checksum: 1 + no_block_cache: 0 + block_cache: 00000260C8CBDA50 + block_cache_name: LRUCache + block_cache_options: + capacity : 8388608 + num_shard_bits : 4 + strict_capacity_limit : 0 + memory_allocator : None + high_pri_pool_ratio: 0.000 + block_cache_compressed: 0000000000000000 + persistent_cache: 0000000000000000 + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 5 + enable_index_compression: 1 + block_align: 0 +2025/12/27-01:28:58.234919 76738 Options.write_buffer_size: 67108864 +2025/12/27-01:28:58.234922 76738 Options.max_write_buffer_number: 2 +2025/12/27-01:28:58.234924 76738 Options.compression: Snappy +2025/12/27-01:28:58.234927 76738 Options.bottommost_compression: Disabled +2025/12/27-01:28:58.234929 76738 Options.prefix_extractor: nullptr +2025/12/27-01:28:58.234932 76738 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2025/12/27-01:28:58.234934 76738 Options.num_levels: 7 +2025/12/27-01:28:58.234936 76738 Options.min_write_buffer_number_to_merge: 1 +2025/12/27-01:28:58.234939 76738 Options.max_write_buffer_number_to_maintain: 0 +2025/12/27-01:28:58.234941 76738 Options.max_write_buffer_size_to_maintain: 0 +2025/12/27-01:28:58.234944 76738 Options.bottommost_compression_opts.window_bits: -14 +2025/12/27-01:28:58.234946 76738 Options.bottommost_compression_opts.level: 32767 +2025/12/27-01:28:58.234949 76738 Options.bottommost_compression_opts.strategy: 0 +2025/12/27-01:28:58.234951 76738 Options.bottommost_compression_opts.max_dict_bytes: 0 +2025/12/27-01:28:58.234953 76738 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2025/12/27-01:28:58.234958 76738 Options.bottommost_compression_opts.parallel_threads: 1 +2025/12/27-01:28:58.234961 76738 Options.bottommost_compression_opts.enabled: false +2025/12/27-01:28:58.234963 76738 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2025/12/27-01:28:58.234966 76738 Options.compression_opts.window_bits: -14 +2025/12/27-01:28:58.234968 76738 Options.compression_opts.level: 32767 +2025/12/27-01:28:58.234970 76738 Options.compression_opts.strategy: 0 +2025/12/27-01:28:58.234973 76738 Options.compression_opts.max_dict_bytes: 0 +2025/12/27-01:28:58.234976 76738 Options.compression_opts.zstd_max_train_bytes: 0 +2025/12/27-01:28:58.234978 76738 Options.compression_opts.parallel_threads: 1 +2025/12/27-01:28:58.234982 76738 Options.compression_opts.enabled: false +2025/12/27-01:28:58.234988 76738 Options.compression_opts.max_dict_buffer_bytes: 0 +2025/12/27-01:28:58.234993 76738 Options.level0_file_num_compaction_trigger: 4 +2025/12/27-01:28:58.234996 76738 Options.level0_slowdown_writes_trigger: 20 +2025/12/27-01:28:58.234999 76738 Options.level0_stop_writes_trigger: 36 +2025/12/27-01:28:58.235003 76738 Options.target_file_size_base: 67108864 +2025/12/27-01:28:58.235007 76738 Options.target_file_size_multiplier: 1 +2025/12/27-01:28:58.235010 76738 Options.max_bytes_for_level_base: 268435456 +2025/12/27-01:28:58.235014 76738 Options.level_compaction_dynamic_level_bytes: 0 +2025/12/27-01:28:58.235017 76738 Options.max_bytes_for_level_multiplier: 10.000000 +2025/12/27-01:28:58.235021 76738 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2025/12/27-01:28:58.235024 76738 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2025/12/27-01:28:58.235026 76738 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2025/12/27-01:28:58.235029 76738 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2025/12/27-01:28:58.235031 76738 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2025/12/27-01:28:58.235034 76738 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2025/12/27-01:28:58.235036 76738 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2025/12/27-01:28:58.235038 76738 Options.max_sequential_skip_in_iterations: 8 +2025/12/27-01:28:58.235041 76738 Options.max_compaction_bytes: 1677721600 +2025/12/27-01:28:58.235043 76738 Options.arena_block_size: 8388608 +2025/12/27-01:28:58.235046 76738 Options.soft_pending_compaction_bytes_limit: 68719476736 +2025/12/27-01:28:58.235048 76738 Options.hard_pending_compaction_bytes_limit: 274877906944 +2025/12/27-01:28:58.235051 76738 Options.rate_limit_delay_max_milliseconds: 100 +2025/12/27-01:28:58.235053 76738 Options.disable_auto_compactions: 0 +2025/12/27-01:28:58.235056 76738 Options.compaction_style: kCompactionStyleLevel +2025/12/27-01:28:58.235060 76738 Options.compaction_pri: kMinOverlappingRatio +2025/12/27-01:28:58.235062 76738 Options.compaction_options_universal.size_ratio: 1 +2025/12/27-01:28:58.235065 76738 Options.compaction_options_universal.min_merge_width: 2 +2025/12/27-01:28:58.235067 76738 Options.compaction_options_universal.max_merge_width: 4294967295 +2025/12/27-01:28:58.235070 76738 Options.compaction_options_universal.max_size_amplification_percent: 200 +2025/12/27-01:28:58.235072 76738 Options.compaction_options_universal.compression_size_percent: -1 +2025/12/27-01:28:58.235075 76738 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2025/12/27-01:28:58.235077 76738 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2025/12/27-01:28:58.235080 76738 Options.compaction_options_fifo.allow_compaction: 0 +2025/12/27-01:28:58.235084 76738 Options.table_properties_collectors: +2025/12/27-01:28:58.235086 76738 Options.inplace_update_support: 0 +2025/12/27-01:28:58.235089 76738 Options.inplace_update_num_locks: 10000 +2025/12/27-01:28:58.235091 76738 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2025/12/27-01:28:58.235094 76738 Options.memtable_whole_key_filtering: 0 +2025/12/27-01:28:58.235096 76738 Options.memtable_huge_page_size: 0 +2025/12/27-01:28:58.235098 76738 Options.bloom_locality: 0 +2025/12/27-01:28:58.235101 76738 Options.max_successive_merges: 0 +2025/12/27-01:28:58.235103 76738 Options.optimize_filters_for_hits: 0 +2025/12/27-01:28:58.235106 76738 Options.paranoid_file_checks: 0 +2025/12/27-01:28:58.235108 76738 Options.force_consistency_checks: 1 +2025/12/27-01:28:58.235110 76738 Options.report_bg_io_stats: 0 +2025/12/27-01:28:58.235113 76738 Options.ttl: 2592000 +2025/12/27-01:28:58.235145 76738 Options.periodic_compaction_seconds: 0 +2025/12/27-01:28:58.235149 76738 Options.enable_blob_files: false +2025/12/27-01:28:58.235151 76738 Options.min_blob_size: 0 +2025/12/27-01:28:58.235154 76738 Options.blob_file_size: 268435456 +2025/12/27-01:28:58.235156 76738 Options.blob_compression_type: NoCompression +2025/12/27-01:28:58.235159 76738 Options.enable_blob_garbage_collection: false +2025/12/27-01:28:58.235161 76738 Options.blob_garbage_collection_age_cutoff: 0.250000 +2025/12/27-01:28:58.237363 76738 [db\version_set.cc:4675] Recovered from manifest file:./data/MANIFEST-000039 succeeded,manifest_file_number is 39, next_file_number is 41, last_sequence is 0, log_number is 36,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2025/12/27-01:28:58.237379 76738 [db\version_set.cc:4684] Column family [default] (ID 0), log number is 36 +2025/12/27-01:28:58.238591 76738 [db\version_set.cc:4119] Creating manifest 43 +2025/12/27-01:28:58.245933 76738 EVENT_LOG_v1 {"time_micros": 1766770138245479, "job": 1, "event": "recovery_started", "wal_files": [40]} +2025/12/27-01:28:58.245957 76738 [db\db_impl\db_impl_open.cc:856] Recovering log #40 mode 2 +2025/12/27-01:28:58.246082 76738 [db\version_set.cc:4119] Creating manifest 44 +2025/12/27-01:28:58.256381 76738 EVENT_LOG_v1 {"time_micros": 1766770138256372, "job": 1, "event": "recovery_finished"} +2025/12/27-01:28:58.257612 76738 [file\delete_scheduler.cc:77] Deleted file ./data/000040.log immediately, rate_bytes_per_sec 0, total_trash_size 0 max_trash_db_ratio 0.250000 +2025/12/27-01:28:58.263858 76738 [db\db_impl\db_impl_open.cc:1757] SstFileManager instance 00000260C88EBB40 +2025/12/27-01:28:58.264432 76738 DB pointer 00000260C87CC0B0 +2025/12/27-01:28:58.264716 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-01:28:58.264729 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 0.0 total, 0.0 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-01:38:58.265616 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-01:38:58.265662 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 600.0 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 600.0 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 600.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-01:48:58.287407 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-01:48:58.288406 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 1200.0 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 1200.0 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 1200.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-01:58:58.289901 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-01:58:58.291605 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 1800.1 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 1800.1 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 1800.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-02:08:58.292986 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-02:08:58.293366 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 2400.1 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 2400.1 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 2400.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-02:18:58.294975 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-02:18:58.296761 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 3000.1 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 3000.1 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 3000.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-02:28:58.302708 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-02:28:58.303263 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 3600.1 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 3600.1 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 3600.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-02:38:58.309106 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-02:38:58.310835 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 4200.1 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 4200.1 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 4200.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-02:48:58.314840 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-02:48:58.315449 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 4800.1 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 4800.1 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 4800.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-02:58:58.329549 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-02:58:58.329584 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 5400.1 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 5400.1 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 5400.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-03:08:58.357511 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-03:08:58.357555 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 6000.1 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 6000.1 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 6000.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-03:18:58.365300 71e24 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-03:18:58.366885 71e24 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 6600.1 total, 600.0 interval +Cumulative writes: 2 writes, 2 keys, 2 commit groups, 0.7 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 2 writes, 0 syncs, 2.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 6600.1 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 6600.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** diff --git a/data/LOG.old.1766760762681235 b/data/LOG.old.1766760762681235 new file mode 100644 index 0000000..b411580 --- /dev/null +++ b/data/LOG.old.1766760762681235 @@ -0,0 +1,285 @@ +2025/12/26-22:44:50.479655 6db90 RocksDB version: 6.20.3 +2025/12/26-22:44:50.479725 6db90 Git sha 8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c +2025/12/26-22:44:50.479739 6db90 Compile date 2021-05-07 18:16:49 +2025/12/26-22:44:50.479765 6db90 DB SUMMARY +2025/12/26-22:44:50.479774 6db90 DB Session ID: TROAMF18X499UE425YFL +2025/12/26-22:44:50.479918 6db90 SST files in ./data dir, Total Num: 0, files: +2025/12/26-22:44:50.479927 6db90 Write Ahead Log file in ./data: +2025/12/26-22:44:50.479936 6db90 Options.error_if_exists: 0 +2025/12/26-22:44:50.479942 6db90 Options.create_if_missing: 1 +2025/12/26-22:44:50.479948 6db90 Options.paranoid_checks: 1 +2025/12/26-22:44:50.479955 6db90 Options.track_and_verify_wals_in_manifest: 0 +2025/12/26-22:44:50.480134 6db90 Options.env: 00000256F33C2160 +2025/12/26-22:44:50.480143 6db90 Options.fs: WinFS +2025/12/26-22:44:50.480146 6db90 Options.info_log: 00000256EE95E860 +2025/12/26-22:44:50.480148 6db90 Options.max_file_opening_threads: 16 +2025/12/26-22:44:50.480151 6db90 Options.statistics: 0000000000000000 +2025/12/26-22:44:50.480153 6db90 Options.use_fsync: 0 +2025/12/26-22:44:50.480156 6db90 Options.max_log_file_size: 0 +2025/12/26-22:44:50.480158 6db90 Options.max_manifest_file_size: 1073741824 +2025/12/26-22:44:50.480161 6db90 Options.log_file_time_to_roll: 0 +2025/12/26-22:44:50.480163 6db90 Options.keep_log_file_num: 1000 +2025/12/26-22:44:50.480166 6db90 Options.recycle_log_file_num: 0 +2025/12/26-22:44:50.480168 6db90 Options.allow_fallocate: 1 +2025/12/26-22:44:50.480171 6db90 Options.allow_mmap_reads: 0 +2025/12/26-22:44:50.480173 6db90 Options.allow_mmap_writes: 0 +2025/12/26-22:44:50.480176 6db90 Options.use_direct_reads: 0 +2025/12/26-22:44:50.480178 6db90 Options.use_direct_io_for_flush_and_compaction: 0 +2025/12/26-22:44:50.480181 6db90 Options.create_missing_column_families: 0 +2025/12/26-22:44:50.480183 6db90 Options.db_log_dir: +2025/12/26-22:44:50.480186 6db90 Options.wal_dir: ./data +2025/12/26-22:44:50.480189 6db90 Options.table_cache_numshardbits: 6 +2025/12/26-22:44:50.480191 6db90 Options.WAL_ttl_seconds: 0 +2025/12/26-22:44:50.480194 6db90 Options.WAL_size_limit_MB: 0 +2025/12/26-22:44:50.480196 6db90 Options.max_write_batch_group_size_bytes: 1048576 +2025/12/26-22:44:50.480199 6db90 Options.manifest_preallocation_size: 4194304 +2025/12/26-22:44:50.480201 6db90 Options.is_fd_close_on_exec: 1 +2025/12/26-22:44:50.480204 6db90 Options.advise_random_on_open: 1 +2025/12/26-22:44:50.480206 6db90 Options.db_write_buffer_size: 0 +2025/12/26-22:44:50.480208 6db90 Options.write_buffer_manager: 00000256F3E70BE0 +2025/12/26-22:44:50.480211 6db90 Options.access_hint_on_compaction_start: 1 +2025/12/26-22:44:50.480213 6db90 Options.new_table_reader_for_compaction_inputs: 0 +2025/12/26-22:44:50.480216 6db90 Options.random_access_max_buffer_size: 1048576 +2025/12/26-22:44:50.480218 6db90 Options.use_adaptive_mutex: 0 +2025/12/26-22:44:50.480221 6db90 Options.rate_limiter: 0000000000000000 +2025/12/26-22:44:50.480224 6db90 Options.sst_file_manager.rate_bytes_per_sec: 0 +2025/12/26-22:44:50.480226 6db90 Options.wal_recovery_mode: 2 +2025/12/26-22:44:50.480228 6db90 Options.enable_thread_tracking: 0 +2025/12/26-22:44:50.480231 6db90 Options.enable_pipelined_write: 0 +2025/12/26-22:44:50.480233 6db90 Options.unordered_write: 0 +2025/12/26-22:44:50.480259 6db90 Options.allow_concurrent_memtable_write: 1 +2025/12/26-22:44:50.480263 6db90 Options.enable_write_thread_adaptive_yield: 1 +2025/12/26-22:44:50.480266 6db90 Options.write_thread_max_yield_usec: 100 +2025/12/26-22:44:50.480268 6db90 Options.write_thread_slow_yield_usec: 3 +2025/12/26-22:44:50.480271 6db90 Options.row_cache: None +2025/12/26-22:44:50.480273 6db90 Options.wal_filter: None +2025/12/26-22:44:50.480276 6db90 Options.avoid_flush_during_recovery: 0 +2025/12/26-22:44:50.480278 6db90 Options.allow_ingest_behind: 0 +2025/12/26-22:44:50.480280 6db90 Options.preserve_deletes: 0 +2025/12/26-22:44:50.480283 6db90 Options.two_write_queues: 0 +2025/12/26-22:44:50.480285 6db90 Options.manual_wal_flush: 0 +2025/12/26-22:44:50.480287 6db90 Options.atomic_flush: 0 +2025/12/26-22:44:50.480290 6db90 Options.avoid_unnecessary_blocking_io: 0 +2025/12/26-22:44:50.480292 6db90 Options.persist_stats_to_disk: 0 +2025/12/26-22:44:50.480295 6db90 Options.write_dbid_to_manifest: 0 +2025/12/26-22:44:50.480297 6db90 Options.log_readahead_size: 0 +2025/12/26-22:44:50.480300 6db90 Options.file_checksum_gen_factory: Unknown +2025/12/26-22:44:50.480302 6db90 Options.best_efforts_recovery: 0 +2025/12/26-22:44:50.480305 6db90 Options.max_bgerror_resume_count: 2147483647 +2025/12/26-22:44:50.480307 6db90 Options.bgerror_resume_retry_interval: 1000000 +2025/12/26-22:44:50.480309 6db90 Options.allow_data_in_errors: 0 +2025/12/26-22:44:50.480312 6db90 Options.db_host_id: __hostname__ +2025/12/26-22:44:50.480314 6db90 Options.max_background_jobs: 2 +2025/12/26-22:44:50.480317 6db90 Options.max_background_compactions: -1 +2025/12/26-22:44:50.480319 6db90 Options.max_subcompactions: 1 +2025/12/26-22:44:50.480322 6db90 Options.avoid_flush_during_shutdown: 0 +2025/12/26-22:44:50.480324 6db90 Options.writable_file_max_buffer_size: 1048576 +2025/12/26-22:44:50.480326 6db90 Options.delayed_write_rate : 16777216 +2025/12/26-22:44:50.480329 6db90 Options.max_total_wal_size: 0 +2025/12/26-22:44:50.480331 6db90 Options.delete_obsolete_files_period_micros: 21600000000 +2025/12/26-22:44:50.480334 6db90 Options.stats_dump_period_sec: 600 +2025/12/26-22:44:50.480336 6db90 Options.stats_persist_period_sec: 600 +2025/12/26-22:44:50.480339 6db90 Options.stats_history_buffer_size: 1048576 +2025/12/26-22:44:50.480341 6db90 Options.max_open_files: -1 +2025/12/26-22:44:50.480344 6db90 Options.bytes_per_sync: 0 +2025/12/26-22:44:50.480346 6db90 Options.wal_bytes_per_sync: 0 +2025/12/26-22:44:50.480349 6db90 Options.strict_bytes_per_sync: 0 +2025/12/26-22:44:50.480351 6db90 Options.compaction_readahead_size: 0 +2025/12/26-22:44:50.480353 6db90 Options.max_background_flushes: -1 +2025/12/26-22:44:50.480362 6db90 Compression algorithms supported: +2025/12/26-22:44:50.480365 6db90 kZSTD supported: 1 +2025/12/26-22:44:50.480368 6db90 kSnappyCompression supported: 1 +2025/12/26-22:44:50.480371 6db90 kBZip2Compression supported: 0 +2025/12/26-22:44:50.480373 6db90 kZlibCompression supported: 1 +2025/12/26-22:44:50.480375 6db90 kLZ4Compression supported: 1 +2025/12/26-22:44:50.480378 6db90 kXpressCompression supported: 0 +2025/12/26-22:44:50.480380 6db90 kLZ4HCCompression supported: 1 +2025/12/26-22:44:50.480382 6db90 kZSTDNotFinalCompression supported: 1 +2025/12/26-22:44:50.480394 6db90 Fast CRC32 supported: Supported on x86 +2025/12/26-22:44:50.484720 6db90 [db\db_impl\db_impl_open.cc:285] Creating manifest 1 +2025/12/26-22:44:50.492988 6db90 [db\version_set.cc:4627] Recovering from manifest file: ./data/MANIFEST-000001 +2025/12/26-22:44:50.499222 6db90 [db\column_family.cc:598] --------------- Options for column family [default]: +2025/12/26-22:44:50.499240 6db90 Options.comparator: leveldb.BytewiseComparator +2025/12/26-22:44:50.499244 6db90 Options.merge_operator: None +2025/12/26-22:44:50.499246 6db90 Options.compaction_filter: None +2025/12/26-22:44:50.499249 6db90 Options.compaction_filter_factory: None +2025/12/26-22:44:50.499251 6db90 Options.sst_partitioner_factory: None +2025/12/26-22:44:50.499253 6db90 Options.memtable_factory: SkipListFactory +2025/12/26-22:44:50.499256 6db90 Options.table_factory: BlockBasedTable +2025/12/26-22:44:50.499285 6db90 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (00000256EE051B70) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + hash_index_allow_collision: 1 + checksum: 1 + no_block_cache: 0 + block_cache: 00000256F36029C0 + block_cache_name: LRUCache + block_cache_options: + capacity : 8388608 + num_shard_bits : 4 + strict_capacity_limit : 0 + memory_allocator : None + high_pri_pool_ratio: 0.000 + block_cache_compressed: 0000000000000000 + persistent_cache: 0000000000000000 + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 5 + enable_index_compression: 1 + block_align: 0 +2025/12/26-22:44:50.499289 6db90 Options.write_buffer_size: 67108864 +2025/12/26-22:44:50.499291 6db90 Options.max_write_buffer_number: 2 +2025/12/26-22:44:50.499294 6db90 Options.compression: Snappy +2025/12/26-22:44:50.499296 6db90 Options.bottommost_compression: Disabled +2025/12/26-22:44:50.499299 6db90 Options.prefix_extractor: nullptr +2025/12/26-22:44:50.499301 6db90 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2025/12/26-22:44:50.499303 6db90 Options.num_levels: 7 +2025/12/26-22:44:50.499306 6db90 Options.min_write_buffer_number_to_merge: 1 +2025/12/26-22:44:50.499308 6db90 Options.max_write_buffer_number_to_maintain: 0 +2025/12/26-22:44:50.499311 6db90 Options.max_write_buffer_size_to_maintain: 0 +2025/12/26-22:44:50.499313 6db90 Options.bottommost_compression_opts.window_bits: -14 +2025/12/26-22:44:50.499316 6db90 Options.bottommost_compression_opts.level: 32767 +2025/12/26-22:44:50.499318 6db90 Options.bottommost_compression_opts.strategy: 0 +2025/12/26-22:44:50.499320 6db90 Options.bottommost_compression_opts.max_dict_bytes: 0 +2025/12/26-22:44:50.499323 6db90 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2025/12/26-22:44:50.499329 6db90 Options.bottommost_compression_opts.parallel_threads: 1 +2025/12/26-22:44:50.499332 6db90 Options.bottommost_compression_opts.enabled: false +2025/12/26-22:44:50.499334 6db90 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-22:44:50.499337 6db90 Options.compression_opts.window_bits: -14 +2025/12/26-22:44:50.499339 6db90 Options.compression_opts.level: 32767 +2025/12/26-22:44:50.499342 6db90 Options.compression_opts.strategy: 0 +2025/12/26-22:44:50.499344 6db90 Options.compression_opts.max_dict_bytes: 0 +2025/12/26-22:44:50.499346 6db90 Options.compression_opts.zstd_max_train_bytes: 0 +2025/12/26-22:44:50.499349 6db90 Options.compression_opts.parallel_threads: 1 +2025/12/26-22:44:50.499351 6db90 Options.compression_opts.enabled: false +2025/12/26-22:44:50.499353 6db90 Options.compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-22:44:50.499359 6db90 Options.level0_file_num_compaction_trigger: 4 +2025/12/26-22:44:50.499361 6db90 Options.level0_slowdown_writes_trigger: 20 +2025/12/26-22:44:50.499364 6db90 Options.level0_stop_writes_trigger: 36 +2025/12/26-22:44:50.499366 6db90 Options.target_file_size_base: 67108864 +2025/12/26-22:44:50.499369 6db90 Options.target_file_size_multiplier: 1 +2025/12/26-22:44:50.499371 6db90 Options.max_bytes_for_level_base: 268435456 +2025/12/26-22:44:50.499374 6db90 Options.level_compaction_dynamic_level_bytes: 0 +2025/12/26-22:44:50.499376 6db90 Options.max_bytes_for_level_multiplier: 10.000000 +2025/12/26-22:44:50.499379 6db90 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2025/12/26-22:44:50.499382 6db90 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2025/12/26-22:44:50.499384 6db90 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2025/12/26-22:44:50.499386 6db90 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2025/12/26-22:44:50.499389 6db90 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2025/12/26-22:44:50.499391 6db90 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2025/12/26-22:44:50.499394 6db90 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2025/12/26-22:44:50.499396 6db90 Options.max_sequential_skip_in_iterations: 8 +2025/12/26-22:44:50.499399 6db90 Options.max_compaction_bytes: 1677721600 +2025/12/26-22:44:50.499401 6db90 Options.arena_block_size: 8388608 +2025/12/26-22:44:50.499403 6db90 Options.soft_pending_compaction_bytes_limit: 68719476736 +2025/12/26-22:44:50.499406 6db90 Options.hard_pending_compaction_bytes_limit: 274877906944 +2025/12/26-22:44:50.499409 6db90 Options.rate_limit_delay_max_milliseconds: 100 +2025/12/26-22:44:50.499411 6db90 Options.disable_auto_compactions: 0 +2025/12/26-22:44:50.499414 6db90 Options.compaction_style: kCompactionStyleLevel +2025/12/26-22:44:50.499418 6db90 Options.compaction_pri: kMinOverlappingRatio +2025/12/26-22:44:50.499420 6db90 Options.compaction_options_universal.size_ratio: 1 +2025/12/26-22:44:50.499423 6db90 Options.compaction_options_universal.min_merge_width: 2 +2025/12/26-22:44:50.499425 6db90 Options.compaction_options_universal.max_merge_width: 4294967295 +2025/12/26-22:44:50.499428 6db90 Options.compaction_options_universal.max_size_amplification_percent: 200 +2025/12/26-22:44:50.499430 6db90 Options.compaction_options_universal.compression_size_percent: -1 +2025/12/26-22:44:50.499433 6db90 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2025/12/26-22:44:50.499435 6db90 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2025/12/26-22:44:50.499438 6db90 Options.compaction_options_fifo.allow_compaction: 0 +2025/12/26-22:44:50.499443 6db90 Options.table_properties_collectors: +2025/12/26-22:44:50.499445 6db90 Options.inplace_update_support: 0 +2025/12/26-22:44:50.499448 6db90 Options.inplace_update_num_locks: 10000 +2025/12/26-22:44:50.499450 6db90 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2025/12/26-22:44:50.499453 6db90 Options.memtable_whole_key_filtering: 0 +2025/12/26-22:44:50.499455 6db90 Options.memtable_huge_page_size: 0 +2025/12/26-22:44:50.499457 6db90 Options.bloom_locality: 0 +2025/12/26-22:44:50.499460 6db90 Options.max_successive_merges: 0 +2025/12/26-22:44:50.499463 6db90 Options.optimize_filters_for_hits: 0 +2025/12/26-22:44:50.499465 6db90 Options.paranoid_file_checks: 0 +2025/12/26-22:44:50.499468 6db90 Options.force_consistency_checks: 1 +2025/12/26-22:44:50.499470 6db90 Options.report_bg_io_stats: 0 +2025/12/26-22:44:50.499472 6db90 Options.ttl: 2592000 +2025/12/26-22:44:50.499475 6db90 Options.periodic_compaction_seconds: 0 +2025/12/26-22:44:50.499511 6db90 Options.enable_blob_files: false +2025/12/26-22:44:50.499514 6db90 Options.min_blob_size: 0 +2025/12/26-22:44:50.499517 6db90 Options.blob_file_size: 268435456 +2025/12/26-22:44:50.499519 6db90 Options.blob_compression_type: NoCompression +2025/12/26-22:44:50.499522 6db90 Options.enable_blob_garbage_collection: false +2025/12/26-22:44:50.499524 6db90 Options.blob_garbage_collection_age_cutoff: 0.250000 +2025/12/26-22:44:50.501297 6db90 [db\version_set.cc:4675] Recovered from manifest file:./data/MANIFEST-000001 succeeded,manifest_file_number is 1, next_file_number is 3, last_sequence is 0, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2025/12/26-22:44:50.501312 6db90 [db\version_set.cc:4684] Column family [default] (ID 0), log number is 0 +2025/12/26-22:44:50.508022 6db90 [db\version_set.cc:4119] Creating manifest 4 +2025/12/26-22:44:50.528987 6db90 [db\db_impl\db_impl_open.cc:1757] SstFileManager instance 00000256F3EAD530 +2025/12/26-22:44:50.529209 6db90 DB pointer 00000256F356FE30 +2025/12/26-22:44:50.529466 6f608 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/26-22:44:50.529479 6f608 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 0.0 total, 0.0 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** diff --git a/data/LOG.old.1766761133638253 b/data/LOG.old.1766761133638253 new file mode 100644 index 0000000..965b4f5 --- /dev/null +++ b/data/LOG.old.1766761133638253 @@ -0,0 +1,292 @@ +2025/12/26-22:52:42.682888 75e30 RocksDB version: 6.20.3 +2025/12/26-22:52:42.682973 75e30 Git sha 8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c +2025/12/26-22:52:42.682988 75e30 Compile date 2021-05-07 18:16:49 +2025/12/26-22:52:42.683021 75e30 DB SUMMARY +2025/12/26-22:52:42.683031 75e30 DB Session ID: CS7MY5TYWIQWOS4JHOWL +2025/12/26-22:52:42.683404 75e30 CURRENT file: CURRENT +2025/12/26-22:52:42.683416 75e30 IDENTITY file: IDENTITY +2025/12/26-22:52:42.683461 75e30 MANIFEST file: MANIFEST-000004 size: 57 Bytes +2025/12/26-22:52:42.683472 75e30 SST files in ./data dir, Total Num: 0, files: +2025/12/26-22:52:42.683480 75e30 Write Ahead Log file in ./data: 000005.log size: 0 ; +2025/12/26-22:52:42.683488 75e30 Options.error_if_exists: 0 +2025/12/26-22:52:42.684107 75e30 Options.create_if_missing: 1 +2025/12/26-22:52:42.684116 75e30 Options.paranoid_checks: 1 +2025/12/26-22:52:42.684119 75e30 Options.track_and_verify_wals_in_manifest: 0 +2025/12/26-22:52:42.684122 75e30 Options.env: 0000027ECC0FAA70 +2025/12/26-22:52:42.684125 75e30 Options.fs: WinFS +2025/12/26-22:52:42.684128 75e30 Options.info_log: 0000027ECC61B960 +2025/12/26-22:52:42.684131 75e30 Options.max_file_opening_threads: 16 +2025/12/26-22:52:42.684134 75e30 Options.statistics: 0000000000000000 +2025/12/26-22:52:42.684137 75e30 Options.use_fsync: 0 +2025/12/26-22:52:42.684140 75e30 Options.max_log_file_size: 0 +2025/12/26-22:52:42.684143 75e30 Options.max_manifest_file_size: 1073741824 +2025/12/26-22:52:42.684145 75e30 Options.log_file_time_to_roll: 0 +2025/12/26-22:52:42.684148 75e30 Options.keep_log_file_num: 1000 +2025/12/26-22:52:42.684151 75e30 Options.recycle_log_file_num: 0 +2025/12/26-22:52:42.684154 75e30 Options.allow_fallocate: 1 +2025/12/26-22:52:42.684156 75e30 Options.allow_mmap_reads: 0 +2025/12/26-22:52:42.684159 75e30 Options.allow_mmap_writes: 0 +2025/12/26-22:52:42.684162 75e30 Options.use_direct_reads: 0 +2025/12/26-22:52:42.684165 75e30 Options.use_direct_io_for_flush_and_compaction: 0 +2025/12/26-22:52:42.684168 75e30 Options.create_missing_column_families: 0 +2025/12/26-22:52:42.684171 75e30 Options.db_log_dir: +2025/12/26-22:52:42.684174 75e30 Options.wal_dir: ./data +2025/12/26-22:52:42.684176 75e30 Options.table_cache_numshardbits: 6 +2025/12/26-22:52:42.684179 75e30 Options.WAL_ttl_seconds: 0 +2025/12/26-22:52:42.684182 75e30 Options.WAL_size_limit_MB: 0 +2025/12/26-22:52:42.684185 75e30 Options.max_write_batch_group_size_bytes: 1048576 +2025/12/26-22:52:42.684187 75e30 Options.manifest_preallocation_size: 4194304 +2025/12/26-22:52:42.684190 75e30 Options.is_fd_close_on_exec: 1 +2025/12/26-22:52:42.684193 75e30 Options.advise_random_on_open: 1 +2025/12/26-22:52:42.684196 75e30 Options.db_write_buffer_size: 0 +2025/12/26-22:52:42.684198 75e30 Options.write_buffer_manager: 0000027ECC742C60 +2025/12/26-22:52:42.684201 75e30 Options.access_hint_on_compaction_start: 1 +2025/12/26-22:52:42.684204 75e30 Options.new_table_reader_for_compaction_inputs: 0 +2025/12/26-22:52:42.684207 75e30 Options.random_access_max_buffer_size: 1048576 +2025/12/26-22:52:42.684210 75e30 Options.use_adaptive_mutex: 0 +2025/12/26-22:52:42.684213 75e30 Options.rate_limiter: 0000000000000000 +2025/12/26-22:52:42.684216 75e30 Options.sst_file_manager.rate_bytes_per_sec: 0 +2025/12/26-22:52:42.684218 75e30 Options.wal_recovery_mode: 2 +2025/12/26-22:52:42.684927 75e30 Options.enable_thread_tracking: 0 +2025/12/26-22:52:42.684935 75e30 Options.enable_pipelined_write: 0 +2025/12/26-22:52:42.684938 75e30 Options.unordered_write: 0 +2025/12/26-22:52:42.684941 75e30 Options.allow_concurrent_memtable_write: 1 +2025/12/26-22:52:42.684943 75e30 Options.enable_write_thread_adaptive_yield: 1 +2025/12/26-22:52:42.684946 75e30 Options.write_thread_max_yield_usec: 100 +2025/12/26-22:52:42.684949 75e30 Options.write_thread_slow_yield_usec: 3 +2025/12/26-22:52:42.684952 75e30 Options.row_cache: None +2025/12/26-22:52:42.684955 75e30 Options.wal_filter: None +2025/12/26-22:52:42.684958 75e30 Options.avoid_flush_during_recovery: 0 +2025/12/26-22:52:42.684961 75e30 Options.allow_ingest_behind: 0 +2025/12/26-22:52:42.684963 75e30 Options.preserve_deletes: 0 +2025/12/26-22:52:42.684966 75e30 Options.two_write_queues: 0 +2025/12/26-22:52:42.684969 75e30 Options.manual_wal_flush: 0 +2025/12/26-22:52:42.684971 75e30 Options.atomic_flush: 0 +2025/12/26-22:52:42.684974 75e30 Options.avoid_unnecessary_blocking_io: 0 +2025/12/26-22:52:42.684977 75e30 Options.persist_stats_to_disk: 0 +2025/12/26-22:52:42.684979 75e30 Options.write_dbid_to_manifest: 0 +2025/12/26-22:52:42.684982 75e30 Options.log_readahead_size: 0 +2025/12/26-22:52:42.684985 75e30 Options.file_checksum_gen_factory: Unknown +2025/12/26-22:52:42.684988 75e30 Options.best_efforts_recovery: 0 +2025/12/26-22:52:42.684991 75e30 Options.max_bgerror_resume_count: 2147483647 +2025/12/26-22:52:42.684993 75e30 Options.bgerror_resume_retry_interval: 1000000 +2025/12/26-22:52:42.684996 75e30 Options.allow_data_in_errors: 0 +2025/12/26-22:52:42.684999 75e30 Options.db_host_id: __hostname__ +2025/12/26-22:52:42.685002 75e30 Options.max_background_jobs: 2 +2025/12/26-22:52:42.685004 75e30 Options.max_background_compactions: -1 +2025/12/26-22:52:42.685007 75e30 Options.max_subcompactions: 1 +2025/12/26-22:52:42.685010 75e30 Options.avoid_flush_during_shutdown: 0 +2025/12/26-22:52:42.685013 75e30 Options.writable_file_max_buffer_size: 1048576 +2025/12/26-22:52:42.685015 75e30 Options.delayed_write_rate : 16777216 +2025/12/26-22:52:42.685019 75e30 Options.max_total_wal_size: 0 +2025/12/26-22:52:42.685021 75e30 Options.delete_obsolete_files_period_micros: 21600000000 +2025/12/26-22:52:42.685024 75e30 Options.stats_dump_period_sec: 600 +2025/12/26-22:52:42.685027 75e30 Options.stats_persist_period_sec: 600 +2025/12/26-22:52:42.685030 75e30 Options.stats_history_buffer_size: 1048576 +2025/12/26-22:52:42.685033 75e30 Options.max_open_files: -1 +2025/12/26-22:52:42.685035 75e30 Options.bytes_per_sync: 0 +2025/12/26-22:52:42.685038 75e30 Options.wal_bytes_per_sync: 0 +2025/12/26-22:52:42.685041 75e30 Options.strict_bytes_per_sync: 0 +2025/12/26-22:52:42.685044 75e30 Options.compaction_readahead_size: 0 +2025/12/26-22:52:42.685046 75e30 Options.max_background_flushes: -1 +2025/12/26-22:52:42.685054 75e30 Compression algorithms supported: +2025/12/26-22:52:42.685057 75e30 kZSTD supported: 1 +2025/12/26-22:52:42.685060 75e30 kSnappyCompression supported: 1 +2025/12/26-22:52:42.685063 75e30 kBZip2Compression supported: 0 +2025/12/26-22:52:42.685066 75e30 kZlibCompression supported: 1 +2025/12/26-22:52:42.685069 75e30 kLZ4Compression supported: 1 +2025/12/26-22:52:42.685071 75e30 kXpressCompression supported: 0 +2025/12/26-22:52:42.685074 75e30 kLZ4HCCompression supported: 1 +2025/12/26-22:52:42.685077 75e30 kZSTDNotFinalCompression supported: 1 +2025/12/26-22:52:42.685106 75e30 Fast CRC32 supported: Supported on x86 +2025/12/26-22:52:42.685830 75e30 [db\version_set.cc:4627] Recovering from manifest file: ./data/MANIFEST-000004 +2025/12/26-22:52:42.685996 75e30 [db\column_family.cc:598] --------------- Options for column family [default]: +2025/12/26-22:52:42.686004 75e30 Options.comparator: leveldb.BytewiseComparator +2025/12/26-22:52:42.686007 75e30 Options.merge_operator: None +2025/12/26-22:52:42.686010 75e30 Options.compaction_filter: None +2025/12/26-22:52:42.686013 75e30 Options.compaction_filter_factory: None +2025/12/26-22:52:42.686015 75e30 Options.sst_partitioner_factory: None +2025/12/26-22:52:42.686018 75e30 Options.memtable_factory: SkipListFactory +2025/12/26-22:52:42.686021 75e30 Options.table_factory: BlockBasedTable +2025/12/26-22:52:42.686050 75e30 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (0000027ECC319B70) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + hash_index_allow_collision: 1 + checksum: 1 + no_block_cache: 0 + block_cache: 0000027ECC0C2A40 + block_cache_name: LRUCache + block_cache_options: + capacity : 8388608 + num_shard_bits : 4 + strict_capacity_limit : 0 + memory_allocator : None + high_pri_pool_ratio: 0.000 + block_cache_compressed: 0000000000000000 + persistent_cache: 0000000000000000 + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 5 + enable_index_compression: 1 + block_align: 0 +2025/12/26-22:52:42.686054 75e30 Options.write_buffer_size: 67108864 +2025/12/26-22:52:42.686057 75e30 Options.max_write_buffer_number: 2 +2025/12/26-22:52:42.686060 75e30 Options.compression: Snappy +2025/12/26-22:52:42.686063 75e30 Options.bottommost_compression: Disabled +2025/12/26-22:52:42.686066 75e30 Options.prefix_extractor: nullptr +2025/12/26-22:52:42.686068 75e30 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2025/12/26-22:52:42.686071 75e30 Options.num_levels: 7 +2025/12/26-22:52:42.686074 75e30 Options.min_write_buffer_number_to_merge: 1 +2025/12/26-22:52:42.686077 75e30 Options.max_write_buffer_number_to_maintain: 0 +2025/12/26-22:52:42.686080 75e30 Options.max_write_buffer_size_to_maintain: 0 +2025/12/26-22:52:42.686082 75e30 Options.bottommost_compression_opts.window_bits: -14 +2025/12/26-22:52:42.686085 75e30 Options.bottommost_compression_opts.level: 32767 +2025/12/26-22:52:42.686088 75e30 Options.bottommost_compression_opts.strategy: 0 +2025/12/26-22:52:42.686091 75e30 Options.bottommost_compression_opts.max_dict_bytes: 0 +2025/12/26-22:52:42.686094 75e30 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2025/12/26-22:52:42.686099 75e30 Options.bottommost_compression_opts.parallel_threads: 1 +2025/12/26-22:52:42.686102 75e30 Options.bottommost_compression_opts.enabled: false +2025/12/26-22:52:42.686105 75e30 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-22:52:42.686108 75e30 Options.compression_opts.window_bits: -14 +2025/12/26-22:52:42.686111 75e30 Options.compression_opts.level: 32767 +2025/12/26-22:52:42.686114 75e30 Options.compression_opts.strategy: 0 +2025/12/26-22:52:42.686116 75e30 Options.compression_opts.max_dict_bytes: 0 +2025/12/26-22:52:42.686119 75e30 Options.compression_opts.zstd_max_train_bytes: 0 +2025/12/26-22:52:42.686122 75e30 Options.compression_opts.parallel_threads: 1 +2025/12/26-22:52:42.686125 75e30 Options.compression_opts.enabled: false +2025/12/26-22:52:42.686130 75e30 Options.compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-22:52:42.686134 75e30 Options.level0_file_num_compaction_trigger: 4 +2025/12/26-22:52:42.686137 75e30 Options.level0_slowdown_writes_trigger: 20 +2025/12/26-22:52:42.686139 75e30 Options.level0_stop_writes_trigger: 36 +2025/12/26-22:52:42.686142 75e30 Options.target_file_size_base: 67108864 +2025/12/26-22:52:42.686145 75e30 Options.target_file_size_multiplier: 1 +2025/12/26-22:52:42.686148 75e30 Options.max_bytes_for_level_base: 268435456 +2025/12/26-22:52:42.686151 75e30 Options.level_compaction_dynamic_level_bytes: 0 +2025/12/26-22:52:42.686153 75e30 Options.max_bytes_for_level_multiplier: 10.000000 +2025/12/26-22:52:42.686157 75e30 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2025/12/26-22:52:42.686160 75e30 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2025/12/26-22:52:42.686163 75e30 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2025/12/26-22:52:42.686166 75e30 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2025/12/26-22:52:42.686168 75e30 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2025/12/26-22:52:42.686171 75e30 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2025/12/26-22:52:42.686174 75e30 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2025/12/26-22:52:42.686177 75e30 Options.max_sequential_skip_in_iterations: 8 +2025/12/26-22:52:42.686180 75e30 Options.max_compaction_bytes: 1677721600 +2025/12/26-22:52:42.686182 75e30 Options.arena_block_size: 8388608 +2025/12/26-22:52:42.686185 75e30 Options.soft_pending_compaction_bytes_limit: 68719476736 +2025/12/26-22:52:42.686188 75e30 Options.hard_pending_compaction_bytes_limit: 274877906944 +2025/12/26-22:52:42.686191 75e30 Options.rate_limit_delay_max_milliseconds: 100 +2025/12/26-22:52:42.686194 75e30 Options.disable_auto_compactions: 0 +2025/12/26-22:52:42.686197 75e30 Options.compaction_style: kCompactionStyleLevel +2025/12/26-22:52:42.686201 75e30 Options.compaction_pri: kMinOverlappingRatio +2025/12/26-22:52:42.686204 75e30 Options.compaction_options_universal.size_ratio: 1 +2025/12/26-22:52:42.686206 75e30 Options.compaction_options_universal.min_merge_width: 2 +2025/12/26-22:52:42.686209 75e30 Options.compaction_options_universal.max_merge_width: 4294967295 +2025/12/26-22:52:42.686212 75e30 Options.compaction_options_universal.max_size_amplification_percent: 200 +2025/12/26-22:52:42.686215 75e30 Options.compaction_options_universal.compression_size_percent: -1 +2025/12/26-22:52:42.686218 75e30 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2025/12/26-22:52:42.686221 75e30 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2025/12/26-22:52:42.686224 75e30 Options.compaction_options_fifo.allow_compaction: 0 +2025/12/26-22:52:42.686229 75e30 Options.table_properties_collectors: +2025/12/26-22:52:42.686232 75e30 Options.inplace_update_support: 0 +2025/12/26-22:52:42.686234 75e30 Options.inplace_update_num_locks: 10000 +2025/12/26-22:52:42.686237 75e30 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2025/12/26-22:52:42.686240 75e30 Options.memtable_whole_key_filtering: 0 +2025/12/26-22:52:42.686243 75e30 Options.memtable_huge_page_size: 0 +2025/12/26-22:52:42.686246 75e30 Options.bloom_locality: 0 +2025/12/26-22:52:42.686249 75e30 Options.max_successive_merges: 0 +2025/12/26-22:52:42.686251 75e30 Options.optimize_filters_for_hits: 0 +2025/12/26-22:52:42.686254 75e30 Options.paranoid_file_checks: 0 +2025/12/26-22:52:42.686257 75e30 Options.force_consistency_checks: 1 +2025/12/26-22:52:42.686260 75e30 Options.report_bg_io_stats: 0 +2025/12/26-22:52:42.686262 75e30 Options.ttl: 2592000 +2025/12/26-22:52:42.686291 75e30 Options.periodic_compaction_seconds: 0 +2025/12/26-22:52:42.686295 75e30 Options.enable_blob_files: false +2025/12/26-22:52:42.686298 75e30 Options.min_blob_size: 0 +2025/12/26-22:52:42.686300 75e30 Options.blob_file_size: 268435456 +2025/12/26-22:52:42.686303 75e30 Options.blob_compression_type: NoCompression +2025/12/26-22:52:42.686306 75e30 Options.enable_blob_garbage_collection: false +2025/12/26-22:52:42.686309 75e30 Options.blob_garbage_collection_age_cutoff: 0.250000 +2025/12/26-22:52:42.688079 75e30 [db\version_set.cc:4675] Recovered from manifest file:./data/MANIFEST-000004 succeeded,manifest_file_number is 4, next_file_number is 6, last_sequence is 0, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2025/12/26-22:52:42.688090 75e30 [db\version_set.cc:4684] Column family [default] (ID 0), log number is 0 +2025/12/26-22:52:42.688657 75e30 [db\version_set.cc:4119] Creating manifest 8 +2025/12/26-22:52:42.696561 75e30 EVENT_LOG_v1 {"time_micros": 1766760762696020, "job": 1, "event": "recovery_started", "wal_files": [5]} +2025/12/26-22:52:42.696595 75e30 [db\db_impl\db_impl_open.cc:856] Recovering log #5 mode 2 +2025/12/26-22:52:42.696699 75e30 [db\version_set.cc:4119] Creating manifest 9 +2025/12/26-22:52:42.705669 75e30 EVENT_LOG_v1 {"time_micros": 1766760762705660, "job": 1, "event": "recovery_finished"} +2025/12/26-22:52:42.706929 75e30 [file\delete_scheduler.cc:77] Deleted file ./data/000005.log immediately, rate_bytes_per_sec 0, total_trash_size 0 max_trash_db_ratio 0.250000 +2025/12/26-22:52:42.712671 75e30 [db\db_impl\db_impl_open.cc:1757] SstFileManager instance 0000027ECC74DAC0 +2025/12/26-22:52:42.713024 75e30 DB pointer 0000027ECC7480B0 +2025/12/26-22:52:42.713520 69a60 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/26-22:52:42.713532 69a60 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 0.0 total, 0.0 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** diff --git a/data/LOG.old.1766761269666530 b/data/LOG.old.1766761269666530 new file mode 100644 index 0000000..1e65669 --- /dev/null +++ b/data/LOG.old.1766761269666530 @@ -0,0 +1,292 @@ +2025/12/26-22:58:53.639760 74730 RocksDB version: 6.20.3 +2025/12/26-22:58:53.639848 74730 Git sha 8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c +2025/12/26-22:58:53.639863 74730 Compile date 2021-05-07 18:16:49 +2025/12/26-22:58:53.639894 74730 DB SUMMARY +2025/12/26-22:58:53.639904 74730 DB Session ID: CENH9EL9U0K995J9ZX8F +2025/12/26-22:58:53.640286 74730 CURRENT file: CURRENT +2025/12/26-22:58:53.640297 74730 IDENTITY file: IDENTITY +2025/12/26-22:58:53.640344 74730 MANIFEST file: MANIFEST-000009 size: 59 Bytes +2025/12/26-22:58:53.640355 74730 SST files in ./data dir, Total Num: 0, files: +2025/12/26-22:58:53.640362 74730 Write Ahead Log file in ./data: 000010.log size: 0 ; +2025/12/26-22:58:53.640370 74730 Options.error_if_exists: 0 +2025/12/26-22:58:53.642172 74730 Options.create_if_missing: 1 +2025/12/26-22:58:53.642182 74730 Options.paranoid_checks: 1 +2025/12/26-22:58:53.642185 74730 Options.track_and_verify_wals_in_manifest: 0 +2025/12/26-22:58:53.642188 74730 Options.env: 000001D185B5C670 +2025/12/26-22:58:53.642191 74730 Options.fs: WinFS +2025/12/26-22:58:53.642194 74730 Options.info_log: 000001D1859EA770 +2025/12/26-22:58:53.642196 74730 Options.max_file_opening_threads: 16 +2025/12/26-22:58:53.642199 74730 Options.statistics: 0000000000000000 +2025/12/26-22:58:53.642202 74730 Options.use_fsync: 0 +2025/12/26-22:58:53.642204 74730 Options.max_log_file_size: 0 +2025/12/26-22:58:53.642207 74730 Options.max_manifest_file_size: 1073741824 +2025/12/26-22:58:53.642210 74730 Options.log_file_time_to_roll: 0 +2025/12/26-22:58:53.642213 74730 Options.keep_log_file_num: 1000 +2025/12/26-22:58:53.642215 74730 Options.recycle_log_file_num: 0 +2025/12/26-22:58:53.642218 74730 Options.allow_fallocate: 1 +2025/12/26-22:58:53.642221 74730 Options.allow_mmap_reads: 0 +2025/12/26-22:58:53.642224 74730 Options.allow_mmap_writes: 0 +2025/12/26-22:58:53.642226 74730 Options.use_direct_reads: 0 +2025/12/26-22:58:53.642229 74730 Options.use_direct_io_for_flush_and_compaction: 0 +2025/12/26-22:58:53.642232 74730 Options.create_missing_column_families: 0 +2025/12/26-22:58:53.642234 74730 Options.db_log_dir: +2025/12/26-22:58:53.642237 74730 Options.wal_dir: ./data +2025/12/26-22:58:53.642240 74730 Options.table_cache_numshardbits: 6 +2025/12/26-22:58:53.642242 74730 Options.WAL_ttl_seconds: 0 +2025/12/26-22:58:53.642245 74730 Options.WAL_size_limit_MB: 0 +2025/12/26-22:58:53.642248 74730 Options.max_write_batch_group_size_bytes: 1048576 +2025/12/26-22:58:53.642251 74730 Options.manifest_preallocation_size: 4194304 +2025/12/26-22:58:53.642254 74730 Options.is_fd_close_on_exec: 1 +2025/12/26-22:58:53.642256 74730 Options.advise_random_on_open: 1 +2025/12/26-22:58:53.642259 74730 Options.db_write_buffer_size: 0 +2025/12/26-22:58:53.642262 74730 Options.write_buffer_manager: 000001D185C07320 +2025/12/26-22:58:53.642264 74730 Options.access_hint_on_compaction_start: 1 +2025/12/26-22:58:53.642267 74730 Options.new_table_reader_for_compaction_inputs: 0 +2025/12/26-22:58:53.642270 74730 Options.random_access_max_buffer_size: 1048576 +2025/12/26-22:58:53.642272 74730 Options.use_adaptive_mutex: 0 +2025/12/26-22:58:53.642275 74730 Options.rate_limiter: 0000000000000000 +2025/12/26-22:58:53.642278 74730 Options.sst_file_manager.rate_bytes_per_sec: 0 +2025/12/26-22:58:53.642281 74730 Options.wal_recovery_mode: 2 +2025/12/26-22:58:53.646976 74730 Options.enable_thread_tracking: 0 +2025/12/26-22:58:53.647000 74730 Options.enable_pipelined_write: 0 +2025/12/26-22:58:53.647003 74730 Options.unordered_write: 0 +2025/12/26-22:58:53.647006 74730 Options.allow_concurrent_memtable_write: 1 +2025/12/26-22:58:53.647009 74730 Options.enable_write_thread_adaptive_yield: 1 +2025/12/26-22:58:53.647012 74730 Options.write_thread_max_yield_usec: 100 +2025/12/26-22:58:53.647015 74730 Options.write_thread_slow_yield_usec: 3 +2025/12/26-22:58:53.647017 74730 Options.row_cache: None +2025/12/26-22:58:53.647020 74730 Options.wal_filter: None +2025/12/26-22:58:53.647023 74730 Options.avoid_flush_during_recovery: 0 +2025/12/26-22:58:53.647026 74730 Options.allow_ingest_behind: 0 +2025/12/26-22:58:53.647028 74730 Options.preserve_deletes: 0 +2025/12/26-22:58:53.647031 74730 Options.two_write_queues: 0 +2025/12/26-22:58:53.647034 74730 Options.manual_wal_flush: 0 +2025/12/26-22:58:53.647036 74730 Options.atomic_flush: 0 +2025/12/26-22:58:53.647039 74730 Options.avoid_unnecessary_blocking_io: 0 +2025/12/26-22:58:53.647041 74730 Options.persist_stats_to_disk: 0 +2025/12/26-22:58:53.647044 74730 Options.write_dbid_to_manifest: 0 +2025/12/26-22:58:53.647047 74730 Options.log_readahead_size: 0 +2025/12/26-22:58:53.647050 74730 Options.file_checksum_gen_factory: Unknown +2025/12/26-22:58:53.647052 74730 Options.best_efforts_recovery: 0 +2025/12/26-22:58:53.647055 74730 Options.max_bgerror_resume_count: 2147483647 +2025/12/26-22:58:53.647058 74730 Options.bgerror_resume_retry_interval: 1000000 +2025/12/26-22:58:53.647060 74730 Options.allow_data_in_errors: 0 +2025/12/26-22:58:53.647063 74730 Options.db_host_id: __hostname__ +2025/12/26-22:58:53.647066 74730 Options.max_background_jobs: 2 +2025/12/26-22:58:53.647069 74730 Options.max_background_compactions: -1 +2025/12/26-22:58:53.647072 74730 Options.max_subcompactions: 1 +2025/12/26-22:58:53.647074 74730 Options.avoid_flush_during_shutdown: 0 +2025/12/26-22:58:53.647077 74730 Options.writable_file_max_buffer_size: 1048576 +2025/12/26-22:58:53.647080 74730 Options.delayed_write_rate : 16777216 +2025/12/26-22:58:53.647082 74730 Options.max_total_wal_size: 0 +2025/12/26-22:58:53.647085 74730 Options.delete_obsolete_files_period_micros: 21600000000 +2025/12/26-22:58:53.647088 74730 Options.stats_dump_period_sec: 600 +2025/12/26-22:58:53.647091 74730 Options.stats_persist_period_sec: 600 +2025/12/26-22:58:53.647094 74730 Options.stats_history_buffer_size: 1048576 +2025/12/26-22:58:53.647097 74730 Options.max_open_files: -1 +2025/12/26-22:58:53.647099 74730 Options.bytes_per_sync: 0 +2025/12/26-22:58:53.647102 74730 Options.wal_bytes_per_sync: 0 +2025/12/26-22:58:53.647105 74730 Options.strict_bytes_per_sync: 0 +2025/12/26-22:58:53.647107 74730 Options.compaction_readahead_size: 0 +2025/12/26-22:58:53.647110 74730 Options.max_background_flushes: -1 +2025/12/26-22:58:53.647123 74730 Compression algorithms supported: +2025/12/26-22:58:53.647126 74730 kZSTD supported: 1 +2025/12/26-22:58:53.647129 74730 kSnappyCompression supported: 1 +2025/12/26-22:58:53.647132 74730 kBZip2Compression supported: 0 +2025/12/26-22:58:53.647135 74730 kZlibCompression supported: 1 +2025/12/26-22:58:53.647137 74730 kLZ4Compression supported: 1 +2025/12/26-22:58:53.647140 74730 kXpressCompression supported: 0 +2025/12/26-22:58:53.647143 74730 kLZ4HCCompression supported: 1 +2025/12/26-22:58:53.647145 74730 kZSTDNotFinalCompression supported: 1 +2025/12/26-22:58:53.647188 74730 Fast CRC32 supported: Supported on x86 +2025/12/26-22:58:53.648070 74730 [db\version_set.cc:4627] Recovering from manifest file: ./data/MANIFEST-000009 +2025/12/26-22:58:53.648238 74730 [db\column_family.cc:598] --------------- Options for column family [default]: +2025/12/26-22:58:53.648245 74730 Options.comparator: leveldb.BytewiseComparator +2025/12/26-22:58:53.648249 74730 Options.merge_operator: None +2025/12/26-22:58:53.648251 74730 Options.compaction_filter: None +2025/12/26-22:58:53.648254 74730 Options.compaction_filter_factory: None +2025/12/26-22:58:53.648257 74730 Options.sst_partitioner_factory: None +2025/12/26-22:58:53.648259 74730 Options.memtable_factory: SkipListFactory +2025/12/26-22:58:53.648262 74730 Options.table_factory: BlockBasedTable +2025/12/26-22:58:53.648288 74730 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (000001D1859D64D0) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + hash_index_allow_collision: 1 + checksum: 1 + no_block_cache: 0 + block_cache: 000001D1858C1C10 + block_cache_name: LRUCache + block_cache_options: + capacity : 8388608 + num_shard_bits : 4 + strict_capacity_limit : 0 + memory_allocator : None + high_pri_pool_ratio: 0.000 + block_cache_compressed: 0000000000000000 + persistent_cache: 0000000000000000 + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 5 + enable_index_compression: 1 + block_align: 0 +2025/12/26-22:58:53.648291 74730 Options.write_buffer_size: 67108864 +2025/12/26-22:58:53.648294 74730 Options.max_write_buffer_number: 2 +2025/12/26-22:58:53.648297 74730 Options.compression: Snappy +2025/12/26-22:58:53.648300 74730 Options.bottommost_compression: Disabled +2025/12/26-22:58:53.648303 74730 Options.prefix_extractor: nullptr +2025/12/26-22:58:53.648305 74730 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2025/12/26-22:58:53.648308 74730 Options.num_levels: 7 +2025/12/26-22:58:53.648311 74730 Options.min_write_buffer_number_to_merge: 1 +2025/12/26-22:58:53.648313 74730 Options.max_write_buffer_number_to_maintain: 0 +2025/12/26-22:58:53.648316 74730 Options.max_write_buffer_size_to_maintain: 0 +2025/12/26-22:58:53.648319 74730 Options.bottommost_compression_opts.window_bits: -14 +2025/12/26-22:58:53.648322 74730 Options.bottommost_compression_opts.level: 32767 +2025/12/26-22:58:53.648324 74730 Options.bottommost_compression_opts.strategy: 0 +2025/12/26-22:58:53.648336 74730 Options.bottommost_compression_opts.max_dict_bytes: 0 +2025/12/26-22:58:53.648339 74730 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2025/12/26-22:58:53.648344 74730 Options.bottommost_compression_opts.parallel_threads: 1 +2025/12/26-22:58:53.648347 74730 Options.bottommost_compression_opts.enabled: false +2025/12/26-22:58:53.648350 74730 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-22:58:53.648353 74730 Options.compression_opts.window_bits: -14 +2025/12/26-22:58:53.648355 74730 Options.compression_opts.level: 32767 +2025/12/26-22:58:53.648358 74730 Options.compression_opts.strategy: 0 +2025/12/26-22:58:53.648361 74730 Options.compression_opts.max_dict_bytes: 0 +2025/12/26-22:58:53.648364 74730 Options.compression_opts.zstd_max_train_bytes: 0 +2025/12/26-22:58:53.648367 74730 Options.compression_opts.parallel_threads: 1 +2025/12/26-22:58:53.648369 74730 Options.compression_opts.enabled: false +2025/12/26-22:58:53.648374 74730 Options.compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-22:58:53.648378 74730 Options.level0_file_num_compaction_trigger: 4 +2025/12/26-22:58:53.648381 74730 Options.level0_slowdown_writes_trigger: 20 +2025/12/26-22:58:53.648384 74730 Options.level0_stop_writes_trigger: 36 +2025/12/26-22:58:53.648386 74730 Options.target_file_size_base: 67108864 +2025/12/26-22:58:53.648389 74730 Options.target_file_size_multiplier: 1 +2025/12/26-22:58:53.648392 74730 Options.max_bytes_for_level_base: 268435456 +2025/12/26-22:58:53.648394 74730 Options.level_compaction_dynamic_level_bytes: 0 +2025/12/26-22:58:53.648397 74730 Options.max_bytes_for_level_multiplier: 10.000000 +2025/12/26-22:58:53.648400 74730 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2025/12/26-22:58:53.648403 74730 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2025/12/26-22:58:53.648406 74730 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2025/12/26-22:58:53.648409 74730 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2025/12/26-22:58:53.648411 74730 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2025/12/26-22:58:53.648414 74730 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2025/12/26-22:58:53.648417 74730 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2025/12/26-22:58:53.648420 74730 Options.max_sequential_skip_in_iterations: 8 +2025/12/26-22:58:53.648423 74730 Options.max_compaction_bytes: 1677721600 +2025/12/26-22:58:53.648425 74730 Options.arena_block_size: 8388608 +2025/12/26-22:58:53.648428 74730 Options.soft_pending_compaction_bytes_limit: 68719476736 +2025/12/26-22:58:53.648431 74730 Options.hard_pending_compaction_bytes_limit: 274877906944 +2025/12/26-22:58:53.648434 74730 Options.rate_limit_delay_max_milliseconds: 100 +2025/12/26-22:58:53.648436 74730 Options.disable_auto_compactions: 0 +2025/12/26-22:58:53.648440 74730 Options.compaction_style: kCompactionStyleLevel +2025/12/26-22:58:53.648444 74730 Options.compaction_pri: kMinOverlappingRatio +2025/12/26-22:58:53.648446 74730 Options.compaction_options_universal.size_ratio: 1 +2025/12/26-22:58:53.648449 74730 Options.compaction_options_universal.min_merge_width: 2 +2025/12/26-22:58:53.648452 74730 Options.compaction_options_universal.max_merge_width: 4294967295 +2025/12/26-22:58:53.648455 74730 Options.compaction_options_universal.max_size_amplification_percent: 200 +2025/12/26-22:58:53.648457 74730 Options.compaction_options_universal.compression_size_percent: -1 +2025/12/26-22:58:53.648460 74730 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2025/12/26-22:58:53.648463 74730 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2025/12/26-22:58:53.648466 74730 Options.compaction_options_fifo.allow_compaction: 0 +2025/12/26-22:58:53.648470 74730 Options.table_properties_collectors: +2025/12/26-22:58:53.648473 74730 Options.inplace_update_support: 0 +2025/12/26-22:58:53.648476 74730 Options.inplace_update_num_locks: 10000 +2025/12/26-22:58:53.648479 74730 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2025/12/26-22:58:53.648482 74730 Options.memtable_whole_key_filtering: 0 +2025/12/26-22:58:53.648484 74730 Options.memtable_huge_page_size: 0 +2025/12/26-22:58:53.648487 74730 Options.bloom_locality: 0 +2025/12/26-22:58:53.648490 74730 Options.max_successive_merges: 0 +2025/12/26-22:58:53.648492 74730 Options.optimize_filters_for_hits: 0 +2025/12/26-22:58:53.648495 74730 Options.paranoid_file_checks: 0 +2025/12/26-22:58:53.648498 74730 Options.force_consistency_checks: 1 +2025/12/26-22:58:53.648501 74730 Options.report_bg_io_stats: 0 +2025/12/26-22:58:53.648503 74730 Options.ttl: 2592000 +2025/12/26-22:58:53.648536 74730 Options.periodic_compaction_seconds: 0 +2025/12/26-22:58:53.648540 74730 Options.enable_blob_files: false +2025/12/26-22:58:53.648542 74730 Options.min_blob_size: 0 +2025/12/26-22:58:53.648545 74730 Options.blob_file_size: 268435456 +2025/12/26-22:58:53.648548 74730 Options.blob_compression_type: NoCompression +2025/12/26-22:58:53.648550 74730 Options.enable_blob_garbage_collection: false +2025/12/26-22:58:53.648553 74730 Options.blob_garbage_collection_age_cutoff: 0.250000 +2025/12/26-22:58:53.650441 74730 [db\version_set.cc:4675] Recovered from manifest file:./data/MANIFEST-000009 succeeded,manifest_file_number is 9, next_file_number is 11, last_sequence is 0, log_number is 6,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2025/12/26-22:58:53.650458 74730 [db\version_set.cc:4684] Column family [default] (ID 0), log number is 6 +2025/12/26-22:58:53.651082 74730 [db\version_set.cc:4119] Creating manifest 13 +2025/12/26-22:58:53.695287 74730 EVENT_LOG_v1 {"time_micros": 1766761133695258, "job": 1, "event": "recovery_started", "wal_files": [10]} +2025/12/26-22:58:53.695310 74730 [db\db_impl\db_impl_open.cc:856] Recovering log #10 mode 2 +2025/12/26-22:58:53.695417 74730 [db\version_set.cc:4119] Creating manifest 14 +2025/12/26-22:58:53.757441 74730 EVENT_LOG_v1 {"time_micros": 1766761133757429, "job": 1, "event": "recovery_finished"} +2025/12/26-22:58:53.759324 74730 [file\delete_scheduler.cc:77] Deleted file ./data/000010.log immediately, rate_bytes_per_sec 0, total_trash_size 0 max_trash_db_ratio 0.250000 +2025/12/26-22:58:53.793337 74730 [db\db_impl\db_impl_open.cc:1757] SstFileManager instance 000001D1858D3240 +2025/12/26-22:58:53.793741 74730 DB pointer 000001D185B5D040 +2025/12/26-22:58:53.794268 762e8 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/26-22:58:53.794295 762e8 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 0.1 total, 0.1 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.1 total, 0.1 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** diff --git a/data/LOG.old.1766761382218951 b/data/LOG.old.1766761382218951 new file mode 100644 index 0000000..baed331 --- /dev/null +++ b/data/LOG.old.1766761382218951 @@ -0,0 +1,292 @@ +2025/12/26-23:01:09.667836 76358 RocksDB version: 6.20.3 +2025/12/26-23:01:09.667909 76358 Git sha 8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c +2025/12/26-23:01:09.667922 76358 Compile date 2021-05-07 18:16:49 +2025/12/26-23:01:09.667948 76358 DB SUMMARY +2025/12/26-23:01:09.667957 76358 DB Session ID: 2AFZUGVRP96I7SS5FFFO +2025/12/26-23:01:09.668310 76358 CURRENT file: CURRENT +2025/12/26-23:01:09.668319 76358 IDENTITY file: IDENTITY +2025/12/26-23:01:09.668361 76358 MANIFEST file: MANIFEST-000014 size: 59 Bytes +2025/12/26-23:01:09.668371 76358 SST files in ./data dir, Total Num: 0, files: +2025/12/26-23:01:09.668377 76358 Write Ahead Log file in ./data: 000015.log size: 0 ; +2025/12/26-23:01:09.668385 76358 Options.error_if_exists: 0 +2025/12/26-23:01:09.668627 76358 Options.create_if_missing: 1 +2025/12/26-23:01:09.668631 76358 Options.paranoid_checks: 1 +2025/12/26-23:01:09.668634 76358 Options.track_and_verify_wals_in_manifest: 0 +2025/12/26-23:01:09.668636 76358 Options.env: 000001BEB8B12900 +2025/12/26-23:01:09.668639 76358 Options.fs: WinFS +2025/12/26-23:01:09.668642 76358 Options.info_log: 000001BEB8D85CE0 +2025/12/26-23:01:09.668644 76358 Options.max_file_opening_threads: 16 +2025/12/26-23:01:09.668647 76358 Options.statistics: 0000000000000000 +2025/12/26-23:01:09.668649 76358 Options.use_fsync: 0 +2025/12/26-23:01:09.668652 76358 Options.max_log_file_size: 0 +2025/12/26-23:01:09.668654 76358 Options.max_manifest_file_size: 1073741824 +2025/12/26-23:01:09.668657 76358 Options.log_file_time_to_roll: 0 +2025/12/26-23:01:09.668659 76358 Options.keep_log_file_num: 1000 +2025/12/26-23:01:09.668662 76358 Options.recycle_log_file_num: 0 +2025/12/26-23:01:09.668664 76358 Options.allow_fallocate: 1 +2025/12/26-23:01:09.668666 76358 Options.allow_mmap_reads: 0 +2025/12/26-23:01:09.668669 76358 Options.allow_mmap_writes: 0 +2025/12/26-23:01:09.668672 76358 Options.use_direct_reads: 0 +2025/12/26-23:01:09.668674 76358 Options.use_direct_io_for_flush_and_compaction: 0 +2025/12/26-23:01:09.668677 76358 Options.create_missing_column_families: 0 +2025/12/26-23:01:09.668679 76358 Options.db_log_dir: +2025/12/26-23:01:09.668682 76358 Options.wal_dir: ./data +2025/12/26-23:01:09.668684 76358 Options.table_cache_numshardbits: 6 +2025/12/26-23:01:09.668686 76358 Options.WAL_ttl_seconds: 0 +2025/12/26-23:01:09.668689 76358 Options.WAL_size_limit_MB: 0 +2025/12/26-23:01:09.668691 76358 Options.max_write_batch_group_size_bytes: 1048576 +2025/12/26-23:01:09.668694 76358 Options.manifest_preallocation_size: 4194304 +2025/12/26-23:01:09.668696 76358 Options.is_fd_close_on_exec: 1 +2025/12/26-23:01:09.668699 76358 Options.advise_random_on_open: 1 +2025/12/26-23:01:09.668701 76358 Options.db_write_buffer_size: 0 +2025/12/26-23:01:09.668704 76358 Options.write_buffer_manager: 000001BEFE0959C0 +2025/12/26-23:01:09.668706 76358 Options.access_hint_on_compaction_start: 1 +2025/12/26-23:01:09.668709 76358 Options.new_table_reader_for_compaction_inputs: 0 +2025/12/26-23:01:09.668711 76358 Options.random_access_max_buffer_size: 1048576 +2025/12/26-23:01:09.668713 76358 Options.use_adaptive_mutex: 0 +2025/12/26-23:01:09.668716 76358 Options.rate_limiter: 0000000000000000 +2025/12/26-23:01:09.668719 76358 Options.sst_file_manager.rate_bytes_per_sec: 0 +2025/12/26-23:01:09.668721 76358 Options.wal_recovery_mode: 2 +2025/12/26-23:01:09.668741 76358 Options.enable_thread_tracking: 0 +2025/12/26-23:01:09.668745 76358 Options.enable_pipelined_write: 0 +2025/12/26-23:01:09.668747 76358 Options.unordered_write: 0 +2025/12/26-23:01:09.668750 76358 Options.allow_concurrent_memtable_write: 1 +2025/12/26-23:01:09.668752 76358 Options.enable_write_thread_adaptive_yield: 1 +2025/12/26-23:01:09.668754 76358 Options.write_thread_max_yield_usec: 100 +2025/12/26-23:01:09.668757 76358 Options.write_thread_slow_yield_usec: 3 +2025/12/26-23:01:09.668759 76358 Options.row_cache: None +2025/12/26-23:01:09.668762 76358 Options.wal_filter: None +2025/12/26-23:01:09.668764 76358 Options.avoid_flush_during_recovery: 0 +2025/12/26-23:01:09.668767 76358 Options.allow_ingest_behind: 0 +2025/12/26-23:01:09.668769 76358 Options.preserve_deletes: 0 +2025/12/26-23:01:09.668771 76358 Options.two_write_queues: 0 +2025/12/26-23:01:09.668774 76358 Options.manual_wal_flush: 0 +2025/12/26-23:01:09.668776 76358 Options.atomic_flush: 0 +2025/12/26-23:01:09.668778 76358 Options.avoid_unnecessary_blocking_io: 0 +2025/12/26-23:01:09.668781 76358 Options.persist_stats_to_disk: 0 +2025/12/26-23:01:09.668783 76358 Options.write_dbid_to_manifest: 0 +2025/12/26-23:01:09.668786 76358 Options.log_readahead_size: 0 +2025/12/26-23:01:09.668788 76358 Options.file_checksum_gen_factory: Unknown +2025/12/26-23:01:09.668790 76358 Options.best_efforts_recovery: 0 +2025/12/26-23:01:09.668793 76358 Options.max_bgerror_resume_count: 2147483647 +2025/12/26-23:01:09.668795 76358 Options.bgerror_resume_retry_interval: 1000000 +2025/12/26-23:01:09.668798 76358 Options.allow_data_in_errors: 0 +2025/12/26-23:01:09.668800 76358 Options.db_host_id: __hostname__ +2025/12/26-23:01:09.668803 76358 Options.max_background_jobs: 2 +2025/12/26-23:01:09.668805 76358 Options.max_background_compactions: -1 +2025/12/26-23:01:09.668808 76358 Options.max_subcompactions: 1 +2025/12/26-23:01:09.668810 76358 Options.avoid_flush_during_shutdown: 0 +2025/12/26-23:01:09.668813 76358 Options.writable_file_max_buffer_size: 1048576 +2025/12/26-23:01:09.668815 76358 Options.delayed_write_rate : 16777216 +2025/12/26-23:01:09.668818 76358 Options.max_total_wal_size: 0 +2025/12/26-23:01:09.668820 76358 Options.delete_obsolete_files_period_micros: 21600000000 +2025/12/26-23:01:09.668823 76358 Options.stats_dump_period_sec: 600 +2025/12/26-23:01:09.668825 76358 Options.stats_persist_period_sec: 600 +2025/12/26-23:01:09.668827 76358 Options.stats_history_buffer_size: 1048576 +2025/12/26-23:01:09.668830 76358 Options.max_open_files: -1 +2025/12/26-23:01:09.668832 76358 Options.bytes_per_sync: 0 +2025/12/26-23:01:09.668835 76358 Options.wal_bytes_per_sync: 0 +2025/12/26-23:01:09.668837 76358 Options.strict_bytes_per_sync: 0 +2025/12/26-23:01:09.668840 76358 Options.compaction_readahead_size: 0 +2025/12/26-23:01:09.668842 76358 Options.max_background_flushes: -1 +2025/12/26-23:01:09.668848 76358 Compression algorithms supported: +2025/12/26-23:01:09.668851 76358 kZSTD supported: 1 +2025/12/26-23:01:09.668853 76358 kSnappyCompression supported: 1 +2025/12/26-23:01:09.668856 76358 kBZip2Compression supported: 0 +2025/12/26-23:01:09.668858 76358 kZlibCompression supported: 1 +2025/12/26-23:01:09.668861 76358 kLZ4Compression supported: 1 +2025/12/26-23:01:09.668863 76358 kXpressCompression supported: 0 +2025/12/26-23:01:09.668865 76358 kLZ4HCCompression supported: 1 +2025/12/26-23:01:09.668868 76358 kZSTDNotFinalCompression supported: 1 +2025/12/26-23:01:09.668890 76358 Fast CRC32 supported: Supported on x86 +2025/12/26-23:01:09.669484 76358 [db\version_set.cc:4627] Recovering from manifest file: ./data/MANIFEST-000014 +2025/12/26-23:01:09.669614 76358 [db\column_family.cc:598] --------------- Options for column family [default]: +2025/12/26-23:01:09.669621 76358 Options.comparator: leveldb.BytewiseComparator +2025/12/26-23:01:09.669624 76358 Options.merge_operator: None +2025/12/26-23:01:09.669626 76358 Options.compaction_filter: None +2025/12/26-23:01:09.669629 76358 Options.compaction_filter_factory: None +2025/12/26-23:01:09.669631 76358 Options.sst_partitioner_factory: None +2025/12/26-23:01:09.669633 76358 Options.memtable_factory: SkipListFactory +2025/12/26-23:01:09.669636 76358 Options.table_factory: BlockBasedTable +2025/12/26-23:01:09.669657 76358 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (000001BEFE0BB1E0) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + hash_index_allow_collision: 1 + checksum: 1 + no_block_cache: 0 + block_cache: 000001BEFE08FBA0 + block_cache_name: LRUCache + block_cache_options: + capacity : 8388608 + num_shard_bits : 4 + strict_capacity_limit : 0 + memory_allocator : None + high_pri_pool_ratio: 0.000 + block_cache_compressed: 0000000000000000 + persistent_cache: 0000000000000000 + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 5 + enable_index_compression: 1 + block_align: 0 +2025/12/26-23:01:09.669660 76358 Options.write_buffer_size: 67108864 +2025/12/26-23:01:09.669662 76358 Options.max_write_buffer_number: 2 +2025/12/26-23:01:09.669665 76358 Options.compression: Snappy +2025/12/26-23:01:09.669668 76358 Options.bottommost_compression: Disabled +2025/12/26-23:01:09.669670 76358 Options.prefix_extractor: nullptr +2025/12/26-23:01:09.669673 76358 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2025/12/26-23:01:09.669675 76358 Options.num_levels: 7 +2025/12/26-23:01:09.669677 76358 Options.min_write_buffer_number_to_merge: 1 +2025/12/26-23:01:09.669680 76358 Options.max_write_buffer_number_to_maintain: 0 +2025/12/26-23:01:09.669682 76358 Options.max_write_buffer_size_to_maintain: 0 +2025/12/26-23:01:09.669684 76358 Options.bottommost_compression_opts.window_bits: -14 +2025/12/26-23:01:09.669687 76358 Options.bottommost_compression_opts.level: 32767 +2025/12/26-23:01:09.669689 76358 Options.bottommost_compression_opts.strategy: 0 +2025/12/26-23:01:09.669692 76358 Options.bottommost_compression_opts.max_dict_bytes: 0 +2025/12/26-23:01:09.669694 76358 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2025/12/26-23:01:09.669699 76358 Options.bottommost_compression_opts.parallel_threads: 1 +2025/12/26-23:01:09.669702 76358 Options.bottommost_compression_opts.enabled: false +2025/12/26-23:01:09.669704 76358 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-23:01:09.669707 76358 Options.compression_opts.window_bits: -14 +2025/12/26-23:01:09.669709 76358 Options.compression_opts.level: 32767 +2025/12/26-23:01:09.669711 76358 Options.compression_opts.strategy: 0 +2025/12/26-23:01:09.669714 76358 Options.compression_opts.max_dict_bytes: 0 +2025/12/26-23:01:09.669716 76358 Options.compression_opts.zstd_max_train_bytes: 0 +2025/12/26-23:01:09.669719 76358 Options.compression_opts.parallel_threads: 1 +2025/12/26-23:01:09.669721 76358 Options.compression_opts.enabled: false +2025/12/26-23:01:09.669725 76358 Options.compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-23:01:09.669729 76358 Options.level0_file_num_compaction_trigger: 4 +2025/12/26-23:01:09.669731 76358 Options.level0_slowdown_writes_trigger: 20 +2025/12/26-23:01:09.669734 76358 Options.level0_stop_writes_trigger: 36 +2025/12/26-23:01:09.669736 76358 Options.target_file_size_base: 67108864 +2025/12/26-23:01:09.669739 76358 Options.target_file_size_multiplier: 1 +2025/12/26-23:01:09.669741 76358 Options.max_bytes_for_level_base: 268435456 +2025/12/26-23:01:09.669744 76358 Options.level_compaction_dynamic_level_bytes: 0 +2025/12/26-23:01:09.669746 76358 Options.max_bytes_for_level_multiplier: 10.000000 +2025/12/26-23:01:09.669749 76358 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2025/12/26-23:01:09.669751 76358 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2025/12/26-23:01:09.669754 76358 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2025/12/26-23:01:09.669757 76358 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2025/12/26-23:01:09.669759 76358 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2025/12/26-23:01:09.669762 76358 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2025/12/26-23:01:09.669764 76358 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2025/12/26-23:01:09.669766 76358 Options.max_sequential_skip_in_iterations: 8 +2025/12/26-23:01:09.669769 76358 Options.max_compaction_bytes: 1677721600 +2025/12/26-23:01:09.669771 76358 Options.arena_block_size: 8388608 +2025/12/26-23:01:09.669774 76358 Options.soft_pending_compaction_bytes_limit: 68719476736 +2025/12/26-23:01:09.669776 76358 Options.hard_pending_compaction_bytes_limit: 274877906944 +2025/12/26-23:01:09.669779 76358 Options.rate_limit_delay_max_milliseconds: 100 +2025/12/26-23:01:09.669781 76358 Options.disable_auto_compactions: 0 +2025/12/26-23:01:09.669784 76358 Options.compaction_style: kCompactionStyleLevel +2025/12/26-23:01:09.669787 76358 Options.compaction_pri: kMinOverlappingRatio +2025/12/26-23:01:09.669789 76358 Options.compaction_options_universal.size_ratio: 1 +2025/12/26-23:01:09.669792 76358 Options.compaction_options_universal.min_merge_width: 2 +2025/12/26-23:01:09.669794 76358 Options.compaction_options_universal.max_merge_width: 4294967295 +2025/12/26-23:01:09.669797 76358 Options.compaction_options_universal.max_size_amplification_percent: 200 +2025/12/26-23:01:09.669799 76358 Options.compaction_options_universal.compression_size_percent: -1 +2025/12/26-23:01:09.669802 76358 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2025/12/26-23:01:09.669805 76358 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2025/12/26-23:01:09.669807 76358 Options.compaction_options_fifo.allow_compaction: 0 +2025/12/26-23:01:09.669811 76358 Options.table_properties_collectors: +2025/12/26-23:01:09.669813 76358 Options.inplace_update_support: 0 +2025/12/26-23:01:09.669816 76358 Options.inplace_update_num_locks: 10000 +2025/12/26-23:01:09.669818 76358 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2025/12/26-23:01:09.669821 76358 Options.memtable_whole_key_filtering: 0 +2025/12/26-23:01:09.669823 76358 Options.memtable_huge_page_size: 0 +2025/12/26-23:01:09.669825 76358 Options.bloom_locality: 0 +2025/12/26-23:01:09.669828 76358 Options.max_successive_merges: 0 +2025/12/26-23:01:09.669830 76358 Options.optimize_filters_for_hits: 0 +2025/12/26-23:01:09.669833 76358 Options.paranoid_file_checks: 0 +2025/12/26-23:01:09.669835 76358 Options.force_consistency_checks: 1 +2025/12/26-23:01:09.669838 76358 Options.report_bg_io_stats: 0 +2025/12/26-23:01:09.669840 76358 Options.ttl: 2592000 +2025/12/26-23:01:09.669864 76358 Options.periodic_compaction_seconds: 0 +2025/12/26-23:01:09.669867 76358 Options.enable_blob_files: false +2025/12/26-23:01:09.669869 76358 Options.min_blob_size: 0 +2025/12/26-23:01:09.669872 76358 Options.blob_file_size: 268435456 +2025/12/26-23:01:09.669874 76358 Options.blob_compression_type: NoCompression +2025/12/26-23:01:09.669877 76358 Options.enable_blob_garbage_collection: false +2025/12/26-23:01:09.669879 76358 Options.blob_garbage_collection_age_cutoff: 0.250000 +2025/12/26-23:01:09.671031 76358 [db\version_set.cc:4675] Recovered from manifest file:./data/MANIFEST-000014 succeeded,manifest_file_number is 14, next_file_number is 16, last_sequence is 0, log_number is 11,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2025/12/26-23:01:09.671047 76358 [db\version_set.cc:4684] Column family [default] (ID 0), log number is 11 +2025/12/26-23:01:09.671674 76358 [db\version_set.cc:4119] Creating manifest 18 +2025/12/26-23:01:09.677750 76358 EVENT_LOG_v1 {"time_micros": 1766761269677727, "job": 1, "event": "recovery_started", "wal_files": [15]} +2025/12/26-23:01:09.677767 76358 [db\db_impl\db_impl_open.cc:856] Recovering log #15 mode 2 +2025/12/26-23:01:09.677836 76358 [db\version_set.cc:4119] Creating manifest 19 +2025/12/26-23:01:09.686668 76358 EVENT_LOG_v1 {"time_micros": 1766761269686660, "job": 1, "event": "recovery_finished"} +2025/12/26-23:01:09.687775 76358 [file\delete_scheduler.cc:77] Deleted file ./data/000015.log immediately, rate_bytes_per_sec 0, total_trash_size 0 max_trash_db_ratio 0.250000 +2025/12/26-23:01:09.693683 76358 [db\db_impl\db_impl_open.cc:1757] SstFileManager instance 000001BEB83579D0 +2025/12/26-23:01:09.694061 76358 DB pointer 000001BEFE530020 +2025/12/26-23:01:09.694526 663fc [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/26-23:01:09.694539 663fc [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 0.0 total, 0.0 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** diff --git a/data/LOG.old.1766764440941466 b/data/LOG.old.1766764440941466 new file mode 100644 index 0000000..56baf01 --- /dev/null +++ b/data/LOG.old.1766764440941466 @@ -0,0 +1,292 @@ +2025/12/26-23:03:02.220389 75af0 RocksDB version: 6.20.3 +2025/12/26-23:03:02.220457 75af0 Git sha 8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c +2025/12/26-23:03:02.220471 75af0 Compile date 2021-05-07 18:16:49 +2025/12/26-23:03:02.220498 75af0 DB SUMMARY +2025/12/26-23:03:02.220507 75af0 DB Session ID: 329GEM3RBIVVCUE7XDJS +2025/12/26-23:03:02.220885 75af0 CURRENT file: CURRENT +2025/12/26-23:03:02.220895 75af0 IDENTITY file: IDENTITY +2025/12/26-23:03:02.220937 75af0 MANIFEST file: MANIFEST-000019 size: 59 Bytes +2025/12/26-23:03:02.220947 75af0 SST files in ./data dir, Total Num: 0, files: +2025/12/26-23:03:02.220954 75af0 Write Ahead Log file in ./data: 000020.log size: 0 ; +2025/12/26-23:03:02.220961 75af0 Options.error_if_exists: 0 +2025/12/26-23:03:02.221232 75af0 Options.create_if_missing: 1 +2025/12/26-23:03:02.221237 75af0 Options.paranoid_checks: 1 +2025/12/26-23:03:02.221239 75af0 Options.track_and_verify_wals_in_manifest: 0 +2025/12/26-23:03:02.221242 75af0 Options.env: 0000020D6CCC9970 +2025/12/26-23:03:02.221245 75af0 Options.fs: WinFS +2025/12/26-23:03:02.221247 75af0 Options.info_log: 0000020D6C831070 +2025/12/26-23:03:02.221250 75af0 Options.max_file_opening_threads: 16 +2025/12/26-23:03:02.221253 75af0 Options.statistics: 0000000000000000 +2025/12/26-23:03:02.221255 75af0 Options.use_fsync: 0 +2025/12/26-23:03:02.221258 75af0 Options.max_log_file_size: 0 +2025/12/26-23:03:02.221260 75af0 Options.max_manifest_file_size: 1073741824 +2025/12/26-23:03:02.221263 75af0 Options.log_file_time_to_roll: 0 +2025/12/26-23:03:02.221265 75af0 Options.keep_log_file_num: 1000 +2025/12/26-23:03:02.221268 75af0 Options.recycle_log_file_num: 0 +2025/12/26-23:03:02.221270 75af0 Options.allow_fallocate: 1 +2025/12/26-23:03:02.221272 75af0 Options.allow_mmap_reads: 0 +2025/12/26-23:03:02.221275 75af0 Options.allow_mmap_writes: 0 +2025/12/26-23:03:02.221277 75af0 Options.use_direct_reads: 0 +2025/12/26-23:03:02.221280 75af0 Options.use_direct_io_for_flush_and_compaction: 0 +2025/12/26-23:03:02.221282 75af0 Options.create_missing_column_families: 0 +2025/12/26-23:03:02.221285 75af0 Options.db_log_dir: +2025/12/26-23:03:02.221287 75af0 Options.wal_dir: ./data +2025/12/26-23:03:02.221290 75af0 Options.table_cache_numshardbits: 6 +2025/12/26-23:03:02.221292 75af0 Options.WAL_ttl_seconds: 0 +2025/12/26-23:03:02.221295 75af0 Options.WAL_size_limit_MB: 0 +2025/12/26-23:03:02.221297 75af0 Options.max_write_batch_group_size_bytes: 1048576 +2025/12/26-23:03:02.221300 75af0 Options.manifest_preallocation_size: 4194304 +2025/12/26-23:03:02.221303 75af0 Options.is_fd_close_on_exec: 1 +2025/12/26-23:03:02.221305 75af0 Options.advise_random_on_open: 1 +2025/12/26-23:03:02.221308 75af0 Options.db_write_buffer_size: 0 +2025/12/26-23:03:02.221310 75af0 Options.write_buffer_manager: 0000020D26C6E900 +2025/12/26-23:03:02.221312 75af0 Options.access_hint_on_compaction_start: 1 +2025/12/26-23:03:02.221315 75af0 Options.new_table_reader_for_compaction_inputs: 0 +2025/12/26-23:03:02.221317 75af0 Options.random_access_max_buffer_size: 1048576 +2025/12/26-23:03:02.221320 75af0 Options.use_adaptive_mutex: 0 +2025/12/26-23:03:02.221322 75af0 Options.rate_limiter: 0000000000000000 +2025/12/26-23:03:02.221325 75af0 Options.sst_file_manager.rate_bytes_per_sec: 0 +2025/12/26-23:03:02.221328 75af0 Options.wal_recovery_mode: 2 +2025/12/26-23:03:02.221349 75af0 Options.enable_thread_tracking: 0 +2025/12/26-23:03:02.221353 75af0 Options.enable_pipelined_write: 0 +2025/12/26-23:03:02.221356 75af0 Options.unordered_write: 0 +2025/12/26-23:03:02.221358 75af0 Options.allow_concurrent_memtable_write: 1 +2025/12/26-23:03:02.221360 75af0 Options.enable_write_thread_adaptive_yield: 1 +2025/12/26-23:03:02.221363 75af0 Options.write_thread_max_yield_usec: 100 +2025/12/26-23:03:02.221365 75af0 Options.write_thread_slow_yield_usec: 3 +2025/12/26-23:03:02.221368 75af0 Options.row_cache: None +2025/12/26-23:03:02.221370 75af0 Options.wal_filter: None +2025/12/26-23:03:02.221373 75af0 Options.avoid_flush_during_recovery: 0 +2025/12/26-23:03:02.221375 75af0 Options.allow_ingest_behind: 0 +2025/12/26-23:03:02.221378 75af0 Options.preserve_deletes: 0 +2025/12/26-23:03:02.221380 75af0 Options.two_write_queues: 0 +2025/12/26-23:03:02.221383 75af0 Options.manual_wal_flush: 0 +2025/12/26-23:03:02.221385 75af0 Options.atomic_flush: 0 +2025/12/26-23:03:02.221388 75af0 Options.avoid_unnecessary_blocking_io: 0 +2025/12/26-23:03:02.221390 75af0 Options.persist_stats_to_disk: 0 +2025/12/26-23:03:02.221393 75af0 Options.write_dbid_to_manifest: 0 +2025/12/26-23:03:02.221395 75af0 Options.log_readahead_size: 0 +2025/12/26-23:03:02.221398 75af0 Options.file_checksum_gen_factory: Unknown +2025/12/26-23:03:02.221400 75af0 Options.best_efforts_recovery: 0 +2025/12/26-23:03:02.221403 75af0 Options.max_bgerror_resume_count: 2147483647 +2025/12/26-23:03:02.221405 75af0 Options.bgerror_resume_retry_interval: 1000000 +2025/12/26-23:03:02.221408 75af0 Options.allow_data_in_errors: 0 +2025/12/26-23:03:02.221410 75af0 Options.db_host_id: __hostname__ +2025/12/26-23:03:02.221413 75af0 Options.max_background_jobs: 2 +2025/12/26-23:03:02.221415 75af0 Options.max_background_compactions: -1 +2025/12/26-23:03:02.221418 75af0 Options.max_subcompactions: 1 +2025/12/26-23:03:02.221420 75af0 Options.avoid_flush_during_shutdown: 0 +2025/12/26-23:03:02.221423 75af0 Options.writable_file_max_buffer_size: 1048576 +2025/12/26-23:03:02.221425 75af0 Options.delayed_write_rate : 16777216 +2025/12/26-23:03:02.221428 75af0 Options.max_total_wal_size: 0 +2025/12/26-23:03:02.221430 75af0 Options.delete_obsolete_files_period_micros: 21600000000 +2025/12/26-23:03:02.221433 75af0 Options.stats_dump_period_sec: 600 +2025/12/26-23:03:02.221435 75af0 Options.stats_persist_period_sec: 600 +2025/12/26-23:03:02.221437 75af0 Options.stats_history_buffer_size: 1048576 +2025/12/26-23:03:02.221440 75af0 Options.max_open_files: -1 +2025/12/26-23:03:02.221442 75af0 Options.bytes_per_sync: 0 +2025/12/26-23:03:02.221445 75af0 Options.wal_bytes_per_sync: 0 +2025/12/26-23:03:02.221448 75af0 Options.strict_bytes_per_sync: 0 +2025/12/26-23:03:02.221450 75af0 Options.compaction_readahead_size: 0 +2025/12/26-23:03:02.221453 75af0 Options.max_background_flushes: -1 +2025/12/26-23:03:02.221458 75af0 Compression algorithms supported: +2025/12/26-23:03:02.221461 75af0 kZSTD supported: 1 +2025/12/26-23:03:02.221464 75af0 kSnappyCompression supported: 1 +2025/12/26-23:03:02.221466 75af0 kBZip2Compression supported: 0 +2025/12/26-23:03:02.221469 75af0 kZlibCompression supported: 1 +2025/12/26-23:03:02.221471 75af0 kLZ4Compression supported: 1 +2025/12/26-23:03:02.221474 75af0 kXpressCompression supported: 0 +2025/12/26-23:03:02.221476 75af0 kLZ4HCCompression supported: 1 +2025/12/26-23:03:02.221479 75af0 kZSTDNotFinalCompression supported: 1 +2025/12/26-23:03:02.221500 75af0 Fast CRC32 supported: Supported on x86 +2025/12/26-23:03:02.222126 75af0 [db\version_set.cc:4627] Recovering from manifest file: ./data/MANIFEST-000019 +2025/12/26-23:03:02.222265 75af0 [db\column_family.cc:598] --------------- Options for column family [default]: +2025/12/26-23:03:02.222273 75af0 Options.comparator: leveldb.BytewiseComparator +2025/12/26-23:03:02.222276 75af0 Options.merge_operator: None +2025/12/26-23:03:02.222278 75af0 Options.compaction_filter: None +2025/12/26-23:03:02.222281 75af0 Options.compaction_filter_factory: None +2025/12/26-23:03:02.222283 75af0 Options.sst_partitioner_factory: None +2025/12/26-23:03:02.222286 75af0 Options.memtable_factory: SkipListFactory +2025/12/26-23:03:02.222288 75af0 Options.table_factory: BlockBasedTable +2025/12/26-23:03:02.222311 75af0 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (0000020D6C76EEB0) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + hash_index_allow_collision: 1 + checksum: 1 + no_block_cache: 0 + block_cache: 0000020D6D0C1580 + block_cache_name: LRUCache + block_cache_options: + capacity : 8388608 + num_shard_bits : 4 + strict_capacity_limit : 0 + memory_allocator : None + high_pri_pool_ratio: 0.000 + block_cache_compressed: 0000000000000000 + persistent_cache: 0000000000000000 + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 5 + enable_index_compression: 1 + block_align: 0 +2025/12/26-23:03:02.222314 75af0 Options.write_buffer_size: 67108864 +2025/12/26-23:03:02.222316 75af0 Options.max_write_buffer_number: 2 +2025/12/26-23:03:02.222319 75af0 Options.compression: Snappy +2025/12/26-23:03:02.222321 75af0 Options.bottommost_compression: Disabled +2025/12/26-23:03:02.222324 75af0 Options.prefix_extractor: nullptr +2025/12/26-23:03:02.222326 75af0 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2025/12/26-23:03:02.222329 75af0 Options.num_levels: 7 +2025/12/26-23:03:02.222331 75af0 Options.min_write_buffer_number_to_merge: 1 +2025/12/26-23:03:02.222334 75af0 Options.max_write_buffer_number_to_maintain: 0 +2025/12/26-23:03:02.222336 75af0 Options.max_write_buffer_size_to_maintain: 0 +2025/12/26-23:03:02.222339 75af0 Options.bottommost_compression_opts.window_bits: -14 +2025/12/26-23:03:02.222341 75af0 Options.bottommost_compression_opts.level: 32767 +2025/12/26-23:03:02.222344 75af0 Options.bottommost_compression_opts.strategy: 0 +2025/12/26-23:03:02.222346 75af0 Options.bottommost_compression_opts.max_dict_bytes: 0 +2025/12/26-23:03:02.222349 75af0 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2025/12/26-23:03:02.222354 75af0 Options.bottommost_compression_opts.parallel_threads: 1 +2025/12/26-23:03:02.222356 75af0 Options.bottommost_compression_opts.enabled: false +2025/12/26-23:03:02.222359 75af0 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-23:03:02.222361 75af0 Options.compression_opts.window_bits: -14 +2025/12/26-23:03:02.222364 75af0 Options.compression_opts.level: 32767 +2025/12/26-23:03:02.222366 75af0 Options.compression_opts.strategy: 0 +2025/12/26-23:03:02.222369 75af0 Options.compression_opts.max_dict_bytes: 0 +2025/12/26-23:03:02.222371 75af0 Options.compression_opts.zstd_max_train_bytes: 0 +2025/12/26-23:03:02.222373 75af0 Options.compression_opts.parallel_threads: 1 +2025/12/26-23:03:02.222376 75af0 Options.compression_opts.enabled: false +2025/12/26-23:03:02.222380 75af0 Options.compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-23:03:02.222384 75af0 Options.level0_file_num_compaction_trigger: 4 +2025/12/26-23:03:02.222386 75af0 Options.level0_slowdown_writes_trigger: 20 +2025/12/26-23:03:02.222389 75af0 Options.level0_stop_writes_trigger: 36 +2025/12/26-23:03:02.222391 75af0 Options.target_file_size_base: 67108864 +2025/12/26-23:03:02.222394 75af0 Options.target_file_size_multiplier: 1 +2025/12/26-23:03:02.222396 75af0 Options.max_bytes_for_level_base: 268435456 +2025/12/26-23:03:02.222398 75af0 Options.level_compaction_dynamic_level_bytes: 0 +2025/12/26-23:03:02.222401 75af0 Options.max_bytes_for_level_multiplier: 10.000000 +2025/12/26-23:03:02.222404 75af0 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2025/12/26-23:03:02.222407 75af0 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2025/12/26-23:03:02.222409 75af0 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2025/12/26-23:03:02.222412 75af0 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2025/12/26-23:03:02.222414 75af0 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2025/12/26-23:03:02.222417 75af0 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2025/12/26-23:03:02.222419 75af0 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2025/12/26-23:03:02.222422 75af0 Options.max_sequential_skip_in_iterations: 8 +2025/12/26-23:03:02.222424 75af0 Options.max_compaction_bytes: 1677721600 +2025/12/26-23:03:02.222426 75af0 Options.arena_block_size: 8388608 +2025/12/26-23:03:02.222429 75af0 Options.soft_pending_compaction_bytes_limit: 68719476736 +2025/12/26-23:03:02.222432 75af0 Options.hard_pending_compaction_bytes_limit: 274877906944 +2025/12/26-23:03:02.222434 75af0 Options.rate_limit_delay_max_milliseconds: 100 +2025/12/26-23:03:02.222437 75af0 Options.disable_auto_compactions: 0 +2025/12/26-23:03:02.222440 75af0 Options.compaction_style: kCompactionStyleLevel +2025/12/26-23:03:02.222443 75af0 Options.compaction_pri: kMinOverlappingRatio +2025/12/26-23:03:02.222446 75af0 Options.compaction_options_universal.size_ratio: 1 +2025/12/26-23:03:02.222448 75af0 Options.compaction_options_universal.min_merge_width: 2 +2025/12/26-23:03:02.222450 75af0 Options.compaction_options_universal.max_merge_width: 4294967295 +2025/12/26-23:03:02.222453 75af0 Options.compaction_options_universal.max_size_amplification_percent: 200 +2025/12/26-23:03:02.222455 75af0 Options.compaction_options_universal.compression_size_percent: -1 +2025/12/26-23:03:02.222458 75af0 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2025/12/26-23:03:02.222461 75af0 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2025/12/26-23:03:02.222463 75af0 Options.compaction_options_fifo.allow_compaction: 0 +2025/12/26-23:03:02.222467 75af0 Options.table_properties_collectors: +2025/12/26-23:03:02.222470 75af0 Options.inplace_update_support: 0 +2025/12/26-23:03:02.222472 75af0 Options.inplace_update_num_locks: 10000 +2025/12/26-23:03:02.222475 75af0 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2025/12/26-23:03:02.222477 75af0 Options.memtable_whole_key_filtering: 0 +2025/12/26-23:03:02.222480 75af0 Options.memtable_huge_page_size: 0 +2025/12/26-23:03:02.222482 75af0 Options.bloom_locality: 0 +2025/12/26-23:03:02.222485 75af0 Options.max_successive_merges: 0 +2025/12/26-23:03:02.222487 75af0 Options.optimize_filters_for_hits: 0 +2025/12/26-23:03:02.222490 75af0 Options.paranoid_file_checks: 0 +2025/12/26-23:03:02.222492 75af0 Options.force_consistency_checks: 1 +2025/12/26-23:03:02.222495 75af0 Options.report_bg_io_stats: 0 +2025/12/26-23:03:02.222497 75af0 Options.ttl: 2592000 +2025/12/26-23:03:02.222525 75af0 Options.periodic_compaction_seconds: 0 +2025/12/26-23:03:02.222528 75af0 Options.enable_blob_files: false +2025/12/26-23:03:02.222531 75af0 Options.min_blob_size: 0 +2025/12/26-23:03:02.222533 75af0 Options.blob_file_size: 268435456 +2025/12/26-23:03:02.222536 75af0 Options.blob_compression_type: NoCompression +2025/12/26-23:03:02.222538 75af0 Options.enable_blob_garbage_collection: false +2025/12/26-23:03:02.222541 75af0 Options.blob_garbage_collection_age_cutoff: 0.250000 +2025/12/26-23:03:02.224881 75af0 [db\version_set.cc:4675] Recovered from manifest file:./data/MANIFEST-000019 succeeded,manifest_file_number is 19, next_file_number is 21, last_sequence is 0, log_number is 16,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2025/12/26-23:03:02.224897 75af0 [db\version_set.cc:4684] Column family [default] (ID 0), log number is 16 +2025/12/26-23:03:02.225670 75af0 [db\version_set.cc:4119] Creating manifest 23 +2025/12/26-23:03:02.232442 75af0 EVENT_LOG_v1 {"time_micros": 1766761382232416, "job": 1, "event": "recovery_started", "wal_files": [20]} +2025/12/26-23:03:02.232462 75af0 [db\db_impl\db_impl_open.cc:856] Recovering log #20 mode 2 +2025/12/26-23:03:02.232547 75af0 [db\version_set.cc:4119] Creating manifest 24 +2025/12/26-23:03:02.242161 75af0 EVENT_LOG_v1 {"time_micros": 1766761382242154, "job": 1, "event": "recovery_finished"} +2025/12/26-23:03:02.243294 75af0 [file\delete_scheduler.cc:77] Deleted file ./data/000020.log immediately, rate_bytes_per_sec 0, total_trash_size 0 max_trash_db_ratio 0.250000 +2025/12/26-23:03:02.249195 75af0 [db\db_impl\db_impl_open.cc:1757] SstFileManager instance 0000020D6CA957C0 +2025/12/26-23:03:02.249566 75af0 DB pointer 0000020D26CBD940 +2025/12/26-23:03:02.250060 69cf0 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/26-23:03:02.250075 69cf0 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 0.0 total, 0.0 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** diff --git a/data/LOG.old.1766764922049902 b/data/LOG.old.1766764922049902 new file mode 100644 index 0000000..611745a --- /dev/null +++ b/data/LOG.old.1766764922049902 @@ -0,0 +1,292 @@ +2025/12/26-23:54:00.944047 7419c RocksDB version: 6.20.3 +2025/12/26-23:54:00.944140 7419c Git sha 8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c +2025/12/26-23:54:00.944158 7419c Compile date 2021-05-07 18:16:49 +2025/12/26-23:54:00.944194 7419c DB SUMMARY +2025/12/26-23:54:00.944205 7419c DB Session ID: QE3SUXCEK131HAVO40Z2 +2025/12/26-23:54:00.944798 7419c CURRENT file: CURRENT +2025/12/26-23:54:00.944824 7419c IDENTITY file: IDENTITY +2025/12/26-23:54:00.944914 7419c MANIFEST file: MANIFEST-000024 size: 59 Bytes +2025/12/26-23:54:00.944929 7419c SST files in ./data dir, Total Num: 0, files: +2025/12/26-23:54:00.944938 7419c Write Ahead Log file in ./data: 000025.log size: 0 ; +2025/12/26-23:54:00.944948 7419c Options.error_if_exists: 0 +2025/12/26-23:54:00.945195 7419c Options.create_if_missing: 1 +2025/12/26-23:54:00.945204 7419c Options.paranoid_checks: 1 +2025/12/26-23:54:00.945207 7419c Options.track_and_verify_wals_in_manifest: 0 +2025/12/26-23:54:00.945211 7419c Options.env: 000002B74B128480 +2025/12/26-23:54:00.945214 7419c Options.fs: WinFS +2025/12/26-23:54:00.945217 7419c Options.info_log: 000002B74B0E5470 +2025/12/26-23:54:00.945220 7419c Options.max_file_opening_threads: 16 +2025/12/26-23:54:00.945223 7419c Options.statistics: 0000000000000000 +2025/12/26-23:54:00.945227 7419c Options.use_fsync: 0 +2025/12/26-23:54:00.945230 7419c Options.max_log_file_size: 0 +2025/12/26-23:54:00.945233 7419c Options.max_manifest_file_size: 1073741824 +2025/12/26-23:54:00.945236 7419c Options.log_file_time_to_roll: 0 +2025/12/26-23:54:00.945239 7419c Options.keep_log_file_num: 1000 +2025/12/26-23:54:00.945242 7419c Options.recycle_log_file_num: 0 +2025/12/26-23:54:00.945245 7419c Options.allow_fallocate: 1 +2025/12/26-23:54:00.945248 7419c Options.allow_mmap_reads: 0 +2025/12/26-23:54:00.945251 7419c Options.allow_mmap_writes: 0 +2025/12/26-23:54:00.945254 7419c Options.use_direct_reads: 0 +2025/12/26-23:54:00.945257 7419c Options.use_direct_io_for_flush_and_compaction: 0 +2025/12/26-23:54:00.945260 7419c Options.create_missing_column_families: 0 +2025/12/26-23:54:00.945263 7419c Options.db_log_dir: +2025/12/26-23:54:00.945267 7419c Options.wal_dir: ./data +2025/12/26-23:54:00.945270 7419c Options.table_cache_numshardbits: 6 +2025/12/26-23:54:00.945273 7419c Options.WAL_ttl_seconds: 0 +2025/12/26-23:54:00.945276 7419c Options.WAL_size_limit_MB: 0 +2025/12/26-23:54:00.945279 7419c Options.max_write_batch_group_size_bytes: 1048576 +2025/12/26-23:54:00.945282 7419c Options.manifest_preallocation_size: 4194304 +2025/12/26-23:54:00.945285 7419c Options.is_fd_close_on_exec: 1 +2025/12/26-23:54:00.945288 7419c Options.advise_random_on_open: 1 +2025/12/26-23:54:00.945291 7419c Options.db_write_buffer_size: 0 +2025/12/26-23:54:00.945294 7419c Options.write_buffer_manager: 000002B74A8C57E0 +2025/12/26-23:54:00.945298 7419c Options.access_hint_on_compaction_start: 1 +2025/12/26-23:54:00.945301 7419c Options.new_table_reader_for_compaction_inputs: 0 +2025/12/26-23:54:00.945304 7419c Options.random_access_max_buffer_size: 1048576 +2025/12/26-23:54:00.945307 7419c Options.use_adaptive_mutex: 0 +2025/12/26-23:54:00.945310 7419c Options.rate_limiter: 0000000000000000 +2025/12/26-23:54:00.945313 7419c Options.sst_file_manager.rate_bytes_per_sec: 0 +2025/12/26-23:54:00.945317 7419c Options.wal_recovery_mode: 2 +2025/12/26-23:54:00.945347 7419c Options.enable_thread_tracking: 0 +2025/12/26-23:54:00.945352 7419c Options.enable_pipelined_write: 0 +2025/12/26-23:54:00.945355 7419c Options.unordered_write: 0 +2025/12/26-23:54:00.945358 7419c Options.allow_concurrent_memtable_write: 1 +2025/12/26-23:54:00.945361 7419c Options.enable_write_thread_adaptive_yield: 1 +2025/12/26-23:54:00.945364 7419c Options.write_thread_max_yield_usec: 100 +2025/12/26-23:54:00.945367 7419c Options.write_thread_slow_yield_usec: 3 +2025/12/26-23:54:00.945370 7419c Options.row_cache: None +2025/12/26-23:54:00.945373 7419c Options.wal_filter: None +2025/12/26-23:54:00.945376 7419c Options.avoid_flush_during_recovery: 0 +2025/12/26-23:54:00.945379 7419c Options.allow_ingest_behind: 0 +2025/12/26-23:54:00.945382 7419c Options.preserve_deletes: 0 +2025/12/26-23:54:00.945385 7419c Options.two_write_queues: 0 +2025/12/26-23:54:00.945388 7419c Options.manual_wal_flush: 0 +2025/12/26-23:54:00.945390 7419c Options.atomic_flush: 0 +2025/12/26-23:54:00.945393 7419c Options.avoid_unnecessary_blocking_io: 0 +2025/12/26-23:54:00.945396 7419c Options.persist_stats_to_disk: 0 +2025/12/26-23:54:00.945399 7419c Options.write_dbid_to_manifest: 0 +2025/12/26-23:54:00.945402 7419c Options.log_readahead_size: 0 +2025/12/26-23:54:00.945405 7419c Options.file_checksum_gen_factory: Unknown +2025/12/26-23:54:00.945408 7419c Options.best_efforts_recovery: 0 +2025/12/26-23:54:00.945411 7419c Options.max_bgerror_resume_count: 2147483647 +2025/12/26-23:54:00.945414 7419c Options.bgerror_resume_retry_interval: 1000000 +2025/12/26-23:54:00.945417 7419c Options.allow_data_in_errors: 0 +2025/12/26-23:54:00.945420 7419c Options.db_host_id: __hostname__ +2025/12/26-23:54:00.945423 7419c Options.max_background_jobs: 2 +2025/12/26-23:54:00.945426 7419c Options.max_background_compactions: -1 +2025/12/26-23:54:00.945430 7419c Options.max_subcompactions: 1 +2025/12/26-23:54:00.945433 7419c Options.avoid_flush_during_shutdown: 0 +2025/12/26-23:54:00.945436 7419c Options.writable_file_max_buffer_size: 1048576 +2025/12/26-23:54:00.945438 7419c Options.delayed_write_rate : 16777216 +2025/12/26-23:54:00.945442 7419c Options.max_total_wal_size: 0 +2025/12/26-23:54:00.945445 7419c Options.delete_obsolete_files_period_micros: 21600000000 +2025/12/26-23:54:00.945448 7419c Options.stats_dump_period_sec: 600 +2025/12/26-23:54:00.945451 7419c Options.stats_persist_period_sec: 600 +2025/12/26-23:54:00.945454 7419c Options.stats_history_buffer_size: 1048576 +2025/12/26-23:54:00.945457 7419c Options.max_open_files: -1 +2025/12/26-23:54:00.945460 7419c Options.bytes_per_sync: 0 +2025/12/26-23:54:00.945463 7419c Options.wal_bytes_per_sync: 0 +2025/12/26-23:54:00.945466 7419c Options.strict_bytes_per_sync: 0 +2025/12/26-23:54:00.945469 7419c Options.compaction_readahead_size: 0 +2025/12/26-23:54:00.945472 7419c Options.max_background_flushes: -1 +2025/12/26-23:54:00.945481 7419c Compression algorithms supported: +2025/12/26-23:54:00.945485 7419c kZSTD supported: 1 +2025/12/26-23:54:00.945489 7419c kSnappyCompression supported: 1 +2025/12/26-23:54:00.945492 7419c kBZip2Compression supported: 0 +2025/12/26-23:54:00.945495 7419c kZlibCompression supported: 1 +2025/12/26-23:54:00.945498 7419c kLZ4Compression supported: 1 +2025/12/26-23:54:00.945501 7419c kXpressCompression supported: 0 +2025/12/26-23:54:00.945504 7419c kLZ4HCCompression supported: 1 +2025/12/26-23:54:00.945507 7419c kZSTDNotFinalCompression supported: 1 +2025/12/26-23:54:00.945536 7419c Fast CRC32 supported: Supported on x86 +2025/12/26-23:54:00.946993 7419c [db\version_set.cc:4627] Recovering from manifest file: ./data/MANIFEST-000024 +2025/12/26-23:54:00.947180 7419c [db\column_family.cc:598] --------------- Options for column family [default]: +2025/12/26-23:54:00.947189 7419c Options.comparator: leveldb.BytewiseComparator +2025/12/26-23:54:00.947192 7419c Options.merge_operator: None +2025/12/26-23:54:00.947195 7419c Options.compaction_filter: None +2025/12/26-23:54:00.947198 7419c Options.compaction_filter_factory: None +2025/12/26-23:54:00.947201 7419c Options.sst_partitioner_factory: None +2025/12/26-23:54:00.947205 7419c Options.memtable_factory: SkipListFactory +2025/12/26-23:54:00.947208 7419c Options.table_factory: BlockBasedTable +2025/12/26-23:54:00.947242 7419c table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (000002B74B0EC830) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + hash_index_allow_collision: 1 + checksum: 1 + no_block_cache: 0 + block_cache: 000002B74AF7C9A0 + block_cache_name: LRUCache + block_cache_options: + capacity : 8388608 + num_shard_bits : 4 + strict_capacity_limit : 0 + memory_allocator : None + high_pri_pool_ratio: 0.000 + block_cache_compressed: 0000000000000000 + persistent_cache: 0000000000000000 + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 5 + enable_index_compression: 1 + block_align: 0 +2025/12/26-23:54:00.947247 7419c Options.write_buffer_size: 67108864 +2025/12/26-23:54:00.947250 7419c Options.max_write_buffer_number: 2 +2025/12/26-23:54:00.947253 7419c Options.compression: Snappy +2025/12/26-23:54:00.947256 7419c Options.bottommost_compression: Disabled +2025/12/26-23:54:00.947259 7419c Options.prefix_extractor: nullptr +2025/12/26-23:54:00.947262 7419c Options.memtable_insert_with_hint_prefix_extractor: nullptr +2025/12/26-23:54:00.947265 7419c Options.num_levels: 7 +2025/12/26-23:54:00.947268 7419c Options.min_write_buffer_number_to_merge: 1 +2025/12/26-23:54:00.947271 7419c Options.max_write_buffer_number_to_maintain: 0 +2025/12/26-23:54:00.947274 7419c Options.max_write_buffer_size_to_maintain: 0 +2025/12/26-23:54:00.947277 7419c Options.bottommost_compression_opts.window_bits: -14 +2025/12/26-23:54:00.947280 7419c Options.bottommost_compression_opts.level: 32767 +2025/12/26-23:54:00.947283 7419c Options.bottommost_compression_opts.strategy: 0 +2025/12/26-23:54:00.947286 7419c Options.bottommost_compression_opts.max_dict_bytes: 0 +2025/12/26-23:54:00.947290 7419c Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2025/12/26-23:54:00.947295 7419c Options.bottommost_compression_opts.parallel_threads: 1 +2025/12/26-23:54:00.947299 7419c Options.bottommost_compression_opts.enabled: false +2025/12/26-23:54:00.947302 7419c Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-23:54:00.947305 7419c Options.compression_opts.window_bits: -14 +2025/12/26-23:54:00.947308 7419c Options.compression_opts.level: 32767 +2025/12/26-23:54:00.947311 7419c Options.compression_opts.strategy: 0 +2025/12/26-23:54:00.947314 7419c Options.compression_opts.max_dict_bytes: 0 +2025/12/26-23:54:00.947317 7419c Options.compression_opts.zstd_max_train_bytes: 0 +2025/12/26-23:54:00.947320 7419c Options.compression_opts.parallel_threads: 1 +2025/12/26-23:54:00.947323 7419c Options.compression_opts.enabled: false +2025/12/26-23:54:00.947328 7419c Options.compression_opts.max_dict_buffer_bytes: 0 +2025/12/26-23:54:00.947333 7419c Options.level0_file_num_compaction_trigger: 4 +2025/12/26-23:54:00.947336 7419c Options.level0_slowdown_writes_trigger: 20 +2025/12/26-23:54:00.947339 7419c Options.level0_stop_writes_trigger: 36 +2025/12/26-23:54:00.947342 7419c Options.target_file_size_base: 67108864 +2025/12/26-23:54:00.947345 7419c Options.target_file_size_multiplier: 1 +2025/12/26-23:54:00.947348 7419c Options.max_bytes_for_level_base: 268435456 +2025/12/26-23:54:00.947351 7419c Options.level_compaction_dynamic_level_bytes: 0 +2025/12/26-23:54:00.947354 7419c Options.max_bytes_for_level_multiplier: 10.000000 +2025/12/26-23:54:00.947358 7419c Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2025/12/26-23:54:00.947361 7419c Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2025/12/26-23:54:00.947364 7419c Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2025/12/26-23:54:00.947367 7419c Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2025/12/26-23:54:00.947370 7419c Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2025/12/26-23:54:00.947373 7419c Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2025/12/26-23:54:00.947376 7419c Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2025/12/26-23:54:00.947379 7419c Options.max_sequential_skip_in_iterations: 8 +2025/12/26-23:54:00.947382 7419c Options.max_compaction_bytes: 1677721600 +2025/12/26-23:54:00.947385 7419c Options.arena_block_size: 8388608 +2025/12/26-23:54:00.947388 7419c Options.soft_pending_compaction_bytes_limit: 68719476736 +2025/12/26-23:54:00.947391 7419c Options.hard_pending_compaction_bytes_limit: 274877906944 +2025/12/26-23:54:00.947394 7419c Options.rate_limit_delay_max_milliseconds: 100 +2025/12/26-23:54:00.947397 7419c Options.disable_auto_compactions: 0 +2025/12/26-23:54:00.947401 7419c Options.compaction_style: kCompactionStyleLevel +2025/12/26-23:54:00.947405 7419c Options.compaction_pri: kMinOverlappingRatio +2025/12/26-23:54:00.947448 7419c Options.compaction_options_universal.size_ratio: 1 +2025/12/26-23:54:00.947451 7419c Options.compaction_options_universal.min_merge_width: 2 +2025/12/26-23:54:00.947454 7419c Options.compaction_options_universal.max_merge_width: 4294967295 +2025/12/26-23:54:00.947457 7419c Options.compaction_options_universal.max_size_amplification_percent: 200 +2025/12/26-23:54:00.947460 7419c Options.compaction_options_universal.compression_size_percent: -1 +2025/12/26-23:54:00.947464 7419c Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2025/12/26-23:54:00.947467 7419c Options.compaction_options_fifo.max_table_files_size: 1073741824 +2025/12/26-23:54:00.947470 7419c Options.compaction_options_fifo.allow_compaction: 0 +2025/12/26-23:54:00.947476 7419c Options.table_properties_collectors: +2025/12/26-23:54:00.947479 7419c Options.inplace_update_support: 0 +2025/12/26-23:54:00.947482 7419c Options.inplace_update_num_locks: 10000 +2025/12/26-23:54:00.947485 7419c Options.memtable_prefix_bloom_size_ratio: 0.000000 +2025/12/26-23:54:00.947488 7419c Options.memtable_whole_key_filtering: 0 +2025/12/26-23:54:00.947491 7419c Options.memtable_huge_page_size: 0 +2025/12/26-23:54:00.947494 7419c Options.bloom_locality: 0 +2025/12/26-23:54:00.947497 7419c Options.max_successive_merges: 0 +2025/12/26-23:54:00.947500 7419c Options.optimize_filters_for_hits: 0 +2025/12/26-23:54:00.947503 7419c Options.paranoid_file_checks: 0 +2025/12/26-23:54:00.947506 7419c Options.force_consistency_checks: 1 +2025/12/26-23:54:00.947509 7419c Options.report_bg_io_stats: 0 +2025/12/26-23:54:00.947512 7419c Options.ttl: 2592000 +2025/12/26-23:54:00.947545 7419c Options.periodic_compaction_seconds: 0 +2025/12/26-23:54:00.947549 7419c Options.enable_blob_files: false +2025/12/26-23:54:00.947552 7419c Options.min_blob_size: 0 +2025/12/26-23:54:00.947555 7419c Options.blob_file_size: 268435456 +2025/12/26-23:54:00.947559 7419c Options.blob_compression_type: NoCompression +2025/12/26-23:54:00.947562 7419c Options.enable_blob_garbage_collection: false +2025/12/26-23:54:00.947565 7419c Options.blob_garbage_collection_age_cutoff: 0.250000 +2025/12/26-23:54:00.950330 7419c [db\version_set.cc:4675] Recovered from manifest file:./data/MANIFEST-000024 succeeded,manifest_file_number is 24, next_file_number is 26, last_sequence is 0, log_number is 21,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2025/12/26-23:54:00.950359 7419c [db\version_set.cc:4684] Column family [default] (ID 0), log number is 21 +2025/12/26-23:54:00.952239 7419c [db\version_set.cc:4119] Creating manifest 28 +2025/12/26-23:54:00.960558 7419c EVENT_LOG_v1 {"time_micros": 1766764440959997, "job": 1, "event": "recovery_started", "wal_files": [25]} +2025/12/26-23:54:00.960599 7419c [db\db_impl\db_impl_open.cc:856] Recovering log #25 mode 2 +2025/12/26-23:54:00.960818 7419c [db\version_set.cc:4119] Creating manifest 29 +2025/12/26-23:54:00.971678 7419c EVENT_LOG_v1 {"time_micros": 1766764440971669, "job": 1, "event": "recovery_finished"} +2025/12/26-23:54:00.973639 7419c [file\delete_scheduler.cc:77] Deleted file ./data/000025.log immediately, rate_bytes_per_sec 0, total_trash_size 0 max_trash_db_ratio 0.250000 +2025/12/26-23:54:00.998053 7419c [db\db_impl\db_impl_open.cc:1757] SstFileManager instance 000002B74B3C7DD0 +2025/12/26-23:54:00.998546 7419c DB pointer 000002B74AE2F490 +2025/12/26-23:54:00.998871 766c8 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/26-23:54:00.998890 766c8 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 0.1 total, 0.1 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.1 total, 0.1 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.1 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** diff --git a/data/LOG.old.1766769672810463 b/data/LOG.old.1766769672810463 new file mode 100644 index 0000000..6918fba --- /dev/null +++ b/data/LOG.old.1766769672810463 @@ -0,0 +1,350 @@ +2025/12/27-00:02:02.051564 6e404 RocksDB version: 6.20.3 +2025/12/27-00:02:02.051697 6e404 Git sha 8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c +2025/12/27-00:02:02.051762 6e404 Compile date 2021-05-07 18:16:49 +2025/12/27-00:02:02.051792 6e404 DB SUMMARY +2025/12/27-00:02:02.051803 6e404 DB Session ID: TZ8GU6VXYV6EJLSA3WSF +2025/12/27-00:02:02.052377 6e404 CURRENT file: CURRENT +2025/12/27-00:02:02.052394 6e404 IDENTITY file: IDENTITY +2025/12/27-00:02:02.052446 6e404 MANIFEST file: MANIFEST-000029 size: 59 Bytes +2025/12/27-00:02:02.052458 6e404 SST files in ./data dir, Total Num: 0, files: +2025/12/27-00:02:02.052466 6e404 Write Ahead Log file in ./data: 000030.log size: 0 ; +2025/12/27-00:02:02.052474 6e404 Options.error_if_exists: 0 +2025/12/27-00:02:02.052792 6e404 Options.create_if_missing: 1 +2025/12/27-00:02:02.052808 6e404 Options.paranoid_checks: 1 +2025/12/27-00:02:02.052814 6e404 Options.track_and_verify_wals_in_manifest: 0 +2025/12/27-00:02:02.052820 6e404 Options.env: 0000027764593DD0 +2025/12/27-00:02:02.052825 6e404 Options.fs: WinFS +2025/12/27-00:02:02.052831 6e404 Options.info_log: 000002776486B460 +2025/12/27-00:02:02.052836 6e404 Options.max_file_opening_threads: 16 +2025/12/27-00:02:02.052841 6e404 Options.statistics: 0000000000000000 +2025/12/27-00:02:02.052846 6e404 Options.use_fsync: 0 +2025/12/27-00:02:02.052851 6e404 Options.max_log_file_size: 0 +2025/12/27-00:02:02.052857 6e404 Options.max_manifest_file_size: 1073741824 +2025/12/27-00:02:02.052862 6e404 Options.log_file_time_to_roll: 0 +2025/12/27-00:02:02.052867 6e404 Options.keep_log_file_num: 1000 +2025/12/27-00:02:02.052873 6e404 Options.recycle_log_file_num: 0 +2025/12/27-00:02:02.052878 6e404 Options.allow_fallocate: 1 +2025/12/27-00:02:02.052883 6e404 Options.allow_mmap_reads: 0 +2025/12/27-00:02:02.052889 6e404 Options.allow_mmap_writes: 0 +2025/12/27-00:02:02.052894 6e404 Options.use_direct_reads: 0 +2025/12/27-00:02:02.052899 6e404 Options.use_direct_io_for_flush_and_compaction: 0 +2025/12/27-00:02:02.052904 6e404 Options.create_missing_column_families: 0 +2025/12/27-00:02:02.052909 6e404 Options.db_log_dir: +2025/12/27-00:02:02.052914 6e404 Options.wal_dir: ./data +2025/12/27-00:02:02.052919 6e404 Options.table_cache_numshardbits: 6 +2025/12/27-00:02:02.052924 6e404 Options.WAL_ttl_seconds: 0 +2025/12/27-00:02:02.052929 6e404 Options.WAL_size_limit_MB: 0 +2025/12/27-00:02:02.052934 6e404 Options.max_write_batch_group_size_bytes: 1048576 +2025/12/27-00:02:02.052940 6e404 Options.manifest_preallocation_size: 4194304 +2025/12/27-00:02:02.052945 6e404 Options.is_fd_close_on_exec: 1 +2025/12/27-00:02:02.052950 6e404 Options.advise_random_on_open: 1 +2025/12/27-00:02:02.052955 6e404 Options.db_write_buffer_size: 0 +2025/12/27-00:02:02.052960 6e404 Options.write_buffer_manager: 00000277649A4590 +2025/12/27-00:02:02.052965 6e404 Options.access_hint_on_compaction_start: 1 +2025/12/27-00:02:02.052970 6e404 Options.new_table_reader_for_compaction_inputs: 0 +2025/12/27-00:02:02.052976 6e404 Options.random_access_max_buffer_size: 1048576 +2025/12/27-00:02:02.052981 6e404 Options.use_adaptive_mutex: 0 +2025/12/27-00:02:02.052986 6e404 Options.rate_limiter: 0000000000000000 +2025/12/27-00:02:02.052992 6e404 Options.sst_file_manager.rate_bytes_per_sec: 0 +2025/12/27-00:02:02.052997 6e404 Options.wal_recovery_mode: 2 +2025/12/27-00:02:02.053061 6e404 Options.enable_thread_tracking: 0 +2025/12/27-00:02:02.053072 6e404 Options.enable_pipelined_write: 0 +2025/12/27-00:02:02.053078 6e404 Options.unordered_write: 0 +2025/12/27-00:02:02.053083 6e404 Options.allow_concurrent_memtable_write: 1 +2025/12/27-00:02:02.053088 6e404 Options.enable_write_thread_adaptive_yield: 1 +2025/12/27-00:02:02.053093 6e404 Options.write_thread_max_yield_usec: 100 +2025/12/27-00:02:02.053099 6e404 Options.write_thread_slow_yield_usec: 3 +2025/12/27-00:02:02.053104 6e404 Options.row_cache: None +2025/12/27-00:02:02.053110 6e404 Options.wal_filter: None +2025/12/27-00:02:02.053115 6e404 Options.avoid_flush_during_recovery: 0 +2025/12/27-00:02:02.053120 6e404 Options.allow_ingest_behind: 0 +2025/12/27-00:02:02.053125 6e404 Options.preserve_deletes: 0 +2025/12/27-00:02:02.053130 6e404 Options.two_write_queues: 0 +2025/12/27-00:02:02.053135 6e404 Options.manual_wal_flush: 0 +2025/12/27-00:02:02.053140 6e404 Options.atomic_flush: 0 +2025/12/27-00:02:02.053146 6e404 Options.avoid_unnecessary_blocking_io: 0 +2025/12/27-00:02:02.053151 6e404 Options.persist_stats_to_disk: 0 +2025/12/27-00:02:02.053156 6e404 Options.write_dbid_to_manifest: 0 +2025/12/27-00:02:02.053161 6e404 Options.log_readahead_size: 0 +2025/12/27-00:02:02.053166 6e404 Options.file_checksum_gen_factory: Unknown +2025/12/27-00:02:02.053171 6e404 Options.best_efforts_recovery: 0 +2025/12/27-00:02:02.053176 6e404 Options.max_bgerror_resume_count: 2147483647 +2025/12/27-00:02:02.053181 6e404 Options.bgerror_resume_retry_interval: 1000000 +2025/12/27-00:02:02.053187 6e404 Options.allow_data_in_errors: 0 +2025/12/27-00:02:02.053192 6e404 Options.db_host_id: __hostname__ +2025/12/27-00:02:02.053197 6e404 Options.max_background_jobs: 2 +2025/12/27-00:02:02.053202 6e404 Options.max_background_compactions: -1 +2025/12/27-00:02:02.053207 6e404 Options.max_subcompactions: 1 +2025/12/27-00:02:02.053212 6e404 Options.avoid_flush_during_shutdown: 0 +2025/12/27-00:02:02.053218 6e404 Options.writable_file_max_buffer_size: 1048576 +2025/12/27-00:02:02.053223 6e404 Options.delayed_write_rate : 16777216 +2025/12/27-00:02:02.053228 6e404 Options.max_total_wal_size: 0 +2025/12/27-00:02:02.053233 6e404 Options.delete_obsolete_files_period_micros: 21600000000 +2025/12/27-00:02:02.053238 6e404 Options.stats_dump_period_sec: 600 +2025/12/27-00:02:02.053243 6e404 Options.stats_persist_period_sec: 600 +2025/12/27-00:02:02.053249 6e404 Options.stats_history_buffer_size: 1048576 +2025/12/27-00:02:02.053254 6e404 Options.max_open_files: -1 +2025/12/27-00:02:02.053259 6e404 Options.bytes_per_sync: 0 +2025/12/27-00:02:02.053264 6e404 Options.wal_bytes_per_sync: 0 +2025/12/27-00:02:02.053269 6e404 Options.strict_bytes_per_sync: 0 +2025/12/27-00:02:02.053274 6e404 Options.compaction_readahead_size: 0 +2025/12/27-00:02:02.053279 6e404 Options.max_background_flushes: -1 +2025/12/27-00:02:02.053298 6e404 Compression algorithms supported: +2025/12/27-00:02:02.053306 6e404 kZSTD supported: 1 +2025/12/27-00:02:02.053311 6e404 kSnappyCompression supported: 1 +2025/12/27-00:02:02.053317 6e404 kBZip2Compression supported: 0 +2025/12/27-00:02:02.053323 6e404 kZlibCompression supported: 1 +2025/12/27-00:02:02.053328 6e404 kLZ4Compression supported: 1 +2025/12/27-00:02:02.053333 6e404 kXpressCompression supported: 0 +2025/12/27-00:02:02.053338 6e404 kLZ4HCCompression supported: 1 +2025/12/27-00:02:02.053344 6e404 kZSTDNotFinalCompression supported: 1 +2025/12/27-00:02:02.053403 6e404 Fast CRC32 supported: Supported on x86 +2025/12/27-00:02:02.055084 6e404 [db\version_set.cc:4627] Recovering from manifest file: ./data/MANIFEST-000029 +2025/12/27-00:02:02.055249 6e404 [db\column_family.cc:598] --------------- Options for column family [default]: +2025/12/27-00:02:02.055258 6e404 Options.comparator: leveldb.BytewiseComparator +2025/12/27-00:02:02.055262 6e404 Options.merge_operator: None +2025/12/27-00:02:02.055265 6e404 Options.compaction_filter: None +2025/12/27-00:02:02.055267 6e404 Options.compaction_filter_factory: None +2025/12/27-00:02:02.055270 6e404 Options.sst_partitioner_factory: None +2025/12/27-00:02:02.055273 6e404 Options.memtable_factory: SkipListFactory +2025/12/27-00:02:02.055275 6e404 Options.table_factory: BlockBasedTable +2025/12/27-00:02:02.055300 6e404 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (00000277649B2440) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + hash_index_allow_collision: 1 + checksum: 1 + no_block_cache: 0 + block_cache: 00000277648F2450 + block_cache_name: LRUCache + block_cache_options: + capacity : 8388608 + num_shard_bits : 4 + strict_capacity_limit : 0 + memory_allocator : None + high_pri_pool_ratio: 0.000 + block_cache_compressed: 0000000000000000 + persistent_cache: 0000000000000000 + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 5 + enable_index_compression: 1 + block_align: 0 +2025/12/27-00:02:02.055303 6e404 Options.write_buffer_size: 67108864 +2025/12/27-00:02:02.055306 6e404 Options.max_write_buffer_number: 2 +2025/12/27-00:02:02.055309 6e404 Options.compression: Snappy +2025/12/27-00:02:02.055312 6e404 Options.bottommost_compression: Disabled +2025/12/27-00:02:02.055315 6e404 Options.prefix_extractor: nullptr +2025/12/27-00:02:02.055317 6e404 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2025/12/27-00:02:02.055320 6e404 Options.num_levels: 7 +2025/12/27-00:02:02.055323 6e404 Options.min_write_buffer_number_to_merge: 1 +2025/12/27-00:02:02.055325 6e404 Options.max_write_buffer_number_to_maintain: 0 +2025/12/27-00:02:02.055328 6e404 Options.max_write_buffer_size_to_maintain: 0 +2025/12/27-00:02:02.055331 6e404 Options.bottommost_compression_opts.window_bits: -14 +2025/12/27-00:02:02.055334 6e404 Options.bottommost_compression_opts.level: 32767 +2025/12/27-00:02:02.055336 6e404 Options.bottommost_compression_opts.strategy: 0 +2025/12/27-00:02:02.055339 6e404 Options.bottommost_compression_opts.max_dict_bytes: 0 +2025/12/27-00:02:02.055342 6e404 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2025/12/27-00:02:02.055347 6e404 Options.bottommost_compression_opts.parallel_threads: 1 +2025/12/27-00:02:02.055350 6e404 Options.bottommost_compression_opts.enabled: false +2025/12/27-00:02:02.055353 6e404 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2025/12/27-00:02:02.055356 6e404 Options.compression_opts.window_bits: -14 +2025/12/27-00:02:02.055359 6e404 Options.compression_opts.level: 32767 +2025/12/27-00:02:02.055362 6e404 Options.compression_opts.strategy: 0 +2025/12/27-00:02:02.055365 6e404 Options.compression_opts.max_dict_bytes: 0 +2025/12/27-00:02:02.055367 6e404 Options.compression_opts.zstd_max_train_bytes: 0 +2025/12/27-00:02:02.055370 6e404 Options.compression_opts.parallel_threads: 1 +2025/12/27-00:02:02.055373 6e404 Options.compression_opts.enabled: false +2025/12/27-00:02:02.055378 6e404 Options.compression_opts.max_dict_buffer_bytes: 0 +2025/12/27-00:02:02.055382 6e404 Options.level0_file_num_compaction_trigger: 4 +2025/12/27-00:02:02.055385 6e404 Options.level0_slowdown_writes_trigger: 20 +2025/12/27-00:02:02.055388 6e404 Options.level0_stop_writes_trigger: 36 +2025/12/27-00:02:02.055390 6e404 Options.target_file_size_base: 67108864 +2025/12/27-00:02:02.055393 6e404 Options.target_file_size_multiplier: 1 +2025/12/27-00:02:02.055396 6e404 Options.max_bytes_for_level_base: 268435456 +2025/12/27-00:02:02.055399 6e404 Options.level_compaction_dynamic_level_bytes: 0 +2025/12/27-00:02:02.055402 6e404 Options.max_bytes_for_level_multiplier: 10.000000 +2025/12/27-00:02:02.055405 6e404 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2025/12/27-00:02:02.055408 6e404 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2025/12/27-00:02:02.055411 6e404 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2025/12/27-00:02:02.055413 6e404 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2025/12/27-00:02:02.055416 6e404 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2025/12/27-00:02:02.055419 6e404 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2025/12/27-00:02:02.055422 6e404 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2025/12/27-00:02:02.055425 6e404 Options.max_sequential_skip_in_iterations: 8 +2025/12/27-00:02:02.055427 6e404 Options.max_compaction_bytes: 1677721600 +2025/12/27-00:02:02.055430 6e404 Options.arena_block_size: 8388608 +2025/12/27-00:02:02.055433 6e404 Options.soft_pending_compaction_bytes_limit: 68719476736 +2025/12/27-00:02:02.055436 6e404 Options.hard_pending_compaction_bytes_limit: 274877906944 +2025/12/27-00:02:02.055439 6e404 Options.rate_limit_delay_max_milliseconds: 100 +2025/12/27-00:02:02.055442 6e404 Options.disable_auto_compactions: 0 +2025/12/27-00:02:02.055445 6e404 Options.compaction_style: kCompactionStyleLevel +2025/12/27-00:02:02.055449 6e404 Options.compaction_pri: kMinOverlappingRatio +2025/12/27-00:02:02.055452 6e404 Options.compaction_options_universal.size_ratio: 1 +2025/12/27-00:02:02.055454 6e404 Options.compaction_options_universal.min_merge_width: 2 +2025/12/27-00:02:02.055457 6e404 Options.compaction_options_universal.max_merge_width: 4294967295 +2025/12/27-00:02:02.055460 6e404 Options.compaction_options_universal.max_size_amplification_percent: 200 +2025/12/27-00:02:02.055463 6e404 Options.compaction_options_universal.compression_size_percent: -1 +2025/12/27-00:02:02.055466 6e404 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2025/12/27-00:02:02.055469 6e404 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2025/12/27-00:02:02.055472 6e404 Options.compaction_options_fifo.allow_compaction: 0 +2025/12/27-00:02:02.055476 6e404 Options.table_properties_collectors: +2025/12/27-00:02:02.055479 6e404 Options.inplace_update_support: 0 +2025/12/27-00:02:02.055481 6e404 Options.inplace_update_num_locks: 10000 +2025/12/27-00:02:02.055484 6e404 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2025/12/27-00:02:02.055487 6e404 Options.memtable_whole_key_filtering: 0 +2025/12/27-00:02:02.055490 6e404 Options.memtable_huge_page_size: 0 +2025/12/27-00:02:02.055492 6e404 Options.bloom_locality: 0 +2025/12/27-00:02:02.055495 6e404 Options.max_successive_merges: 0 +2025/12/27-00:02:02.055498 6e404 Options.optimize_filters_for_hits: 0 +2025/12/27-00:02:02.055501 6e404 Options.paranoid_file_checks: 0 +2025/12/27-00:02:02.055503 6e404 Options.force_consistency_checks: 1 +2025/12/27-00:02:02.055506 6e404 Options.report_bg_io_stats: 0 +2025/12/27-00:02:02.055509 6e404 Options.ttl: 2592000 +2025/12/27-00:02:02.055545 6e404 Options.periodic_compaction_seconds: 0 +2025/12/27-00:02:02.055548 6e404 Options.enable_blob_files: false +2025/12/27-00:02:02.055551 6e404 Options.min_blob_size: 0 +2025/12/27-00:02:02.055554 6e404 Options.blob_file_size: 268435456 +2025/12/27-00:02:02.055557 6e404 Options.blob_compression_type: NoCompression +2025/12/27-00:02:02.055560 6e404 Options.enable_blob_garbage_collection: false +2025/12/27-00:02:02.055562 6e404 Options.blob_garbage_collection_age_cutoff: 0.250000 +2025/12/27-00:02:02.057741 6e404 [db\version_set.cc:4675] Recovered from manifest file:./data/MANIFEST-000029 succeeded,manifest_file_number is 29, next_file_number is 31, last_sequence is 0, log_number is 26,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2025/12/27-00:02:02.057762 6e404 [db\version_set.cc:4684] Column family [default] (ID 0), log number is 26 +2025/12/27-00:02:02.059302 6e404 [db\version_set.cc:4119] Creating manifest 33 +2025/12/27-00:02:02.069808 6e404 EVENT_LOG_v1 {"time_micros": 1766764922069303, "job": 1, "event": "recovery_started", "wal_files": [30]} +2025/12/27-00:02:02.069839 6e404 [db\db_impl\db_impl_open.cc:856] Recovering log #30 mode 2 +2025/12/27-00:02:02.069985 6e404 [db\version_set.cc:4119] Creating manifest 34 +2025/12/27-00:02:02.081634 6e404 EVENT_LOG_v1 {"time_micros": 1766764922081621, "job": 1, "event": "recovery_finished"} +2025/12/27-00:02:02.084228 6e404 [file\delete_scheduler.cc:77] Deleted file ./data/000030.log immediately, rate_bytes_per_sec 0, total_trash_size 0 max_trash_db_ratio 0.250000 +2025/12/27-00:02:02.091771 6e404 [db\db_impl\db_impl_open.cc:1757] SstFileManager instance 00000277649B5610 +2025/12/27-00:02:02.092249 6e404 DB pointer 00000277649B3C10 +2025/12/27-00:02:02.092670 768b4 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-00:02:02.092704 768b4 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 0.0 total, 0.0 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** +2025/12/27-00:12:02.102981 768b4 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-00:12:02.103802 768b4 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 600.0 total, 600.0 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 600.0 total, 600.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 600.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** diff --git a/data/LOG.old.1766770138230128 b/data/LOG.old.1766770138230128 new file mode 100644 index 0000000..b8165a3 --- /dev/null +++ b/data/LOG.old.1766770138230128 @@ -0,0 +1,292 @@ +2025/12/27-01:21:12.814063 763a8 RocksDB version: 6.20.3 +2025/12/27-01:21:12.814152 763a8 Git sha 8608d75d85f8e1b3b64b73a4fb6d19baec61ba5c +2025/12/27-01:21:12.814167 763a8 Compile date 2021-05-07 18:16:49 +2025/12/27-01:21:12.814193 763a8 DB SUMMARY +2025/12/27-01:21:12.814202 763a8 DB Session ID: 59V9JU1COK1FK9JGZ9ED +2025/12/27-01:21:12.814697 763a8 CURRENT file: CURRENT +2025/12/27-01:21:12.814711 763a8 IDENTITY file: IDENTITY +2025/12/27-01:21:12.815043 763a8 MANIFEST file: MANIFEST-000034 size: 59 Bytes +2025/12/27-01:21:12.815089 763a8 SST files in ./data dir, Total Num: 0, files: +2025/12/27-01:21:12.815109 763a8 Write Ahead Log file in ./data: 000035.log size: 0 ; +2025/12/27-01:21:12.815126 763a8 Options.error_if_exists: 0 +2025/12/27-01:21:12.815376 763a8 Options.create_if_missing: 1 +2025/12/27-01:21:12.815386 763a8 Options.paranoid_checks: 1 +2025/12/27-01:21:12.815392 763a8 Options.track_and_verify_wals_in_manifest: 0 +2025/12/27-01:21:12.815397 763a8 Options.env: 000001C670B36D70 +2025/12/27-01:21:12.815402 763a8 Options.fs: WinFS +2025/12/27-01:21:12.815408 763a8 Options.info_log: 000001C6706CA960 +2025/12/27-01:21:12.815413 763a8 Options.max_file_opening_threads: 16 +2025/12/27-01:21:12.815417 763a8 Options.statistics: 0000000000000000 +2025/12/27-01:21:12.815423 763a8 Options.use_fsync: 0 +2025/12/27-01:21:12.815428 763a8 Options.max_log_file_size: 0 +2025/12/27-01:21:12.815433 763a8 Options.max_manifest_file_size: 1073741824 +2025/12/27-01:21:12.815438 763a8 Options.log_file_time_to_roll: 0 +2025/12/27-01:21:12.815443 763a8 Options.keep_log_file_num: 1000 +2025/12/27-01:21:12.815448 763a8 Options.recycle_log_file_num: 0 +2025/12/27-01:21:12.815453 763a8 Options.allow_fallocate: 1 +2025/12/27-01:21:12.815458 763a8 Options.allow_mmap_reads: 0 +2025/12/27-01:21:12.815463 763a8 Options.allow_mmap_writes: 0 +2025/12/27-01:21:12.815468 763a8 Options.use_direct_reads: 0 +2025/12/27-01:21:12.815473 763a8 Options.use_direct_io_for_flush_and_compaction: 0 +2025/12/27-01:21:12.815478 763a8 Options.create_missing_column_families: 0 +2025/12/27-01:21:12.815485 763a8 Options.db_log_dir: +2025/12/27-01:21:12.815490 763a8 Options.wal_dir: ./data +2025/12/27-01:21:12.815495 763a8 Options.table_cache_numshardbits: 6 +2025/12/27-01:21:12.815500 763a8 Options.WAL_ttl_seconds: 0 +2025/12/27-01:21:12.815505 763a8 Options.WAL_size_limit_MB: 0 +2025/12/27-01:21:12.815510 763a8 Options.max_write_batch_group_size_bytes: 1048576 +2025/12/27-01:21:12.815514 763a8 Options.manifest_preallocation_size: 4194304 +2025/12/27-01:21:12.815519 763a8 Options.is_fd_close_on_exec: 1 +2025/12/27-01:21:12.815524 763a8 Options.advise_random_on_open: 1 +2025/12/27-01:21:12.815529 763a8 Options.db_write_buffer_size: 0 +2025/12/27-01:21:12.815534 763a8 Options.write_buffer_manager: 000001C66B978FB0 +2025/12/27-01:21:12.815539 763a8 Options.access_hint_on_compaction_start: 1 +2025/12/27-01:21:12.815544 763a8 Options.new_table_reader_for_compaction_inputs: 0 +2025/12/27-01:21:12.815548 763a8 Options.random_access_max_buffer_size: 1048576 +2025/12/27-01:21:12.815553 763a8 Options.use_adaptive_mutex: 0 +2025/12/27-01:21:12.815558 763a8 Options.rate_limiter: 0000000000000000 +2025/12/27-01:21:12.815563 763a8 Options.sst_file_manager.rate_bytes_per_sec: 0 +2025/12/27-01:21:12.815568 763a8 Options.wal_recovery_mode: 2 +2025/12/27-01:21:12.815606 763a8 Options.enable_thread_tracking: 0 +2025/12/27-01:21:12.815615 763a8 Options.enable_pipelined_write: 0 +2025/12/27-01:21:12.815621 763a8 Options.unordered_write: 0 +2025/12/27-01:21:12.815625 763a8 Options.allow_concurrent_memtable_write: 1 +2025/12/27-01:21:12.815630 763a8 Options.enable_write_thread_adaptive_yield: 1 +2025/12/27-01:21:12.815635 763a8 Options.write_thread_max_yield_usec: 100 +2025/12/27-01:21:12.815640 763a8 Options.write_thread_slow_yield_usec: 3 +2025/12/27-01:21:12.815645 763a8 Options.row_cache: None +2025/12/27-01:21:12.815649 763a8 Options.wal_filter: None +2025/12/27-01:21:12.815655 763a8 Options.avoid_flush_during_recovery: 0 +2025/12/27-01:21:12.815659 763a8 Options.allow_ingest_behind: 0 +2025/12/27-01:21:12.815664 763a8 Options.preserve_deletes: 0 +2025/12/27-01:21:12.815669 763a8 Options.two_write_queues: 0 +2025/12/27-01:21:12.815673 763a8 Options.manual_wal_flush: 0 +2025/12/27-01:21:12.815678 763a8 Options.atomic_flush: 0 +2025/12/27-01:21:12.815683 763a8 Options.avoid_unnecessary_blocking_io: 0 +2025/12/27-01:21:12.815688 763a8 Options.persist_stats_to_disk: 0 +2025/12/27-01:21:12.815692 763a8 Options.write_dbid_to_manifest: 0 +2025/12/27-01:21:12.815697 763a8 Options.log_readahead_size: 0 +2025/12/27-01:21:12.815702 763a8 Options.file_checksum_gen_factory: Unknown +2025/12/27-01:21:12.815707 763a8 Options.best_efforts_recovery: 0 +2025/12/27-01:21:12.815712 763a8 Options.max_bgerror_resume_count: 2147483647 +2025/12/27-01:21:12.815717 763a8 Options.bgerror_resume_retry_interval: 1000000 +2025/12/27-01:21:12.815722 763a8 Options.allow_data_in_errors: 0 +2025/12/27-01:21:12.815726 763a8 Options.db_host_id: __hostname__ +2025/12/27-01:21:12.815731 763a8 Options.max_background_jobs: 2 +2025/12/27-01:21:12.815736 763a8 Options.max_background_compactions: -1 +2025/12/27-01:21:12.815741 763a8 Options.max_subcompactions: 1 +2025/12/27-01:21:12.815746 763a8 Options.avoid_flush_during_shutdown: 0 +2025/12/27-01:21:12.815750 763a8 Options.writable_file_max_buffer_size: 1048576 +2025/12/27-01:21:12.815755 763a8 Options.delayed_write_rate : 16777216 +2025/12/27-01:21:12.815760 763a8 Options.max_total_wal_size: 0 +2025/12/27-01:21:12.815765 763a8 Options.delete_obsolete_files_period_micros: 21600000000 +2025/12/27-01:21:12.815770 763a8 Options.stats_dump_period_sec: 600 +2025/12/27-01:21:12.815775 763a8 Options.stats_persist_period_sec: 600 +2025/12/27-01:21:12.815779 763a8 Options.stats_history_buffer_size: 1048576 +2025/12/27-01:21:12.815784 763a8 Options.max_open_files: -1 +2025/12/27-01:21:12.815789 763a8 Options.bytes_per_sync: 0 +2025/12/27-01:21:12.815794 763a8 Options.wal_bytes_per_sync: 0 +2025/12/27-01:21:12.815798 763a8 Options.strict_bytes_per_sync: 0 +2025/12/27-01:21:12.815803 763a8 Options.compaction_readahead_size: 0 +2025/12/27-01:21:12.815808 763a8 Options.max_background_flushes: -1 +2025/12/27-01:21:12.815820 763a8 Compression algorithms supported: +2025/12/27-01:21:12.815827 763a8 kZSTD supported: 1 +2025/12/27-01:21:12.815832 763a8 kSnappyCompression supported: 1 +2025/12/27-01:21:12.815837 763a8 kBZip2Compression supported: 0 +2025/12/27-01:21:12.815842 763a8 kZlibCompression supported: 1 +2025/12/27-01:21:12.815847 763a8 kLZ4Compression supported: 1 +2025/12/27-01:21:12.815851 763a8 kXpressCompression supported: 0 +2025/12/27-01:21:12.815856 763a8 kLZ4HCCompression supported: 1 +2025/12/27-01:21:12.815861 763a8 kZSTDNotFinalCompression supported: 1 +2025/12/27-01:21:12.815908 763a8 Fast CRC32 supported: Supported on x86 +2025/12/27-01:21:12.817544 763a8 [db\version_set.cc:4627] Recovering from manifest file: ./data/MANIFEST-000034 +2025/12/27-01:21:12.817801 763a8 [db\column_family.cc:598] --------------- Options for column family [default]: +2025/12/27-01:21:12.817819 763a8 Options.comparator: leveldb.BytewiseComparator +2025/12/27-01:21:12.817825 763a8 Options.merge_operator: None +2025/12/27-01:21:12.817831 763a8 Options.compaction_filter: None +2025/12/27-01:21:12.817848 763a8 Options.compaction_filter_factory: None +2025/12/27-01:21:12.817855 763a8 Options.sst_partitioner_factory: None +2025/12/27-01:21:12.817861 763a8 Options.memtable_factory: SkipListFactory +2025/12/27-01:21:12.817866 763a8 Options.table_factory: BlockBasedTable +2025/12/27-01:21:12.817932 763a8 table_factory options: flush_block_policy_factory: FlushBlockBySizePolicyFactory (000001C670E823F0) + cache_index_and_filter_blocks: 0 + cache_index_and_filter_blocks_with_high_priority: 1 + pin_l0_filter_and_index_blocks_in_cache: 0 + pin_top_level_index_and_filter: 1 + index_type: 0 + data_block_index_type: 0 + index_shortening: 1 + data_block_hash_table_util_ratio: 0.750000 + hash_index_allow_collision: 1 + checksum: 1 + no_block_cache: 0 + block_cache: 000001C670B2B180 + block_cache_name: LRUCache + block_cache_options: + capacity : 8388608 + num_shard_bits : 4 + strict_capacity_limit : 0 + memory_allocator : None + high_pri_pool_ratio: 0.000 + block_cache_compressed: 0000000000000000 + persistent_cache: 0000000000000000 + block_size: 4096 + block_size_deviation: 10 + block_restart_interval: 16 + index_block_restart_interval: 1 + metadata_block_size: 4096 + partition_filters: 0 + use_delta_encoding: 1 + filter_policy: nullptr + whole_key_filtering: 1 + verify_compression: 0 + read_amp_bytes_per_bit: 0 + format_version: 5 + enable_index_compression: 1 + block_align: 0 +2025/12/27-01:21:12.817945 763a8 Options.write_buffer_size: 67108864 +2025/12/27-01:21:12.817948 763a8 Options.max_write_buffer_number: 2 +2025/12/27-01:21:12.817950 763a8 Options.compression: Snappy +2025/12/27-01:21:12.817953 763a8 Options.bottommost_compression: Disabled +2025/12/27-01:21:12.817955 763a8 Options.prefix_extractor: nullptr +2025/12/27-01:21:12.817958 763a8 Options.memtable_insert_with_hint_prefix_extractor: nullptr +2025/12/27-01:21:12.817960 763a8 Options.num_levels: 7 +2025/12/27-01:21:12.817963 763a8 Options.min_write_buffer_number_to_merge: 1 +2025/12/27-01:21:12.817965 763a8 Options.max_write_buffer_number_to_maintain: 0 +2025/12/27-01:21:12.817968 763a8 Options.max_write_buffer_size_to_maintain: 0 +2025/12/27-01:21:12.817970 763a8 Options.bottommost_compression_opts.window_bits: -14 +2025/12/27-01:21:12.817973 763a8 Options.bottommost_compression_opts.level: 32767 +2025/12/27-01:21:12.817975 763a8 Options.bottommost_compression_opts.strategy: 0 +2025/12/27-01:21:12.817978 763a8 Options.bottommost_compression_opts.max_dict_bytes: 0 +2025/12/27-01:21:12.817980 763a8 Options.bottommost_compression_opts.zstd_max_train_bytes: 0 +2025/12/27-01:21:12.817988 763a8 Options.bottommost_compression_opts.parallel_threads: 1 +2025/12/27-01:21:12.817991 763a8 Options.bottommost_compression_opts.enabled: false +2025/12/27-01:21:12.817994 763a8 Options.bottommost_compression_opts.max_dict_buffer_bytes: 0 +2025/12/27-01:21:12.817996 763a8 Options.compression_opts.window_bits: -14 +2025/12/27-01:21:12.817999 763a8 Options.compression_opts.level: 32767 +2025/12/27-01:21:12.818001 763a8 Options.compression_opts.strategy: 0 +2025/12/27-01:21:12.818004 763a8 Options.compression_opts.max_dict_bytes: 0 +2025/12/27-01:21:12.818006 763a8 Options.compression_opts.zstd_max_train_bytes: 0 +2025/12/27-01:21:12.818008 763a8 Options.compression_opts.parallel_threads: 1 +2025/12/27-01:21:12.818011 763a8 Options.compression_opts.enabled: false +2025/12/27-01:21:12.818016 763a8 Options.compression_opts.max_dict_buffer_bytes: 0 +2025/12/27-01:21:12.818020 763a8 Options.level0_file_num_compaction_trigger: 4 +2025/12/27-01:21:12.818022 763a8 Options.level0_slowdown_writes_trigger: 20 +2025/12/27-01:21:12.818025 763a8 Options.level0_stop_writes_trigger: 36 +2025/12/27-01:21:12.818027 763a8 Options.target_file_size_base: 67108864 +2025/12/27-01:21:12.818030 763a8 Options.target_file_size_multiplier: 1 +2025/12/27-01:21:12.818032 763a8 Options.max_bytes_for_level_base: 268435456 +2025/12/27-01:21:12.818034 763a8 Options.level_compaction_dynamic_level_bytes: 0 +2025/12/27-01:21:12.818037 763a8 Options.max_bytes_for_level_multiplier: 10.000000 +2025/12/27-01:21:12.818041 763a8 Options.max_bytes_for_level_multiplier_addtl[0]: 1 +2025/12/27-01:21:12.818043 763a8 Options.max_bytes_for_level_multiplier_addtl[1]: 1 +2025/12/27-01:21:12.818046 763a8 Options.max_bytes_for_level_multiplier_addtl[2]: 1 +2025/12/27-01:21:12.818048 763a8 Options.max_bytes_for_level_multiplier_addtl[3]: 1 +2025/12/27-01:21:12.818051 763a8 Options.max_bytes_for_level_multiplier_addtl[4]: 1 +2025/12/27-01:21:12.818053 763a8 Options.max_bytes_for_level_multiplier_addtl[5]: 1 +2025/12/27-01:21:12.818056 763a8 Options.max_bytes_for_level_multiplier_addtl[6]: 1 +2025/12/27-01:21:12.818058 763a8 Options.max_sequential_skip_in_iterations: 8 +2025/12/27-01:21:12.818061 763a8 Options.max_compaction_bytes: 1677721600 +2025/12/27-01:21:12.818063 763a8 Options.arena_block_size: 8388608 +2025/12/27-01:21:12.818066 763a8 Options.soft_pending_compaction_bytes_limit: 68719476736 +2025/12/27-01:21:12.818068 763a8 Options.hard_pending_compaction_bytes_limit: 274877906944 +2025/12/27-01:21:12.818071 763a8 Options.rate_limit_delay_max_milliseconds: 100 +2025/12/27-01:21:12.818073 763a8 Options.disable_auto_compactions: 0 +2025/12/27-01:21:12.818077 763a8 Options.compaction_style: kCompactionStyleLevel +2025/12/27-01:21:12.818080 763a8 Options.compaction_pri: kMinOverlappingRatio +2025/12/27-01:21:12.818083 763a8 Options.compaction_options_universal.size_ratio: 1 +2025/12/27-01:21:12.818085 763a8 Options.compaction_options_universal.min_merge_width: 2 +2025/12/27-01:21:12.818088 763a8 Options.compaction_options_universal.max_merge_width: 4294967295 +2025/12/27-01:21:12.818090 763a8 Options.compaction_options_universal.max_size_amplification_percent: 200 +2025/12/27-01:21:12.818093 763a8 Options.compaction_options_universal.compression_size_percent: -1 +2025/12/27-01:21:12.818096 763a8 Options.compaction_options_universal.stop_style: kCompactionStopStyleTotalSize +2025/12/27-01:21:12.818098 763a8 Options.compaction_options_fifo.max_table_files_size: 1073741824 +2025/12/27-01:21:12.818101 763a8 Options.compaction_options_fifo.allow_compaction: 0 +2025/12/27-01:21:12.818105 763a8 Options.table_properties_collectors: +2025/12/27-01:21:12.818108 763a8 Options.inplace_update_support: 0 +2025/12/27-01:21:12.818110 763a8 Options.inplace_update_num_locks: 10000 +2025/12/27-01:21:12.818113 763a8 Options.memtable_prefix_bloom_size_ratio: 0.000000 +2025/12/27-01:21:12.818116 763a8 Options.memtable_whole_key_filtering: 0 +2025/12/27-01:21:12.818118 763a8 Options.memtable_huge_page_size: 0 +2025/12/27-01:21:12.818121 763a8 Options.bloom_locality: 0 +2025/12/27-01:21:12.818123 763a8 Options.max_successive_merges: 0 +2025/12/27-01:21:12.818126 763a8 Options.optimize_filters_for_hits: 0 +2025/12/27-01:21:12.818128 763a8 Options.paranoid_file_checks: 0 +2025/12/27-01:21:12.818131 763a8 Options.force_consistency_checks: 1 +2025/12/27-01:21:12.818133 763a8 Options.report_bg_io_stats: 0 +2025/12/27-01:21:12.818135 763a8 Options.ttl: 2592000 +2025/12/27-01:21:12.818168 763a8 Options.periodic_compaction_seconds: 0 +2025/12/27-01:21:12.818171 763a8 Options.enable_blob_files: false +2025/12/27-01:21:12.818174 763a8 Options.min_blob_size: 0 +2025/12/27-01:21:12.818177 763a8 Options.blob_file_size: 268435456 +2025/12/27-01:21:12.818179 763a8 Options.blob_compression_type: NoCompression +2025/12/27-01:21:12.818182 763a8 Options.enable_blob_garbage_collection: false +2025/12/27-01:21:12.818184 763a8 Options.blob_garbage_collection_age_cutoff: 0.250000 +2025/12/27-01:21:12.820977 763a8 [db\version_set.cc:4675] Recovered from manifest file:./data/MANIFEST-000034 succeeded,manifest_file_number is 34, next_file_number is 36, last_sequence is 0, log_number is 31,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 0 +2025/12/27-01:21:12.820990 763a8 [db\version_set.cc:4684] Column family [default] (ID 0), log number is 31 +2025/12/27-01:21:12.822382 763a8 [db\version_set.cc:4119] Creating manifest 38 +2025/12/27-01:21:12.831017 763a8 EVENT_LOG_v1 {"time_micros": 1766769672830579, "job": 1, "event": "recovery_started", "wal_files": [35]} +2025/12/27-01:21:12.831053 763a8 [db\db_impl\db_impl_open.cc:856] Recovering log #35 mode 2 +2025/12/27-01:21:12.831255 763a8 [db\version_set.cc:4119] Creating manifest 39 +2025/12/27-01:21:12.841514 763a8 EVENT_LOG_v1 {"time_micros": 1766769672841506, "job": 1, "event": "recovery_finished"} +2025/12/27-01:21:12.842796 763a8 [file\delete_scheduler.cc:77] Deleted file ./data/000035.log immediately, rate_bytes_per_sec 0, total_trash_size 0 max_trash_db_ratio 0.250000 +2025/12/27-01:21:12.849361 763a8 [db\db_impl\db_impl_open.cc:1757] SstFileManager instance 000001C670C95D20 +2025/12/27-01:21:12.849795 763a8 DB pointer 000001C67034F520 +2025/12/27-01:21:12.850092 75b90 [db\db_impl\db_impl.cc:932] ------- DUMPING STATS ------- +2025/12/27-01:21:12.850105 75b90 [db\db_impl\db_impl.cc:933] +** DB Stats ** +Uptime(secs): 0.0 total, 0.0 interval +Cumulative writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 GB, 0.00 MB/s +Cumulative WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 GB, 0.00 MB/s +Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent +Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s +Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s +Interval stall: 00:00:0.000 H:M:S, 0.0 percent + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** + +** Compaction Stats [default] ** +Level Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Sum 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + Int 0/0 0.00 KB 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.00 0 0.000 0 0 0.0 0.0 + +** Compaction Stats [default] ** +Priority Files Size Score Read(GB) Rn(GB) Rnp1(GB) Write(GB) Wnew(GB) Moved(GB) W-Amp Rd(MB/s) Wr(MB/s) Comp(sec) CompMergeCPU(sec) Comp(cnt) Avg(sec) KeyIn KeyDrop Rblob(GB) Wblob(GB) +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +Blob file count: 0, total size: 0.0 GB + +Uptime(secs): 0.0 total, 0.0 interval +Flush(GB): cumulative 0.000, interval 0.000 +AddFile(GB): cumulative 0.000, interval 0.000 +AddFile(Total Files): cumulative 0, interval 0 +AddFile(L0 Files): cumulative 0, interval 0 +AddFile(Keys): cumulative 0, interval 0 +Cumulative compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Interval compaction: 0.00 GB write, 0.00 MB/s write, 0.00 GB read, 0.00 MB/s read, 0.0 seconds +Stalls(count): 0 level0_slowdown, 0 level0_slowdown_with_compaction, 0 level0_numfiles, 0 level0_numfiles_with_compaction, 0 stop for pending_compaction_bytes, 0 slowdown for pending_compaction_bytes, 0 memtable_compaction, 0 memtable_slowdown, interval 0 total count + +** File Read Latency Histogram By Level [default] ** diff --git a/data/MANIFEST-000044 b/data/MANIFEST-000044 new file mode 100644 index 0000000..a851c1b Binary files /dev/null and b/data/MANIFEST-000044 differ diff --git a/data/OPTIONS-000042 b/data/OPTIONS-000042 new file mode 100644 index 0000000..081ba40 --- /dev/null +++ b/data/OPTIONS-000042 @@ -0,0 +1,180 @@ +# This is a RocksDB option file. +# +# For detailed file format spec, please refer to the example file +# in examples/rocksdb_option_file_example.ini +# + +[Version] + rocksdb_version=6.20.3 + options_file_version=1.1 + +[DBOptions] + delayed_write_rate=16777216 + delete_obsolete_files_period_micros=21600000000 + base_background_compactions=-1 + writable_file_max_buffer_size=1048576 + max_background_compactions=-1 + max_background_jobs=2 + max_subcompactions=1 + avoid_flush_during_shutdown=false + max_total_wal_size=0 + stats_dump_period_sec=600 + max_background_flushes=-1 + stats_persist_period_sec=600 + stats_history_buffer_size=1048576 + max_open_files=-1 + bytes_per_sync=0 + wal_bytes_per_sync=0 + strict_bytes_per_sync=false + compaction_readahead_size=0 + allow_fallocate=true + advise_random_on_open=true + dump_malloc_stats=false + track_and_verify_wals_in_manifest=false + WAL_ttl_seconds=0 + use_direct_reads=false + allow_2pc=false + allow_mmap_reads=false + random_access_max_buffer_size=1048576 + allow_mmap_writes=false + create_if_missing=true + error_if_exists=false + two_write_queues=false + use_direct_io_for_flush_and_compaction=false + create_missing_column_families=false + new_table_reader_for_compaction_inputs=false + enable_thread_tracking=false + is_fd_close_on_exec=true + paranoid_checks=true + skip_stats_update_on_db_open=false + fail_if_options_file_error=false + max_manifest_file_size=1073741824 + skip_checking_sst_file_sizes_on_db_open=false + enable_pipelined_write=false + use_adaptive_mutex=false + preserve_deletes=false + use_fsync=false + log_file_time_to_roll=0 + max_log_file_size=0 + max_file_opening_threads=16 + best_efforts_recovery=false + table_cache_numshardbits=6 + write_dbid_to_manifest=false + max_write_batch_group_size_bytes=1048576 + db_write_buffer_size=0 + keep_log_file_num=1000 + atomic_flush=false + recycle_log_file_num=0 + manifest_preallocation_size=4194304 + write_thread_slow_yield_usec=3 + unordered_write=false + wal_dir=./data + WAL_size_limit_MB=0 + persist_stats_to_disk=false + allow_concurrent_memtable_write=true + wal_recovery_mode=kPointInTimeRecovery + enable_write_thread_adaptive_yield=true + write_thread_max_yield_usec=100 + access_hint_on_compaction_start=NORMAL + info_log_level=INFO_LEVEL + log_readahead_size=0 + avoid_flush_during_recovery=false + allow_ingest_behind=false + manual_wal_flush=false + avoid_unnecessary_blocking_io=false + max_bgerror_resume_count=2147483647 + bgerror_resume_retry_interval=1000000 + db_host_id=__hostname__ + allow_data_in_errors=false + + +[CFOptions "default"] + blob_compression_type=kNoCompression + hard_pending_compaction_bytes_limit=274877906944 + level0_file_num_compaction_trigger=4 + max_bytes_for_level_base=268435456 + report_bg_io_stats=false + max_bytes_for_level_multiplier=10.000000 + disable_auto_compactions=false + check_flush_compaction_key_order=true + enable_blob_files=false + paranoid_file_checks=false + blob_file_size=268435456 + soft_pending_compaction_bytes_limit=68719476736 + bottommost_compression_opts={enabled=false;max_dict_bytes=0;window_bits=-14;level=32767;parallel_threads=1;strategy=0;zstd_max_train_bytes=0;max_dict_buffer_bytes=0;} + max_compaction_bytes=1677721600 + max_sequential_skip_in_iterations=8 + level0_slowdown_writes_trigger=20 + level0_stop_writes_trigger=36 + max_write_buffer_number=2 + target_file_size_multiplier=1 + prefix_extractor=nullptr + arena_block_size=8388608 + inplace_update_num_locks=10000 + max_successive_merges=0 + memtable_huge_page_size=0 + write_buffer_size=67108864 + enable_blob_garbage_collection=false + memtable_prefix_bloom_size_ratio=0.000000 + memtable_whole_key_filtering=false + max_bytes_for_level_multiplier_additional=1:{1}:{1}:{1}:{1}:{1}:{1} + target_file_size_base=67108864 + min_blob_size=0 + compression=kSnappyCompression + compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} + compaction_options_universal={allow_trivial_move=false;max_size_amplification_percent=200;size_ratio=1;stop_style=kCompactionStopStyleTotalSize;min_merge_width=2;compression_size_percent=-1;max_merge_width=4294967295;} + ttl=2592000 + periodic_compaction_seconds=0 + blob_garbage_collection_age_cutoff=0.250000 + sample_for_compression=0 + bottommost_compression=kDisableCompressionOption + compression_opts={enabled=false;max_dict_bytes=0;window_bits=-14;level=32767;parallel_threads=1;strategy=0;zstd_max_train_bytes=0;max_dict_buffer_bytes=0;} + max_write_buffer_number_to_maintain=0 + merge_operator=nullptr + num_levels=7 + inplace_update_support=false + max_write_buffer_size_to_maintain=0 + level_compaction_dynamic_level_bytes=false + min_write_buffer_number_to_merge=1 + optimize_filters_for_hits=false + force_consistency_checks=true + bloom_locality=0 + comparator=leveldb.BytewiseComparator + memtable_insert_with_hint_prefix_extractor=nullptr + memtable_factory=SkipListFactory + table_factory=BlockBasedTable + compaction_filter=nullptr + compaction_filter_factory=nullptr + compaction_style=kCompactionStyleLevel + compaction_pri=kMinOverlappingRatio + +[TableOptions/BlockBasedTable "default"] + pin_top_level_index_and_filter=true + flush_block_policy_factory=FlushBlockBySizePolicyFactory + cache_index_and_filter_blocks=false + cache_index_and_filter_blocks_with_high_priority=true + index_shortening=kShortenSeparators + hash_index_allow_collision=true + pin_l0_filter_and_index_blocks_in_cache=false + data_block_hash_table_util_ratio=0.750000 + index_type=kBinarySearch + data_block_index_type=kDataBlockBinarySearch + checksum=kCRC32c + no_block_cache=false + block_size=4096 + block_size_deviation=10 + block_restart_interval=16 + index_block_restart_interval=1 + metadata_block_size=4096 + partition_filters=false + optimize_filters_for_memory=false + filter_policy=nullptr + whole_key_filtering=true + format_version=5 + verify_compression=false + read_amp_bytes_per_bit=0 + block_align=false + enable_index_compression=true + metadata_cache_options={top_level_index_pinning=kFallback;unpartitioned_pinning=kFallback;partition_pinning=kFallback;} + max_auto_readahead_size=262144 + diff --git a/data/OPTIONS-000047 b/data/OPTIONS-000047 new file mode 100644 index 0000000..081ba40 --- /dev/null +++ b/data/OPTIONS-000047 @@ -0,0 +1,180 @@ +# This is a RocksDB option file. +# +# For detailed file format spec, please refer to the example file +# in examples/rocksdb_option_file_example.ini +# + +[Version] + rocksdb_version=6.20.3 + options_file_version=1.1 + +[DBOptions] + delayed_write_rate=16777216 + delete_obsolete_files_period_micros=21600000000 + base_background_compactions=-1 + writable_file_max_buffer_size=1048576 + max_background_compactions=-1 + max_background_jobs=2 + max_subcompactions=1 + avoid_flush_during_shutdown=false + max_total_wal_size=0 + stats_dump_period_sec=600 + max_background_flushes=-1 + stats_persist_period_sec=600 + stats_history_buffer_size=1048576 + max_open_files=-1 + bytes_per_sync=0 + wal_bytes_per_sync=0 + strict_bytes_per_sync=false + compaction_readahead_size=0 + allow_fallocate=true + advise_random_on_open=true + dump_malloc_stats=false + track_and_verify_wals_in_manifest=false + WAL_ttl_seconds=0 + use_direct_reads=false + allow_2pc=false + allow_mmap_reads=false + random_access_max_buffer_size=1048576 + allow_mmap_writes=false + create_if_missing=true + error_if_exists=false + two_write_queues=false + use_direct_io_for_flush_and_compaction=false + create_missing_column_families=false + new_table_reader_for_compaction_inputs=false + enable_thread_tracking=false + is_fd_close_on_exec=true + paranoid_checks=true + skip_stats_update_on_db_open=false + fail_if_options_file_error=false + max_manifest_file_size=1073741824 + skip_checking_sst_file_sizes_on_db_open=false + enable_pipelined_write=false + use_adaptive_mutex=false + preserve_deletes=false + use_fsync=false + log_file_time_to_roll=0 + max_log_file_size=0 + max_file_opening_threads=16 + best_efforts_recovery=false + table_cache_numshardbits=6 + write_dbid_to_manifest=false + max_write_batch_group_size_bytes=1048576 + db_write_buffer_size=0 + keep_log_file_num=1000 + atomic_flush=false + recycle_log_file_num=0 + manifest_preallocation_size=4194304 + write_thread_slow_yield_usec=3 + unordered_write=false + wal_dir=./data + WAL_size_limit_MB=0 + persist_stats_to_disk=false + allow_concurrent_memtable_write=true + wal_recovery_mode=kPointInTimeRecovery + enable_write_thread_adaptive_yield=true + write_thread_max_yield_usec=100 + access_hint_on_compaction_start=NORMAL + info_log_level=INFO_LEVEL + log_readahead_size=0 + avoid_flush_during_recovery=false + allow_ingest_behind=false + manual_wal_flush=false + avoid_unnecessary_blocking_io=false + max_bgerror_resume_count=2147483647 + bgerror_resume_retry_interval=1000000 + db_host_id=__hostname__ + allow_data_in_errors=false + + +[CFOptions "default"] + blob_compression_type=kNoCompression + hard_pending_compaction_bytes_limit=274877906944 + level0_file_num_compaction_trigger=4 + max_bytes_for_level_base=268435456 + report_bg_io_stats=false + max_bytes_for_level_multiplier=10.000000 + disable_auto_compactions=false + check_flush_compaction_key_order=true + enable_blob_files=false + paranoid_file_checks=false + blob_file_size=268435456 + soft_pending_compaction_bytes_limit=68719476736 + bottommost_compression_opts={enabled=false;max_dict_bytes=0;window_bits=-14;level=32767;parallel_threads=1;strategy=0;zstd_max_train_bytes=0;max_dict_buffer_bytes=0;} + max_compaction_bytes=1677721600 + max_sequential_skip_in_iterations=8 + level0_slowdown_writes_trigger=20 + level0_stop_writes_trigger=36 + max_write_buffer_number=2 + target_file_size_multiplier=1 + prefix_extractor=nullptr + arena_block_size=8388608 + inplace_update_num_locks=10000 + max_successive_merges=0 + memtable_huge_page_size=0 + write_buffer_size=67108864 + enable_blob_garbage_collection=false + memtable_prefix_bloom_size_ratio=0.000000 + memtable_whole_key_filtering=false + max_bytes_for_level_multiplier_additional=1:{1}:{1}:{1}:{1}:{1}:{1} + target_file_size_base=67108864 + min_blob_size=0 + compression=kSnappyCompression + compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} + compaction_options_universal={allow_trivial_move=false;max_size_amplification_percent=200;size_ratio=1;stop_style=kCompactionStopStyleTotalSize;min_merge_width=2;compression_size_percent=-1;max_merge_width=4294967295;} + ttl=2592000 + periodic_compaction_seconds=0 + blob_garbage_collection_age_cutoff=0.250000 + sample_for_compression=0 + bottommost_compression=kDisableCompressionOption + compression_opts={enabled=false;max_dict_bytes=0;window_bits=-14;level=32767;parallel_threads=1;strategy=0;zstd_max_train_bytes=0;max_dict_buffer_bytes=0;} + max_write_buffer_number_to_maintain=0 + merge_operator=nullptr + num_levels=7 + inplace_update_support=false + max_write_buffer_size_to_maintain=0 + level_compaction_dynamic_level_bytes=false + min_write_buffer_number_to_merge=1 + optimize_filters_for_hits=false + force_consistency_checks=true + bloom_locality=0 + comparator=leveldb.BytewiseComparator + memtable_insert_with_hint_prefix_extractor=nullptr + memtable_factory=SkipListFactory + table_factory=BlockBasedTable + compaction_filter=nullptr + compaction_filter_factory=nullptr + compaction_style=kCompactionStyleLevel + compaction_pri=kMinOverlappingRatio + +[TableOptions/BlockBasedTable "default"] + pin_top_level_index_and_filter=true + flush_block_policy_factory=FlushBlockBySizePolicyFactory + cache_index_and_filter_blocks=false + cache_index_and_filter_blocks_with_high_priority=true + index_shortening=kShortenSeparators + hash_index_allow_collision=true + pin_l0_filter_and_index_blocks_in_cache=false + data_block_hash_table_util_ratio=0.750000 + index_type=kBinarySearch + data_block_index_type=kDataBlockBinarySearch + checksum=kCRC32c + no_block_cache=false + block_size=4096 + block_size_deviation=10 + block_restart_interval=16 + index_block_restart_interval=1 + metadata_block_size=4096 + partition_filters=false + optimize_filters_for_memory=false + filter_policy=nullptr + whole_key_filtering=true + format_version=5 + verify_compression=false + read_amp_bytes_per_bit=0 + block_align=false + enable_index_compression=true + metadata_cache_options={top_level_index_pinning=kFallback;unpartitioned_pinning=kFallback;partition_pinning=kFallback;} + max_auto_readahead_size=262144 + diff --git a/dkv-master/.gitattributes b/dkv-client/.gitattributes similarity index 100% rename from dkv-master/.gitattributes rename to dkv-client/.gitattributes diff --git a/dkv-master/.gitignore b/dkv-client/.gitignore similarity index 100% rename from dkv-master/.gitignore rename to dkv-client/.gitignore diff --git a/dkv-common/.mvn/wrapper/maven-wrapper.properties b/dkv-client/.mvn/wrapper/maven-wrapper.properties similarity index 100% rename from dkv-common/.mvn/wrapper/maven-wrapper.properties rename to dkv-client/.mvn/wrapper/maven-wrapper.properties diff --git a/dkv-common/mvnw b/dkv-client/mvnw similarity index 100% rename from dkv-common/mvnw rename to dkv-client/mvnw diff --git a/dkv-common/mvnw.cmd b/dkv-client/mvnw.cmd similarity index 100% rename from dkv-common/mvnw.cmd rename to dkv-client/mvnw.cmd diff --git a/dkv-master/pom.xml b/dkv-client/pom.xml similarity index 71% rename from dkv-master/pom.xml rename to dkv-client/pom.xml index 04aa9ee..8a849c0 100644 --- a/dkv-master/pom.xml +++ b/dkv-client/pom.xml @@ -9,10 +9,10 @@ com.dkv - dkv-master + dkv-client 0.0.1-SNAPSHOT - dkv-master - dkv-master + dkv-client + dkv-client @@ -34,12 +34,25 @@ org.springframework.boot spring-boot-starter + + org.apache.zookeeper + zookeeper + 3.8.5 + org.springframework.boot spring-boot-starter-test test + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-web + diff --git a/dkv-client/src/main/java/com/dkv/dkvclient/ClientHandler.java b/dkv-client/src/main/java/com/dkv/dkvclient/ClientHandler.java new file mode 100644 index 0000000..c61d3de --- /dev/null +++ b/dkv-client/src/main/java/com/dkv/dkvclient/ClientHandler.java @@ -0,0 +1,34 @@ +package com.dkv.dkvclient; + +import io.netty.channel.ChannelHandlerContext; +import io.netty.channel.SimpleChannelInboundHandler; +import kvr.KvResponse; + +import java.util.concurrent.CountDownLatch; + +public class ClientHandler extends SimpleChannelInboundHandler { + + private static volatile KvResponse response; + private static CountDownLatch latch; + + public static void setWaiting(boolean wait) { + if (wait) { + latch = new CountDownLatch(1); + } + } + + public static KvResponse waitResult() { + try { + latch.await(); // 等待 RPC 响应 + return response; // 直接返回 KvResponse + } catch (InterruptedException e) { + return KvResponse.error("Interrupted while waiting for response"); + } + } + + @Override + protected void channelRead0(ChannelHandlerContext ctx, KvResponse msg) { + response = msg; + latch.countDown(); + } +} diff --git a/dkv-client/src/main/java/com/dkv/dkvclient/DkvClient.java b/dkv-client/src/main/java/com/dkv/dkvclient/DkvClient.java new file mode 100644 index 0000000..3816d9c --- /dev/null +++ b/dkv-client/src/main/java/com/dkv/dkvclient/DkvClient.java @@ -0,0 +1,126 @@ + +package com.dkv.dkvclient; + +import io.netty.bootstrap.Bootstrap; +import io.netty.channel.*; +import io.netty.channel.nio.NioEventLoopGroup; +import io.netty.channel.socket.nio.NioSocketChannel; +import io.netty.handler.codec.serialization.ClassResolvers; +import io.netty.handler.codec.serialization.ObjectDecoder; +import io.netty.handler.codec.serialization.ObjectEncoder; +import kvr.KvRequest; +import kvr.KvResponse; + +public class DkvClient { + + private final String host; + private final int port; + private Channel channel; + + public DkvClient(String zkAddress) { + // zkAddress 示例: 127.0.0.1:2181 + String[] arr = zkAddress.split(":"); + this.host = arr[0]; + this.port = Integer.parseInt(arr[1]); + connect(); + } + + // 连接 Zookeeper 获取路由信息 + private void connect() { + // 创建一个 NIO 事件循环组,用于处理网络事件(读写、连接等) + EventLoopGroup group = new NioEventLoopGroup(); + try { + // 创建 Netty 客户端启动器 + Bootstrap b = new Bootstrap(); + b.group(group) // 设置客户端的 EventLoopGroup + .channel(NioSocketChannel.class) // 指定客户端 Channel 类型为 NIO 套接字 + .handler(new ChannelInitializer<>() { // 初始化客户端 Channel 的处理链 + @Override + protected void initChannel(Channel ch) { + ch.pipeline().addLast( + new ObjectEncoder(), // 序列化 Java 对象发送到服务器 + new ObjectDecoder(ClassResolvers.cacheDisabled(null)), // 反序列化服务器返回的对象 + new ClientHandler() // 自定义的处理器,用于处理服务端返回的 KvResponse + ); + } + }); + + // 异步连接服务器,并等待连接完成 + ChannelFuture future = b.connect(host, port).sync(); + this.channel = future.channel(); // 保存连接的 Channel,供后续发送请求使用 + System.out.println("[Client] Connected to " + host + ":" + port); // 输出连接成功信息 + } catch (Exception e) { + // 捕获连接失败异常 + throw new RuntimeException("Netty connect failed", e); + } + } + + + public void put(String key, String value) { + String targetIp = getTargetIp(key); + KvRequest req = new KvRequest((byte) 1, key, value.getBytes()); + sendRequest(targetIp, req); // 调用工具方法发送请求 + } + + public String get(String key) { + String targetIp = getTargetIp(key); + KvRequest req = new KvRequest((byte) 2, key, null); + KvResponse resp = sendRequest(targetIp, req); + if (resp == null || resp.getValue() == null) return null; + return new String(resp.getValue()); + } + + private String getTargetIp(String key) { + return "127.0.0.1" + ":" + "9000"; + } + + private KvResponse sendRequest(String targetIp, KvRequest req) { + String[] arr = targetIp.split(":"); + String host = arr[0]; + int port = Integer.parseInt(arr[1]); + + EventLoopGroup group = new NioEventLoopGroup(1); + try { + Bootstrap b = new Bootstrap(); + ClientHandler handler = new ClientHandler(); // 每次新建一个 Handler,等待结果 + b.group(group) + .channel(NioSocketChannel.class) + .handler(new ChannelInitializer<>() { + @Override + protected void initChannel(Channel ch) { + ch.pipeline().addLast( + new ObjectEncoder(), + new ObjectDecoder(ClassResolvers.cacheDisabled(null)), + handler + ); + } + }); + + // 同步连接 + ChannelFuture f = b.connect(host, port).sync(); + Channel channel = f.channel(); + + // 发送请求 + handler.setWaiting(true); + channel.writeAndFlush(req); + + // 等待响应 + KvResponse resp = handler.waitResult(); + if (resp != null && resp.getCode() == KvResponse.OK) { + String value = resp.getValue() == null ? null : new String(resp.getValue()); + // 使用 value + } + + channel.close().sync(); // 关闭连接 + return resp; + + } catch (Exception e) { + throw new RuntimeException("Netty RPC failed", e); + } finally { + group.shutdownGracefully(); + } + + + } + +} diff --git a/dkv-client/src/main/java/com/dkv/dkvclient/DkvClientApplication.java b/dkv-client/src/main/java/com/dkv/dkvclient/DkvClientApplication.java new file mode 100644 index 0000000..dec0b5d --- /dev/null +++ b/dkv-client/src/main/java/com/dkv/dkvclient/DkvClientApplication.java @@ -0,0 +1,19 @@ +package com.dkv.dkvclient; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.annotation.Bean; + +@SpringBootApplication +public class DkvClientApplication { + + public static void main(String[] args) { + SpringApplication.run(DkvClientApplication.class, args); + } + + // 将 DkvClient 作为 Bean 注入 Spring 容器,KvController 可以自动使用 + @Bean + public DkvClient dkvClient() { + return new DkvClient("127.0.0.1:2181"); + } +} diff --git a/dkv-client/src/main/java/com/dkv/dkvclient/KvController.java b/dkv-client/src/main/java/com/dkv/dkvclient/KvController.java new file mode 100644 index 0000000..3cd00c7 --- /dev/null +++ b/dkv-client/src/main/java/com/dkv/dkvclient/KvController.java @@ -0,0 +1,44 @@ +package com.dkv.dkvclient; + +import com.dkv.dkvclient.DkvClient; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@RestController +@RequestMapping("/api/kv") +public class KvController { + + private final DkvClient client; + + public KvController(DkvClient client) { + this.client = client; + } + + // 测试接口 + @GetMapping("/") + public String index() { + return "DKV Client is running!"; + } + + // POST /api/kv/{key} + @PostMapping("/{key}") + public ResponseEntity save( + @PathVariable String key, + @RequestBody String value) { + + client.put(key, value); + return ResponseEntity.ok("OK"); + } + + // GET /api/kv/{key} + @GetMapping("/{key}") + public ResponseEntity query(@PathVariable String key) { + String value = client.get(key); + if (value == null) { + return ResponseEntity.notFound().build(); + } + return ResponseEntity.ok(value); + } +} diff --git a/dkv-client/src/main/java/kvr/KvRequest.java b/dkv-client/src/main/java/kvr/KvRequest.java new file mode 100644 index 0000000..1c90d78 --- /dev/null +++ b/dkv-client/src/main/java/kvr/KvRequest.java @@ -0,0 +1,95 @@ +package kvr; + +import java.io.Serializable; + +/** + * RPC 请求对象 + * 用于 Client -> Server 的通信 + */ +public class KvRequest implements Serializable { + + private static final long serialVersionUID = 1L; + + // 操作类型定义 + public static final byte PUT = 1; + public static final byte GET = 2; + public static final byte DELETE = 3; + + /** + * 请求类型:PUT / GET / DELETE + */ + private byte type; + + /** + * 键 + */ + private String key; + + /** + * 值(GET 请求时可以为 null) + */ + private byte[] value; + + /** + * 时间戳(可用于冲突解决、版本控制) + */ + private long timestamp; + + // ================= 构造方法 ================= + + public KvRequest() { + } + + public KvRequest(byte type, String key, byte[] value) { + this.type = type; + this.key = key; + this.value = value; + this.timestamp = System.currentTimeMillis(); + } + + // ================= Getter / Setter ================= + + public byte getType() { + return type; + } + + public void setType(byte type) { + this.type = type; + } + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public byte[] getValue() { + return value; + } + + public void setValue(byte[] value) { + this.value = value; + } + + public long getTimestamp() { + return timestamp; + } + + public void setTimestamp(long timestamp) { + this.timestamp = timestamp; + } + + // ================= 调试输出 ================= + + @Override + public String toString() { + return "KvRequest{" + + "type=" + type + + ", key='" + key + '\'' + + ", valueLength=" + (value == null ? 0 : value.length) + + ", timestamp=" + timestamp + + '}'; + } +} diff --git a/dkv-client/src/main/java/kvr/KvResponse.java b/dkv-client/src/main/java/kvr/KvResponse.java new file mode 100644 index 0000000..794e21e --- /dev/null +++ b/dkv-client/src/main/java/kvr/KvResponse.java @@ -0,0 +1,93 @@ +package kvr; + +import java.io.Serializable; + +/** + * RPC 响应对象 + * Server -> Client + */ +public class KvResponse implements Serializable { + + private static final long serialVersionUID = 1L; + + // 状态码定义 + public static final int OK = 200; + public static final int NOT_FOUND = 404; + public static final int ERROR = 500; + + /** + * 响应状态码 + */ + private int code; + + /** + * 返回的数据(GET 时使用) + */ + private byte[] value; + + /** + * 描述信息(错误信息 / 成功提示) + */ + private String message; + + // ================= 构造方法 ================= + + public KvResponse() { + } + + public KvResponse(int code, byte[] value, String message) { + this.code = code; + this.value = value; + this.message = message; + } + + // 快捷工厂方法(推荐使用) + public static KvResponse ok(byte[] value) { + return new KvResponse(OK, value, "OK"); + } + + public static KvResponse notFound(String msg) { + return new KvResponse(NOT_FOUND, null, msg); + } + + public static KvResponse error(String msg) { + return new KvResponse(ERROR, null, msg); + } + + // ================= Getter / Setter ================= + + public int getCode() { + return code; + } + + public void setCode(int code) { + this.code = code; + } + + public byte[] getValue() { + return value; + } + + public void setValue(byte[] value) { + this.value = value; + } + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + // ================= 调试输出 ================= + + @Override + public String toString() { + return "KvResponse{" + + "code=" + code + + ", valueLength=" + (value == null ? 0 : value.length) + + ", message='" + message + '\'' + + '}'; + } +} diff --git a/dkv-client/src/main/resources/application.properties b/dkv-client/src/main/resources/application.properties new file mode 100644 index 0000000..49620ae --- /dev/null +++ b/dkv-client/src/main/resources/application.properties @@ -0,0 +1,2 @@ +spring.application.name=dkv-client +server.port=8081 diff --git a/dkv-master/src/test/java/com/dkv/dkvmaster/DkvMasterApplicationTests.java b/dkv-client/src/test/java/com/dkv/dkvclient/DkvClientApplicationTests.java similarity index 72% rename from dkv-master/src/test/java/com/dkv/dkvmaster/DkvMasterApplicationTests.java rename to dkv-client/src/test/java/com/dkv/dkvclient/DkvClientApplicationTests.java index 771a5dd..ec67a3a 100644 --- a/dkv-master/src/test/java/com/dkv/dkvmaster/DkvMasterApplicationTests.java +++ b/dkv-client/src/test/java/com/dkv/dkvclient/DkvClientApplicationTests.java @@ -1,10 +1,10 @@ -package com.dkv.dkvmaster; +package com.dkv.dkvclient; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest -class DkvMasterApplicationTests { +class DkvClientApplicationTests { @Test void contextLoads() { diff --git a/dkv-common/pom.xml b/dkv-common/pom.xml deleted file mode 100644 index 6e7af4c..0000000 --- a/dkv-common/pom.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 4.0.1 - - - com.dkv - dkv-common - 0.0.1-SNAPSHOT - dkv-common - dkv-common - - - - - - - - - - - - - - - 17 - - - - org.projectlombok - lombok - 1.18.24 - provided - - - - - com.google.guava - guava - 33.4.8-jre - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/dkv-common/src/main/java/com/dkv/dkvcommon/DkvCommonApplication.java b/dkv-common/src/main/java/com/dkv/dkvcommon/DkvCommonApplication.java deleted file mode 100644 index ba9e715..0000000 --- a/dkv-common/src/main/java/com/dkv/dkvcommon/DkvCommonApplication.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.dkv.dkvcommon; -// -//import org.springframework.boot.SpringApplication; -//import org.springframework.boot.autoconfigure.SpringBootApplication; -// -//@SpringBootApplication -public class DkvCommonApplication { - - public static void main(String[] args) { -// SpringApplication.run(DkvCommonApplication.class, args); - } - -} diff --git a/dkv-common/src/main/java/com/dkv/dkvcommon/costants/DkvConstants.java b/dkv-common/src/main/java/com/dkv/dkvcommon/costants/DkvConstants.java deleted file mode 100644 index e81597b..0000000 --- a/dkv-common/src/main/java/com/dkv/dkvcommon/costants/DkvConstants.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.dkv.dkvcommon.costants; - -public class DkvConstants { - // ZooKeeper 根路径 - public static final String ZK_ROOT_PATH = "/mini-dkv"; - - // 节点注册路径 (DataNode 启动时在这里创建临时节点) - // 结构: /mini-dkv/nodes/192.168.1.5:8080 - public static final String ZK_NODES_PATH = "/mini-dkv/nodes"; - - // 默认 DataNode 服务端口 - public static final int DEFAULT_SERVER_PORT = 8080; -} \ No newline at end of file diff --git a/dkv-common/src/main/java/com/dkv/dkvcommon/model/DkvRequest.java b/dkv-common/src/main/java/com/dkv/dkvcommon/model/DkvRequest.java deleted file mode 100644 index 3400f9e..0000000 --- a/dkv-common/src/main/java/com/dkv/dkvcommon/model/DkvRequest.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.dkv.dkvcommon.model; - -import lombok.Data; -import java.io.Serializable; - -@Data -public class DkvRequest implements Serializable { - // 请求类型:GET/PUT/DELETE - private RequestType type; - - // 键 - private String key; - - // 值 (PUT时使用,GET/DELETE 为空) - // 使用 byte[] 而不是 String,是为了支持图片、文件等二进制存储 - private byte[] value; - - // 请求ID (用于异步匹配响应,类似快递单号) - private String requestId; -} \ No newline at end of file diff --git a/dkv-common/src/main/java/com/dkv/dkvcommon/model/DkvResponse.java b/dkv-common/src/main/java/com/dkv/dkvcommon/model/DkvResponse.java deleted file mode 100644 index 179836a..0000000 --- a/dkv-common/src/main/java/com/dkv/dkvcommon/model/DkvResponse.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.dkv.dkvcommon.model; - -import lombok.Data; - -import java.io.Serializable; - -@Data -public class DkvResponse implements Serializable { - // 状态码:200=成功, 404=Key不存在, 500=系统错误 - private int code; - - // 错误信息 (如果 code!=200) - private String message; - - // 返回的数据 (GET请求会有值) - private byte[] data; - - // 对应的请求ID - private String requestId; -} \ No newline at end of file diff --git a/dkv-common/src/main/java/com/dkv/dkvcommon/model/RequestType.java b/dkv-common/src/main/java/com/dkv/dkvcommon/model/RequestType.java deleted file mode 100644 index 859a4f9..0000000 --- a/dkv-common/src/main/java/com/dkv/dkvcommon/model/RequestType.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.dkv.dkvcommon.model; - -public enum RequestType { - GET((byte) 1), - PUT((byte) 2), - DELETE((byte) 3); - - private byte code; - - RequestType(byte code) { - this.code = code; - } - - public byte getCode() { - return code; - } -} \ No newline at end of file diff --git a/dkv-common/src/main/java/com/dkv/dkvcommon/utils/HashUtil.java b/dkv-common/src/main/java/com/dkv/dkvcommon/utils/HashUtil.java deleted file mode 100644 index b55a81a..0000000 --- a/dkv-common/src/main/java/com/dkv/dkvcommon/utils/HashUtil.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.dkv.dkvcommon.utils; - -import com.google.common.hash.HashFunction; -import com.google.common.hash.Hashing; - -import java.nio.charset.StandardCharsets; - -public class HashUtil { - // 使用 MurmurHash3,速度快且冲突少,适合分布式哈希 - private static final HashFunction HASH_FUNCTION = Hashing.murmur3_32_fixed(); - - /** - * 计算字符串的哈希值 (非负数) - */ - public static int getHash(String key) { - if (key == null) return 0; - int hash = HASH_FUNCTION.hashString(key, StandardCharsets.UTF_8).asInt(); - // 保证是正数 (取绝对值) - return hash < 0 ? Math.abs(hash) : hash; - } -} \ No newline at end of file diff --git a/dkv-common/src/main/resources/application.properties b/dkv-common/src/main/resources/application.properties deleted file mode 100644 index 5c8021f..0000000 --- a/dkv-common/src/main/resources/application.properties +++ /dev/null @@ -1 +0,0 @@ -spring.application.name=dkv-common diff --git a/dkv-common/src/test/java/com/dkv/dkvcommon/DkvCommonApplicationTests.java b/dkv-common/src/test/java/com/dkv/dkvcommon/DkvCommonApplicationTests.java deleted file mode 100644 index 62a20b0..0000000 --- a/dkv-common/src/test/java/com/dkv/dkvcommon/DkvCommonApplicationTests.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.dkv.dkvcommon; - -//import org.junit.jupiter.api.Test; -//import org.springframework.boot.test.context.SpringBootTest; -// -//@SpringBootTest -//class DkvCommonApplicationTests { -// -// @Test -// void contextLoads() { -// } -// -//} diff --git a/dkv-master/src/main/resources/application.properties b/dkv-master/src/main/resources/application.properties deleted file mode 100644 index 28ca3a3..0000000 --- a/dkv-master/src/main/resources/application.properties +++ /dev/null @@ -1 +0,0 @@ -spring.application.name=dkv-master diff --git a/dkv-server/.gitattributes b/dkv-server/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/dkv-server/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/dkv-server/.gitignore b/dkv-server/.gitignore new file mode 100644 index 0000000..667aaef --- /dev/null +++ b/dkv-server/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/dkv-master/.mvn/wrapper/maven-wrapper.properties b/dkv-server/.mvn/wrapper/maven-wrapper.properties similarity index 100% rename from dkv-master/.mvn/wrapper/maven-wrapper.properties rename to dkv-server/.mvn/wrapper/maven-wrapper.properties diff --git a/dkv-master/mvnw b/dkv-server/mvnw similarity index 100% rename from dkv-master/mvnw rename to dkv-server/mvnw diff --git a/dkv-master/mvnw.cmd b/dkv-server/mvnw.cmd similarity index 100% rename from dkv-master/mvnw.cmd rename to dkv-server/mvnw.cmd diff --git a/dkv-server/pom.xml b/dkv-server/pom.xml new file mode 100644 index 0000000..037aa94 --- /dev/null +++ b/dkv-server/pom.xml @@ -0,0 +1,90 @@ + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 4.0.1 + + + + com.dkv + dkv-server + 0.0.1-SNAPSHOT + + + 17 + 8.1.1 + 4.1.86.Final + + + + + + org.springframework.boot + spring-boot-starter + + + + + io.netty + netty-all + ${netty.version} + + + + + org.rocksdb + rocksdbjni + ${rocksdb.version} + + + + + org.apache.zookeeper + zookeeper + 3.8.4 + + + + + org.slf4j + slf4j-api + 2.0.17 + + + ch.qos.logback + logback-classic + 1.4.14 + + + com.google.guava + guava + 33.0.0-jre + + + org.rocksdb + rocksdbjni + 6.20.3 + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + + central + https://repo1.maven.org/maven2/ + + + diff --git a/dkv-master/src/main/java/com/dkv/dkvmaster/DkvMasterApplication.java b/dkv-server/src/main/java/com/dkv/dkvserver/DkvServerApplication.java similarity index 61% rename from dkv-master/src/main/java/com/dkv/dkvmaster/DkvMasterApplication.java rename to dkv-server/src/main/java/com/dkv/dkvserver/DkvServerApplication.java index 2c6ad47..3ff9805 100644 --- a/dkv-master/src/main/java/com/dkv/dkvmaster/DkvMasterApplication.java +++ b/dkv-server/src/main/java/com/dkv/dkvserver/DkvServerApplication.java @@ -1,13 +1,13 @@ -package com.dkv.dkvmaster; +package com.dkv.dkvserver; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -public class DkvMasterApplication { +public class DkvServerApplication { public static void main(String[] args) { - SpringApplication.run(DkvMasterApplication.class, args); + SpringApplication.run(DkvServerApplication.class, args); } } diff --git a/dkv-server/src/main/java/com/dkv/dkvserver/net/DkvServer.java b/dkv-server/src/main/java/com/dkv/dkvserver/net/DkvServer.java new file mode 100644 index 0000000..2c602b7 --- /dev/null +++ b/dkv-server/src/main/java/com/dkv/dkvserver/net/DkvServer.java @@ -0,0 +1,52 @@ +package com.dkv.dkvserver.net; + +import io.netty.bootstrap.ServerBootstrap; +import io.netty.channel.*; +import io.netty.channel.nio.NioEventLoopGroup; +import io.netty.channel.socket.SocketChannel; +import io.netty.channel.socket.nio.NioServerSocketChannel; +import io.netty.handler.codec.http.*; +import io.netty.handler.codec.serialization.ClassResolvers; +import io.netty.handler.codec.serialization.ObjectDecoder; +import io.netty.handler.codec.serialization.ObjectEncoder; + +import java.nio.charset.StandardCharsets; + +public class DkvServer { + + private final int port; + + public DkvServer(int port) { + this.port = port; + } + + public void start() throws Exception { + EventLoopGroup boss = new NioEventLoopGroup(1); + EventLoopGroup worker = new NioEventLoopGroup(); + + try { + ServerBootstrap b = new ServerBootstrap(); + b.group(boss, worker) + .channel(NioServerSocketChannel.class) + .childHandler(new ChannelInitializer() { + @Override + protected void initChannel(SocketChannel ch) { + ch.pipeline().addLast(new ObjectEncoder()) + .addLast(new ObjectDecoder(ClassResolvers.cacheDisabled(null))) + .addLast(new DkvServerHandler()); + } + }); + + ChannelFuture f = b.bind(port).sync(); + System.out.println("DKV Server started on port " + port); + f.channel().closeFuture().sync(); + } finally { + boss.shutdownGracefully(); + worker.shutdownGracefully(); + } + } + + public static void main(String[] args) throws Exception { + new DkvServer(9000).start(); + } +} diff --git a/dkv-server/src/main/java/com/dkv/dkvserver/net/DkvServerHandler.java b/dkv-server/src/main/java/com/dkv/dkvserver/net/DkvServerHandler.java new file mode 100644 index 0000000..658cb98 --- /dev/null +++ b/dkv-server/src/main/java/com/dkv/dkvserver/net/DkvServerHandler.java @@ -0,0 +1,51 @@ +package com.dkv.dkvserver.net; + +import com.dkv.dkvserver.storge.RocksDbEngine; +import com.dkv.dkvserver.storge.StorageEngine; +import kvr.KvRequest; +import kvr.KvResponse; +import io.netty.buffer.Unpooled; +import io.netty.channel.ChannelFutureListener; +import io.netty.channel.ChannelHandlerContext; +import io.netty.channel.SimpleChannelInboundHandler; +import io.netty.handler.codec.http.*; + +import java.nio.charset.StandardCharsets; +public class DkvServerHandler extends SimpleChannelInboundHandler { + + private static final StorageEngine engine = new RocksDbEngine(); + + static { + engine.init("./data"); + } + + @Override + protected void channelRead0(ChannelHandlerContext ctx, KvRequest req) { + System.out.println("[RPC] Received request: type=" + req.getType() + ", key=" + req.getKey()); + KvResponse resp = new KvResponse(); + + try { + if (req.getType() == 1) { // PUT + System.out.println("post"); + engine.put(req.getKey(), req.getValue()); + resp.setCode(200); + resp.setMessage("OK"); + } else if (req.getType() == 2) { // GET + System.out.println("get"); + byte[] val = engine.get(req.getKey()); + if (val == null) { + resp.setCode(404); + resp.setMessage("NOT_FOUND"); + } else { + resp.setCode(200); + resp.setValue(val); + } + } + } catch (Exception e) { + resp.setCode(500); + resp.setMessage("ERROR"); + } + + ctx.writeAndFlush(resp); + } +} diff --git a/dkv-server/src/main/java/com/dkv/dkvserver/storge/RocksDbEngine.java b/dkv-server/src/main/java/com/dkv/dkvserver/storge/RocksDbEngine.java new file mode 100644 index 0000000..2dfe36d --- /dev/null +++ b/dkv-server/src/main/java/com/dkv/dkvserver/storge/RocksDbEngine.java @@ -0,0 +1,82 @@ +package com.dkv.dkvserver.storge; + +import com.google.common.hash.BloomFilter; +import com.google.common.hash.Funnels; +import org.rocksdb.*; + +import java.nio.charset.StandardCharsets; + +public class RocksDbEngine implements StorageEngine { + + static { + try { + // 自动加载 Windows 下的 DLL + String os = System.getProperty("os.name").toLowerCase(); + if (os.contains("win")) { + RocksDB.loadLibrary(); // 会自动从 jar 中提取 librocksdbjni-win64.dll + } else { + RocksDB.loadLibrary(); + } + } catch (Exception e) { + e.printStackTrace(); + throw new RuntimeException("Failed to load RocksDB native library", e); + } + } + + private RocksDB db; + private BloomFilter bloomFilter; + + static { + RocksDB.loadLibrary(); + } + + @Override + public void init(String dbPath) { + try { + Options options = new Options() + .setCreateIfMissing(true); + + db = RocksDB.open(options, dbPath); + + // 初始化布隆过滤器(10 万 key,1% 误判率) + bloomFilter = BloomFilter.create( + Funnels.stringFunnel(StandardCharsets.UTF_8), + 100_000, + 0.01 + ); + } catch (RocksDBException e) { + throw new RuntimeException("Failed to init RocksDB", e); + } + } + + @Override + public void put(String key, byte[] value) { + try { + bloomFilter.put(key); + db.put(key.getBytes(), value); + } catch (Exception e) { + throw new RuntimeException(e); + } + } + + @Override + public byte[] get(String key) { + if (!bloomFilter.mightContain(key)) { + return null; + } + try { + return db.get(key.getBytes()); + } catch (Exception e) { + return null; + } + } + + @Override + public void delete(String key) { + try { + db.delete(key.getBytes()); + } catch (Exception e) { + e.printStackTrace(); + } + } +} diff --git a/dkv-server/src/main/java/com/dkv/dkvserver/storge/StorageEngine.java b/dkv-server/src/main/java/com/dkv/dkvserver/storge/StorageEngine.java new file mode 100644 index 0000000..890f08c --- /dev/null +++ b/dkv-server/src/main/java/com/dkv/dkvserver/storge/StorageEngine.java @@ -0,0 +1,8 @@ +package com.dkv.dkvserver.storge; + +public interface StorageEngine { + void init(String dbPath); + void put(String key, byte[] value); + byte[] get(String key); + void delete(String key); +} diff --git a/dkv-server/src/main/java/kvr/KvRequest.java b/dkv-server/src/main/java/kvr/KvRequest.java new file mode 100644 index 0000000..1c90d78 --- /dev/null +++ b/dkv-server/src/main/java/kvr/KvRequest.java @@ -0,0 +1,95 @@ +package kvr; + +import java.io.Serializable; + +/** + * RPC 请求对象 + * 用于 Client -> Server 的通信 + */ +public class KvRequest implements Serializable { + + private static final long serialVersionUID = 1L; + + // 操作类型定义 + public static final byte PUT = 1; + public static final byte GET = 2; + public static final byte DELETE = 3; + + /** + * 请求类型:PUT / GET / DELETE + */ + private byte type; + + /** + * 键 + */ + private String key; + + /** + * 值(GET 请求时可以为 null) + */ + private byte[] value; + + /** + * 时间戳(可用于冲突解决、版本控制) + */ + private long timestamp; + + // ================= 构造方法 ================= + + public KvRequest() { + } + + public KvRequest(byte type, String key, byte[] value) { + this.type = type; + this.key = key; + this.value = value; + this.timestamp = System.currentTimeMillis(); + } + + // ================= Getter / Setter ================= + + public byte getType() { + return type; + } + + public void setType(byte type) { + this.type = type; + } + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public byte[] getValue() { + return value; + } + + public void setValue(byte[] value) { + this.value = value; + } + + public long getTimestamp() { + return timestamp; + } + + public void setTimestamp(long timestamp) { + this.timestamp = timestamp; + } + + // ================= 调试输出 ================= + + @Override + public String toString() { + return "KvRequest{" + + "type=" + type + + ", key='" + key + '\'' + + ", valueLength=" + (value == null ? 0 : value.length) + + ", timestamp=" + timestamp + + '}'; + } +} diff --git a/dkv-server/src/main/java/kvr/KvResponse.java b/dkv-server/src/main/java/kvr/KvResponse.java new file mode 100644 index 0000000..794e21e --- /dev/null +++ b/dkv-server/src/main/java/kvr/KvResponse.java @@ -0,0 +1,93 @@ +package kvr; + +import java.io.Serializable; + +/** + * RPC 响应对象 + * Server -> Client + */ +public class KvResponse implements Serializable { + + private static final long serialVersionUID = 1L; + + // 状态码定义 + public static final int OK = 200; + public static final int NOT_FOUND = 404; + public static final int ERROR = 500; + + /** + * 响应状态码 + */ + private int code; + + /** + * 返回的数据(GET 时使用) + */ + private byte[] value; + + /** + * 描述信息(错误信息 / 成功提示) + */ + private String message; + + // ================= 构造方法 ================= + + public KvResponse() { + } + + public KvResponse(int code, byte[] value, String message) { + this.code = code; + this.value = value; + this.message = message; + } + + // 快捷工厂方法(推荐使用) + public static KvResponse ok(byte[] value) { + return new KvResponse(OK, value, "OK"); + } + + public static KvResponse notFound(String msg) { + return new KvResponse(NOT_FOUND, null, msg); + } + + public static KvResponse error(String msg) { + return new KvResponse(ERROR, null, msg); + } + + // ================= Getter / Setter ================= + + public int getCode() { + return code; + } + + public void setCode(int code) { + this.code = code; + } + + public byte[] getValue() { + return value; + } + + public void setValue(byte[] value) { + this.value = value; + } + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + // ================= 调试输出 ================= + + @Override + public String toString() { + return "KvResponse{" + + "code=" + code + + ", valueLength=" + (value == null ? 0 : value.length) + + ", message='" + message + '\'' + + '}'; + } +} diff --git a/dkv-server/src/main/resources/application.properties b/dkv-server/src/main/resources/application.properties new file mode 100644 index 0000000..5c182f0 --- /dev/null +++ b/dkv-server/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=dkv-server diff --git a/dkv-server/src/test/java/com/dkv/dkvserver/DkvServerApplicationTests.java b/dkv-server/src/test/java/com/dkv/dkvserver/DkvServerApplicationTests.java new file mode 100644 index 0000000..451efb9 --- /dev/null +++ b/dkv-server/src/test/java/com/dkv/dkvserver/DkvServerApplicationTests.java @@ -0,0 +1,13 @@ +package com.dkv.dkvserver; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class DkvServerApplicationTests { + + @Test + void contextLoads() { + } + +}