Comparative Guide to Database Index Types: PostgreSQL, Oracle, and MySQL
Overview of Indexing Mechanisms
When designing robust database architectures, selecting the appropriate index type is crucial for query performance. PostgreSQL, Oracle, and MySQL each offer distinct indexing mechanisms tailored to different data structures and workload profiles.
Common Index Types
B-Tree Indexes: Supported across all three pla ...
Posted on Tue, 04 Aug 2026 16:39:04 +0000 by cartoonjunkie
Advanced MySQL Operations: Auto-Increment, Indexes, Foreign Keys, and Data Manipulation
Auto-Increment Configuration
The default behavior for auto-increment columns starts at 1 and increments by 1. However, specific scenarios may require customizing the starting point or the increment step.
Setting the Initial Value
ALTER TABLE records AUTO_INCREMENT = 100;
Adjusting the Increment Step
Session Scope: Affects only the current con ...
Posted on Mon, 03 Aug 2026 16:51:50 +0000 by fandelem
Deploying Zabbix Using Docker
docker run --name mysql-server -t \
-v /data/mysql/data:/var/lib/mysql \
-e MYSQL_DATABASE="zabbix" \
-e MYSQL_USER="zabbix" \
-e MYSQL_PASSWORD="123456" \
-e MYSQL_ROOT_PASSWORD="123456" \
--restart=unless-stopped \
-p 3306:3306 \
-d mysql:8.0 \
--character-set-server=utf8 --collation-s ...
Posted on Sat, 01 Aug 2026 16:18:47 +0000 by Remote4ever
Zabbix Monitoring Setup and Usage Guide
Monitoring Fundamentals
1. Hardware Monitoring
Inspects data center equipment, remote management cards, and IPMI.
2. System Monitoring
CPU Load: Use uptime (target < 3), top (ideal 30%-70%), vmstat, mpstat.
Memory: Use free -m (utilization should be < 80%).
Disk: Use df, iotop (for I/O process monitoring), iostat.
Network: Use iftop -n.
...
Posted on Sat, 01 Aug 2026 16:11:01 +0000 by Hagbard
Implementing Recursive Queries in MySQL for Tree Structure Pagination
Recursive Query Fundamentals
Recursive queriees enable hierarchical data processing by referencing the query itself during execution. Starting from version 5.7, MySQL supports recursive queries through Common Table Expressions (CTE) with the WITH RECURSIVE clause. This capability is particularly useful for managing tree-structured data such as ...
Posted on Fri, 31 Jul 2026 17:05:59 +0000 by karapantass
Compiling MySQL 8 from Source on CentOS 7
This guide outlines the process of installing MySQL 8 by compiling its source code on a CentOS 7 system. Source compilation provides maximum control over the installation and optimization.
1. System Environment Overview
Before beginning, verify the operating system details. The instructions are tailored for CentOS 7.
[root@host ~]# cat /etc/red ...
Posted on Fri, 31 Jul 2026 16:43:22 +0000 by KevinMG
Student Information Management System Based on Spring Boot and Vue
This article presents a practical implementation of a student information management system built using Spring Boot, Vue.js, and MySQL. The system provides RESTful APIs for mangaing student records, including CRUD operations, search, and pagination. The frontend is developed with Vue 3 and Element Plus, while the backend uses Spring Boot 2.x wi ...
Posted on Fri, 31 Jul 2026 16:16:44 +0000 by sunnysideup
InnoDB Transaction Internals: Execution Flow, Isolation Levels, and Concurrency Anomalies
Transaction Execution Flow
InnoDB transactions operate through four core components: redo logs, undo logs, locking mechanisms, and MVCC (Multi-Version Concurrency Control). The transaction lifecycle consists of initiation, execution, and commit/rollback phases.
ACID Properties Implementation
Atomicity: Achieved through undo logs that record re ...
Posted on Fri, 31 Jul 2026 16:14:27 +0000 by The Cat
MySQL to Elasticsearch Data Synchronization Using Logstash
Environment Setup
Download Logstash version matching your Elasticsearch installation (example uses 7.17.6):
Logstash: Official Download Page
MySQL Connector/J: Available from Maven repository or MySQL official site
Configure system environment variable LS_JAVA_HOME pointing to JDK 8 or 11. For Logstash 7.x, this variable is required instead o ...
Posted on Fri, 31 Jul 2026 16:06:16 +0000 by elearnindia
MySQL Penetration Primer: SQL Injection Walk-through on the Appointment Lab
Environment Overview
The Appointment lab is a deliberately vulnerable MySQL-backed web application running on Apache HTTP Server. Your goal is to obtain the flag stored in the database by chaining together reconnaissance, directory discovery, and SQL injection.
MySQL Crash Course
MySQL is an open-source relational DBMS that speaks standard SQL ...
Posted on Thu, 30 Jul 2026 16:56:28 +0000 by phpprog