Implementing Daily Automatic Partitioning in MySQL
Creating the Test Database
CREATE DATABASE partition_demo CHARACTER SET utf8 COLLATE utf8_unicode_ci;
Creating the Table
Note: The column used for partitioning must be part of the primary key.
USE partition_demo;
CREATE TABLE event_logs (
id BIGINT(20) NOT NULL AUTO_INCREMENT,
event_time DATETIME NOT NULL,
message VARCHAR(200),
...
Posted on Wed, 24 Jun 2026 18:20:23 +0000 by irishprogrammin
:Linux Storage Subsystem and File System Management
Storage Interface Technologies
Modern Linux environments interface with persistent storage through various hardware protocols. Parallel interfaces, now largely obsolete, include IDE (also known as ATA) with maximum throughput of 133MB/s, and SCSI variants reaching 320MB/s or 640MB/s. Contemporary systems predominantly employ serial connections: ...
Posted on Tue, 23 Jun 2026 17:17:52 +0000 by joopeon
Greenplum Automatic Partition Management: A Comprehensive Guide
Greenplum 6 provides robust partitioning capabilities that allow for efficient data management. This guide presents an enhanced automatic partitioning solution that supports daily, monthly, and yearly partitioning strategies with dynamic future partition creation.
Partition Management Function
The following function automates partition creatio ...
Posted on Wed, 10 Jun 2026 16:14:27 +0000 by leetee
Optimizing SQL Performance in OceanBase Database
OceanBase's architectural foundation differs significantly from traditional relational databases, which directly impacts SQL performance tuning strategies.
Architectural Distinctions
LSM-Tree Storage Engine
Data is organized into static components (SSTables) and dynamic components (MemTables). Performance for many query improves after a major c ...
Posted on Wed, 20 May 2026 08:13:05 +0000 by bhavesh
Kafka Configuration and Consumer Group Management
Installation
Download and extract Kafka:
wget --no-check-certificate https://dlcdn.apache.org/kafka/3.0.0/kafka_2.13-3.0.0.tgz
tar -xzf kafka_2.13-3.0.0.tgz
cd kafka_2.13-3.0.0
Start Zookeeper and Kafka server:
bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.properties
By default, Zookeeper li ...
Posted on Fri, 15 May 2026 17:56:58 +0000 by soianyc
Optimizing MySQL Query Performance for Hundreds of Millions of Rows
Optimizing MySQL query efficiency when dealing with hundreds of millions of rows requires a comprehensive approach that includes indexing, query rewriting, partitioning, and hardware configuration. Below are best practices and examples to improve query performance on large datasets.
1. Introduction
Processing large-scale data demands efficient ...
Posted on Fri, 15 May 2026 01:33:21 +0000 by Clinger
Implementing Dynamic Monthly Data Management with MySQL List Partitioning
Organizations often face challenges when managing time-series or periodic data, particularly for analytical dashboards requiring monthly aggregations. A common requirement is to update or refresh an entire month's data. Traditional approaches, such as fully truncating and re-inserting all historical data, or performing a DELETE followed by an I ...
Posted on Wed, 13 May 2026 19:30:18 +0000 by silrayn