[
https://issues.apache.org/jira/browse/PHOENIX-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor resolved PHOENIX-1475.
-----------------------------------
Resolution: Won't Fix
This works as designed, however a tweak was made such that a call to UPDATE
STATISTICS will ensure that the client is using the latest stats (regardless of
if the stats were calculated then or previously by a major compaction).
> Statistics are not immediately used after data load
> ---------------------------------------------------
>
> Key: PHOENIX-1475
> URL: https://issues.apache.org/jira/browse/PHOENIX-1475
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.0.0, 4.2
> Reporter: Mujtaba Chohan
> Priority: Minor
>
> Although statistics are available in stats table but they are not used when
> query is executed immediately after data is loaded in a table. Also _update
> statistics_ cannot be executed since _phoenix.stats.minUpdateFrequency_ has
> not elapsed nor are they are used immediately after running _major
> compaction_.
> Stats are used after _phoenix.stats.updateFrequency_ has elapsed but there is
> no way to force immediate use for uses cases such as performance test
> utilities and real time systems.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)