Tag

database

0 views collected around this technical thread.

Architect's Guide
Architect's Guide
Jun 15, 2025 · Backend Development

Mastering Read‑Write Splitting in Spring Boot: A Complete Guide

This article explains how to implement database read‑write separation in a Spring Boot application by configuring master and slave data sources, creating a routing datasource, managing thread‑local context, and using an AOP‑based annotation to switch between read and write operations.

AOPDataSource RoutingJava
0 likes · 10 min read
Mastering Read‑Write Splitting in Spring Boot: A Complete Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 14, 2025 · Backend Development

Boost Spring Boot 3 Performance: Caching, Actuator, Async & DB Tuning

This guide explains how to improve Spring Boot 3 applications by using Actuator for monitoring, enabling caching, optimizing database connections with HikariCP, and applying asynchronous request handling and tasks to achieve faster response times and better resource utilization.

ActuatorAsyncCaching
0 likes · 8 min read
Boost Spring Boot 3 Performance: Caching, Actuator, Async & DB Tuning
Sohu Tech Products
Sohu Tech Products
Jun 11, 2025 · Artificial Intelligence

How DeepSeek and TiDB AI Are Redefining Data Engines for the Large‑Model Era

This article explores DeepSeek's open‑source large‑model breakthroughs, PingCAP's AI‑enhanced database roadmap, TiDB.AI's retrieval‑augmented generation framework, the unified TiDB data engine, and practical Q&A insights on knowledge‑graph construction, vector search, and AI‑driven SQL generation.

AIDeepSeekKnowledge Graph
0 likes · 15 min read
How DeepSeek and TiDB AI Are Redefining Data Engines for the Large‑Model Era
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 11, 2025 · Databases

Why Does Adding a Column Trigger Duplicate Entry Errors in MySQL?

An experienced DBA explains why adding a new column in MySQL can unexpectedly raise duplicate entry errors during online DDL, detailing the role of primary and unique keys, the innodb_online_alter_log_max_size setting, and how concurrent DML operations cause the conflict.

DDLMySQLdatabase
0 likes · 8 min read
Why Does Adding a Column Trigger Duplicate Entry Errors in MySQL?
IT Xianyu
IT Xianyu
Jun 11, 2025 · Databases

Master MySQL Replication: Fix Common Errors and Resolve ‘command not found’ Issues

Learn step‑by‑step how to troubleshoot MySQL master‑slave replication problems, from verifying component roles and executing the correct SHOW SLAVE STATUS command inside the MySQL client, to fixing missing command errors, checking IO/SQL threads, and restarting replication in Docker‑based environments.

DockerLinuxMySQL
0 likes · 6 min read
Master MySQL Replication: Fix Common Errors and Resolve ‘command not found’ Issues
DataFunTalk
DataFunTalk
Jun 10, 2025 · Databases

Why Multi‑Modal Databases Are the Future Backbone of AI Workflows

This article analyzes the emerging trends in data infrastructure for AI, compares leading cloud‑native databases like Neon, Supabase and ClickHouse, explains why PostgreSQL has become the de‑facto standard, and introduces Data Warebase—a unified multi‑modal database designed to meet the five core requirements of modern AI workloads.

AIData WarebaseHTAP
0 likes · 32 min read
Why Multi‑Modal Databases Are the Future Backbone of AI Workflows
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 10, 2025 · Databases

Top Redis Cluster Interview Questions and Expert Answers

Explore essential Redis Cluster interview questions covering slot count, hashing mechanisms, use cases, configuration options, hash slots, hash tags, node ports, and consistency model, providing concise answers that help candidates master the core concepts and excel in technical interviews.

ClusterConfigurationHash Slot
0 likes · 4 min read
Top Redis Cluster Interview Questions and Expert Answers
Architect's Tech Stack
Architect's Tech Stack
Jun 6, 2025 · Databases

Master MySQL Full-Text Search: Inverted Indexes, Queries, and Best Practices

This article explains how MySQL's InnoDB engine implements full‑text search using inverted indexes, shows how to create and use full‑text indexes with various query modes, demonstrates Boolean operators and query expansion, and covers index removal techniques.

Full-Text SearchInverted IndexMySQL
0 likes · 12 min read
Master MySQL Full-Text Search: Inverted Indexes, Queries, and Best Practices
Java Tech Enthusiast
Java Tech Enthusiast
Jun 3, 2025 · Backend Development

Common MySQL Index Failure Scenarios and How to Diagnose Them

This article presents a series of MySQL interview questions and answers that illustrate typical situations where indexes become ineffective—such as leading wildcards in LIKE, NOT IN, NOT EXISTS, functions, inequality operators, OR conditions, mismatched ORDER BY, large result sets, and explains how to analyze execution plans and use FORCE INDEX to improve performance.

MySQLQuery OptimizationSQL
0 likes · 8 min read
Common MySQL Index Failure Scenarios and How to Diagnose Them
Lobster Programming
Lobster Programming
Jun 3, 2025 · Databases

