Index
All Classes and Interfaces|All Packages
B
- BtreeIndexesOnArrayColumnsCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for B-tree indexes on array columns on all hosts in the cluster.
- BtreeIndexesOnArrayColumnsCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.BtreeIndexesOnArrayColumnsCheckOnCluster
C
- check() - Method in interface io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnCluster
-
Executes the check in the public schema without filtering results.
- check(PgContext) - Method in interface io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnCluster
-
Executes the check in the specified schema without filtering results.
- check(PgContext, Predicate<? super IndexWithColumns>) - Method in class io.github.mfvanek.pg.checks.cluster.BtreeIndexesOnArrayColumnsCheckOnCluster
-
Executes the check in the specified schema.
- check(PgContext, Predicate<? super T>) - Method in interface io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnCluster
-
Executes the check in the specified schema.
- check(Collection<? extends PgContext>, Predicate<? super T>) - Method in interface io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnCluster
-
Executes the check in the specified schemas.
- CollectionUtils - Class in io.github.mfvanek.pg.utils
-
Utility class providing various collection-related utility methods.
- ColumnsWithJsonTypeCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for columns with
jsontype on all hosts in the cluster. - ColumnsWithJsonTypeCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.ColumnsWithJsonTypeCheckOnCluster
- ColumnsWithoutDescriptionCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for columns without description on all hosts in the cluster.
- ColumnsWithoutDescriptionCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.ColumnsWithoutDescriptionCheckOnCluster
- ColumnsWithSerialTypesCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for columns of serial types that are not primary keys on all hosts in the cluster.
- ColumnsWithSerialTypesCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.ColumnsWithSerialTypesCheckOnCluster
D
- DatabaseCheckOnCluster<T extends io.github.mfvanek.pg.model.DbObject> - Interface in io.github.mfvanek.pg.common.maintenance
-
An abstract check on database structure.
- DatabaseManagement - Interface in io.github.mfvanek.pg.common.management
- DatabaseManagementImpl - Class in io.github.mfvanek.pg.common.management
-
Implementation of
DatabaseManagement. - DatabaseManagementImpl(HighAvailabilityPgConnection, Function<PgConnection, StatisticsMaintenanceOnHost>, Function<PgConnection, ConfigurationMaintenanceOnHost>) - Constructor for class io.github.mfvanek.pg.common.management.DatabaseManagementImpl
- doBeforeExecuteOnHost(PgConnection) - Method in class io.github.mfvanek.pg.checks.cluster.BtreeIndexesOnArrayColumnsCheckOnCluster
- doBeforeExecuteOnHost(PgConnection) - Method in class io.github.mfvanek.pg.checks.cluster.UnusedIndexesCheckOnCluster
- DuplicatedForeignKeysCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for duplicated (completely identical) foreign keys on all hosts in the cluster.
- DuplicatedForeignKeysCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.DuplicatedForeignKeysCheckOnCluster
- DuplicatedIndexesCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for duplicated (completely identical) indexes on all hosts in the cluster.
- DuplicatedIndexesCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.DuplicatedIndexesCheckOnCluster
E
- exclusions - Variable in class io.github.mfvanek.pg.checks.predicates.FilterDuplicatedIndexesByNamePredicate
F
- FilterDuplicatedIndexesByNamePredicate - Class in io.github.mfvanek.pg.checks.predicates
-
Allows filter duplicated indexes by their name.
- FilterIndexesByBloatPredicate - Class in io.github.mfvanek.pg.checks.predicates
-
Allows filter indexes by their bloat.
- FilterIndexesByNamePredicate - Class in io.github.mfvanek.pg.checks.predicates
-
Allows filter indexes by their name.
- FilterIndexesBySizePredicate - Class in io.github.mfvanek.pg.checks.predicates
-
Allows filter indexes by their size.
- FilterObjectsByNamePredicate - Class in io.github.mfvanek.pg.checks.predicates
-
Allows filter database objects by their name.
- FilterTablesByBloatPredicate - Class in io.github.mfvanek.pg.checks.predicates
-
Allows filter tables by their bloat.
- FilterTablesByNamePredicate - Class in io.github.mfvanek.pg.checks.predicates
-
Allows filter tables by their name.
- FilterTablesBySizePredicate - Class in io.github.mfvanek.pg.checks.predicates
-
Allows filter tables by their size.
- ForeignKeysNotCoveredWithIndexCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for foreign keys without associated indexes on all hosts in the cluster.
- ForeignKeysNotCoveredWithIndexCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.ForeignKeysNotCoveredWithIndexCheckOnCluster
- ForeignKeysWithUnmatchedColumnTypeCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for foreign keys where the type of the constrained column does not match the type in the referenced table on all hosts in the cluster.
- ForeignKeysWithUnmatchedColumnTypeCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.ForeignKeysWithUnmatchedColumnTypeCheckOnCluster
- FunctionsWithoutDescriptionCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for procedures/functions without description on all hosts in the cluster.
- FunctionsWithoutDescriptionCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.FunctionsWithoutDescriptionCheckOnCluster
G
- getDiagnostic() - Method in class io.github.mfvanek.pg.checks.cluster.BtreeIndexesOnArrayColumnsCheckOnCluster
- getLastStatsResetTimestamp() - Method in interface io.github.mfvanek.pg.common.management.DatabaseManagement
-
Gets time at which database statistics were last reset on the primary host.
- getLastStatsResetTimestamp() - Method in class io.github.mfvanek.pg.common.management.DatabaseManagementImpl
-
Gets time at which database statistics were last reset on the primary host.
- getParamsCurrentValues() - Method in class io.github.mfvanek.pg.common.management.DatabaseManagementImpl
- getParamsWithDefaultValues(ServerSpecification) - Method in class io.github.mfvanek.pg.common.management.DatabaseManagementImpl
- getType() - Method in class io.github.mfvanek.pg.checks.cluster.BtreeIndexesOnArrayColumnsCheckOnCluster
I
- IndexesWithBloatCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for indexes bloat on all hosts in the cluster.
- IndexesWithBloatCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.IndexesWithBloatCheckOnCluster
- IndexesWithBooleanCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for indexes that contain boolean values on all hosts in the cluster.
- IndexesWithBooleanCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.IndexesWithBooleanCheckOnCluster
- IndexesWithNullValuesCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for indexes with null values on all hosts in the cluster.
- IndexesWithNullValuesCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.IndexesWithNullValuesCheckOnCluster
- IntersectedForeignKeysCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for intersected (partially identical) foreign keys on all hosts in the cluster.
- IntersectedForeignKeysCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.IntersectedForeignKeysCheckOnCluster
- IntersectedIndexesCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for intersected (partially identical) indexes on all hosts in the cluster.
- IntersectedIndexesCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.IntersectedIndexesCheckOnCluster
- intersection(Collection<? extends T>, Collection<? extends T>) - Static method in class io.github.mfvanek.pg.utils.CollectionUtils
-
Returns a
Collectioncontaining the intersection of the givenCollections. - InvalidIndexesCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for invalid (broken) indexes on all hosts in the cluster.
- InvalidIndexesCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.InvalidIndexesCheckOnCluster
- io.github.mfvanek.pg.checks.cluster - package io.github.mfvanek.pg.checks.cluster
- io.github.mfvanek.pg.checks.predicates - package io.github.mfvanek.pg.checks.predicates
- io.github.mfvanek.pg.common.maintenance - package io.github.mfvanek.pg.common.maintenance
- io.github.mfvanek.pg.common.management - package io.github.mfvanek.pg.common.management
- io.github.mfvanek.pg.utils - package io.github.mfvanek.pg.utils
- isOk(BloatAware) - Method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesByBloatPredicate
- isRuntime() - Method in interface io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnCluster
N
- NotValidConstraintsCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for not valid constraint on all hosts in the cluster.
- NotValidConstraintsCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.NotValidConstraintsCheckOnCluster
O
- of(long) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesBySizePredicate
- of(long) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterTablesBySizePredicate
- of(long, double) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesByBloatPredicate
- of(long, double) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterTablesByBloatPredicate
- of(String) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterDuplicatedIndexesByNamePredicate
- of(String) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesByNamePredicate
- of(String) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterObjectsByNamePredicate
-
Factory method for creating a
FilterObjectsByNamePredicatewith a single object name. - of(String) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterTablesByNamePredicate
- of(Collection<String>) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterDuplicatedIndexesByNamePredicate
- of(Collection<String>) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesByNamePredicate
- of(Collection<String>) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterObjectsByNamePredicate
-
Factory method for creating a
FilterObjectsByNamePredicatewith a collection of object names. - of(Collection<String>) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterTablesByNamePredicate
P
- PossibleObjectNameOverflowCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for objects whose names have a length of
max_identifier_length(usually it is 63) on all hosts in the cluster. - PossibleObjectNameOverflowCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.PossibleObjectNameOverflowCheckOnCluster
- PrimaryKeysWithSerialTypesCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for primary keys columns with serial types (smallserial/serial/bigserial) on all hosts in the cluster.
- PrimaryKeysWithSerialTypesCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.PrimaryKeysWithSerialTypesCheckOnCluster
R
- resetStatistics() - Method in interface io.github.mfvanek.pg.common.management.DatabaseManagement
-
Reset all statistics counters on all hosts in the cluster to zero.
- resetStatistics() - Method in class io.github.mfvanek.pg.common.management.DatabaseManagementImpl
-
Reset all statistics counters on all hosts in the cluster to zero.
S
- SequenceOverflowCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for sequence overflow on all hosts in the cluster.
- SequenceOverflowCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.SequenceOverflowCheckOnCluster
T
- TablesNotLinkedToOthersCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for tables that are not linked to other tables on all hosts in the cluster.
- TablesNotLinkedToOthersCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.TablesNotLinkedToOthersCheckOnCluster
- TablesWithBloatCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for tables bloat on all hosts in the cluster.
- TablesWithBloatCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.TablesWithBloatCheckOnCluster
- TablesWithMissingIndexesCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for tables with missing indexes on all hosts in the cluster.
- TablesWithMissingIndexesCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.TablesWithMissingIndexesCheckOnCluster
- TablesWithoutDescriptionCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for tables without description on all hosts in the cluster.
- TablesWithoutDescriptionCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.TablesWithoutDescriptionCheckOnCluster
- TablesWithoutPrimaryKeyCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for tables without primary key on all hosts in the cluster.
- TablesWithoutPrimaryKeyCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.TablesWithoutPrimaryKeyCheckOnCluster
- test(DbObject) - Method in class io.github.mfvanek.pg.checks.predicates.FilterObjectsByNamePredicate
- test(DuplicatedIndexes) - Method in class io.github.mfvanek.pg.checks.predicates.FilterDuplicatedIndexesByNamePredicate
- test(IndexBloatAware) - Method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesByBloatPredicate
- test(IndexNameAware) - Method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesByNamePredicate
- test(IndexSizeAware) - Method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesBySizePredicate
- test(TableBloatAware) - Method in class io.github.mfvanek.pg.checks.predicates.FilterTablesByBloatPredicate
- test(TableNameAware) - Method in class io.github.mfvanek.pg.checks.predicates.FilterTablesByNamePredicate
- test(TableSizeAware) - Method in class io.github.mfvanek.pg.checks.predicates.FilterTablesBySizePredicate
- thresholdInBytes - Variable in class io.github.mfvanek.pg.checks.predicates.FilterIndexesBySizePredicate
U
- UnusedIndexesCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for unused indexes on all hosts in the cluster.
- UnusedIndexesCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.UnusedIndexesCheckOnCluster
All Classes and Interfaces|All Packages