| Modifier and Type | Method and Description |
|---|---|
static StatisticsObjectConfiguration[] |
IgniteStatisticsHelper.buildDefaultConfigurations(StatisticsTarget... targets)
Build object configurations array with all default parameters from specified targets.
|
StatisticsObjectConfiguration |
IgniteStatisticsConfigurationManager.config(StatisticsKey key)
Read statistics object configuration by key.
|
StatisticsObjectConfiguration |
LocalStatisticsGatheringContext.configuration() |
| Modifier and Type | Method and Description |
|---|---|
Collection<StatisticsObjectConfiguration> |
IgniteStatisticsConfigurationManager.getAllConfig()
Get statistics configurations for all objects.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectStatisticsImpl |
IgniteStatisticsRepository.aggregatedLocalStatistics(Collection<ObjectPartitionStatisticsImpl> stats,
StatisticsObjectConfiguration cfg,
AffinityTopologyVersion topVer)
Scan local partitioned statistic and aggregate local statistic for specified statistic object.
|
static ObjectStatisticsImpl |
IgniteStatisticsHelper.aggregateLocalStatistics(GridQueryTypeDescriptor tbl,
StatisticsObjectConfiguration cfg,
Collection<? extends ObjectStatisticsImpl> stats,
IgniteLogger log)
Aggregate partition level statistics to local level one or local statistics to global one.
|
ObjectStatisticsImpl |
IgniteStatisticsHelper.aggregateLocalStatistics(StatisticsObjectConfiguration cfg,
Collection<? extends ObjectStatisticsImpl> stats)
Aggregate specified partition level statistics to local level statistics.
|
static long |
IgniteStatisticsHelper.calculateRowCount(StatisticsObjectConfiguration cfg,
long actualRowCount)
Calculate effective row count.
|
void |
IgniteStatisticsManagerImpl.collectStatistics(StatisticsObjectConfiguration... targets)
Gather object statistics.
|
void |
IgniteStatisticsManager.collectStatistics(StatisticsObjectConfiguration... targets)
Gather object statistics.
|
static int |
StatisticsUtils.compareVersions(StatisticsObjectConfiguration cfg,
Map<String,Long> versions)
Test if secified statistics configuration is fit to all required versions.
|
List<StatisticsAddressedRequest> |
IgniteStatisticsHelper.generateGatheringRequests(StatisticsTarget target,
StatisticsObjectConfiguration cfg)
Generate local statistics requests.
|
void |
IgniteGlobalStatisticsManager.onConfigChanged(StatisticsObjectConfiguration cfg)
Process statistics configuration changes:
1) Remove all outbound activity by specified key, inbound may be suspended due to lack of
requested configuration.
2) Remove all inbound activity by changed key if reqiest col cfg versions lower than configuration col cfg versions.
3.1) If there are no live column's config - remove cached global statistics.
3.2) If there are some live columns config and global statistics cache contains statistics for the given key -
start to collect it again.
|
void |
IgniteStatisticsConfigurationManager.updateStatistics(StatisticsObjectConfiguration... targets)
Update local statistic for specified database objects on the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteStatisticsConfigurationManager.subscribe(Consumer<StatisticsObjectConfiguration> subscriber)
Subscribe to statistics configuration changed.
|
void |
IgniteStatisticsManagerImpl.subscribeToStatisticsConfig(Consumer<StatisticsObjectConfiguration> subscriber)
Subscribe to all statistics configuration changed.
|
| Constructor and Description |
|---|
LocalStatisticsGatheringContext(boolean forceRecollect,
GridQueryTypeDescriptor tbl,
GridCacheContextInfo<?,?> cctxInfo,
StatisticsObjectConfiguration cfg,
Set<Integer> remainingParts,
AffinityTopologyVersion topVer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
StatisticsObjectConfiguration |
StatisticsObjectConfiguration.dropColumns(Set<String> dropColNames)
Creates new configuration object for drop specified columns from current configuration.
|
static StatisticsObjectConfiguration |
StatisticsObjectConfiguration.merge(@NotNull StatisticsObjectConfiguration oldCfg,
@NotNull StatisticsObjectConfiguration newCfg)
Merge configuration changes with existing configuration.
|
StatisticsObjectConfiguration |
StatisticsObjectConfiguration.refresh(Set<String> refreshCols)
Creates new configuration object to refresh statistic with current configuration.
|
| Modifier and Type | Method and Description |
|---|---|
int |
StatisticsObjectConfiguration.compareTo(@NotNull StatisticsObjectConfiguration o)
Compare only configuration from the same branch.
|
static StatisticsObjectConfiguration.Diff |
StatisticsObjectConfiguration.diff(StatisticsObjectConfiguration oldCfg,
StatisticsObjectConfiguration newCfg)
Calculate diff between two configuration.
|
static StatisticsObjectConfiguration |
StatisticsObjectConfiguration.merge(@NotNull StatisticsObjectConfiguration oldCfg,
@NotNull StatisticsObjectConfiguration newCfg)
Merge configuration changes with existing configuration.
|
static StatisticsObjectConfiguration |
StatisticsObjectConfiguration.merge(@NotNull StatisticsObjectConfiguration oldCfg,
@NotNull StatisticsObjectConfiguration newCfg)
Merge configuration changes with existing configuration.
|
| Constructor and Description |
|---|
StatisticsColumnConfigurationView(StatisticsObjectConfiguration objCfg,
StatisticsColumnConfiguration colCfg)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<StatisticsObjectConfiguration> |
SqlAnalyzeCommand.configs
Targets to analyze.
|
| Modifier and Type | Method and Description |
|---|---|
StatisticsObjectConfiguration |
SqlAnalyzeCommand.buildConfig(StatisticsTarget target,
Map<String,String> params)
Build statistics object configuration from command arguments.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<StatisticsObjectConfiguration> |
SqlAnalyzeCommand.configurations() |
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023