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…
Author: Vinicius Grippa
Monitoring and Optimizing Fragmented Tables in MySQL
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…
MySQL Brazil Meetup 2024 – Informações do Evento e Agenda
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…
Sorting MySQL Tables by Size: Importance and How-To
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…
Running ANALYZE in MySQL
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…
[PT-BR] Desativar o Transparent Huge Pages(THP) no Ubuntu 22.04
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…
Releem: MySQL Performance Tool
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,…
Improving Database Performance with ReadySet: A MySQL Caching Solution
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…
MySQL: Identifying Tables Not Using InnoDB
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:
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…
Introduction to the New Percona Everest Beta
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…