MongoDB Installation, Configuration, and Operations Guide
Installation
MongoDB 5.0 Installation
Refer to the official documentation: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/
MongoDB 3.4 Installation (Tarball Method)
The yum repository for 3.4 is no longer available, so manual installation via tarball is required.
sudo groupadd mongod
sudo useradd -r -g mongod -s /sbin/nolog ...
Posted on Tue, 22 Sep 2026 16:51:54 +0000 by carlmcdade
Managing MySQL Binary and Relay Logs: Analysis, Recovery, and Cleanup
Understanding MySQL Binary Logs
The binary log (often called binlog) is a set of files that stores details about data modifications and potentially data-changing events. It captures operations like INSERT, UPDATE, and DELETE, along with timestamps and execution details. Queries that do not alter data, such as SELECT or SHOW, are omitted. These ...
Posted on Mon, 21 Sep 2026 16:36:05 +0000 by Mercenary
MySQL Replication Error Resolution Guide
Delete Operation Failure on Replica
When a record is deleted on the primary but doesn't exist on the replica, replication halts with an error.
Last_SQL_Error: Could not execute Delete_rows event on table app.users;
Can't find record in 'users',
Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND;
the event's master log mysql-bin.000008, end_lo ...
Posted on Wed, 16 Sep 2026 16:27:41 +0000 by alcapone
Understanding Canal MySQL SELECT Privilege Granularity Requirements
Configuring permissions for Alibaba Canal involves standard replication grants, specifically REPLICATION SLAVE and REPLICATION CLIENT. However, the requirement for the SELECT privilege often leads to confusion regarding its necessary scope—whether it must be applied at the database level or if table-level access suffices.
Initial testing in loc ...
Posted on Wed, 09 Sep 2026 16:46:51 +0000 by Rippie
Dameng Database Primary-Standby Architectures and Configuration
Core Mechanisms of Dameng Data WatchDameng (DM) database high availability clusters are established through the Data Watch framework. The foundational mechanism involves transmitting Redo logs from the primary instance to standby instances, which then apply these logs to maintain data synchronization. By manipulating specific parameters and int ...
Posted on Wed, 09 Sep 2026 16:19:51 +0000 by daphreeek
Understanding MongoDB: Architecture, Deployment, and Data Management
1. Core Concepts
MongoDB is a distributed, document-oriented NoSQL database system written in C++. It stores data in flexible, JSON-like documents where data structures consist of key-value pairs. This design allows for dynamic schemas, making it highly adaptable to evolving application requirements.
2. Comparison: Relational vs. Document
While ...
Posted on Wed, 02 Sep 2026 16:14:42 +0000 by julien
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
MySQL Master-Slave Replication Setup
Before configuring MySQL master-slave replication, ensure both servers run the same MySQL version and have compatible system configurations.
Configure the Master Server
Edit the MySQL configuration file /etc/my.cnf on the master node:
[mysqld]
log-bin=mysql-bin
server-id=101
log-bin enables binary logging, required for replication.
server-id ...
Posted on Tue, 01 Sep 2026 16:00:14 +0000 by dcace
Redis Sentinel Mode Configuration and High Availability Setup
Installing Redis and Enabling Auto-start
Install Redis and configure it to start automatically at system boot.
Deploying Multiple Redis Instances
Set up multiple Redis servers for redundancy and high availability.
Configuring Redis Password Authentication
Secure Redis instances using password-based authentication.
Setting Up Redis Persistence
C ...
Posted on Sun, 30 Aug 2026 16:43:10 +0000 by ryansmith44
Redis Master-Slave Replication Setup and Operational Guide
Redis delivers high-speed read/write performance but can face heavy read loads under production traffic. To distribute this load, Redis supports master-slave replication, enabling one-to-many or cascading topologies. Replication operates via full synchronization (during initialization) or incremental synchronization (for ongoing updates).
Benef ...
Posted on Fri, 28 Aug 2026 16:24:45 +0000 by monkeypaw201