Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The pool hit rate should be 1000/1000 if not the pool size is too short.

InnoDB Log File Size (innodb_log_file_size)

Purpose

Controls the size of InnoDB redo logs.

...

  • A larger size improves transaction commit speed but increases recovery time after crashes.

InnoDB Flush Log at Transaction Commit (innodb_flush_log_at_trx_commit)

Purpose

  • Controls when logs are written to disk.

...

  • 1 ensures durability but adds disk overhead.

  • 2 improves performance without major data loss risks.

InnoDB I/O Capacity (innodb_io_capacity)

Purpose

  • Determines how many IOPS InnoDB can perform for background tasks (flushing dirty pages, index merges, etc.).

...