Core MySQL Concepts and Optimization Techniques
Storage Engines
MySQL supports multiple storage engines, with InnoDB and MyISAM being the most commonly used. InnoDB is the default engine as of MySQL 5.5 due to its support for transactions, foreign keys, and crash recovery.
InnoDB vs MyISAM
InnoDB provides ACID-compliant trensactions, row-level locking, and referential integrity via foreign k ...
Posted on Wed, 09 Sep 2026 16:32:15 +0000 by darcuss
Understanding Why Unique Indexes Fail to Prevent Duplicate Data in MySQL
Understanding Why Unique Indexes Fail to Prevent Duplicate Data in MySQL
1. The Problem Scenario
Recently, while implementing a duplicate prevention mechanism for product groups, I created a dedicated table called product_group_unique.
The issue arose specifically with this product group uniqueness table. The table structure was defined as f ...
Posted on Wed, 09 Sep 2026 16:21:24 +0000 by sm
Database Management Essentials
Database Management
Overview
Database operations involve maintaining and administering database systems. Core responsibilities include executing SQL queries for data manipulation, performing backups, and implementing high availability solutions such as master-slave replication and read-write separation.
A database serves as an organized reposit ...
Posted on Tue, 08 Sep 2026 16:48:46 +0000 by mikster
String Concatenation and Aggregation Functions in MySQL
MySQL offers several functions for string manipulation and aggregation in queries, such as CONCAT(), CONCAT_WS(), and GROUP_CONCAT(). These tools are essential for combining text data and summarizing grouped results efficiently.
The CONCAT() Function
CONCAT() merges multiple strings into a single string. Its syntax is:
CONCAT(string1, string2, ...
Posted on Tue, 08 Sep 2026 16:23:21 +0000 by ossi69
Building a Second-Hand Commerce Platform with Spring Boot and MySQL
The application follows a decoupled B/S architecture, leveraging Spring Boot for RESTful API provisioning and MySQL for relational data persistence. Entity-Relationship modeling adheres to third normal form, utilizing UTF-8 collation for consistent string handling across international deployments.
Database Schema Design
Core tables manage admin ...
Posted on Tue, 08 Sep 2026 16:19:51 +0000 by bob2006
Understanding MySQL Indexes
Indexes are a fundamental tool in MySQL for improving query performance, much like the table of contents in a book—indexes allow quick access to target data without scanning the entire table. This article covers core concepts, types, usage principles, and best practices from basic to advanced levels.
Core Concepts of Indexes
1. Purpose of Inde ...
Posted on Mon, 07 Sep 2026 16:42:31 +0000 by Gaia
Server-Side Technology Selection for Web Applications
Node.js Framework Selection
When choosing a Node.js framework, consider:
Koa2 - Minimalist framework with middleware support
Express - Most popular with extensive middleware ecosystem
Egg.js - Enterprise framework built on Koa
NestJS - TypeScript framework with Angular-like architecture
// Koa2 basic server example
const Koa = require('koa'); ...
Posted on Mon, 07 Sep 2026 16:31:52 +0000 by zeppis
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