Tag

database indexing

1 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
Mar 29, 2025 · Databases

Understanding MySQL Index Merge: Types, Use Cases, and Optimization Strategies

The article explains MySQL's Index Merge optimization, detailing its three types—Intersection, Union, and Sort‑Union—when it is beneficial, how to design indexes and rewrite queries for better performance, and the associated costs and limitations.

MySQLPerformance TuningQuery Optimization
0 likes · 5 min read
Understanding MySQL Index Merge: Types, Use Cases, and Optimization Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Mar 26, 2025 · Databases

Optimizing Small‑Scale Product Title Search with MySQL FULLTEXT and Ngram Indexing

This article explains how to efficiently search product titles in a few‑million‑row MySQL table by using built‑in FULLTEXT indexes, jieba‑php tokenization, and the ngram parser, avoiding unnecessary external search engines and providing practical code examples.

FULLTEXTMySQLPHP
0 likes · 5 min read
Optimizing Small‑Scale Product Title Search with MySQL FULLTEXT and Ngram Indexing
DataFunSummit
DataFunSummit
Jan 22, 2025 · Artificial Intelligence

RAG2.0 Engine Design Challenges and Implementation

This article presents a comprehensive overview of the RAG2.0 engine design, covering RAG1.0 limitations, effective chunking methods, accurate retrieval techniques, advanced multimodal processing, hybrid search strategies, database indexing choices, and future directions such as agentic RAG and memory‑enhanced models.

ChunkingHybrid SearchRAG
0 likes · 23 min read
RAG2.0 Engine Design Challenges and Implementation
Efficient Ops
Efficient Ops
Sep 11, 2024 · Backend Development

Why Do MySQL and Java Processes Hit 900% CPU? Proven Diagnosis & Fixes

Learn how to identify and resolve extreme CPU usage spikes—up to 900%—in MySQL and Java applications by using top, show processlist, indexing, caching, thread analysis, and code adjustments, with real‑world examples and step‑by‑step command guides.

CPU optimizationJavaMySQL
0 likes · 11 min read
Why Do MySQL and Java Processes Hit 900% CPU? Proven Diagnosis & Fixes
Top Architect
Top Architect
May 9, 2024 · Databases

Effective Indexing Strategies for Database Performance

This article provides comprehensive guidance on effective database indexing, covering when and how to create various index types, practical SQL examples, strategies for equality, range, fuzzy, join, and composite queries, and tips for verifying index usage with EXPLAIN.

Database DesignMySQLPerformance Tuning
0 likes · 11 min read
Effective Indexing Strategies for Database Performance
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 28, 2024 · Databases

Database Indexing Algorithms: B‑Tree vs Hash Indexing

This article explains the purpose and inner workings of various database indexing algorithms—including B‑Tree, Hash, Bitmap, and Full‑Text indexes—illustrates their strengths and weaknesses with SQL examples, and provides guidance on when to choose each type for optimal query performance.

B+ TreeFull-Text SearchHash Index
0 likes · 12 min read
Database Indexing Algorithms: B‑Tree vs Hash Indexing
Deepin Linux
Deepin Linux
Apr 7, 2024 · Backend Development

High‑Performance Development: Core Techniques from I/O Optimization to Distributed Systems

This comprehensive guide covers high‑performance development techniques—including I/O optimization, zero‑copy, multiplexing, concurrency, thread‑pool design, lock‑free programming, inter‑process communication, RPC, serialization, database indexing, caching strategies, Bloom filters, full‑text search, and load balancing—to help developers build fast, scalable, and reliable systems.

Bloom FilterI/O optimizationcaching
0 likes · 62 min read
High‑Performance Development: Core Techniques from I/O Optimization to Distributed Systems
政采云技术
政采云技术
Jan 17, 2024 · Databases

Using MySQL 5.7 ngram Full-Text Search for Simple Text Retrieval

This article explains how to leverage MySQL 5.7's built‑in ngram full‑text parser to implement lightweight Chinese full‑text search, covering configuration, index creation, query modes, operator usage, and performance considerations.

Boolean ModeFull-Text SearchMySQL
0 likes · 12 min read
Using MySQL 5.7 ngram Full-Text Search for Simple Text Retrieval
政采云技术
政采云技术
Jan 2, 2024 · Databases

Understanding B‑Tree and B+Tree Indexes in MySQL

This article explains the fundamentals of B‑Tree and B+Tree data structures, their search algorithms, and how MySQL's MyISAM and InnoDB storage engines implement these indexes to achieve efficient disk‑based query performance.

