Core Operations in MySQL: DDL, DML, and DQL
A database (DB) serves as a repository for storing and managing data. A Database Management System (DBMS) is software designed to manipulate and administer databases. Relational databases (RDBMS) are built on the relational model, organizing data into interconnected two-dimensional tables. This structure ensures uniform data storage, simplifyin ...
Posted on Sun, 05 Jul 2026 17:07:45 +0000 by tommyinnn
Advanced MySQL Query Patterns and MyBatis Integration Fundamentals
Multi-Table Query Strategies
A Cartesian product arises when every row from one table is paired with every row from another—often unintentional and inefficient. To retrieve meaningful results, explicit join conditions must constrain the result set.
SELECT e.id, e.name, d.name AS department_name
FROM employees e
INNER JOIN departments d ON e.dep ...
Posted on Sun, 05 Jul 2026 17:03:11 +0000 by desolator
Master SQLite3 with Python in 5 Minutes
In today's data-driven world, databases have become an indispensable tool. Python, as a popular programming language, comes with built-in support for several databases, one of which is SQLite. SQLite is a lightweight relational database management system with extensive application in Python. This article introduces how to use Python to operate ...
Posted on Sat, 04 Jul 2026 17:37:12 +0000 by everogrin
Customizing NLog to Write Logs to a Database and Troubleshooting Configuration Issues
NLog is a flexible logging framework for .NET applications that supports writing logs to various targets such as files, databases, and email. This article focuses on configuring NLog to log custom data into a database and addresses a common issue where changes to NLog.config appear to have no effect.
Using Layout Renderers for Custom Log Data
N ...
Posted on Thu, 02 Jul 2026 16:04:45 +0000 by fluvius
ClickHouse Docker Deployment and Spring Boot Integration Guide
Docker Deployement Configuration
ClickHouse can be easily deployed using Docker. The following configuration covers the essential setup including network ports, storage volumes, and security parameters.
Basic Container Launch
docker run -d \
--name=clickhouse-server \
-e CLICKHOUSE_ADMIN_PASSWORD=secure_password \
--ulimit nofile=262144:2 ...
Posted on Wed, 01 Jul 2026 18:05:37 +0000 by jackie11
Understanding MogDB vs Kingbase Performance Differences in sysbench Benchmarks
Root Cause Analysis of Performance Variations
A colleague recently shared a comparative analysis between MogDB and KingBase conducted by another technical blogger. The benchmark utilized sysbench for testing, and the results indicated that MogDB underperformed compared to KingBase in most scenarios, with only one test case showing significantly ...
Posted on Wed, 01 Jul 2026 17:51:19 +0000 by hd_webdev
Mastering Data Query Language in MySQL
Core Concepts of DQL
Data Query Language (DQL) primarily utilizes the SELECT statement for retrieving information from databases. This functionality forms the backbone of database operations, enabling both simple single-table queries and complex multi-table joins with nested conditions.
SELECT Statement Structure
SELECT [ALL | DISTINCT]
{ * | t ...
Posted on Tue, 30 Jun 2026 18:07:15 +0000 by Ryanz
Installing and Configuring MySQL on Linux Systems
Pre-installation Checks
Before installing MySQL on Linux systems, verify that you have two CentOS 7 virtual machines properly configured with unique MAC addresses, hostnames, IP addresses, and UUIDs. Ensure you have access tools like Xshell and Xftp. Note the differences between CentOS 6 and 7: CentOS 6 uses iptables firewall while CentOS 7 use ...
Posted on Tue, 30 Jun 2026 16:35:22 +0000 by lachild
Installing and Using MyDumper for MySQL Logical Backups
Installation Dependencies
dnf install -y cmake gcc gcc-c++ git make
Downloading and Installing MyDumper
wget https://github.com/mydumper/mydumper/releases/download/v0.14.1-1/mydumper-0.14.1-1.el9.x86_64.rpm
dnf install mydumper-0.14.1-1.el9.x86_64.rpm -y
MyDumper Configuration Options
mydumper --help
Displays comprehensive options for con ...
Posted on Sat, 27 Jun 2026 17:13:28 +0000 by peppino
Installing and Configuring MySQL on Linux Systems
Installation Process and Initial Setup
First, remove any existing MariaDB installations that might conflict:
yum remove mariadb-libs.x86_64
Download the MySQL repository configuration package:
cd /tmp
wget https://dev.mysql.com/get/mysql80-community-release-el7-2.noarch.rpm
Install the downloaded repository:
yum localinstall mysql80-communi ...
Posted on Fri, 26 Jun 2026 17:00:30 +0000 by Capnstank