MariaDB and MySQL - What Statistics Optimizer Needs Or When and How Not to Use Indexes

Wednesday 4:15 PM - 5:05 PM

@ Texas 5

MySQL/MariaDB

50 minutes conference

Intermediate

Tracks:
MariaDB

When your SQL query reaches the DBMS, it's the optimizer's job to decide how to execute it for you to get the result as fast as possible. To make this decision optimizer can examine the actual table data, but with multi gigabyte and terabyte tables, the only practical solution is to use various data statistics that were collected in advance. The better the statistics and the more precisely it describes the actual data, the faster the plan will be because the optimizer image of reality will be closer to the actual reality.

In this talk, you'll learn what data statistics MariaDB and MySQL can collect, what statements do that, how to tell the optimizer to use it (it won't necessarily do it automatically!) and how it can make your queries many times faster.

And, of course, when not to use indexes, when up-to-date statistics is enough.


Speakers

Sergei Golubchik

Sergei Golubchik (MariaDB Foundation)

Board Member

Biography:

Sergei was a MySQL developer since 1998. From 1999 to 2009 in MySQL AB, Sun, then in Monty Program AB and MariaDB Corporation on MariaDB. During these years he has touched almost every part of the server. To list a few projects ? fulltext search, XA, HANDLER, precision math library, parallel repair and bulk inserts in MyISAM, indexes in MERGE. Sergei is a primary architect of the plugin API and an author of the ?MySQL 5.1 Plugin Development? book.


Connect with Percona

Stay Connected on:

Percona Live 2019 starts in:

Percona Live Conferences

The Percona Live Open Source Database Conferences are the premier event for the diverse and active open source database community, as well as businesses that develop and use open source database software.
 

Contact Us

For general information about the event/expo/conference, including registration, please contact us at:

  • info(@) percona.com
  • +1-888-401-3401
  • +1-919-948-2863