← Back to team overview

maria-discuss team mailing list archive

InnoDB defragmentation

 

Hello.

I've read in this page

https://mariadb.com/kb/en/mariadb/documentation/sql-commands/table-commands/optimize-table/

that OPTIMIZE TABLE defragments InnoDB tables in 10.1. Good news! Just some questions: What locks are acquired? Is the table copied? Is the operation atomic?

Regards
Federico



References