Tagged articles
48 articles
Page 1 of 1
Java Architect Handbook
Java Architect Handbook
Feb 27, 2026 · Databases

Enable MySQL Read/Write Splitting with Router 8.2 and InnoDB ReplicaSet

MySQL 8.2 introduces native read/write splitting via MySQL Router, allowing automatic routing of reads to replicas and writes to the primary source; this guide shows how to set up a simple InnoDB ReplicaSet, configure Router, verify traffic flow, and leverage access mode commands for fine‑grained control.

Database ConfigurationInnoDB ReplicaSetRouter
0 likes · 6 min read
Enable MySQL Read/Write Splitting with Router 8.2 and InnoDB ReplicaSet
Top Architect
Top Architect
Jan 27, 2026 · Databases

How MySQL Router 8.2 Enables Seamless Read/Write Splitting with InnoDB ReplicaSet

This article demonstrates how MySQL Router 8.2 can automatically route read traffic to replica instances and write traffic to the primary instance in an InnoDB ReplicaSet, providing configuration steps, command examples, and observed behavior without requiring any changes to the application.

Database ConfigurationInnoDB ReplicaSetRouter
0 likes · 6 min read
How MySQL Router 8.2 Enables Seamless Read/Write Splitting with InnoDB ReplicaSet
Raymond Ops
Raymond Ops
Dec 23, 2025 · Databases

Master MySQL in Production: From Configuration Tuning to SQL Performance Optimization

This comprehensive guide walks you through a real‑world MySQL outage, then details step‑by‑step configuration tweaks, InnoDB parameter tuning, connection and thread settings, index design, query rewrites, monitoring scripts, backup strategies, high‑availability replication, and essential tooling to keep your database fast and reliable.

Database Configurationhigh availabilitymonitoring
0 likes · 13 min read
Master MySQL in Production: From Configuration Tuning to SQL Performance Optimization
Xiao Liu Lab
Xiao Liu Lab
Oct 27, 2025 · Databases

Boost MySQL Performance: 6 Essential Config Tweaks for 5000+ QPS

Even when CPU and memory appear idle, MySQL can suffer connection timeouts, query stalls, and 100% CPU spikes during peak traffic, but by adjusting six key configuration parameters and following solid SQL‑optimization practices you can reliably support thousands of queries per second.

Database ConfigurationSQL Optimizationmysql
0 likes · 6 min read
Boost MySQL Performance: 6 Essential Config Tweaks for 5000+ QPS
Big Data Tech Team
Big Data Tech Team
Oct 12, 2025 · Databases

Why ClickHouse Dominates OLAP: Features, Configurations, Table Engines and Real‑World Use Cases

This article provides an in‑depth technical overview of ClickHouse, covering its OLAP‑focused architecture, key performance features, detailed configuration files, a comprehensive comparison of its many table engines, common troubleshooting tips, and real‑world deployment patterns for recommendation and advertising systems.

ClickHouseDatabase ConfigurationKafka engine
0 likes · 68 min read
Why ClickHouse Dominates OLAP: Features, Configurations, Table Engines and Real‑World Use Cases
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 9, 2025 · Databases

Unlocking OceanBase Thread Limits: How min_worker_cnt and max_worker_cnt Are Calculated

This article explains why OceanBase enforces minimum values for min_worker_cnt and max_worker_cnt, shows the source‑code formulas used to compute them, demonstrates how to verify and adjust these parameters, and clarifies the impact of tenant memory and Meta‑tenant reservations on the final values.

Database ConfigurationOceanBaseParameter Tuning
0 likes · 12 min read
Unlocking OceanBase Thread Limits: How min_worker_cnt and max_worker_cnt Are Calculated
MaGe Linux Operations
MaGe Linux Operations
Jan 24, 2025 · Databases

Enable and Configure MariaDB Log Auditing with the Server_Audit Plugin

