Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractHealthLogger - Class in io.github.mfvanek.pg.common.health.logger
- AbstractHealthLogger(ConnectionCredentials, HighAvailabilityPgConnectionFactory, Function<HighAvailabilityPgConnection, DatabaseChecks>) - Constructor for class io.github.mfvanek.pg.common.health.logger.AbstractHealthLogger
- ACROSS_CLUSTER - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic.ExecutionTopology
-
Across the entire database cluster.
- AdditionalValidators - Class in io.github.mfvanek.pg.validation
B
- BLOAT_PERCENTAGE - Static variable in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
- BLOAT_SIZE - Static variable in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
- BLOATED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- BLOATED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- BLOATED_TABLES - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- BLOATED_TABLES - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- build() - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- builder() - Static method in class io.github.mfvanek.pg.common.health.logger.Exclusions
-
Returns a
Builder
for constructingExclusions
object.
C
- check() - Method in interface io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnCluster
-
Executes the check in the public schema without filtering results.
- check() - Method in interface io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnHost
-
Executes the check in the public schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
-
Returns columns with json type in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.ColumnsWithoutDescriptionCheckOnHost
-
Returns columns without description (comment) in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.ColumnsWithSerialTypesCheckOnHost
-
Returns columns with serial types that are not primary keys in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.DuplicatedIndexesCheckOnHost
-
Returns duplicated (completely identical) indexes in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.ForeignKeysNotCoveredWithIndexCheckOnHost
-
Returns foreign keys without associated indexes in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.FunctionsWithoutDescriptionCheckOnHost
-
Returns procedures/functions without description (comment) in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.IndexesWithBloatCheckOnHost
-
Returns indexes that are bloated in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.IndexesWithNullValuesCheckOnHost
-
Returns indexes that contain null values in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.IntersectedIndexesCheckOnHost
-
Returns intersected (partially identical) indexes in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.InvalidIndexesCheckOnHost
-
Returns invalid (broken) indexes in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.TablesWithBloatCheckOnHost
-
Returns tables that are bloated in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.TablesWithMissingIndexesCheckOnHost
-
Returns tables with potentially missing indexes in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.TablesWithoutDescriptionCheckOnHost
-
Returns tables without description (comment) in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.TablesWithoutPrimaryKeyCheckOnHost
-
Returns tables without primary key in the specified schema.
- check(PgContext) - Method in class io.github.mfvanek.pg.checks.host.UnusedIndexesCheckOnHost
-
Returns unused indexes in the specified schema.
- check(PgContext) - Method in interface io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnCluster
-
Executes the check in the specified schema without filtering results.
- check(PgContext) - Method in interface io.github.mfvanek.pg.common.maintenance.DatabaseCheckOnHost
-
Executes the check in the specified schema.
- check(PgContext, Predicate<? super Column>) - Method in class io.github.mfvanek.pg.checks.cluster.ColumnsWithJsonTypeCheckOnCluster
-
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.
- clock() - Static method in class io.github.mfvanek.pg.utils.ClockHolder
-
Allows to get currently set
Clock
instance. - ClockHolder - Class in io.github.mfvanek.pg.utils
-
Utility class to work with
Clock
. - CollectionUtils - Class in io.github.mfvanek.pg.utils
- ColumnExtractor - Class in io.github.mfvanek.pg.checks.extractors
-
A mapper from raw data to
Column
model. - COLUMNS_WITH_JSON_TYPE - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- COLUMNS_WITH_JSON_TYPE - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- COLUMNS_WITH_SERIAL_TYPES - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- COLUMNS_WITH_SERIAL_TYPES - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- COLUMNS_WITHOUT_DESCRIPTION - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- COLUMNS_WITHOUT_DESCRIPTION - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- ColumnsInForeignKeyParser - Class in io.github.mfvanek.pg.utils
- ColumnsWithJsonTypeCheckOnCluster - Class in io.github.mfvanek.pg.checks.cluster
-
Check for columns with
json
type on all hosts in the cluster. - ColumnsWithJsonTypeCheckOnCluster(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.checks.cluster.ColumnsWithJsonTypeCheckOnCluster
- ColumnsWithJsonTypeCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for columns with
json
type on a specific host. - ColumnsWithJsonTypeCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
- 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
- ColumnsWithoutDescriptionCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for columns without description on a specific host.
- ColumnsWithoutDescriptionCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.ColumnsWithoutDescriptionCheckOnHost
- 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
- ColumnsWithSerialTypesCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for columns of serial types that are not primary keys on a specific host.
- ColumnsWithSerialTypesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.ColumnsWithSerialTypesCheckOnHost
- ColumnWithSerialTypeExtractor - Class in io.github.mfvanek.pg.checks.extractors
- ConfigurationAware - Interface in io.github.mfvanek.pg.settings
-
An abstraction for getting database configuration.
- ConfigurationMaintenanceOnHost - Interface in io.github.mfvanek.pg.settings.maintenance
-
An entry point for working with database configuration on the specified host.
- ConfigurationMaintenanceOnHostImpl - Class in io.github.mfvanek.pg.settings.maintenance
- ConfigurationMaintenanceOnHostImpl(PgConnection) - Constructor for class io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHostImpl
D
- DatabaseCheckOnCluster<T extends io.github.mfvanek.pg.model.DbObject> - Interface in io.github.mfvanek.pg.common.maintenance
-
An abstract check on database structure.
- DatabaseCheckOnHost<T extends io.github.mfvanek.pg.model.DbObject> - Interface in io.github.mfvanek.pg.common.maintenance
-
A check on database structure on a specific host.
- DatabaseChecks - Class in io.github.mfvanek.pg.common.maintenance
- DatabaseChecks(HighAvailabilityPgConnection) - Constructor for class io.github.mfvanek.pg.common.maintenance.DatabaseChecks
- 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
- Diagnostic - Enum Class in io.github.mfvanek.pg.common.maintenance
-
A list of all supported diagnostics with corresponding sql queries and query executors.
- Diagnostic.ExecutionTopology - Enum Class in io.github.mfvanek.pg.common.maintenance
-
Defines the place where the diagnostic should be executed.
- DiagnosticAware - Interface in io.github.mfvanek.pg.common.maintenance
-
Allows getting information about rule related to the check.
- doBeforeExecuteOnHost(PgConnection) - Method in class io.github.mfvanek.pg.checks.cluster.ColumnsWithJsonTypeCheckOnCluster
- doBeforeExecuteOnHost(PgConnection) - Method in class io.github.mfvanek.pg.checks.cluster.UnusedIndexesCheckOnCluster
- DUPLICATED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- DUPLICATED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- 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
- DuplicatedIndexesCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for duplicated (completely identical) indexes on a specific host.
- DuplicatedIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.DuplicatedIndexesCheckOnHost
E
- empty() - Static method in class io.github.mfvanek.pg.common.health.logger.Exclusions
-
Returns empty exclusions list.
- exclusions - Variable in class io.github.mfvanek.pg.checks.predicates.FilterDuplicatedIndexesByNamePredicate
- Exclusions - Class in io.github.mfvanek.pg.common.health.logger
-
A listing of exclusions for
HealthLogger
. - ExclusionsBuilder - Class in io.github.mfvanek.pg.common.health.logger
-
A listing of exclusions for
HealthLogger
. - executeQuery(PgConnection, PgContext, String, ResultSetExtractor<T>) - Method in interface io.github.mfvanek.pg.common.maintenance.QueryExecutor
- executeQuery(PgConnection, String, ResultSetExtractor<T>) - Method in interface io.github.mfvanek.pg.statistics.maintenance.StatisticsQueryExecutor
- executeQuery(PgConnection, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.utils.QueryExecutors
- executeQuery(PgContext, ResultSetExtractor<Column>) - Method in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
- executeQueryWithBloatThreshold(PgConnection, PgContext, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.utils.QueryExecutors
- executeQueryWithSchema(PgConnection, PgContext, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.utils.QueryExecutors
- extractData(ResultSet) - Method in class io.github.mfvanek.pg.checks.extractors.ColumnExtractor
-
Converts a row from database to an arbitrary domain model.
- extractData(ResultSet) - Method in class io.github.mfvanek.pg.checks.extractors.ColumnWithSerialTypeExtractor
-
Converts a row from database to an arbitrary domain model.
- extractData(ResultSet) - Method in class io.github.mfvanek.pg.checks.extractors.TableExtractor
-
Converts a row from database to an arbitrary domain model.
- extractData(ResultSet) - Method in interface io.github.mfvanek.pg.common.maintenance.ResultSetExtractor
-
Converts a row from database to an arbitrary domain model.
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.
- 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.
- FOREIGN_KEYS_WITHOUT_INDEX - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- FOREIGN_KEYS_WITHOUT_INDEX - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- 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
- ForeignKeysNotCoveredWithIndexCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for foreign keys without associated indexes on a specific host.
- ForeignKeysNotCoveredWithIndexCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.ForeignKeysNotCoveredWithIndexCheckOnHost
- FUNCTIONS_WITHOUT_DESCRIPTION - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- FUNCTIONS_WITHOUT_DESCRIPTION - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- 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
- FunctionsWithoutDescriptionCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for procedures/functions without description on a specific host.
- FunctionsWithoutDescriptionCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.FunctionsWithoutDescriptionCheckOnHost
G
- getCheck(Diagnostic, Class<T>) - Method in class io.github.mfvanek.pg.common.maintenance.DatabaseChecks
- getDescription() - Method in interface io.github.mfvanek.pg.common.health.logger.LoggingKey
- getDescription() - Method in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- getDiagnostic() - Method in class io.github.mfvanek.pg.checks.cluster.ColumnsWithJsonTypeCheckOnCluster
-
Gets the diagnostic - a rule related to the check.
- getDiagnostic() - Method in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
-
Gets the diagnostic - a rule related to the check.
- getDiagnostic() - Method in interface io.github.mfvanek.pg.common.maintenance.DiagnosticAware
-
Gets the diagnostic - a rule related to the check.
- getExecutionTopology() - Method in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- getHost() - Method in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
- getHost() - Method in class io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHostImpl
- getHost() - Method in class io.github.mfvanek.pg.statistics.maintenance.StatisticsMaintenanceOnHostImpl
- getKeyName() - Method in interface io.github.mfvanek.pg.common.health.logger.LoggingKey
- getKeyName() - Method in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- 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.
- getLastStatsResetTimestamp() - Method in interface io.github.mfvanek.pg.statistics.maintenance.StatisticsMaintenanceOnHost
-
Gets time at which database statistics were last reset on current host.
- getLastStatsResetTimestamp() - Method in class io.github.mfvanek.pg.statistics.maintenance.StatisticsMaintenanceOnHostImpl
-
Gets time at which database statistics were last reset on current host.
- getLastStatsResetTimestamp() - Method in interface io.github.mfvanek.pg.statistics.StatisticsAware
-
Gets time at which database statistics were last reset.
- getParamCurrentValue(ParamNameAware) - Method in interface io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHost
- getParamCurrentValue(ParamNameAware) - Method in class io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHostImpl
- getParamsCurrentValues() - Method in class io.github.mfvanek.pg.common.management.DatabaseManagementImpl
- getParamsCurrentValues() - Method in interface io.github.mfvanek.pg.settings.ConfigurationAware
- getParamsCurrentValues() - Method in interface io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHost
- getParamsCurrentValues() - Method in class io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHostImpl
- getParamsWithDefaultValues(ServerSpecification) - Method in class io.github.mfvanek.pg.common.management.DatabaseManagementImpl
- getParamsWithDefaultValues(ServerSpecification) - Method in interface io.github.mfvanek.pg.settings.ConfigurationAware
- getParamsWithDefaultValues(ServerSpecification) - Method in interface io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHost
- getParamsWithDefaultValues(ServerSpecification) - Method in class io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHostImpl
- getQueryExecutor() - Method in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- getQueryFromFile(String) - Static method in class io.github.mfvanek.pg.utils.SqlQueryReader
- getSqlQueryFileName() - Method in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- getSubKeyName() - Method in interface io.github.mfvanek.pg.common.health.logger.LoggingKey
- getSubKeyName() - Method in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- getTableBloatPercentageThreshold() - Method in class io.github.mfvanek.pg.common.health.logger.Exclusions
- getTableBloatSizeThresholdInBytes() - Method in class io.github.mfvanek.pg.common.health.logger.Exclusions
- getType() - Method in class io.github.mfvanek.pg.checks.cluster.ColumnsWithJsonTypeCheckOnCluster
-
Gets original java type.
- getType() - Method in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
-
Gets original java type.
- getType() - Method in interface io.github.mfvanek.pg.common.maintenance.RawTypeAware
-
Gets original java type.
H
- HealthLogger - Interface in io.github.mfvanek.pg.common.health.logger
-
An abstraction of indexes and tables health logger.
I
- INDEX_NAME - Static variable in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
- INDEX_SIZE - Static variable in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
- INDEXES_WITH_NULL_VALUES - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- INDEXES_WITH_NULL_VALUES - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- 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
- IndexesWithBloatCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for indexes bloat on a specific host.
- IndexesWithBloatCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.IndexesWithBloatCheckOnHost
- 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
- IndexesWithNullValuesCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for indexes with null values on a specific host.
- IndexesWithNullValuesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.IndexesWithNullValuesCheckOnHost
- INTERSECTED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- INTERSECTED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- 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
- IntersectedIndexesCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for intersected (partially identical) indexes on a specific host.
- IntersectedIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.IntersectedIndexesCheckOnHost
- intersection(Collection<? extends T>, Collection<? extends T>) - Static method in class io.github.mfvanek.pg.utils.CollectionUtils
-
Returns a
Collection
containing the intersection of the givenCollection
s. - INVALID_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- INVALID_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- 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
- InvalidIndexesCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for invalid (broken) indexes on a specific host.
- InvalidIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.InvalidIndexesCheckOnHost
- io.github.mfvanek.pg.checks.cluster - package io.github.mfvanek.pg.checks.cluster
- io.github.mfvanek.pg.checks.extractors - package io.github.mfvanek.pg.checks.extractors
- io.github.mfvanek.pg.checks.host - package io.github.mfvanek.pg.checks.host
- io.github.mfvanek.pg.checks.predicates - package io.github.mfvanek.pg.checks.predicates
- io.github.mfvanek.pg.common.health.logger - package io.github.mfvanek.pg.common.health.logger
- 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.settings - package io.github.mfvanek.pg.settings
- io.github.mfvanek.pg.settings.maintenance - package io.github.mfvanek.pg.settings.maintenance
- io.github.mfvanek.pg.statistics - package io.github.mfvanek.pg.statistics
- io.github.mfvanek.pg.statistics.maintenance - package io.github.mfvanek.pg.statistics.maintenance
- io.github.mfvanek.pg.utils - package io.github.mfvanek.pg.utils
- io.github.mfvanek.pg.validation - package io.github.mfvanek.pg.validation
- isAcrossCluster() - Method in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- isOk(BloatAware) - Method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesByBloatPredicate
K
- KeyValueFileHealthLogger - Class in io.github.mfvanek.pg.common.health.logger
-
Outputs summary about database health to a file with fixed name 'key-value.log'.
- KeyValueFileHealthLogger(ConnectionCredentials, HighAvailabilityPgConnectionFactory, Function<HighAvailabilityPgConnection, DatabaseChecks>) - Constructor for class io.github.mfvanek.pg.common.health.logger.KeyValueFileHealthLogger
L
- logAll(Exclusions) - Method in interface io.github.mfvanek.pg.common.health.logger.HealthLogger
-
Logs indexes and tables health with given exclusions in public schema.
- logAll(Exclusions, PgContext) - Method in class io.github.mfvanek.pg.common.health.logger.AbstractHealthLogger
-
Logs indexes and tables health with given exclusions in given schema.
- logAll(Exclusions, PgContext) - Method in interface io.github.mfvanek.pg.common.health.logger.HealthLogger
-
Logs indexes and tables health with given exclusions in given schema.
- LoggingKey - Interface in io.github.mfvanek.pg.common.health.logger
N
- NamedParametersParser - Class in io.github.mfvanek.pg.utils
O
- of() - Static method in class io.github.mfvanek.pg.checks.extractors.ColumnExtractor
- of() - Static method in class io.github.mfvanek.pg.checks.extractors.ColumnWithSerialTypeExtractor
- of() - Static method in class io.github.mfvanek.pg.checks.extractors.TableExtractor
- 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, int) - Static method in class io.github.mfvanek.pg.checks.predicates.FilterIndexesByBloatPredicate
- of(long, int) - 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.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.FilterTablesByNamePredicate
- ON_PRIMARY - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic.ExecutionTopology
-
Only on primary host.
P
- parse(String) - Static method in class io.github.mfvanek.pg.utils.NamedParametersParser
- parseRawColumnData(String, String...) - Static method in class io.github.mfvanek.pg.utils.ColumnsInForeignKeyParser
Q
- QueryExecutor - Interface in io.github.mfvanek.pg.common.maintenance
-
An abstraction of sql query executor.
- QueryExecutors - Class in io.github.mfvanek.pg.utils
R
- RawTypeAware<T extends io.github.mfvanek.pg.model.DbObject> - Interface in io.github.mfvanek.pg.common.maintenance
-
Allows getting information about original generic type.
- 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.
- resetStatistics() - Method in interface io.github.mfvanek.pg.statistics.maintenance.StatisticsMaintenanceOnHost
-
Resets all statistics counters for the current database on current host to zero.
- resetStatistics() - Method in class io.github.mfvanek.pg.statistics.maintenance.StatisticsMaintenanceOnHostImpl
-
Resets all statistics counters for the current database on current host to zero.
- resetStatistics() - Method in interface io.github.mfvanek.pg.statistics.StatisticsAware
-
Resets all statistics counters for the current database to zero.
- ResultSetExtractor<T> - Interface in io.github.mfvanek.pg.common.maintenance
-
A mapper from raw data to domain model.
S
- setClock(Clock) - Static method in class io.github.mfvanek.pg.utils.ClockHolder
-
Atomically sets the
ClockHolder.CLOCK_REFERENCE
tonewClock
and returns the old value. - SimpleLoggingKey - Enum Class in io.github.mfvanek.pg.common.health.logger
- SqlQueryReader - Class in io.github.mfvanek.pg.utils
- StandardHealthLogger - Class in io.github.mfvanek.pg.common.health.logger
-
Outputs summary about database health to an array of strings.
- StandardHealthLogger(ConnectionCredentials, HighAvailabilityPgConnectionFactory, Function<HighAvailabilityPgConnection, DatabaseChecks>) - Constructor for class io.github.mfvanek.pg.common.health.logger.StandardHealthLogger
- StatisticsAware - Interface in io.github.mfvanek.pg.statistics
-
A set of methods to manage statistics.
- StatisticsMaintenanceOnHost - Interface in io.github.mfvanek.pg.statistics.maintenance
-
An entry point for managing statistics on the specified host.
- StatisticsMaintenanceOnHostImpl - Class in io.github.mfvanek.pg.statistics.maintenance
- StatisticsMaintenanceOnHostImpl(PgConnection) - Constructor for class io.github.mfvanek.pg.statistics.maintenance.StatisticsMaintenanceOnHostImpl
- StatisticsQueryExecutor - Interface in io.github.mfvanek.pg.statistics.maintenance
-
An abstraction of sql query executor without schema.
T
- TABLE_NAME - Static variable in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
- TABLE_SIZE - Static variable in class io.github.mfvanek.pg.checks.host.ColumnsWithJsonTypeCheckOnHost
- TableExtractor - Class in io.github.mfvanek.pg.checks.extractors
-
A mapper from raw data to
Table
model. - TABLES_WITH_MISSING_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- TABLES_WITH_MISSING_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- TABLES_WITHOUT_DESCRIPTION - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- TABLES_WITHOUT_DESCRIPTION - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- TABLES_WITHOUT_PRIMARY_KEY - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- TABLES_WITHOUT_PRIMARY_KEY - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- 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
- TablesWithBloatCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for tables bloat on a specific host.
- TablesWithBloatCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.TablesWithBloatCheckOnHost
- 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
- TablesWithMissingIndexesCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for tables with potentially missing indexes on a specific host.
- TablesWithMissingIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.TablesWithMissingIndexesCheckOnHost
- 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
- TablesWithoutDescriptionCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for tables without description on a specific host.
- TablesWithoutDescriptionCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.TablesWithoutDescriptionCheckOnHost
- 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
- TablesWithoutPrimaryKeyCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for tables without primary key on a specific host.
- TablesWithoutPrimaryKeyCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.TablesWithoutPrimaryKeyCheckOnHost
- 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
- toString() - Method in class io.github.mfvanek.pg.common.health.logger.Exclusions
- toString() - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
U
- UNUSED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- UNUSED_INDEXES - Enum constant in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
- 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
- UnusedIndexesCheckOnHost - Class in io.github.mfvanek.pg.checks.host
-
Check for unused indexes on a specific host.
- UnusedIndexesCheckOnHost(PgConnection) - Constructor for class io.github.mfvanek.pg.checks.host.UnusedIndexesCheckOnHost
V
- validPercent(int, String) - Static method in class io.github.mfvanek.pg.validation.AdditionalValidators
- valueOf(String) - Static method in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic.ExecutionTopology
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic.ExecutionTopology
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.mfvanek.pg.common.maintenance.Diagnostic
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withDuplicatedIndexesExclusions(String) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
-
Sets a list of duplicated indexes that should be excluded by
HealthLogger
. - withIndexBloatPercentageThreshold(int) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withIndexBloatSizeThreshold(int, MemoryUnit) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withIndexBloatSizeThreshold(long) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withIndexesWithNullValuesExclusions(String) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withIndexSizeThreshold(int, MemoryUnit) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withIndexSizeThreshold(long) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withIntersectedIndexesExclusions(String) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
-
Sets a list of intersected indexes that should be excluded by
HealthLogger
. - withTableBloatPercentageThreshold(int) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withTableBloatSizeThreshold(int, MemoryUnit) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withTableBloatSizeThreshold(long) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withTableSizeThreshold(int, MemoryUnit) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withTableSizeThreshold(long) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withTablesWithMissingIndexesExclusions(String) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withTablesWithoutPrimaryKeyExclusions(String) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- withUnusedIndexesExclusions(String) - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
-
Sets a list of unused indexes that should be excluded by
HealthLogger
. - writeToLog(LoggingKey, int) - Method in class io.github.mfvanek.pg.common.health.logger.AbstractHealthLogger
- writeToLog(LoggingKey, int) - Method in class io.github.mfvanek.pg.common.health.logger.KeyValueFileHealthLogger
- writeToLog(LoggingKey, int) - Method in class io.github.mfvanek.pg.common.health.logger.StandardHealthLogger
All Classes and Interfaces|All Packages|Constant Field Values