For the complete documentation index, see llms.txt. This page is also available as Markdown.

Optimization and Indexes

Optimize MariaDB Server queries with indexes. This section covers index types, creation, and best practices for leveraging them to significantly improve query performance and data retrieval speed.

A cookbook for designing the best index for a given SELECT query.

How compound (composite) indexes work in MariaDB and how to design them effectively.

Complete MariaDB performance optimization guide. Complete reference for query tuning, indexing strategies, and configuration improvements for production use.

Ignored indexes allow indexes to be visible and maintained without being used by the optimizer. This feature is comparable to MySQL 8’s "invisible indexes."

Index statistics provide crucial insights to the MariaDB query optimizer, guiding it in executing queries efficiently. Up-to-date index statistics ensure optimized query performance.

Techniques for indexing latitude/longitude data to speed up nearest-location queries.

How MariaDB handles primary keys over nullable columns, following the SQL standard.

The index types available when creating an index: BTREE, HASH, and RTREE.

Implement full-text indexes in MariaDB Server for efficient text search. This section guides you through creating and utilizing these indexes to optimize queries on large text datasets.

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?