This guide walks through verifying the MariaDB server_audit plugin, installing it via configuration files or SQL, setting audit event variables, enabling logging, and restarting the MySQL service in a Kubernetes environment to achieve comprehensive query and connection auditing.

Database ConfigurationKubernetesLog Auditing
0 likes · 5 min read
Enable and Configure MariaDB Log Auditing with the Server_Audit Plugin
dbaplus Community
dbaplus Community
Aug 18, 2024 · Databases

Master MySQL Performance: Key Query Optimizations, Index Tips & Config Tweaks

This guide covers practical MySQL performance improvements, including choosing proper data types, avoiding SELECT *, optimizing joins and UNION usage, batch inserts, query cache settings, configuration parameters like innodb_buffer_pool_size, and comprehensive index strategies to accelerate queries and reduce resource consumption.

Database ConfigurationSQL Optimizationindexing
0 likes · 18 min read
Master MySQL Performance: Key Query Optimizations, Index Tips & Config Tweaks
Java Architect Essentials
Java Architect Essentials
Aug 9, 2024 · Databases

Comprehensive MySQL Query and Configuration Optimization Guide

This article provides a thorough guide to MySQL performance optimization, covering general query improvements, proper data types, index usage, configuration parameter tuning, avoiding common pitfalls, and detailed EXPLAIN analysis, with concrete SQL examples and practical recommendations for developers and DBAs.

Database Configurationindexingmysql
0 likes · 16 min read
Comprehensive MySQL Query and Configuration Optimization Guide
ITPUB
ITPUB
Jul 1, 2024 · Databases

Why MySQL 8.4 Fails with io_setup() EAGAIN and How to Fix It

When upgrading MySQL 8.0 to 8.4 on a host running multiple instances, some instances fail to start with a series of InnoDB errors caused by io_setup() returning EAGAIN, which can be resolved by increasing the system's aio‑max‑nr limit and adjusting InnoDB I/O thread settings.

AIODatabase ConfigurationEAGAIN
0 likes · 13 min read
Why MySQL 8.4 Fails with io_setup() EAGAIN and How to Fix It
ITPUB
ITPUB
Jun 15, 2024 · Databases

Resolving Oracle RAC VIP Failover and SCAN IP Load‑Balancing Issues

This article walks through real‑world Oracle RAC failures caused by misconfigured VIP failover and SCAN IP load‑balancing, explains how to diagnose the symptoms, provides correct TAF and listener settings, and highlights essential configuration tips to ensure reliable high‑availability operation.

Database ConfigurationOracleRAC
0 likes · 9 min read
Resolving Oracle RAC VIP Failover and SCAN IP Load‑Balancing Issues
Aikesheng Open Source Community
Aikesheng Open Source Community
May 30, 2024 · Databases

OceanBase Single-Node Deployment, Configuration, and Performance Comparison with MySQL

This article provides a comprehensive guide to installing and configuring OceanBase single-node (centralized) clusters, explains primary‑standby tenant architectures, details performance benchmarking against MySQL using sysbench and fio, and offers recommended resource settings and diagnostic procedures for optimal operation.

Database ConfigurationMySQL ComparisonOceanBase
0 likes · 22 min read
OceanBase Single-Node Deployment, Configuration, and Performance Comparison with MySQL
Laravel Tech Community
Laravel Tech Community
May 23, 2024 · Databases

MySQL Master‑Slave Replication: Theory, Installation, Configuration, and Laravel Read‑Write Separation

This article explains the concept of MySQL master‑slave replication, outlines its advantages and drawbacks, and provides a step‑by‑step guide—including downloading MySQL 8.0, configuring my.cnf on master and slave servers, creating replication users, setting up replication parameters, and using Laravel for read‑write splitting—complete with all necessary shell and SQL commands.

Database ConfigurationLaravelLinux
0 likes · 9 min read
MySQL Master‑Slave Replication: Theory, Installation, Configuration, and Laravel Read‑Write Separation
Laravel Tech Community
Laravel Tech Community
May 22, 2024 · Databases