AlgorithmsB+ TreeB-Tree
0 likes · 19 min read
Understanding B‑Tree and B+Tree Indexes in MySQL
Java Architect Essentials
Java Architect Essentials
Feb 3, 2023 · Databases

Understanding B+ Trees: From Binary Search Trees to MySQL Indexes

This article explains the evolution of tree-based index structures—from basic binary search trees through AVL and red‑black trees to B‑trees and B+‑trees—highlighting their trade‑offs and why MySQL adopts B+‑trees for efficient disk‑based indexing.

AVLB+ TreeB-Tree
0 likes · 10 min read
Understanding B+ Trees: From Binary Search Trees to MySQL Indexes
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 2, 2023 · Databases

Improving MySQL Query Performance with Covering Indexes

This article demonstrates how creating a covering composite index on MySQL tables can reduce a 55‑second aggregation query on five million rows to about two seconds by eliminating the need for row lookups and fully utilizing index data.

MySQLSQL Optimizationcovering index
0 likes · 7 min read
Improving MySQL Query Performance with Covering Indexes
Java Architect Essentials
Java Architect Essentials
Nov 21, 2022 · Databases

MySQL Query Optimization Best Practices: Avoid SELECT *, Use Specific Fields, Index Strategies, Joins, and Other Performance Tips

This article presents a comprehensive set of MySQL optimization guidelines, covering the avoidance of SELECT *, proper use of specific columns, eliminating OR and != in WHERE clauses, preferring numeric types, choosing VARCHAR over CHAR, using TRUNCATE, batch operations, index design, join selection, GROUP BY efficiency, and other practical tips to improve query performance.

MySQLSQL Optimizationdatabase indexing
0 likes · 18 min read
MySQL Query Optimization Best Practices: Avoid SELECT *, Use Specific Fields, Index Strategies, Joins, and Other Performance Tips
Architecture Digest
Architecture Digest
Nov 18, 2022 · Backend Development

Design and Implementation of a Short URL Service

This article explains the value of short URLs, the HTTP redirection principle behind them, and provides detailed design and implementation strategies—including hash‑based and distributed‑ID approaches, base‑62 encoding, database storage, caching, indexing, and security measures—to build a scalable short‑link service.

HTTP redirectShort URLcaching
0 likes · 12 min read
Design and Implementation of a Short URL Service
Laravel Tech Community
Laravel Tech Community
Feb 14, 2022 · Databases

Why LIMIT with ORDER BY Can Produce Duplicate Pages in MySQL and How to Resolve It

The article explains why using LIMIT together with ORDER BY in MySQL 5.6 can cause duplicate records on subsequent pages, analyzes the priority‑queue optimization that makes the sort unstable, and offers practical solutions such as indexing, proper pagination logic, and query adjustments.

MySQLORDER BYPriority Queue
0 likes · 8 min read
Why LIMIT with ORDER BY Can Produce Duplicate Pages in MySQL and How to Resolve It
Selected Java Interview Questions
Selected Java Interview Questions
Sep 28, 2021 · Fundamentals

Understanding B‑Tree and B+Tree: Principles, Definitions, and Insertion Algorithms

This article explains the fundamentals of B‑Tree and B+Tree data structures, covering their definitions, differences from red‑black trees, node properties, and detailed insertion procedures, while highlighting why B+Tree is preferred for database and file indexing.

B+ TreeB-TreeData Structures
0 likes · 7 min read
Understanding B‑Tree and B+Tree: Principles, Definitions, and Insertion Algorithms
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 23, 2021 · Databases

Using MySQL Ngram Plugin to Enable Accurate Full‑Text Search for Chinese Text

This article explains why MySQL's default full‑text index struggles with Chinese, demonstrates how to configure token size parameters, activate the ngram parser plugin, and adjust queries (including Boolean mode) to achieve reliable Chinese full‑text search results.

Boolean ModeFull-Text SearchMySQL
0 likes · 12 min read
Using MySQL Ngram Plugin to Enable Accurate Full‑Text Search for Chinese Text
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 5, 2021 · Databases

How Many Rows Can a MySQL InnoDB B+Tree Store?

This article explains InnoDB's storage hierarchy (sector, block, page), calculates how many rows fit in a 16KB page, shows how B+‑tree height and pointer counts determine total record capacity, and demonstrates the I/O cost of primary and secondary index lookups using practical MySQL commands.

B+ TreeInnoDBMySQL
0 likes · 8 min read
How Many Rows Can a MySQL InnoDB B+Tree Store?