Master MySQL Locks: From Row to Intention Locks Explained with Real Examples

This article explains MySQL InnoDB locking mechanisms—including row, record, gap, next‑key, and intention locks—illustrates each type with SQL statements and performance_schema data, and shows how they interact during concurrent transactions.

ConcurrencyInnoDBLocks
0 likes · 8 min read
Master MySQL Locks: From Row to Intention Locks Explained with Real Examples
FunTester
FunTester
May 30, 2025 · Databases

MySQL Performance Testing Practice: Simulating New User Registration

This article demonstrates a practical MySQL performance test using a simulated e‑commerce scenario, detailing the user table schema, multithreaded Java code for inserting random user records, parameterized inputs, success counting, and resource management to evaluate and improve registration throughput.

JavaMySQLPerformance Testing
0 likes · 9 min read
MySQL Performance Testing Practice: Simulating New User Registration
Architect's Guide
Architect's Guide
May 29, 2025 · Databases

Understanding Database Indexes: How Indexes Accelerate Queries

This article explains the evolution of data storage, the fundamentals of computer storage devices, and how database indexes—especially clustered and non‑clustered indexes—leverage binary search to dramatically speed up query performance while outlining their drawbacks and common SQL optimization techniques.

OptimizationSQLStorage
0 likes · 13 min read
Understanding Database Indexes: How Indexes Accelerate Queries
Kuaishou Tech
Kuaishou Tech
May 28, 2025 · Databases

Optimizing Kuaishou's Photo Object Storage: Reducing Size and Boosting Cache Hit Rate

This article details how Kuaishou dramatically cut storage costs and improved cache efficiency for its core Photo data object by cleaning up redundant JSON fields, applying selective serialization, and performing large‑scale data cleaning, achieving a 25% size reduction, a 2% cache‑hit increase, and multi‑hundred‑TB savings.

Big DataCache Hit RateKuaishou
0 likes · 20 min read
Optimizing Kuaishou's Photo Object Storage: Reducing Size and Boosting Cache Hit Rate
php中文网 Courses
php中文网 Courses
May 28, 2025 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how to use PHP's mysqli_query function to perform MySQL operations such as SELECT, INSERT, UPDATE, and DELETE, providing a step‑by‑step example with connection handling, query execution, result processing, and best‑practice notes.

MySQLPHPbackend development
0 likes · 5 min read
Using PHP mysqli_query to Execute MySQL Queries
Code Mala Tang
Code Mala Tang
May 27, 2025 · Backend Development

Mastering Database Connections in FastAPI: Best Practices and Code Samples

Learn how to efficiently configure and manage database connections in FastAPI, covering synchronous and asynchronous setups, dependency injection, session handling, and testing strategies, to prevent leaks, boost performance, and ensure scalable, reliable applications.

AsyncConnection ManagementFastAPI
0 likes · 8 min read
Mastering Database Connections in FastAPI: Best Practices and Code Samples
Aikesheng Open Source Community
Aikesheng Open Source Community
May 27, 2025 · Databases

MySQL Execution Plans in Tree Format

This article introduces MySQL's tree‑style execution plan output using EXPLAIN FORMAT=TREE, explains its advantages over traditional and JSON formats, and demonstrates its practical use through eight detailed SQL examples with full plan analysis and performance insights.

MySQLSQL OptimizationTree Format
0 likes · 12 min read
MySQL Execution Plans in Tree Format
Top Architect
Top Architect
May 26, 2025 · Databases

Design and Implementation of MySQL Table Sharding with ShardingSphere and Spring Boot

This article walks through the full process of designing, configuring, and implementing a sharding solution for large loan and repayment tables using ShardingSphere, Spring Boot 3, MySQL, and MyBatis‑Plus, covering schema planning, data migration, DBA coordination, code examples, common pitfalls, and operational considerations.

BackendCodeMigration
0 likes · 19 min read
Design and Implementation of MySQL Table Sharding with ShardingSphere and Spring Boot
Java Captain
Java Captain
May 25, 2025 · Databases

Database Transactions: ACID Properties, Isolation Levels, and Usage in MySQL

This article provides a comprehensive overview of database transactions, explaining ACID properties, transaction states, explicit and implicit transaction control, isolation levels, and how to configure and use them in MySQL with practical SQL examples and code snippets.

ACIDIsolation LevelMySQL
0 likes · 22 min read
Database Transactions: ACID Properties, Isolation Levels, and Usage in MySQL
Top Architect
Top Architect
May 24, 2025 · Databases

Implementing Pagination and Multi‑Condition Fuzzy Search in Redis

This article explains how to use Redis Sorted Sets and Hashes to achieve efficient pagination, fuzzy multi‑condition queries, and their combination, while also discussing performance‑optimisation strategies such as temporary ZSet expiration and data‑freshness handling, before concluding with a brief promotional segment.

BackendRedisdatabase
0 likes · 12 min read
Implementing Pagination and Multi‑Condition Fuzzy Search in Redis