Laravel Read/Write Database Separation Configuration Guide

This article explains how to set up read/write database separation in Laravel by configuring multiple database connections in the config/database.php file, covering both identical and distinct credentials for read and write servers, and describing the purpose of the sticky option to ensure data consistency during a request.

Database ConfigurationLaravelPHP
0 likes · 4 min read
Laravel Read/Write Database Separation Configuration Guide
21CTO
21CTO
Apr 30, 2024 · Databases

What’s New in MySQL 8.4? Key Feature Changes and Default Settings Explained

This article summarizes the major changes introduced in MySQL 8.4, including updated InnoDB parameters, revised default values, new cloning plugin rules, Windows SASL‑based LDAP authentication, and adjustments to replication settings, helping developers and DBAs optimize their database configurations.

8.4Database ConfigurationInnoDB
0 likes · 8 min read
What’s New in MySQL 8.4? Key Feature Changes and Default Settings Explained
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 26, 2024 · Databases

MySQL 8.2 Community vs Enterprise: Performance Comparison and Findings

An extensive benchmark compares MySQL 8.2 Community and Enterprise editions using sysbench and TPC‑C on identical EC2 instances, revealing that, under default configurations, the Enterprise edition offers no consistent performance advantage over the Community edition, with only occasional gains from optional plugins.

Community vs EnterpriseDatabase ConfigurationSysbench
0 likes · 10 min read
MySQL 8.2 Community vs Enterprise: Performance Comparison and Findings
MaGe Linux Operations
MaGe Linux Operations
Feb 7, 2024 · Databases

How to Build a Real‑Time Data Guard System for Dameng Database

This guide walks through setting up a Dameng data‑guard service using a primary, standby, and monitor server, covering data preparation, configuration of dm.ini, dmmal.ini, dmarch.ini, dmwatcher.ini, starting services, OGUID setup, mode switching, and monitoring to achieve high‑availability replication.

BackupDamengData Guard
0 likes · 12 min read
How to Build a Real‑Time Data Guard System for Dameng Database
政采云技术
政采云技术
Nov 7, 2023 · Databases

Sharding-JDBC Startup Optimization: Analyzing and Tuning max.connections.size.per.query

This article investigates why Sharding-JDBC takes over half of the application startup time to load metadata, explains the role of the max.connections.size.per.query setting, demonstrates how adjusting it speeds up startup, and discusses the trade‑offs and potential dead‑lock risks of increasing the value.

Connection PoolDatabase ConfigurationSharding-JDBC
0 likes · 7 min read
Sharding-JDBC Startup Optimization: Analyzing and Tuning max.connections.size.per.query
Laravel Tech Community
Laravel Tech Community
Nov 1, 2023 · Databases

MySQL my.cnf Configuration Parameters Reference

This article presents a detailed reference of MySQL server configuration options (my.cnf), explaining each setting such as storage engine, networking, replication, logging, cache sizes, and performance‑related parameters to help administrators fine‑tune their databases.

Database ConfigurationSQLmy.cnf
0 likes · 12 min read
MySQL my.cnf Configuration Parameters Reference
php Courses
php Courses
Mar 21, 2023 · Databases

Introduction to MySQL sql_mode and Its 10 Modes

This article explains the MySQL sql_mode setting, details each of its ten modes—including STRICT_TRANS_TABLES, STRICT_ALL_TABLES, and ONLY_FULL_GROUP_BY—provides a command to view the current mode, and also includes a brief promotion for a PHP training class.

Database ConfigurationDatabase SettingsSQL
0 likes · 4 min read
Introduction to MySQL sql_mode and Its 10 Modes
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 16, 2023 · Databases

Deploying OceanBase 4.X as a Minimal Single‑Node Distributed Database

This article demonstrates how to deploy OceanBase 4.X in a minimal single‑node configuration, explains the key resource parameters, provides the necessary YAML configuration and command‑line steps to start the server, create a MySQL‑compatible tenant, and verify resource usage and basic database operations.

