Skip to content

Another Boring Tech Blog

Menu
  • Start
  • About Me
Menu

How to Add an Invisible Primary Key to an Existing Table in MySQL

Posted on November 4, 2024November 25, 2024 by Vinicius Grippa

With MySQL 8.0.23, the concept of invisible columns was introduced. Columns marked as invisible do not appear in standard SELECT *  queries and don’t require changes to existing application code. Later, in MySQL 8.0.30, support for automatically generated invisible primary keys (GIPKs) was added for InnoDB tables created without an explicit primary key. This enhancement, controlled by…

Read more

How to Monitor and Optimize Fragmented Tables in MySQL

Posted on September 10, 2024September 7, 2025 by Vinicius Grippa

Random insertions or deletions in a secondary index can lead to fragmentation, where the physical order of index pages on disk no longer aligns with the logical order of records. A common sign of fragmentation is that a table occupies more space than expected, though determining the exact amount is challenging. InnoDB stores data and…

Read more

MySQL Brazil Meetup 2024 – Informações do Evento e Agenda

Posted on July 14, 2024October 8, 2024 by Vinicius Grippa

Salve a todos os nerds! O nosso meetup de MySQL de 2024 já tem uma data! Data: 05 de Outubro, Sábado, 2024 Horário: 9:00 AM – 5:30 PM (Horário de Brasilia) Local: Oracle do Brasil Sistemas, Rua Dr. José Áureo Bustamante 455, bl. 110, São Paulo, SP, BR, 04710-090 Teremos um dia inteiro com palestras…

Read more

How to Sort MySQL Tables by Size and Why It Matters

Posted on June 6, 2024November 25, 2024 by Vinicius Grippa

Introduction Efficient database management ensures optimal performance, especially as your data grows. One important aspect of managing a MySQL database is monitoring and managing the size of your tables. Knowing which tables are the largest can help optimize queries, plan storage, and identify potential performance bottlenecks. Why Table Size Matters 1. Performance Optimization: Large tables…

Read more

How to Run ANALYZE in MySQL

Posted on May 14, 2024November 25, 2024 by Vinicius Grippa

Introduction In database management, keeping your database running smoothly is essential. ANALYZE is a command in MySQL that helps update statistics for table indexes. These statistics help the query optimizer choose the most efficient way to execute queries. How to Use the ANALYZE Command Here’s how you can use the ANALYZE command to improve your database’s…

Read more

[PT-BR] Desativar o Transparent Huge Pages(THP) no Ubuntu 22.04

Posted on May 9, 2024May 9, 2024 by Vinicius Grippa

Desativar as Transparent Huge Pages (THP) de forma permanente no Ubuntu 22.04 exige a modificação dos arquivos de configuração do sistema para que a alteração seja aplicada durante o boot. Existem diversas maneiras de fazer isso, mas um método comum é utilizar o rc.local ou criar um serviço systemd personalizado, já que o Ubuntu pode…

Read more

Releem: MySQL Performance Tool

Posted on April 28, 2024April 29, 2024 by Vinicius Grippa

Who wouldn’t love a reliable database free from issues and allowing us to sleep peacefully? That’s what Roman Agabekov, the CEO of Releem, aims to provide. As a tool specializing in MySQL Performance Tuning, Releem helps developers and database administrators by automating MySQL tuning, enhancing application performance, and reducing server costs. In this blog post,…

Read more

Improving Database Performance with ReadySet: A MySQL Caching Solution

Posted on April 10, 2024April 11, 2024 by Vinicius Grippa

Many developers face the challenge of achieving performance without compromising on real-time application functionality in database management. This brings us to today’s spotlight technology: ReadySet. What is ReadySet? According to its GitHub repository, ReadySet is designed to enhance the performance of real-time applications by providing a powerful SQL caching engine that requires no changes to…

Read more

MySQL: Identifying Tables Not Using InnoDB

Posted on March 24, 2024 by Vinicius Grippa

This blog post aims to spotlight tables within a MySQL database that do not employ the InnoDB storage engine. The essence of the query is to filter out tables that do not utilize the InnoDB engine, thereby enabling a focused analysis or migration plan for database optimization. Below is the query:

MySQL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SELECT
  table_schema AS 'database_name',
  table_name,
  engine
FROM
  information_schema.tables
WHERE
  engine NOT LIKE 'InnoDB'
  AND table_type = 'BASE TABLE'
  AND table_schema NOT IN (
    'information_schema', 'sys', 'performance_schema',
    'mysql'
  )
ORDER BY
  table_schema,
  table_name;

Let’s dissect the…

Read more

Introduction to the New Percona Everest Beta

Posted on February 28, 2024 by Vinicius Grippa

In the rapidly evolving world of technology, database management remains a crucial, albeit challenging, aspect for many organizations. Percona, a leading provider of open-source database solutions, comes with its latest product, which is now in its beta phase: Percona Everest. This post aims to shed light on what Percona Everest is, how it works, and…

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