Package io.github.mfvanek.pg.model
Interface BloatAware
- All Known Subinterfaces:
IndexBloatAware
,TableBloatAware
- All Known Implementing Classes:
IndexWithBloat
,TableWithBloat
public interface BloatAware
Allows getting information about bloat in database.
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets bloat percentage (in the range from 0 to 100 inclusive).long
Gets bloat amount in bytes.
-
Method Details
-
getBloatSizeInBytes
long getBloatSizeInBytes()Gets bloat amount in bytes.- Returns:
- bloat amount
-
getBloatPercentage
int getBloatPercentage()Gets bloat percentage (in the range from 0 to 100 inclusive).- Returns:
- bloat percentage
-