CentOS 7.x mariadb reclaiming space freed by deleting table rows

From Notes_Wiki
Revision as of 16:05, 28 August 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > CentOS > CentOS 7.x > Databases > MariaDB > CentOS 7.x mariadb reclaiming space freed by deleting table rows

Deleting rows from existing MySQL table may not directly free up used space on hard-disk. To free up disk space after deleting some rows of use:

   optimize table <table-name>

Refer:



Home > CentOS > CentOS 7.x > Databases > MariaDB > CentOS 7.x mariadb reclaiming space freed by deleting table rows