Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/src/main/sphinx/connector/mariadb.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,26 @@ FROM
The connector includes a number of performance improvements, detailed in the
following sections.

(mariadb-table-statistics)=
### Table statistics

The MariaDB connector can use [table and column
statistics](/optimizer/statistics) for [cost based
optimizations](/optimizer/cost-based-optimizations) to improve query processing
performance based on the actual data in the data source.

The statistics are collected by MariaDB and retrieved by the connector.

To collect statistics for a table, execute the following statement in
MariaDB.

```text
ANALYZE TABLE table_name;
```

Refer to [MariaDB documentation](https://mariadb.com/kb/en/analyze-table/) for
additional information.

(mariadb-pushdown)=

### Pushdown
Expand Down