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
- AbstractHealthLogger - Class in io.github.mfvanek.pg.common.health.logger
- AbstractHealthLogger(ConnectionCredentials, HighAvailabilityPgConnectionFactory, DatabaseHealthFactory) - Constructor for class io.github.mfvanek.pg.common.health.logger.AbstractHealthLogger
- AbstractMaintenance - Class in io.github.mfvanek.pg.common.maintenance
-
Abstract helper class for implementing statistics collection on a specific host in the cluster.
- AbstractMaintenance(PgConnection) - Constructor for class io.github.mfvanek.pg.common.maintenance.AbstractMaintenance
- 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.
- BLOATED_INDEXES - io.github.mfvanek.pg.common.maintenance.Diagnostics
- BLOATED_TABLES - io.github.mfvanek.pg.common.maintenance.Diagnostics
- build() - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- build() - Method in class io.github.mfvanek.pg.settings.ServerSpecificationBuilder
- builder() - Static method in class io.github.mfvanek.pg.common.health.logger.Exclusions
-
Returns a
Builder
for constructingExclusions
object. - builder() - Static method in class io.github.mfvanek.pg.settings.ServerSpecification
C
- canBePrimary() - Method in interface io.github.mfvanek.pg.connection.PgHost
-
Determines whether this host can be a primary host.
- canBePrimary() - Method in class io.github.mfvanek.pg.connection.PgHostImpl
-
Determines whether this host can be a primary host.
- cannotBePrimary() - Method in interface io.github.mfvanek.pg.connection.PgHost
- compareTo(Index) - Method in class io.github.mfvanek.pg.model.index.Index
- compareTo(Table) - Method in class io.github.mfvanek.pg.model.table.Table
- 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
- ConnectionCredentials - Class in io.github.mfvanek.pg.connection
-
Parameters for connecting to the database.
- 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
- DatabaseHealth - Interface in io.github.mfvanek.pg.common.health
-
An entry point for collecting and managing statistics about the health of tables and indexes on all hosts in the cluster.
- DatabaseHealthFactory - Interface in io.github.mfvanek.pg.common.health
- DatabaseHealthFactoryImpl - Class in io.github.mfvanek.pg.common.health
- DatabaseHealthFactoryImpl(MaintenanceFactory) - Constructor for class io.github.mfvanek.pg.common.health.DatabaseHealthFactoryImpl
- DatabaseHealthImpl - Class in io.github.mfvanek.pg.common.health
-
Implementation of
DatabaseHealth
which collects information from all hosts in the cluster. - DatabaseHealthImpl(HighAvailabilityPgConnection, MaintenanceFactory) - Constructor for class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
- DatabaseManagement - Interface in io.github.mfvanek.pg.common.management
- DatabaseManagementImpl - Class in io.github.mfvanek.pg.common.management
-
Implementation of
DatabaseManagement
. - DatabaseManagementImpl(HighAvailabilityPgConnection, MaintenanceFactory) - Constructor for class io.github.mfvanek.pg.common.management.DatabaseManagementImpl
- dataSourceFor(String, String, String) - Method in interface io.github.mfvanek.pg.connection.PgConnectionFactory
- dataSourceFor(String, String, String) - Method in class io.github.mfvanek.pg.connection.PgConnectionFactoryImpl
- DEFAULT_BLOAT_PERCENTAGE_THRESHOLD - Static variable in class io.github.mfvanek.pg.model.PgContext
-
Default bloat percentage threshold.
- DEFAULT_SCHEMA_NAME - Static variable in class io.github.mfvanek.pg.model.PgContext
- Diagnostics - Enum in io.github.mfvanek.pg.common.maintenance
-
A list of all supported diagnostics with corresponding sql queries.
- DUPLICATED_INDEXES - io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- DUPLICATED_INDEXES - io.github.mfvanek.pg.common.maintenance.Diagnostics
- DuplicatedIndexes - Class in io.github.mfvanek.pg.model.index
-
A representation of duplicated indexes in a database.
- DuplicatedIndexesParser - Class in io.github.mfvanek.pg.utils
E
- EFFECTIVE_CACHE_SIZE - io.github.mfvanek.pg.settings.ImportantParam
- empty() - Static method in class io.github.mfvanek.pg.common.health.logger.Exclusions
-
Returns empty exclusions list.
- enrichWithSchema(String) - Method in class io.github.mfvanek.pg.model.PgContext
-
Complement the given object name with the specified schema name if it is necessary.
- equals(Object) - Method in class io.github.mfvanek.pg.connection.ConnectionCredentials
- 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.DuplicatedIndexes
- equals(Object) - Method in class io.github.mfvanek.pg.model.index.ForeignKey
- equals(Object) - Method in class io.github.mfvanek.pg.model.index.Index
- equals(Object) - Method in class io.github.mfvanek.pg.model.table.Table
- equals(Object) - Method in class io.github.mfvanek.pg.settings.PgParamImpl
- 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(Diagnostics, PgContext, ResultSetExtractor<T>) - Method in class io.github.mfvanek.pg.common.maintenance.AbstractMaintenance
- executeQuery(PgConnection, String, ResultSetExtractor<T>) - Static method in class io.github.mfvanek.pg.utils.QueryExecutor
- executeQueryWithBloatThreshold(Diagnostics, PgContext, ResultSetExtractor<T>) - Method in class io.github.mfvanek.pg.common.maintenance.AbstractMaintenance
- 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.common.health.logger.SimpleLoggingKey
- FOREIGN_KEYS_WITHOUT_INDEX - io.github.mfvanek.pg.common.maintenance.Diagnostics
- ForeignKey - Class in io.github.mfvanek.pg.model.index
-
A representation of foreign key in a database.
- forIndexes(PgConnection) - Method in interface io.github.mfvanek.pg.common.maintenance.MaintenanceFactory
- forIndexes(PgConnection) - Method in class io.github.mfvanek.pg.common.maintenance.MaintenanceFactoryImpl
- forIndexes(Collection<PgConnection>) - Method in interface io.github.mfvanek.pg.common.maintenance.MaintenanceFactory
- forStatistics(PgConnection) - Method in interface io.github.mfvanek.pg.common.maintenance.MaintenanceFactory
-
Creates statistics maintenance object.
- forStatistics(PgConnection) - Method in class io.github.mfvanek.pg.common.maintenance.MaintenanceFactoryImpl
-
Creates statistics maintenance object.
- forStatistics(Collection<PgConnection>) - Method in interface io.github.mfvanek.pg.common.maintenance.MaintenanceFactory
-
Creates statistics maintenance objects for given connections.
- forStatisticsByHost(Collection<PgConnection>) - Method in interface io.github.mfvanek.pg.common.maintenance.MaintenanceFactory
- forTables(PgConnection) - Method in interface io.github.mfvanek.pg.common.maintenance.MaintenanceFactory
- forTables(PgConnection) - Method in class io.github.mfvanek.pg.common.maintenance.MaintenanceFactoryImpl
- forTables(Collection<PgConnection>) - Method in interface io.github.mfvanek.pg.common.maintenance.MaintenanceFactory
- 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.index.IndexWithBloat
-
Gets bloat percentage (in the range from 0 to 100 inclusive).
- getBloatPercentage() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Gets bloat percentage (in the range from 0 to 100 inclusive).
- getBloatPercentageThreshold() - Method in class io.github.mfvanek.pg.model.PgContext
-
Returns the specified bloat percentage threshold.
- getBloatSizeInBytes() - Method in interface io.github.mfvanek.pg.model.BloatAware
-
Gets bloat amount in bytes.
- getBloatSizeInBytes() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
-
Gets bloat amount in bytes.
- getBloatSizeInBytes() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Gets bloat amount in bytes.
- getColumnsInConstraint() - Method in class io.github.mfvanek.pg.model.index.ForeignKey
-
Gets column names of foreign key constraint.
- getConnectionsToAllHostsInCluster() - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnection
-
Gets connections to all hosts in the cluster (including a connection to a primary host).
- getConnectionsToAllHostsInCluster() - Method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionImpl
-
Gets connections to all hosts in the cluster (including a connection to a primary host).
- getConnectionToPrimary() - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnection
-
Gets connection to a primary host in the cluster.
- getConnectionToPrimary() - Method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionImpl
-
Gets connection to a primary host in the cluster.
- getConnectionUrls() - Method in class io.github.mfvanek.pg.connection.ConnectionCredentials
-
Gets a set of connection strings for accessing all hosts in the database cluster.
- getConstraintName() - Method in class io.github.mfvanek.pg.model.index.ForeignKey
-
Gets the name of foreign key constraint.
- getCpuCoresAmount() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
- getDataSource() - Method in interface io.github.mfvanek.pg.connection.PgConnection
-
Gets a standard
DataSource
object to access the database. - getDataSource() - Method in class io.github.mfvanek.pg.connection.PgConnectionImpl
-
Gets a standard
DataSource
object to access the database. - getDefaultValue() - Method in enum io.github.mfvanek.pg.settings.ImportantParam
- getDuplicatedIndexes() - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns duplicated (completely identical) indexes in the public schema.
- getDuplicatedIndexes() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets raw list of duplicated indexes.
- getDuplicatedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
- getDuplicatedIndexes(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns duplicated (completely identical) indexes in the specified schema.
- getDuplicatedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns duplicated (completely identical) indexes in the specified schema.
- getDuplicatedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexesMaintenanceOnHost
-
Returns duplicated (completely identical) indexes on the current host in the specified schema.
- getDuplicatedIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceOnHostImpl
-
Returns duplicated (completely identical) indexes on the current host in the specified schema.
- getDuplicatedIndexes(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns duplicated (completely identical) indexes in the specified schemas.
- getForeignKeysNotCoveredWithIndex() - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns foreign keys without associated indexes in the public schema.
- getForeignKeysNotCoveredWithIndex(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
- getForeignKeysNotCoveredWithIndex(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns foreign keys without associated indexes in the specified schema.
- getForeignKeysNotCoveredWithIndex(PgContext) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns foreign keys without associated indexes in the specified schema.
- getForeignKeysNotCoveredWithIndex(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexesMaintenanceOnHost
-
Returns foreign keys without associated indexes on the current host in the specified schema.
- getForeignKeysNotCoveredWithIndex(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceOnHostImpl
-
Returns foreign keys without associated indexes on the current host in the specified schema.
- getForeignKeysNotCoveredWithIndex(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns foreign keys without associated indexes in the specified schemas.
- getHost() - Method in class io.github.mfvanek.pg.common.maintenance.AbstractMaintenance
-
Gets information about host in the cluster.
- 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
-
Gets information about host in the cluster.
- getIndexesWithBloat() - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns indexes that are bloated in the public schema.
- getIndexesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
-
Returns bloated indexes in the specified schema on primary host.
- getIndexesWithBloat(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns bloated indexes in the specified schema on primary host.
- getIndexesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns indexes that are bloated in the specified schema.
- getIndexesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexesMaintenanceOnHost
-
Returns indexes that are bloated on the current host in the specified schema.
- getIndexesWithBloat(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceOnHostImpl
-
Returns indexes that are bloated on the current host in the specified schema.
- getIndexesWithBloat(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns indexes that are bloated in the specified schemas.
- getIndexesWithNullValues() - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns indexes that contain null values in the public schema.
- getIndexesWithNullValues(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
-
Returns indexes in the specified schema on primary host that contain null values.
- getIndexesWithNullValues(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns indexes in the specified schema on primary host that contain null values.
- getIndexesWithNullValues(PgContext) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns indexes that contain null values in the specified schema.
- getIndexesWithNullValues(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexesMaintenanceOnHost
-
Returns indexes that contain null values on the current host in the specified schema.
- getIndexesWithNullValues(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceOnHostImpl
-
Returns indexes that contain null values on the current host in the specified schema.
- getIndexesWithNullValues(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns indexes that contain null values in the specified schemas.
- getIndexName() - Method in class io.github.mfvanek.pg.model.index.Index
-
Gets index name.
- getIndexName() - Method in interface io.github.mfvanek.pg.model.index.IndexNameAware
-
Gets index name.
- getIndexNames() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets names of all duplicated indexes.
- getIndexScans() - Method in class io.github.mfvanek.pg.model.index.UnusedIndex
- getIndexScans() - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
- getIndexSizeInBytes() - Method in interface io.github.mfvanek.pg.model.index.IndexSizeAware
-
Gets index size in bytes.
- getIndexSizeInBytes() - Method in class io.github.mfvanek.pg.model.index.IndexWithSize
-
Gets index size in bytes.
- getIntersectedIndexes() - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns intersected indexes (partially identical) in the public schema.
- getIntersectedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
- getIntersectedIndexes(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns intersected indexes (partially identical) in the specified schema.
- getIntersectedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns intersected indexes (partially identical) in the specified schema.
- getIntersectedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexesMaintenanceOnHost
-
Returns intersected indexes (partially identical) on the current host in the specified schema.
- getIntersectedIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceOnHostImpl
-
Returns intersected indexes (partially identical) on the current host in the specified schema.
- getIntersectedIndexes(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns intersected indexes (partially identical) in the specified schemas.
- getInvalidIndexes() - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns invalid (broken) indexes in the public schema.
- getInvalidIndexes(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
-
Returns invalid (broken) indexes on the primary host in the specified schema.
- getInvalidIndexes(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns invalid (broken) indexes on the primary host in the specified schema.
- getInvalidIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns invalid (broken) indexes in the specified schema.
- getInvalidIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexesMaintenanceOnHost
-
Returns invalid (broken) indexes on the current host in the specified schema.
- getInvalidIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceOnHostImpl
-
Returns invalid (broken) indexes on the current host in the specified schema.
- getInvalidIndexes(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns invalid (broken) indexes in the specified schemas.
- getKeyName() - Method in interface io.github.mfvanek.pg.common.health.logger.LoggingKey
- getKeyName() - Method in enum 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.
- getMemoryAmountInBytes() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
- getName() - Method in interface io.github.mfvanek.pg.connection.PgHost
-
Gets the name of this host.
- getName() - Method in class io.github.mfvanek.pg.connection.PgHostImpl
-
Gets the name of this host.
- 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.index.IndexWithNulls
- 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 interface io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHost
- getParamsCurrentValues() - Method in class io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHostImpl
- getParamsWithDefaultValues(ServerSpecification) - Method in interface io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHost
- getParamsWithDefaultValues(ServerSpecification) - Method in class io.github.mfvanek.pg.settings.maintenance.ConfigurationMaintenanceOnHostImpl
- getPassword() - Method in class io.github.mfvanek.pg.connection.ConnectionCredentials
-
Gets the user's password for connecting to the database.
- getPgUrl() - Method in interface io.github.mfvanek.pg.connection.PgHost
-
Gets a valid connection string to this host.
- getPgUrl() - Method in class io.github.mfvanek.pg.connection.PgHostImpl
-
Gets a valid connection string to this host.
- getQueryFromFile(String) - Static method in class io.github.mfvanek.pg.utils.SqlQueryReader
- getSchemaName() - Method in class io.github.mfvanek.pg.model.PgContext
-
Returns the specified schema name.
- getSeqScans() - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
- getSqlQueryFileName() - Method in enum io.github.mfvanek.pg.common.maintenance.Diagnostics
- getSubKeyName() - Method in interface io.github.mfvanek.pg.common.health.logger.LoggingKey
- getSubKeyName() - Method in enum 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
- getTableName() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.index.ForeignKey
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.index.Index
-
Gets table name.
- getTableName() - Method in class io.github.mfvanek.pg.model.table.Table
-
Gets table name.
- getTableName() - Method in interface io.github.mfvanek.pg.model.table.TableNameAware
-
Gets table name.
- getTableSizeInBytes() - Method in class io.github.mfvanek.pg.model.table.Table
-
Gets table size in bytes.
- getTableSizeInBytes() - Method in interface io.github.mfvanek.pg.model.table.TableSizeAware
-
Gets table size in bytes.
- getTablesWithBloat() - Method in interface io.github.mfvanek.pg.table.TablesHealthAware
-
Returns tables that are bloated on the current host in the public schema.
- getTablesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
-
Returns bloated tables in the specified schema on primary host.
- getTablesWithBloat(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns bloated tables in the specified schema on primary host.
- getTablesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.table.maintenance.TablesMaintenanceOnHost
-
Returns tables that are bloated on the current host in the specified schema.
- getTablesWithBloat(PgContext) - Method in class io.github.mfvanek.pg.table.maintenance.TablesMaintenanceOnHostImpl
-
Returns tables that are bloated on the current host in the specified schema.
- getTablesWithBloat(PgContext) - Method in interface io.github.mfvanek.pg.table.TablesHealthAware
-
Returns tables that are bloated on the current host in the specified schema.
- getTablesWithBloat(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.table.TablesHealthAware
-
Returns tables that are bloated on the current host in the specified schemas.
- getTablesWithMissingIndexes() - Method in interface io.github.mfvanek.pg.table.TablesHealthAware
-
Returns tables with potentially missing indexes in the public schema.
- getTablesWithMissingIndexes(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
- getTablesWithMissingIndexes(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns tables with potentially missing indexes in the specified schema.
- getTablesWithMissingIndexes(PgContext) - Method in interface io.github.mfvanek.pg.table.maintenance.TablesMaintenanceOnHost
-
Returns tables with potentially missing indexes on the current host in the specified schema.
- getTablesWithMissingIndexes(PgContext) - Method in class io.github.mfvanek.pg.table.maintenance.TablesMaintenanceOnHostImpl
-
Returns tables with potentially missing indexes on the current host in the specified schema.
- getTablesWithMissingIndexes(PgContext) - Method in interface io.github.mfvanek.pg.table.TablesHealthAware
-
Returns tables with potentially missing indexes in the specified schema.
- getTablesWithMissingIndexes(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.table.TablesHealthAware
-
Returns tables with potentially missing indexes in the specified schemas.
- getTablesWithoutPrimaryKey() - Method in interface io.github.mfvanek.pg.table.TablesHealthAware
-
Returns tables without primary key on the current host in the public schema.
- getTablesWithoutPrimaryKey(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
- getTablesWithoutPrimaryKey(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns tables without primary key on the current host in the specified schema.
- getTablesWithoutPrimaryKey(PgContext) - Method in interface io.github.mfvanek.pg.table.maintenance.TablesMaintenanceOnHost
-
Returns tables without primary key on the current host in the specified schema.
- getTablesWithoutPrimaryKey(PgContext) - Method in class io.github.mfvanek.pg.table.maintenance.TablesMaintenanceOnHostImpl
-
Returns tables without primary key on the current host in the specified schema.
- getTablesWithoutPrimaryKey(PgContext) - Method in interface io.github.mfvanek.pg.table.TablesHealthAware
-
Returns tables without primary key on the current host in the specified schema.
- getTablesWithoutPrimaryKey(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.table.TablesHealthAware
-
Returns tables without primary key on the current host in the specified schemas.
- getTotalSize() - Method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
-
Gets total size in bytes of all duplicated indexes.
- getUnusedIndexes() - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns unused indexes in the public schema.
- getUnusedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealth
- getUnusedIndexes(PgContext) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthImpl
-
Returns unused indexes in the specified schema.
- getUnusedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns unused indexes in the specified schema.
- getUnusedIndexes(PgContext) - Method in interface io.github.mfvanek.pg.index.maintenance.IndexesMaintenanceOnHost
-
Returns unused indexes on the current host in the specified schema.
- getUnusedIndexes(PgContext) - Method in class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceOnHostImpl
-
Returns unused indexes on the current host in the specified schema.
- getUnusedIndexes(Collection<PgContext>) - Method in interface io.github.mfvanek.pg.index.IndexesHealthAware
-
Returns unused indexes in the specified schemas.
- getUserName() - Method in class io.github.mfvanek.pg.connection.ConnectionCredentials
-
Gets the name of the user to connect to the database.
- 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.ConnectionCredentials
- 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.DuplicatedIndexes
- hashCode() - Method in class io.github.mfvanek.pg.model.index.ForeignKey
- hashCode() - Method in class io.github.mfvanek.pg.model.index.Index
- hashCode() - Method in class io.github.mfvanek.pg.model.table.Table
- hashCode() - Method in class io.github.mfvanek.pg.settings.PgParamImpl
- hasSSD() - Method in class io.github.mfvanek.pg.settings.ServerSpecification
- HealthLogger - Interface in io.github.mfvanek.pg.common.health.logger
-
An abstraction of indexes and tables health logger.
- HighAvailabilityPgConnection - Interface in io.github.mfvanek.pg.connection
-
An abstraction of a connection to a high availability cluster (with set of primary host and replicas).
- HighAvailabilityPgConnectionFactory - Interface in io.github.mfvanek.pg.connection
- HighAvailabilityPgConnectionFactoryImpl - Class in io.github.mfvanek.pg.connection
- HighAvailabilityPgConnectionFactoryImpl(PgConnectionFactory, PrimaryHostDeterminer) - 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.index
-
A base representation of database index.
- Index(String, String) - Constructor for class io.github.mfvanek.pg.model.index.Index
- INDEXES_BLOAT - io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- INDEXES_WITH_NULL_VALUES - io.github.mfvanek.pg.common.maintenance.Diagnostics
- INDEXES_WITH_NULLS - io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- IndexesHealthAware - Interface in io.github.mfvanek.pg.index
-
A set of diagnostics for collecting statistics about the health of indexes.
- IndexesMaintenanceOnHost - Interface in io.github.mfvanek.pg.index.maintenance
-
A set of diagnostics for collecting statistics about the health of indexes on a specific host.
- IndexMaintenanceOnHostImpl - Class in io.github.mfvanek.pg.index.maintenance
-
Implementation of
IndexMaintenance
which collects information from the current host in the cluster. - IndexMaintenanceOnHostImpl(PgConnection) - Constructor for class io.github.mfvanek.pg.index.maintenance.IndexMaintenanceOnHostImpl
- IndexNameAware - Interface in io.github.mfvanek.pg.model.index
-
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.index
-
Allows to get index size in bytes.
- IndexWithBloat - Class in io.github.mfvanek.pg.model.index
-
Represents database index with information about bloat.
- IndexWithNulls - Class in io.github.mfvanek.pg.model.index
- IndexWithSize - Class in io.github.mfvanek.pg.model.index
- IndexWithSize(String, String, long) - Constructor for class io.github.mfvanek.pg.model.index.IndexWithSize
- innerToString() - Method in class io.github.mfvanek.pg.model.index.Index
- innerToString() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
- innerToString() - Method in class io.github.mfvanek.pg.model.index.IndexWithSize
- innerToString() - Method in class io.github.mfvanek.pg.model.table.Table
- innerToString() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
- INTERSECTED_INDEXES - io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- INTERSECTED_INDEXES - io.github.mfvanek.pg.common.maintenance.Diagnostics
- INVALID_INDEXES - io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- INVALID_INDEXES - io.github.mfvanek.pg.common.maintenance.Diagnostics
- io.github.mfvanek.pg.common.health - package io.github.mfvanek.pg.common.health
- 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.connection - package io.github.mfvanek.pg.connection
- io.github.mfvanek.pg.index - package io.github.mfvanek.pg.index
- 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.model.index - package io.github.mfvanek.pg.model.index
- io.github.mfvanek.pg.model.table - package io.github.mfvanek.pg.model.table
- 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.table - package io.github.mfvanek.pg.table
- io.github.mfvanek.pg.table.maintenance - package io.github.mfvanek.pg.table.maintenance
- io.github.mfvanek.pg.utils - package io.github.mfvanek.pg.utils
- isDefaultSchema() - Method in class io.github.mfvanek.pg.model.PgContext
-
Determines whether the specified schema is public or not.
- isPrimary(PgConnection) - Method in interface io.github.mfvanek.pg.connection.PrimaryHostDeterminer
-
Determines whether given connection is a connection to a primary host.
- isPrimary(PgConnection) - Method in class io.github.mfvanek.pg.connection.PrimaryHostDeterminerImpl
-
Determines whether given connection is a connection to a primary host.
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.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
M
- MAINTENANCE_WORK_MEM - io.github.mfvanek.pg.settings.ImportantParam
- MaintenanceFactory - Interface in io.github.mfvanek.pg.common.maintenance
-
Factory for creating maintenance objects with a given
PgConnection
. - MaintenanceFactoryImpl - Class in io.github.mfvanek.pg.common.maintenance
- MaintenanceFactoryImpl() - Constructor for class io.github.mfvanek.pg.common.maintenance.MaintenanceFactoryImpl
- MB - io.github.mfvanek.pg.model.MemoryUnit
- MemoryUnit - Enum in io.github.mfvanek.pg.model
-
Units of information.
N
- NamedParametersParser - Class in io.github.mfvanek.pg.utils
- notBlank(String, String) - Static method in class io.github.mfvanek.pg.utils.Validators
O
- of(ConnectionCredentials) - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactory
-
Creates instance of
HighAvailabilityPgConnection
with given credentials. - of(ConnectionCredentials) - Method in class io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactoryImpl
-
Creates instance of
HighAvailabilityPgConnection
with given credentials. - of(HighAvailabilityPgConnection) - Method in interface io.github.mfvanek.pg.common.health.DatabaseHealthFactory
- of(HighAvailabilityPgConnection) - Method in class io.github.mfvanek.pg.common.health.DatabaseHealthFactoryImpl
- 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(IndexWithSize, IndexWithSize, IndexWithSize...) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
- of(String) - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates
PgContext
for given schema with default bloat percentage threshold. - of(String, int) - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates
PgContext
for given schema with given bloat percentage threshold. - of(String, long) - Static method in class io.github.mfvanek.pg.model.table.Table
-
Constructs a
Table
object. - of(String, long, long, int) - Static method in class io.github.mfvanek.pg.model.table.TableWithBloat
-
Constructs a
TableWithBloat
object. - of(String, long, long, long) - Static method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
- of(String, String) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
- of(String, String) - Static method in class io.github.mfvanek.pg.model.index.Index
-
Constructs an
Index
object. - 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.index.IndexWithSize
- of(String, String, long, long) - Static method in class io.github.mfvanek.pg.model.index.UnusedIndex
- of(String, String, long, long, int) - Static method in class io.github.mfvanek.pg.model.index.IndexWithBloat
-
Constructs a
IndexWithBloat
object. - of(String, String, long, String) - Static method in class io.github.mfvanek.pg.model.index.IndexWithNulls
- of(String, String, List<String>) - Static method in class io.github.mfvanek.pg.model.index.ForeignKey
- of(Collection<String>, String, String) - Static method in class io.github.mfvanek.pg.connection.ConnectionCredentials
- of(List<IndexWithSize>) - Static method in class io.github.mfvanek.pg.model.index.DuplicatedIndexes
- of(DataSource, PgHost) - Static method in class io.github.mfvanek.pg.connection.PgConnectionImpl
- ofColumn(String, String, String) - Static method in class io.github.mfvanek.pg.model.index.ForeignKey
- ofName(String) - Static method in class io.github.mfvanek.pg.connection.PgHostImpl
- ofPrimary() - Static method in class io.github.mfvanek.pg.connection.PgHostImpl
- ofPrimary(DataSource) - Static method in class io.github.mfvanek.pg.connection.PgConnectionImpl
- ofPublic() - Static method in class io.github.mfvanek.pg.model.PgContext
-
Creates
PgContext
for public schema with default bloat percentage threshold. - ofUrl(String) - Static method in class io.github.mfvanek.pg.connection.PgHostImpl
- ofUrl(String, String, String) - Static method in class io.github.mfvanek.pg.connection.ConnectionCredentials
- ofUrl(String, String, String) - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactory
- ofUrls(Collection<String>, String, String) - Method in interface io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionFactory
P
- ParamNameAware - Interface in io.github.mfvanek.pg.settings
- paramValueNotNull(String, String) - Static method in class io.github.mfvanek.pg.utils.Validators
- parse(String) - Static method in class io.github.mfvanek.pg.utils.NamedParametersParser
- parseAsIndexNameAndSize(String) - Static method in class io.github.mfvanek.pg.utils.DuplicatedIndexesParser
- pgConnection - Variable in class io.github.mfvanek.pg.common.maintenance.AbstractMaintenance
-
A connection to a specific host in the cluster.
- PgConnection - Interface in io.github.mfvanek.pg.connection
-
A wrapper of standard
DataSource
interface 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
- PrimaryHostDeterminer - Interface in io.github.mfvanek.pg.connection
- PrimaryHostDeterminerImpl - Class in io.github.mfvanek.pg.connection
- PrimaryHostDeterminerImpl() - Constructor for class io.github.mfvanek.pg.connection.PrimaryHostDeterminerImpl
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.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.utils
S
- ServerSpecification - Class in io.github.mfvanek.pg.settings
- ServerSpecificationBuilder - Class in io.github.mfvanek.pg.settings
- SHARED_BUFFERS - io.github.mfvanek.pg.settings.ImportantParam
- SimpleHealthLogger - Class in io.github.mfvanek.pg.common.health.logger
- SimpleHealthLogger(ConnectionCredentials, HighAvailabilityPgConnectionFactory, DatabaseHealthFactory) - Constructor for class io.github.mfvanek.pg.common.health.logger.SimpleHealthLogger
- SimpleLoggingKey - Enum in io.github.mfvanek.pg.common.health.logger
- sizeNotNegative(long, String) - Static method in class io.github.mfvanek.pg.utils.Validators
- SqlQueryReader - Class in io.github.mfvanek.pg.utils
- STATEMENT_TIMEOUT - io.github.mfvanek.pg.settings.ImportantParam
- 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
T
- Table - Class in io.github.mfvanek.pg.model.table
-
A base representation of database table.
- Table(String, long) - Constructor for class io.github.mfvanek.pg.model.table.Table
- TableNameAware - Interface in io.github.mfvanek.pg.model.table
-
Allows to get table name.
- tableNameNotBlank(String) - Static method in class io.github.mfvanek.pg.utils.Validators
- TABLES_BLOAT - io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- TABLES_WITH_MISSING_INDEXES - io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- TABLES_WITH_MISSING_INDEXES - io.github.mfvanek.pg.common.maintenance.Diagnostics
- TABLES_WITHOUT_PK - io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- TABLES_WITHOUT_PRIMARY_KEY - io.github.mfvanek.pg.common.maintenance.Diagnostics
- TablesHealthAware - Interface in io.github.mfvanek.pg.table
-
A set of diagnostics for collecting statistics about the health of tables.
- TableSizeAware - Interface in io.github.mfvanek.pg.model.table
-
Allows to get table size in bytes.
- TablesMaintenanceOnHost - Interface in io.github.mfvanek.pg.table.maintenance
-
A set of diagnostics for collecting statistics about the health of tables on a specific host.
- TablesMaintenanceOnHostImpl - Class in io.github.mfvanek.pg.table.maintenance
-
Implementation of
TableMaintenanceOnHost
which collects information from the current host in the cluster. - TablesMaintenanceOnHostImpl(PgConnection) - Constructor for class io.github.mfvanek.pg.table.maintenance.TablesMaintenanceOnHostImpl
- TableWithBloat - Class in io.github.mfvanek.pg.model.table
-
Represents database table with information about bloat.
- TableWithMissingIndex - Class in io.github.mfvanek.pg.model.table
-
Representation of a table in a database with additional information on reads amount via index or sequential scans.
- TEMP_FILE_LIMIT - io.github.mfvanek.pg.settings.ImportantParam
- toString() - Method in class io.github.mfvanek.pg.common.health.logger.Exclusions
- toString() - Method in class io.github.mfvanek.pg.common.health.logger.ExclusionsBuilder
- toString() - Method in class io.github.mfvanek.pg.connection.ConnectionCredentials
- 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.model.index.DuplicatedIndexes
- toString() - Method in class io.github.mfvanek.pg.model.index.ForeignKey
- toString() - Method in class io.github.mfvanek.pg.model.index.Index
- toString() - Method in class io.github.mfvanek.pg.model.index.IndexWithBloat
- toString() - Method in class io.github.mfvanek.pg.model.index.IndexWithNulls
- toString() - Method in class io.github.mfvanek.pg.model.index.IndexWithSize
- toString() - Method in class io.github.mfvanek.pg.model.index.UnusedIndex
- 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.Table
- toString() - Method in class io.github.mfvanek.pg.model.table.TableWithBloat
- toString() - Method in class io.github.mfvanek.pg.model.table.TableWithMissingIndex
- 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
- toString() - Method in class io.github.mfvanek.pg.settings.ServerSpecificationBuilder
U
- UNUSED_INDEXES - io.github.mfvanek.pg.common.health.logger.SimpleLoggingKey
- UNUSED_INDEXES - io.github.mfvanek.pg.common.maintenance.Diagnostics
- UnusedIndex - Class in io.github.mfvanek.pg.model.index
V
- validateSqlFileName(String) - Static method in class io.github.mfvanek.pg.utils.Validators
- 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.common.health.logger.SimpleLoggingKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.mfvanek.pg.common.maintenance.Diagnostics
-
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.common.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.common.maintenance.Diagnostics
-
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.ServerSpecificationBuilder
- 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
. - withMemoryAmount(int, MemoryUnit) - Method in class io.github.mfvanek.pg.settings.ServerSpecificationBuilder
- withSSD() - Method in class io.github.mfvanek.pg.settings.ServerSpecificationBuilder
- 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
. - WORK_MEM - io.github.mfvanek.pg.settings.ImportantParam
- 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.SimpleHealthLogger
All Classes All Packages