Skip to content

Another Boring Tech Blog

Menu
  • Start
  • About Me
Menu

Profiling MySQL using perf and Flame Graphs

Posted on September 26, 2023October 17, 2023 by Vinicius Grippa

A common task in performance analysis is identifying which code sections consume the most CPU time. This often requires profiling stack traces. Enter Flame graphs – a game-changer in how we visualize these profiles. They provide an intuitive visual representation of the application’s most CPU-intensive parts. In this article, we’ll take a look at how…

Read more

The Ins and Outs of innodb_flush_log_at_trx_commit

Posted on September 24, 2023 by Vinicius Grippa

Today, we’re going to take a journey through one of MySQL’s performance guardians – the innodb_flush_log_at_trx_commit. The innodb_flush_log_at_trx_commit has 3 valid values: 0, 1, and 2. Let’s see each of them. Option 1: The Safe Harbor (innodb_flush_log_at_trx_commit = 1) By default, MySQL is set up with a focus on safety. Imagine this as saving your…

Read more

How To Estimate Redo Log Capacity

Posted on September 21, 2023November 26, 2024 by Vinicius Grippa

With MySQL 8.0.30 comes a feature that is a game changer in ensuring optimal MySQL performance – the dynamic redo log sizing. Overcoming Previous Limitations Before version 8.0.30 came into play, redo log configuration was static, set once during database setup and rarely touched thereafter due to the MySQL restart required to effect any changes…

Read more

Rethinking the 80% InnoDB Buffer Pool Rule: Digging into Server RAM Allocation

Posted on September 21, 2023October 9, 2023 by Vinicius Grippa

In server optimization, various rules of thumb have guided professionals in making informed decisions about resource allocation. One such directive is the 80% rule, which suggests allocating 80% of a server’s RAM to InnoDB’s buffer pool, leaving the remaining 20% for other operations. Initially conceived as a general guideline to get servers up and running…

Read more

About Me

Posted on September 20, 2023September 25, 2023 by Vinicius Grippa

Hello there! I’m Vinicius Grippa, and I’ve been playing around with databases for almost 20 years. Currently, I’m the Lead Database Engineer at Percona. If you’ve come across the book “Learning MySQL”, yep, I helped write that! With a Bachelor’s degree in Computer Science, my journey has led me to specialize in MySQL and MongoDB….

Read more
  • Previous
  • 1
  • 2
  • 3
  • 4
© 2025 Another Boring Tech Blog | Powered by Minimalist Blog WordPress Theme