Tag

Database Configuration

1 views collected around this technical thread.

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
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
Aikesheng Open Source Community
Aikesheng Open Source Community
May 6, 2024 · Databases

MySQL 8.4 LTS: New Production‑Ready Default Settings for InnoDB Variables

The article explains the release of MySQL 8.4 as the first LTS version, compares LTS and Innovation release tracks, and details the 20 InnoDB system variables whose default values have been changed to better suit modern production environments, including performance‑related settings and hardware‑aware defaults.

Database ConfigurationInnoDBMySQL
0 likes · 15 min read
MySQL 8.4 LTS: New Production‑Ready Default Settings for InnoDB Variables
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 ConfigurationMySQL
0 likes · 10 min read
MySQL 8.2 Community vs Enterprise: Performance Comparison and Findings
政采云技术
政采云技术
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 ConfigurationMySQLSQL
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 SettingsMySQL
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
Aikesheng Open Source Community
Aikesheng Open Source Community
May 17, 2022 · Databases

Root Cause Analysis of Inconsistent MySQL Client Character Set on RedHat 7

The article investigates why two MySQL 5.7.32 installations on RedHat 7 show different client character sets—utf8 in the first batch and latin1 in the second—by reviewing MySQL charset settings, OS locale configuration, and providing corrective commands.

Database ConfigurationLinuxMySQL
0 likes · 7 min read
Root Cause Analysis of Inconsistent MySQL Client Character Set on RedHat 7
Aikesheng Open Source Community
Aikesheng Open Source Community
May 12, 2022 · Databases

MySQL 5.7 Crash Analysis: Temporary Table Bug, Reproduction with MTR, and Mitigation Strategies

This article investigates a MySQL 5.7.30 replica crash caused by an InnoDB assertion in btr0btr.cc when handling temporary tables, reproduces the issue using the MySQL Test Run framework, analyzes logs and parameters, and proposes configuration and SQL‑optimisation fixes.

Database ConfigurationInnoDBMTR
0 likes · 15 min read
MySQL 5.7 Crash Analysis: Temporary Table Bug, Reproduction with MTR, and Mitigation Strategies
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 12, 2021 · Databases

Understanding MySQL Encoding Mechanism and Solving Chinese Character Query Issues

This article explains MySQL's character encoding workflow, illustrates why queries containing Chinese characters fail without proper settings, and shows how to configure JDBC URLs, server variables, and Docker‑based MySQL instances to ensure lossless UTF‑8 handling.

Database ConfigurationJDBCMySQL
0 likes · 9 min read
Understanding MySQL Encoding Mechanism and Solving Chinese Character Query Issues
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 19, 2021 · Databases

Understanding MySQL 5.7 SQL Mode: Default Values, Usage, and Practical Examples

This article explains MySQL's SQL Mode concept, lists the default mode values for MySQL 5.7, demonstrates how to view and change the mode with SQL commands, describes the impact of common modes such as STRICT_TRANS_TABLES and ONLY_FULL_GROUP_BY, and provides a complete reference table of all supported mode values and predefined mode combinations.

Database ConfigurationMySQLSQL
0 likes · 10 min read
Understanding MySQL 5.7 SQL Mode: Default Values, Usage, and Practical Examples
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 ConfigurationMySQLSQL
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 InfoMySQL
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 ConfigurationLaravelMySQL
0 likes · 4 min read
Resolving MySQL ONLY_FULL_GROUP_BY Error in Laravel by Adjusting sql_mode and Strict Settings
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 19, 2020 · Databases

Understanding MySQL Variable Persistence and the Use of SET PERSIST

This article explains how MySQL variables are stored in memory and configuration files, the challenges of modifying them before MySQL 8, and how the new SET PERSIST and SET PERSIST_ONLY statements simplify persistent variable management with proper permissions and examples.

Database ConfigurationMySQLPersistence
0 likes · 7 min read
Understanding MySQL Variable Persistence and the Use of SET PERSIST
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 ConfigurationMySQL
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