Tag

Database Tuning

1 views collected around this technical thread.

IT Xianyu
IT Xianyu
Jun 17, 2025 · Databases

Master MySQL Performance: From Slow Queries to Lightning‑Fast Databases

This guide walks you through identifying MySQL bottlenecks, using EXPLAIN, optimizing indexes, rewriting queries, tuning configuration, applying architectural patterns, and learning from real‑world cases to dramatically speed up your database.

Database TuningEXPLAINIndexing
0 likes · 9 min read
Master MySQL Performance: From Slow Queries to Lightning‑Fast Databases
Top Architecture Tech Stack
Top Architecture Tech Stack
May 10, 2025 · Databases

MySQL Query Optimization Guidelines and Best Practices

This article presents a comprehensive set of MySQL optimization techniques, covering the avoidance of SELECT *, proper use of specific fields, index-friendly query patterns, join strategies, handling of NULL and default values, efficient use of UNION, batch inserts, and numerous other performance‑enhancing tips for database developers.

Database TuningIndexesLIKE
0 likes · 17 min read
MySQL Query Optimization Guidelines and Best Practices
Aikesheng Open Source Community
Aikesheng Open Source Community
May 6, 2025 · Databases

Using GDB to Adjust MySQL max_connections Without Restart

This article explains how to troubleshoot and resolve the MySQL "Too many connections" error by using GDB to modify the max_connections parameter on a running MySQL 5.7 instance without restarting, including step‑by‑step commands, sysbench load testing, and two practical methods.

Database TuningGDBMySQL
0 likes · 9 min read
Using GDB to Adjust MySQL max_connections Without Restart
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 14, 2025 · Databases

SQL Optimization Techniques: Indexing, Subqueries, and Join Strategies in MySQL

This article walks through a MySQL performance case study, showing how a slow sub‑query can be accelerated by adding single‑column and composite indexes, rewriting the query with EXISTS or JOIN, and applying best‑practice indexing strategies such as covering indexes and left‑most prefix rules.

Database TuningIndex OptimizationMySQL
0 likes · 12 min read
SQL Optimization Techniques: Indexing, Subqueries, and Join Strategies in MySQL
IT Services Circle
IT Services Circle
Jul 31, 2024 · Frontend Development

How to Diagnose and Fix Slow Web Page Performance

This comprehensive guide explains how to identify and resolve slow web page performance by addressing hardware resources, network configuration, and both front‑end and back‑end optimizations such as server upgrades, CDN usage, HTTP/2, image compression, code minification, caching, and efficient database queries.

Database Tuningbackend optimizationcaching
0 likes · 5 min read
How to Diagnose and Fix Slow Web Page Performance
Wukong Talks Architecture
Wukong Talks Architecture
Jun 19, 2024 · Backend Development

Design and Optimization of a High‑Concurrency Lottery System

This article details how a large‑scale lottery service was architected and tuned for extreme traffic spikes by applying server‑side rate limiting, application‑level throttling, behavior‑based filtering, caching strategies, database optimizations, and hardware upgrades, resulting in a ten‑fold performance improvement.

Database TuningLoad BalancingRate Limiting
0 likes · 12 min read
Design and Optimization of a High‑Concurrency Lottery System
Lobster Programming
Lobster Programming
Apr 27, 2024 · Databases

Essential MySQL Optimization: SQL Tricks and Parameter Tuning

This guide covers practical MySQL performance improvements, detailing SQL-level optimizations such as limit pagination, proper LIKE usage, UNION ALL, EXISTS vs IN, TRUNCATE, batch inserts, early filtering, function placement, data type minimization, CHAR/VARCHAR choices, indexing strategies, force index, as well as server parameter tuning for buffer pool and redo log settings.

Database TuningMySQLSQL Optimization
0 likes · 10 min read
Essential MySQL Optimization: SQL Tricks and Parameter Tuning
JD Retail Technology
JD Retail Technology
Dec 12, 2023 · Databases

Common SQL Optimization Techniques for MySQL

This article reviews MySQL's execution process and presents a comprehensive list of practical SQL optimization strategies—including indexing, query rewriting, avoiding costly operators, using batch operations, and leveraging EXPLAIN—to improve database performance and maintainability.

Database TuningIndexesMySQL
0 likes · 14 min read
Common SQL Optimization Techniques for MySQL
Sohu Tech Products
Sohu Tech Products
Dec 6, 2023 · Databases

GPTuner: LLM-Driven PostgreSQL Knob Tuning

GPTuner, an LLM‑driven system for PostgreSQL knob tuning developed by researchers at Sichuan University, demonstrates that knowledge processing, parameter selection, search‑range optimization, and a two‑stage Bayesian framework each significantly improve performance, while costing roughly 880 000 GPT‑4 tokens (≈ $30) with reusable knowledge.

Database TuningGPTunerLLM
0 likes · 9 min read
GPTuner: LLM-Driven PostgreSQL Knob Tuning
Laravel Tech Community
Laravel Tech Community
Nov 6, 2023 · Databases

MySQL InnoDB Configuration Parameters and Optimization Guide

This article explains how to tune MySQL's InnoDB settings—including buffer pool size, log file configuration, I/O threads, flush behavior, and timeout values—by providing detailed explanations and exact configuration snippets to improve performance and resource usage.