Database ConfigurationMySQL compatibilityOceanBase
0 likes · 7 min read
Deploying OceanBase 4.X as a Minimal Single‑Node Distributed Database
Laravel Tech Community
Laravel Tech Community
Apr 20, 2021 · Databases

Diagnosing and Increasing MySQL Max Connections

This guide explains how to identify MySQL max‑connection errors, check the current limit, and increase it using configuration files, global variables, source‑code changes, or mysqld_safe adjustments, with detailed commands and code examples for various MySQL versions.

Database ConfigurationSQLmax_connections
0 likes · 4 min read
Diagnosing and Increasing MySQL Max Connections
Tencent Database Technology
Tencent Database Technology
Apr 7, 2021 · Databases

Analysis of Inconsistencies in MySQL Replication after Slave Crash and Configuration Recommendations

This article examines how slave crashes in MySQL replication can cause inconsistencies between master info and relay log positions, leading to duplicate events and errors such as 1062 and 1032, analyzes underlying mechanisms, presents case studies, and proposes configuration settings to achieve server‑crash‑safe replication.

Database ConfigurationMaster InfoRelay Log
0 likes · 17 min read
Analysis of Inconsistencies in MySQL Replication after Slave Crash and Configuration Recommendations
php Courses
php Courses
Jan 25, 2021 · Databases

Resolving MySQL ONLY_FULL_GROUP_BY Error in Laravel by Adjusting sql_mode and Strict Settings

This article explains how to troubleshoot and fix the MySQL 5.7 ONLY_FULL_GROUP_BY error in a Laravel application by inspecting sql_mode, understanding Laravel's strict mode behavior, and customizing the framework's mode configuration to remove the problematic setting without changing global MySQL settings.

Database ConfigurationLaravelONLY_FULL_GROUP_BY
0 likes · 4 min read
Resolving MySQL ONLY_FULL_GROUP_BY Error in Laravel by Adjusting sql_mode and Strict Settings
dbaplus Community
dbaplus Community
Dec 7, 2020 · Databases

Why InfluxDB’s max‑value‑per‑tag Error Occurs and How to Resolve It

This article explains the cause of InfluxDB’s max‑value‑per‑tag error when Prometheus remote‑writes high‑cardinality tags, analyzes why the built‑in memory index triggers OOM protection, and presents three practical solutions—including moving indexes to disk, storing high‑cardinality tags as fields, and filtering them before write—to ensure stable monitoring data persistence.

Database ConfigurationInfluxDBTime Series
0 likes · 11 min read
Why InfluxDB’s max‑value‑per‑tag Error Occurs and How to Resolve It
Aotu Lab
Aotu Lab
Nov 16, 2020 · Databases

Mastering MongoDB Replica Sets: Setup, Configuration, and Read/Write Strategies

This guide explains MongoDB replica set fundamentals, walks through local deployment of a primary‑secondary‑secondary cluster, demonstrates automatic failover, and details write concern and read preference options—including member attributes, connection string parameters, and shell commands—for reliable high‑availability data handling.

Database ConfigurationMongoDBRead Preference
0 likes · 17 min read
Mastering MongoDB Replica Sets: Setup, Configuration, and Read/Write Strategies
Programmer DD
Programmer DD
Jun 26, 2020 · Backend Development

How to Configure Multiple Data Sources with MyBatis in Spring Boot

Learn step-by-step how to set up and test multiple data sources in a Spring Boot application using MyBatis, covering property configuration, DataSource beans, mapper scanning, entity definitions, and verification through unit tests with complete code examples and key configuration notes.

Database ConfigurationJavaMultiple Data Sources
0 likes · 11 min read
How to Configure Multiple Data Sources with MyBatis in Spring Boot
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 15, 2020 · Databases

Diagnosing Slow SQL Execution in DBLE Due to Incorrect Stringhash Partition Configuration

