Essential Checks for MySQL Database Inspections
Standard Operational Inspections
Storage capacity is a critical focus during proactive inspections. While standard alerts might trigger at 80% utilization, inspections should flag instances exceeding 70%. This buffer ensures there is enough capacity to handle data growth over extended holidays, preventing emergency interventions during off-hour ...
Posted on Mon, 07 Sep 2026 16:06:44 +0000 by mpiaser
Percona Toolkit Practical Usage Guide
Percona Toolkit Operations Guide
Table of Contents
pt-online-schema-change
Adding Columns Online
Creating Indexes Online
Modifying Table Columns Online
Foreign Key Handling
pt-archiver
Data Cleanup
Data Archiving
Parameter Reference
Known Bug Resolution
Usage Examples
pt-query-digest - Slow Query Analysis
pt-heartbeat - Replication Lag M ...
Posted on Sun, 06 Sep 2026 16:39:16 +0000 by kaspari22
Comprehensive Guide to BenchmarkSQL Database Benchmarking Tool
BenchmarkSQL is a JDBC-based database benchmarking tool that incorporates TPC-C test scripts and supports multiple databases including PostgreSQL, Oracle, and MySQL. This guide covers installation, configuration, and execution of TPC-C benchmarks using BenchmarkSQL on CentOS 7.
1. Prerequisites
Operating System: CentOS 7
Java: BenchmarkSQL is ...
Posted on Fri, 04 Sep 2026 16:49:14 +0000 by EcLip$e
Building RESTful CRUD Services with Spring Boot and MyBatis
Environment Setup
Database Schema
Create a MySQL database named springboot and a table t_user to hold user records.
CREATE DATABASE `springboot`;
USE `springboot`;
DROP TABLE IF EXISTS `t_user`;
CREATE TABLE `t_user` (
`id` INT(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
`name` VARCHAR(10) DEFAULT NULL COMMENT 'User name',
`age` ...
Posted on Fri, 04 Sep 2026 16:48:03 +0000 by krishnam1981
MySQL Index Management and Query Optimization Techniques
MySQL indexes are auxiliary data structures that accelerate row retrieval by minimizing scan scope. Rather than reading every row, the storage engine traverses the index to locate qualifying records quickly, trading additional disk space and write-time maintenance for faster reads.
Index Categories
The InnoDB and MyISAM engines support several ...
Posted on Fri, 04 Sep 2026 16:12:54 +0000 by keithh0427
Automating MySQL Backups on Ubuntu Systems
Creating Backup Directories
Begin by establishing a dedicated directory for backups:
mkdir -p /home/apps/backup/mysqllive
Securing Database Credentials
For enhanced security, store database credentials in a configuration file instead of embedding them in scripts.
Create and edit the MySQL dump configuration file:
sudo vim /etc/mysql/conf.d/mys ...
Posted on Thu, 03 Sep 2026 16:54:06 +0000 by FireDrake
Setting Up Redis, MySQL, and Nginx on Ubuntu 20.04
Installing Redis from Source
To deploy Redis, download the source code from the official Redis website. Extract the archive and prepare the build enviroment:
tar -xvf redis-x.x.x.tar.gz
cd redis-x.x.x
sudo apt update
sudo apt install build-essential pkg-config
Compile the source code using the provided makefile:
make MALLOC=libc
sudo make inst ...
Posted on Thu, 03 Sep 2026 16:49:47 +0000 by mforan
MySQL SQL Fundamentals and Query Operations
SQL Overview
SQL (Structured Query Language) serves as the standard communication protocol for relational database systems. It provides a comprehensive command set specifically designed for database operations, enabling users to issue declarative instructions without worrying about implementation details.
SQL Syntax Standards
SQL keywords are ...
Posted on Thu, 03 Sep 2026 16:01:25 +0000 by BrianWald
Core SQL Operations for Record Management and Table Structure Modification
Data Insertion Principles
When populating relational tables, observe the following storage and syntax behaviors:
Integer Display Width: The width parameter for INT columns controls display padding when ZEROFILL is applied. The underlying storage consistently consumes four bytes regardless of the specified width.
Date Parsing: Database engines ...
Posted on Thu, 03 Sep 2026 15:59:21 +0000 by Jamz
Analysis of Replication Lag in a Database System
A business system recently experienced significant lag on its replica databases, failing to catch up with the primary database, posing considerable operational risks. Despite low CPU, IO, and network usage on the replica servers, indicating no resource bottlenecks, parallel replay was enibled. The SHOW PROCESSLIST command showed continuous repl ...
Posted on Wed, 02 Sep 2026 16:07:07 +0000 by slindstr