Database TuningInnoDBMySQL
0 likes · 7 min read
MySQL InnoDB Configuration Parameters and Optimization Guide
Sohu Tech Products
Sohu Tech Products
Apr 12, 2023 · Databases

MySQL Query Optimization Strategies: Pagination, Joins, Subqueries, Sorting, Group By, and Count

This article presents practical MySQL query optimization techniques—including pagination, index‑based join improvements, subquery replacement with joins, order‑by and group‑by indexing, and count() efficiency—illustrated with real‑world examples, execution‑plan analysis, and ready‑to‑run SQL code.

Database TuningIndexingMySQL
0 likes · 11 min read
MySQL Query Optimization Strategies: Pagination, Joins, Subqueries, Sorting, Group By, and Count
Efficient Ops
Efficient Ops
Jul 20, 2022 · Databases

How Indexes Can Speed Up MySQL Queries by Tens of Thousands of Times

This article walks through a MySQL scenario where a nested sub‑query runs for hours, demonstrates how adding single‑column and multi‑column indexes, rewriting the query as a join, and analyzing execution plans can reduce execution time from thousands of seconds to a few milliseconds.

Database TuningIndex OptimizationMySQL
0 likes · 12 min read
How Indexes Can Speed Up MySQL Queries by Tens of Thousands of Times
Qunar Tech Salon
Qunar Tech Salon
Mar 30, 2022 · Databases

Understanding and Optimizing PostgreSQL VACUUM and AUTOVACUUM

This article explains the purpose and mechanics of PostgreSQL's VACUUM and AUTOVACUUM processes, demonstrates practical examples of table bloat, transaction ID handling, and provides step‑by‑step guidance for precise triggering and performance optimization of vacuum operations.

AUTOVACUUMDatabase TuningPostgreSQL
0 likes · 37 min read
Understanding and Optimizing PostgreSQL VACUUM and AUTOVACUUM
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 13, 2021 · Databases

Why MySQL Performance Benchmark Shows Low TPS on High-End Hardware

This article examines why MySQL benchmark results often show low transactions per second on seemingly powerful servers, exploring hidden factors such as network bottlenecks, SSL overhead, and inappropriate sort_buffer_size settings, and provides practical troubleshooting steps and configuration tweaks to achieve optimal performance.

Database TuningMySQLNetwork Bottleneck
0 likes · 10 min read
Why MySQL Performance Benchmark Shows Low TPS on High-End Hardware
IT Architects Alliance
IT Architects Alliance
Dec 12, 2021 · Operations

System Performance Issue Analysis and Optimization Process for Business Applications

The article outlines a comprehensive process for diagnosing and optimizing performance problems in production business systems, covering causes such as high concurrency, data growth, hardware constraints, and detailing analysis of hardware, OS, database, middleware, JVM settings, code inefficiencies, and the role of monitoring and APM tools.

Database TuningJVMPerformance analysis
0 likes · 13 min read
System Performance Issue Analysis and Optimization Process for Business Applications
IT Architects Alliance
IT Architects Alliance
Nov 20, 2021 · Operations

Analysis and Optimization of Business System Performance

This article outlines a comprehensive approach to diagnosing and optimizing performance problems in production business systems, covering analysis processes, hardware, OS, database, middleware, JVM tuning, code inefficiencies, and monitoring techniques to identify root causes and improve system reliability.

Database TuningJVM Tuningmonitoring
0 likes · 16 min read
Analysis and Optimization of Business System Performance
Xiaolei Talks DB
Xiaolei Talks DB
Sep 4, 2021 · Databases

Mastering TiDB Performance: Layered and Scenario‑Based Optimization Strategies

This article explores TiDB performance optimization by examining layered approaches—hardware, software, and SQL—and scenario‑specific tactics such as read/write hotspot handling, OLAP challenges, and distributed transaction tuning, offering practical insights and real‑world case studies from industry experts.

Database TuningHardwareSQL
0 likes · 7 min read
Mastering TiDB Performance: Layered and Scenario‑Based Optimization Strategies
Big Data Technology Architecture
Big Data Technology Architecture
Jun 16, 2021 · Big Data

HBase Read and Write Performance Optimization Guide

This guide details practical server‑side and client‑side techniques for improving HBase read and write throughput, covering rowkey design, BlockCache configuration, HFile management, compaction tuning, scan cache sizing, bulkload usage, WAL policies, and SSD storage options.

Big DataDatabase TuningHBase
0 likes · 8 min read
HBase Read and Write Performance Optimization Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 2, 2021 · Databases

How MySQL Adjusts open_files_limit, max_connections, and table_open_cache When System Resources Are Insufficient

This article explains how MySQL, when run by a non‑root user with limited system resources, automatically adjusts the open_files_limit, max_connections, and table_open_cache parameters by calculating required file descriptors, comparing them to system limits, and correcting the configuration values accordingly.

Database TuningMySQLconfiguration
0 likes · 6 min read
How MySQL Adjusts open_files_limit, max_connections, and table_open_cache When System Resources Are Insufficient
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 5, 2021 · Databases

Effect of innodb_log_buffer_size on Redo Log I/O in MySQL

This article experimentally demonstrates how increasing MySQL's innodb_log_buffer_size reduces redo‑log write I/O, showing fewer write operations but similar total data volume, and explains why performance gains may be subtle in typical virtual‑machine storage environments.

Database TuningI/O performanceInnoDB
0 likes · 4 min read
Effect of innodb_log_buffer_size on Redo Log I/O in MySQL