My Oracle Support Banner

How To Estimate Fragmented Space Amount In Pages Per InnoDB Table Statistically (Doc ID 2755978.1)

Last updated on OCTOBER 12, 2023

Applies to:

MySQL Server - Version 5.5 and later
Information in this document applies to any platform.


Fragmentation is not likely to be a problem on InnoDB. However, DBAs may want to observe if the table is actually fragmented or not. InnoDB doesn't have a direct way to estimate fragmented space amount.

This document describes how to estimate amount of fragmented space using the information schema.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.