An investigation of a DBLE performance issue revealed that identical sharding keys with the same stringhash rule failed to improve query speed because differing hashSlice configurations prevented proper partitioning, and after correcting the rule.xml function settings, the SQL executed efficiently with sub‑second response times.

DBLEDatabase ConfigurationSQL Performance
0 likes · 4 min read
Diagnosing Slow SQL Execution in DBLE Due to Incorrect Stringhash Partition Configuration
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 3, 2020 · Databases

Demonstration of DBLE Global Sequence Configuration: Timestamp (Snowflake) and Offset‑Setup Types

This tutorial demonstrates how to configure and use DBLE's global sequence feature, covering the timestamp‑based Snowflake algorithm and the offset‑setup type, including server.xml settings, table definitions, insertion behavior, and handling of restarts to ensure unique identifiers.

DBLEDatabase Configurationglobal sequence
0 likes · 6 min read
Demonstration of DBLE Global Sequence Configuration: Timestamp (Snowflake) and Offset‑Setup Types
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 1, 2018 · Databases

How to Set Up MySQL Master‑Slave Replication

This guide explains the complete process of configuring MySQL master‑slave replication on two CentOS machines, covering prerequisite setup, enabling binary logging, creating a replication user, capturing binlog coordinates, configuring the slave, and verifying successful synchronization.

CentOSDatabase ConfigurationMaster‑Slave
0 likes · 5 min read
How to Set Up MySQL Master‑Slave Replication
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 9, 2018 · Databases

Configure MySQL for Remote Access on Ubuntu 14.04

This step‑by‑step guide shows how to edit MySQL’s my.cnf on Ubuntu 14.04, change the bind‑address, restart the service, grant remote privileges, and verify the connection using Navicat, enabling secure remote database access.

Database ConfigurationNavicatRemote access
0 likes · 6 min read
Configure MySQL for Remote Access on Ubuntu 14.04
Java Captain
Java Captain
Jul 2, 2018 · Databases

How to Fully Resolve MySQL Chinese Character Encoding Issues

This guide explains why MySQL tables default to latin1, demonstrates how to check and change table, session, and global character set settings, and shows the necessary my.cnf configuration changes to permanently enable UTF‑8 support for storing Chinese characters.

ChineseDatabase ConfigurationUTF-8
0 likes · 6 min read
How to Fully Resolve MySQL Chinese Character Encoding Issues
ITPUB
ITPUB
Feb 6, 2018 · Databases

Essential MySQL my.cnf Settings for Optimal Server Performance

This guide explains how to boost MySQL performance by tuning hardware factors such as disk I/O, CPU and memory, and by adjusting key my.cnf parameters—including skip-name-resolve, back_log, key_buffer_size, query cache, and connection limits—to match server resources and workload.

Database Configurationmy.cnfmysql
0 likes · 7 min read
Essential MySQL my.cnf Settings for Optimal Server Performance
Qunar Tech Salon
Qunar Tech Salon
Oct 19, 2017 · Databases

Avoiding OOM in Greenplum: Memory Configuration and Resource Queue Best Practices

This article explains why Greenplum can encounter out‑of‑memory (OOM) errors, lists the typical causes, and provides detailed recommendations for memory‑related OS and database parameters, statement_mem settings, and the proper use of Greenplum resource queues to achieve stable and efficient cluster operation.

Database ConfigurationGreenplumMemory Management
0 likes · 13 min read
Avoiding OOM in Greenplum: Memory Configuration and Resource Queue Best Practices
Efficient Ops
Efficient Ops
Oct 11, 2017 · Databases

Ensuring MySQL Data Safety: Configurations, Replication, and Backup Strategies

This article explains how to secure MySQL data by configuring single‑node safeguards, implementing cluster replication (including semi‑sync), and applying proper backup methods, guiding readers through practical settings and best practices for reliable data persistence.

