A B C D E F G H I K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractIndexesHealthLogger - Class in io.github.mfvanek.pg.index.health.logger
- AbstractIndexesHealthLogger(IndexesHealth) - Constructor for class io.github.mfvanek.pg.index.health.logger.AbstractIndexesHealthLogger
- argumentNotNegative(int, String) - Static method in class io.github.mfvanek.pg.utils.Validators
B
- BloatAware - Interface in io.github.mfvanek.pg.model
-
Allows to get information about bloat in database.
- build() - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- build() - Method in class io.github.mfvanek.pg.settings.ServerSpecification.Builder
- builder() - Static method in class io.github.mfvanek.pg.index.health.logger.Exclusions
-
Returns a
Builderfor constructingExclusionsobject. - builder() - Static method in class io.github.mfvanek.pg.settings.ServerSpecification
C
- compareTo(TableWithMissingIndex) - Method in class io.github.mfvanek.pg.model.TableWithMissingIndex
- ConfigurationMaintenance - Interface in io.github.mfvanek.pg.settings
- ConfigurationMaintenanceImpl - Class in io.github.mfvanek.pg.settings
- ConfigurationMaintenanceImpl(PgConnection) - Constructor for class io.github.mfvanek.pg.settings.ConfigurationMaintenanceImpl
- convertToBytes(int) - Method in enum io.github.mfvanek.pg.model.MemoryUnit
-
Converts given information units amount to bytes according to it
MemoryUnit.dimension. - countNotNegative(long, String) - Static method in class io.github.mfvanek.pg.utils.Validators
D
- DEFAULT_BLOAT_PERCENTAGE_THRESHOLD - Static variable in class io.github.mfvanek.pg.model.PgContext
-
Default bloat percentage threshold.
- DUPLICATED_INDEXES - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- DuplicatedIndexes - Class in io.github.mfvanek.pg.model
-
A representation of duplicated indexes in a database.
E
- EFFECTIVE_CACHE_SIZE - io.github.mfvanek.pg.settings.ImportantParam
- empty() - Static method in class io.github.mfvanek.pg.index.health.logger.Exclusions
-
Returns empty exclusions list.
- equals(Object) - Method in class io.github.mfvanek.pg.connection.PgConnectionImpl
- equals(Object) - Method in class io.github.mfvanek.pg.connection.PgHostImpl
- equals(Object) - Method in class io.github.mfvanek.pg.model.Index
- equals(Object) - Method in class io.github.mfvanek.pg.model.IndexWithBloat
- equals(Object) - Method in class io.github.mfvanek.pg.model.IndexWithNulls
- equals(Object) - Method in class io.github.mfvanek.pg.model.IndexWithSize
- equals(Object) - Method in class io.github.mfvanek.pg.model.Table
- equals(Object) - Method in class io.github.mfvanek.pg.model.TableWithBloat
- equals(Object) - Method in class io.github.mfvanek.pg.model.TableWithMissingIndex
- equals(Object) - Method in class io.github.mfvanek.pg.model.UnusedIndex
- equals(Object) - Method in class io.github.mfvanek.pg.settings.PgParamImpl
- Exclusions - Class in io.github.mfvanek.pg.index.health.logger
-
A listing of exclusions for
IndexesHealthLogger. - Exclusions.Builder - Class in io.github.mfvanek.pg.index.health.logger
- executeQuery(PgConnection, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.utils.QueryExecutor
- executeQueryWithBloatThreshold(PgConnection, PgContext, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.utils.QueryExecutor
- executeQueryWithSchema(PgConnection, PgContext, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.utils.QueryExecutor
- extractData(ResultSet) - Method in interface io.github.mfvanek.pg.utils.ResultSetExtractor
F
- FOREIGN_KEYS - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- ForeignKey - Class in io.github.mfvanek.pg.model
- forIndex(PgConnection) - Method in interface io.github.mfvanek.pg.index.maintenance.MaintenanceFactory
- forIndex(PgConnection) - Method in class io.github.mfvanek.pg.index.maintenance.MaintenanceFactoryImpl
- forStatistics(PgConnection) - Method in interface io.github.mfvanek.pg.index.maintenance.MaintenanceFactory
- forStatistics(PgConnection) - Method in class io.github.mfvanek.pg.index.maintenance.MaintenanceFactoryImpl
- forUrl(String, String, String) - Method in interface io.github.mfvanek.pg.connection.PgConnectionFactory
- forUrl(String, String, String) - Method in class io.github.mfvanek.pg.connection.PgConnectionFactoryImpl
G
- GB - io.github.mfvanek.pg.model.MemoryUnit
- getBloatPercentage() - Method in interface io.github.mfvanek.pg.model.BloatAware
-
Gets bloat percentage (in the range from 0 to 100 inclusive).
- getBloatPercentage() - Method in class io.github.mfvanek.pg.model.IndexWithBloat
-
Gets bloat percentage (in the range from 0 to 100 inclusive).
- getBloatPercentage() - Method in class io.github.mfvanek.pg.model.TableWithBloat
-
Gets bloat percentage (in the range from 0 to 100 inclusive).
- getBloatPercentageThreshold() - Method in class io.github.mfvanek.pg.model.PgContext
- getBloatSizeInBytes() - Method in interface io.github.mfvanek.pg.model.BloatAware
-
Gets bloat amount in bytes.
- getBloatSizeInBytes() - Method in class io.github.mfvanek.pg.model.IndexWithBloat
-
Gets bloat amount in bytes.
- getBloatSizeInBytes() - Method in class io.github.mfvanek.pg.model.TableWithBloat
-
Gets bloat amount in bytes.
- getColumnsInConstraint() - Method in class io.github.mfvanek.pg.model.ForeignKey
- getConnectionsToAllHostsInCluster() - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnection
-
Gets connections to all hosts in target cluster (including a connection to a master host).
- getConnectionsToAllHostsInCluster() - Method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionImpl
-
Gets connections to all hosts in target cluster (including a connection to a master host).
- getConnectionToMaster() - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnection
-
Gets connection to a master host in target cluster.
- getConnectionToMaster() - Method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionImpl
-
Gets connection to a master host in target cluster.
- getConstraintName() - Method in class io.github.mfvanek.pg.model.ForeignKey
- getCpuCoresAmount() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
- getDataSource() - Method in interface io.github.mfvanek.pg.connection.PgConnection
-
Gets a standard
DataSourceobject to access the database. - getDataSource() - Method in class io.github.mfvanek.pg.connection.PgConnectionImpl
- getDefaultValue() - Method in enum io.github.mfvanek.pg.settings.ImportantParam
- getDuplicatedIndexes() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getDuplicatedIndexes() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
- getDuplicatedIndexes() - Method in class io.github.mfvanek.pg.model.DuplicatedIndexes
- getDuplicatedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getDuplicatedIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
- getDuplicatedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns duplicated (completely identical) indexes (candidates for deletion) on current host.
- getDuplicatedIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns duplicated (completely identical) indexes (candidates for deletion) on current host.
- getForeignKeysNotCoveredWithIndex() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getForeignKeysNotCoveredWithIndex() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
- getForeignKeysNotCoveredWithIndex(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getForeignKeysNotCoveredWithIndex(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
- getForeignKeysNotCoveredWithIndex(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns foreign keys without associated indexes (potential performance degradation) on current host.
- getForeignKeysNotCoveredWithIndex(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns foreign keys without associated indexes (potential performance degradation) on current host.
- getHost() - Method in interface io.github.mfvanek.pg.connection.HostAware
-
Gets information about host in the cluster.
- getHost() - Method in class io.github.mfvanek.pg.connection.PgConnectionImpl
- getHost() - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Gets information about host in the cluster.
- getHost() - Method in class io.github.mfvanek.pg.index.maintenance.StatisticsMaintenanceImpl
- getIndexesWithBloat() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
-
Returns bloated indexes in the public schema on master host.
- getIndexesWithBloat() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns indexes that are bloated in the public schema.
- getIndexesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
-
Returns bloated indexes in the specified schema on master host.
- getIndexesWithBloat(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
-
Returns bloated indexes in the specified schema on master host.
- getIndexesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns indexes that are bloated in the specified schema.
- getIndexesWithBloat(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns indexes that are bloated in the specified schema.
- getIndexesWithNullValues() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
-
Returns indexes in the public schema on master host that contain null values.
- getIndexesWithNullValues() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
- getIndexesWithNullValues(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
-
Returns indexes in the specified schema on master host that contain null values.
- getIndexesWithNullValues(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
-
Returns indexes in the specified schema on master host that contain null values.
- getIndexesWithNullValues(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns indexes that contain null values on current host.
- getIndexesWithNullValues(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns indexes that contain null values on current host.
- getIndexName() - Method in class io.github.mfvanek.pg.model.Index
-
Gets index name.
- getIndexName() - Method in interface io.github.mfvanek.pg.model.IndexNameAware
-
Gets index name.
- getIndexNames() - Method in class io.github.mfvanek.pg.model.DuplicatedIndexes
- getIndexScans() - Method in class io.github.mfvanek.pg.model.TableWithMissingIndex
- getIndexScans() - Method in class io.github.mfvanek.pg.model.UnusedIndex
- getIndexSizeInBytes() - Method in interface io.github.mfvanek.pg.model.IndexSizeAware
-
Gets index size in bytes.
- getIndexSizeInBytes() - Method in class io.github.mfvanek.pg.model.IndexWithSize
-
Gets index size in bytes.
- getIntersectedIndexes() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getIntersectedIndexes() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
- getIntersectedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getIntersectedIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
- getIntersectedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns intersected indexes (partially identical, candidates for deletion) on current host.
- getIntersectedIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns intersected indexes (partially identical, candidates for deletion) on current host.
- getInvalidIndexes() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getInvalidIndexes() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns invalid (broken) indexes to be deleted or re-indexed on current host in the public schema.
- getInvalidIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getInvalidIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
- getInvalidIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns invalid (broken) indexes to be deleted or re-indexed on current host with the specified schema.
- getInvalidIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns invalid (broken) indexes to be deleted or re-indexed on current host with the specified schema.
- getKeyName() - Method in interface io.github.mfvanek.pg.index.health.logger.LoggingKey
- getKeyName() - Method in enum io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- getMemoryAmountInBytes() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
- getName() - Method in interface io.github.mfvanek.pg.connection.PgHost
- getName() - Method in class io.github.mfvanek.pg.connection.PgHostImpl
- getName() - Method in enum io.github.mfvanek.pg.settings.ImportantParam
- getName() - Method in interface io.github.mfvanek.pg.settings.ParamNameAware
- getName() - Method in class io.github.mfvanek.pg.settings.PgParamImpl
- getNullableField() - Method in class io.github.mfvanek.pg.model.IndexWithNulls
- getParamCurrentValue(ParamNameAware) - Method in interface io.github.mfvanek.pg.settings.ConfigurationMaintenance
- getParamCurrentValue(ParamNameAware) - Method in class io.github.mfvanek.pg.settings.ConfigurationMaintenanceImpl
- getParamsCurrentValues() - Method in interface io.github.mfvanek.pg.settings.ConfigurationMaintenance
- getParamsCurrentValues() - Method in class io.github.mfvanek.pg.settings.ConfigurationMaintenanceImpl
- getParamsWithDefaultValues(ServerSpecification) - Method in interface io.github.mfvanek.pg.settings.ConfigurationMaintenance
- getParamsWithDefaultValues(ServerSpecification) - Method in class io.github.mfvanek.pg.settings.ConfigurationMaintenanceImpl
- getPgUrl() - Method in interface io.github.mfvanek.pg.connection.PgHost
- getPgUrl() - Method in class io.github.mfvanek.pg.connection.PgHostImpl
- getPotentiallyUnusedIndexes() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
- getPotentiallyUnusedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns potentially unused indexes (candidates for deletion) on current host.
- getPotentiallyUnusedIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns potentially unused indexes (candidates for deletion) on current host.
- getSchemaName() - Method in class io.github.mfvanek.pg.model.PgContext
- getSeqScans() - Method in class io.github.mfvanek.pg.model.TableWithMissingIndex
- getSubKeyName() - Method in interface io.github.mfvanek.pg.index.health.logger.LoggingKey
- getSubKeyName() - Method in enum io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- getTableBloatPercentageThreshold() - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions
- getTableBloatSizeThresholdInBytes() - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions
- getTableName() - Method in class io.github.mfvanek.pg.model.DuplicatedIndexes
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.ForeignKey
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.Index
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.Table
-
Gets table name.
- getTableName() - Method in interface io.github.mfvanek.pg.model.TableNameAware
-
Gets table name.
- getTableSizeInBytes() - Method in class io.github.mfvanek.pg.model.Table
-
Gets table size in bytes.
- getTableSizeInBytes() - Method in interface io.github.mfvanek.pg.model.TableSizeAware
-
Gets table size in bytes.
- getTablesWithBloat() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
-
Returns bloated tables in the public schema on master host.
- getTablesWithBloat() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns tables that are bloated in the public schema.
- getTablesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
-
Returns bloated tables in the specified schema on master host.
- getTablesWithBloat(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
-
Returns bloated tables in the specified schema on master host.
- getTablesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns tables that are bloated in the specified schema.
- getTablesWithBloat(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns tables that are bloated in the specified schema.
- getTablesWithMissingIndexes() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getTablesWithMissingIndexes() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
- getTablesWithMissingIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getTablesWithMissingIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
- getTablesWithMissingIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns tables with potentially missing indexes (potential performance degradation) on current host.
- getTablesWithMissingIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns tables with potentially missing indexes (potential performance degradation) on current host.
- getTablesWithoutPrimaryKey() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getTablesWithoutPrimaryKey() - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
- getTablesWithoutPrimaryKey(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getTablesWithoutPrimaryKey(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
- getTablesWithoutPrimaryKey(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexMaintenance
-
Returns tables without primary key on current host.
- getTablesWithoutPrimaryKey(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
-
Returns tables without primary key on current host.
- getTotalSize() - Method in class io.github.mfvanek.pg.model.DuplicatedIndexes
- getUnusedIndexes() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getUnusedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
- getUnusedIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
- getValue() - Method in interface io.github.mfvanek.pg.settings.PgParam
- getValue() - Method in class io.github.mfvanek.pg.settings.PgParamImpl
H
- hashCode() - Method in class io.github.mfvanek.pg.connection.PgConnectionImpl
- hashCode() - Method in class io.github.mfvanek.pg.connection.PgHostImpl
- hashCode() - Method in class io.github.mfvanek.pg.model.Index
- hashCode() - Method in class io.github.mfvanek.pg.model.IndexWithBloat
- hashCode() - Method in class io.github.mfvanek.pg.model.IndexWithNulls
- hashCode() - Method in class io.github.mfvanek.pg.model.IndexWithSize
- hashCode() - Method in class io.github.mfvanek.pg.model.Table
- hashCode() - Method in class io.github.mfvanek.pg.model.TableWithBloat
- hashCode() - Method in class io.github.mfvanek.pg.model.TableWithMissingIndex
- hashCode() - Method in class io.github.mfvanek.pg.model.UnusedIndex
- hashCode() - Method in class io.github.mfvanek.pg.settings.PgParamImpl
- hasSSD() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
- HighAvailabilityPgConnection - Interface in io.github.mfvanek.pg.connection
-
An abstraction of a connection to a high availability cluster (with set of master host and replicas).
- HighAvailabilityPgConnectionFactory - Interface in io.github.mfvanek.pg.connection
- HighAvailabilityPgConnectionFactoryImpl - Class in io.github.mfvanek.pg.connection
- HighAvailabilityPgConnectionFactoryImpl(PgConnectionFactory) - Constructor for class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactoryImpl
- HighAvailabilityPgConnectionImpl - Class in io.github.mfvanek.pg.connection
- HostAware - Interface in io.github.mfvanek.pg.connection
-
Allows to get information about database host.
I
- IDLE_IN_TRANSACTION_SESSION_TIMEOUT - io.github.mfvanek.pg.settings.ImportantParam
- ImportantParam - Enum in io.github.mfvanek.pg.settings
- Index - Class in io.github.mfvanek.pg.model
-
A base representation of database index.
- Index(String, String) - Constructor for class io.github.mfvanek.pg.model.Index
- INDEXES_BLOAT - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- INDEXES_WITH_NULLS - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- IndexesHealth - Interface in io.github.mfvanek.pg.index.health
-
An entry point for collecting and managing statistics about the health of tables and indexes on all hosts in the cluster.
- IndexesHealthImpl - Class in io.github.mfvanek.pg.index.health
-
Implementation of
IndexesHealthwhich collects information from all hosts in the cluster. - IndexesHealthImpl(HighAvailabilityPgConnection, MaintenanceFactory) - Constructor for class io.github.mfvanek.pg.index.health.IndexesHealthImpl
- IndexesHealthLogger - Interface in io.github.mfvanek.pg.index.health.logger
-
An abstraction of indexes health logger.
- IndexMaintenance - Interface in io.github.mfvanek.pg.index.maintenance
-
A set of diagnostics for collecting statistics about the health of tables and indexes on a specific host.
- IndexMaintenanceImpl - Class in io.github.mfvanek.pg.index.maintenance
-
Implementation of
IndexMaintenancewhich collects information from current host in the cluster. - IndexMaintenanceImpl(PgConnection) - Constructor for class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceImpl
- IndexNameAware - Interface in io.github.mfvanek.pg.model
-
Allows to get index name.
- indexNameNotBlank(String) - Static method in class io.github.mfvanek.pg.utils.Validators
- IndexSizeAware - Interface in io.github.mfvanek.pg.model
-
Allows to get index size in bytes.
- IndexWithBloat - Class in io.github.mfvanek.pg.model
-
Represents database index with information about bloat.
- IndexWithNulls - Class in io.github.mfvanek.pg.model
- IndexWithSize - Class in io.github.mfvanek.pg.model
- IndexWithSize(String, String, long) - Constructor for class io.github.mfvanek.pg.model.IndexWithSize
- innerToString() - Method in class io.github.mfvanek.pg.model.Index
- innerToString() - Method in class io.github.mfvanek.pg.model.IndexWithBloat
- innerToString() - Method in class io.github.mfvanek.pg.model.IndexWithSize
- innerToString() - Method in class io.github.mfvanek.pg.model.Table
- innerToString() - Method in class io.github.mfvanek.pg.model.TableWithBloat
- INTERSECTED_INDEXES - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- INVALID_INDEXES - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- io.github.mfvanek.pg.connection - package io.github.mfvanek.pg.connection
- io.github.mfvanek.pg.index.health - package io.github.mfvanek.pg.index.health
- io.github.mfvanek.pg.index.health.logger - package io.github.mfvanek.pg.index.health.logger
- io.github.mfvanek.pg.index.maintenance - package io.github.mfvanek.pg.index.maintenance
- io.github.mfvanek.pg.model - package io.github.mfvanek.pg.model
- io.github.mfvanek.pg.settings - package io.github.mfvanek.pg.settings
- io.github.mfvanek.pg.utils - package io.github.mfvanek.pg.utils
K
- KB - io.github.mfvanek.pg.model.MemoryUnit
L
- LOCK_TIMEOUT - io.github.mfvanek.pg.settings.ImportantParam
- LOG_MIN_DURATION_STATEMENT - io.github.mfvanek.pg.settings.ImportantParam
- logAll(Exclusions) - Method in interface io.github.mfvanek.pg.index.health.logger.IndexesHealthLogger
-
Logs indexes health with given exclusions in public schema.
- logAll(Exclusions, PgContext) - Method in class io.github.mfvanek.pg.index.health.logger.AbstractIndexesHealthLogger
-
Logs indexes health with given exclusions in given schema.
- logAll(Exclusions, PgContext) - Method in interface io.github.mfvanek.pg.index.health.logger.IndexesHealthLogger
-
Logs indexes health with given exclusions in given schema.
- LoggingKey - Interface in io.github.mfvanek.pg.index.health.logger
M
- MAINTENANCE_WORK_MEM - io.github.mfvanek.pg.settings.ImportantParam
- MaintenanceFactory - Interface in io.github.mfvanek.pg.index.maintenance
- MaintenanceFactoryImpl - Class in io.github.mfvanek.pg.index.maintenance
- MaintenanceFactoryImpl() - Constructor for class io.github.mfvanek.pg.index.maintenance.MaintenanceFactoryImpl
- MB - io.github.mfvanek.pg.model.MemoryUnit
- MemoryUnit - Enum in io.github.mfvanek.pg.model
-
Units of information.
N
- notBlank(String, String) - Static method in class io.github.mfvanek.pg.utils.Validators
O
- of(PgConnection) - Static method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionImpl
- of(PgConnection, Set<PgConnection>) - Static method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionImpl
- of(String) - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates
PgContextfor given schema with default bloat percentage threshold. - of(String, int) - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates
PgContextfor given schema with given bloat percentage threshold. - of(String, long) - Static method in class io.github.mfvanek.pg.model.Table
-
Constructs a
Tableobject. - of(String, long, long, int) - Static method in class io.github.mfvanek.pg.model.TableWithBloat
-
Constructs a
TableWithBloatobject. - of(String, long, long, long) - Static method in class io.github.mfvanek.pg.model.TableWithMissingIndex
- of(String, String) - Static method in class io.github.mfvanek.pg.model.DuplicatedIndexes
- of(String, String) - Static method in class io.github.mfvanek.pg.model.Index
-
Constructs an
Indexobject. - of(String, String) - Static method in class io.github.mfvanek.pg.settings.PgParamImpl
- of(String, String, long) - Static method in class io.github.mfvanek.pg.model.IndexWithSize
- of(String, String, long, long) - Static method in class io.github.mfvanek.pg.model.UnusedIndex
- of(String, String, long, long, int) - Static method in class io.github.mfvanek.pg.model.IndexWithBloat
-
Constructs a
IndexWithBloatobject. - of(String, String, long, String) - Static method in class io.github.mfvanek.pg.model.IndexWithNulls
- of(String, String, String) - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactory
- of(String, String, String) - Method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactoryImpl
- of(String, String, String, String) - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactory
- of(String, String, String, String) - Method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactoryImpl
- of(String, String, String, String, String) - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactory
- of(String, String, String, String, String) - Method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactoryImpl
- of(String, String, List<String>) - Static method in class io.github.mfvanek.pg.model.ForeignKey
- of(List<IndexWithSize>) - Static method in class io.github.mfvanek.pg.model.DuplicatedIndexes
- of(DataSource, PgHost) - Static method in class io.github.mfvanek.pg.connection.PgConnectionImpl
- ofMaster() - Static method in class io.github.mfvanek.pg.connection.PgHostImpl
- ofMaster(DataSource) - Static method in class io.github.mfvanek.pg.connection.PgConnectionImpl
- ofName(String) - Static method in class io.github.mfvanek.pg.connection.PgHostImpl
- ofPublic() - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates
PgContextfor public schema with default bloat percentage threshold. - ofUrl(String) - Static method in class io.github.mfvanek.pg.connection.PgHostImpl
P
- ParamNameAware - Interface in io.github.mfvanek.pg.settings
- paramValueNotNull(String, String) - Static method in class io.github.mfvanek.pg.utils.Validators
- PgConnection - Interface in io.github.mfvanek.pg.connection
-
A wrapper of standard
DataSourceinterface with awareness of real host. - PgConnectionFactory - Interface in io.github.mfvanek.pg.connection
- PgConnectionFactoryImpl - Class in io.github.mfvanek.pg.connection
- PgConnectionFactoryImpl() - Constructor for class io.github.mfvanek.pg.connection.PgConnectionFactoryImpl
- PgConnectionImpl - Class in io.github.mfvanek.pg.connection
- PgContext - Class in io.github.mfvanek.pg.model
-
Represents a context for running maintenance queries.
- PgHost - Interface in io.github.mfvanek.pg.connection
-
An abstraction of database host.
- PgHostImpl - Class in io.github.mfvanek.pg.connection
- PgParam - Interface in io.github.mfvanek.pg.settings
- PgParamImpl - Class in io.github.mfvanek.pg.settings
Q
- QueryExecutor - Class in io.github.mfvanek.pg.utils
R
- RANDOM_PAGE_COST - io.github.mfvanek.pg.settings.ImportantParam
- resetStatistics() - Method in interface io.github.mfvanek.pg.index.health.IndexesHealth
-
Reset all statistics counters on all hosts in the cluster to zero.
- resetStatistics() - Method in class io.github.mfvanek.pg.index.health.IndexesHealthImpl
-
Reset all statistics counters on all hosts in the cluster to zero.
- resetStatistics() - Method in interface io.github.mfvanek.pg.index.maintenance.StatisticsMaintenance
-
Resets all statistics counters for the current database on current host to zero.
- resetStatistics() - Method in class io.github.mfvanek.pg.index.maintenance.StatisticsMaintenanceImpl
- ResultSetExtractor<T> - Interface in io.github.mfvanek.pg.utils
S
- ServerSpecification - Class in io.github.mfvanek.pg.settings
- ServerSpecification.Builder - Class in io.github.mfvanek.pg.settings
- SHARED_BUFFERS - io.github.mfvanek.pg.settings.ImportantParam
- SimpleHealthLogger - Class in io.github.mfvanek.pg.index.health.logger
- SimpleHealthLogger(IndexesHealth) - Constructor for class io.github.mfvanek.pg.index.health.logger.SimpleHealthLogger
- SimpleLoggingKey - Enum in io.github.mfvanek.pg.index.health.logger
- sizeNotNegative(long, String) - Static method in class io.github.mfvanek.pg.utils.Validators
- STATEMENT_TIMEOUT - io.github.mfvanek.pg.settings.ImportantParam
- StatisticsMaintenance - Interface in io.github.mfvanek.pg.index.maintenance
-
An entry point for managing statistics on the specified host.
- StatisticsMaintenanceImpl - Class in io.github.mfvanek.pg.index.maintenance
- StatisticsMaintenanceImpl(PgConnection) - Constructor for class io.github.mfvanek.pg.index.maintenance.StatisticsMaintenanceImpl
T
- Table - Class in io.github.mfvanek.pg.model
-
A base representation of database table.
- Table(String, long) - Constructor for class io.github.mfvanek.pg.model.Table
- TableNameAware - Interface in io.github.mfvanek.pg.model
-
Allows to get table name.
- tableNameNotBlank(String) - Static method in class io.github.mfvanek.pg.utils.Validators
- TABLES_BLOAT - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- TABLES_WITH_MISSING_INDEXES - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- TABLES_WITHOUT_PK - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- TableSizeAware - Interface in io.github.mfvanek.pg.model
-
Allows to get table size in bytes.
- TableWithBloat - Class in io.github.mfvanek.pg.model
-
Represents database table with information about bloat.
- TableWithMissingIndex - Class in io.github.mfvanek.pg.model
-
Normally, indexes should be used primarily when accessing a table.
- TEMP_FILE_LIMIT - io.github.mfvanek.pg.settings.ImportantParam
- toString() - Method in class io.github.mfvanek.pg.connection.PgConnectionImpl
- toString() - Method in class io.github.mfvanek.pg.connection.PgHostImpl
- toString() - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- toString() - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions
- toString() - Method in class io.github.mfvanek.pg.model.DuplicatedIndexes
- toString() - Method in class io.github.mfvanek.pg.model.ForeignKey
- toString() - Method in class io.github.mfvanek.pg.model.Index
- toString() - Method in class io.github.mfvanek.pg.model.IndexWithBloat
- toString() - Method in class io.github.mfvanek.pg.model.IndexWithNulls
- toString() - Method in class io.github.mfvanek.pg.model.IndexWithSize
- toString() - Method in enum io.github.mfvanek.pg.model.MemoryUnit
- toString() - Method in class io.github.mfvanek.pg.model.PgContext
- toString() - Method in class io.github.mfvanek.pg.model.Table
- toString() - Method in class io.github.mfvanek.pg.model.TableWithBloat
- toString() - Method in class io.github.mfvanek.pg.model.TableWithMissingIndex
- toString() - Method in class io.github.mfvanek.pg.model.UnusedIndex
- toString() - Method in enum io.github.mfvanek.pg.settings.ImportantParam
- toString() - Method in class io.github.mfvanek.pg.settings.PgParamImpl
- toString() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
U
- UNUSED_INDEXES - io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
- UnusedIndex - Class in io.github.mfvanek.pg.model
V
- validateThatNotEmpty(List<String>) - Static method in class io.github.mfvanek.pg.utils.Validators
- validateThatTableIsTheSame(List<IndexWithSize>) - Static method in class io.github.mfvanek.pg.utils.Validators
- Validators - Class in io.github.mfvanek.pg.utils
- validPercent(int, String) - Static method in class io.github.mfvanek.pg.utils.Validators
- valueIsPositive(long, String) - Static method in class io.github.mfvanek.pg.utils.Validators
- valueOf(String) - Static method in enum io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.mfvanek.pg.model.MemoryUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.mfvanek.pg.settings.ImportantParam
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.mfvanek.pg.index.health.logger.SimpleLoggingKey
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.mfvanek.pg.model.MemoryUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.mfvanek.pg.settings.ImportantParam
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withCpuCores(int) - Method in class io.github.mfvanek.pg.settings.ServerSpecification.Builder
- withDuplicatedIndexesExclusions(String) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
-
Sets a list of duplicated indexes that should be excluded by
IndexesHealthLogger. - withIndexBloatPercentageThreshold(int) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withIndexBloatSizeThreshold(int, MemoryUnit) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withIndexBloatSizeThreshold(long) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withIndexesWithNullValuesExclusions(String) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withIndexSizeThreshold(int, MemoryUnit) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withIndexSizeThreshold(long) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withIntersectedIndexesExclusions(String) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
-
Sets a list of intersected indexes that should be excluded by
IndexesHealthLogger. - withMemoryAmount(int, MemoryUnit) - Method in class io.github.mfvanek.pg.settings.ServerSpecification.Builder
- withSSD() - Method in class io.github.mfvanek.pg.settings.ServerSpecification.Builder
- withTableBloatPercentageThreshold(int) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withTableBloatSizeThreshold(int, MemoryUnit) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withTableBloatSizeThreshold(long) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withTableSizeThreshold(int, MemoryUnit) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withTableSizeThreshold(long) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withTablesWithMissingIndexesExclusions(String) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withTablesWithoutPrimaryKeyExclusions(String) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
- withUnusedIndexesExclusions(String) - Method in class io.github.mfvanek.pg.index.health.logger.Exclusions.Builder
-
Sets a list of unused indexes that should be excluded by
IndexesHealthLogger. - WORK_MEM - io.github.mfvanek.pg.settings.ImportantParam
- writeToLog(LoggingKey, int) - Method in class io.github.mfvanek.pg.index.health.logger.AbstractIndexesHealthLogger
- writeToLog(LoggingKey, int) - Method in class io.github.mfvanek.pg.index.health.logger.SimpleHealthLogger
All Classes All Packages