Data SafetyDatabase ConfigurationReplication
0 likes · 14 min read
Ensuring MySQL Data Safety: Configurations, Replication, and Backup Strategies
ITPUB
ITPUB
Aug 22, 2017 · Databases

Automating PostgreSQL Installation & Configuration with Chef Cookbook

This guide explains how to use the Chef PostgreSQL cookbook to install and configure PostgreSQL as a client or server across multiple Linux platforms, detailing attribute-driven generation of postgresql.conf and pg_hba.conf, performance tuning options, contrib module installation, and repository setup for apt and yum.

ChefCookbookDatabase Configuration
0 likes · 11 min read
Automating PostgreSQL Installation & Configuration with Chef Cookbook
ITPUB
ITPUB
Jun 30, 2017 · Databases

Understanding MySQL 5.7 Shared Temporary Tablespace and innodb_temp_data_file_path

This article explains the new shared temporary tablespace introduced in MySQL 5.7, how to configure its size and location with innodb_temp_data_file_path, compares it with tmpdir, demonstrates the impact on compressed and uncompressed InnoDB temporary tables, and highlights related parameters and potential pitfalls.

Database ConfigurationInnoDBmysql
0 likes · 10 min read
Understanding MySQL 5.7 Shared Temporary Tablespace and innodb_temp_data_file_path
ITPUB
ITPUB
Oct 25, 2016 · Databases

Optimizing MySQL: Key InnoDB Settings and How to Tune Them

This guide explains essential MySQL InnoDB parameters—such as buffer pool size, instances, connection limits, log buffer, statistics collection, lock timeout, thread concurrency, and I/O threads—and provides practical CPU‑based settings to help you optimize database performance.

Database ConfigurationInnoDBmysql
0 likes · 4 min read
Optimizing MySQL: Key InnoDB Settings and How to Tune Them
ITPUB
ITPUB
Jun 28, 2016 · Databases

Fix Chinese Characters in Oracle Sqlplus on Linux Without Reboot

This guide explains why Chinese characters appear as question marks in Sqlplus on Linux, how to identify the server character set, and provides step‑by‑step instructions to set the NLS_LANG environment variable and apply it instantly using the source command.

Character SetDatabase ConfigurationLinux
0 likes · 4 min read
Fix Chinese Characters in Oracle Sqlplus on Linux Without Reboot
ITPUB
ITPUB
Mar 17, 2016 · Databases

Why MySQL Relay Log Settings Cause Duplicate Key Errors and How to Fix Them

The article explains how MySQL replication parameters such as expire_logs_days, relay-log-recovery, and relay-log-info-repository affect binlog cleanup, SQL and I/O thread consistency, and why crashes can produce duplicate‑key errors, then offers configuration fixes including the critical relay‑log cleaning option and the super_read_only setting.

BinlogData ConsistencyDatabase Configuration
0 likes · 5 min read
Why MySQL Relay Log Settings Cause Duplicate Key Errors and How to Fix Them
21CTO
21CTO
Oct 8, 2015 · Databases

How to Fully Uninstall, Install, and Configure MySQL Character Set on Linux

This step‑by‑step guide shows how to completely remove any existing MySQL installation on Linux, reinstall it, and correctly configure the server and client character sets to UTF‑8, including version‑specific settings and verification.

Character SetDatabase ConfigurationInstallation
0 likes · 4 min read
How to Fully Uninstall, Install, and Configure MySQL Character Set on Linux
Java High-Performance Architecture
Java High-Performance Architecture
Sep 23, 2015 · Databases

Why Is My MySQL Site So Slow? Diagnose and Fix High CPU Usage

This guide walks through identifying MySQL CPU overload caused by excessive temporary tables and thread creation, then details configuration tweaks and SQL optimizations—including adjusting tmp_table_size, thread_cache_size, and join/sort buffers—to restore normal performance.

Database ConfigurationSQL OptimizationServer Monitoring
0 likes · 4 min read
Why Is My MySQL Site So Slow? Diagnose and Fix High CPU Usage