Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Docs Required, Release Notes Required
Description
To simplify optimizer and to get a little bit more accurate estimation Ignite can generate some default statistics for each table (each column and so on) based on tables metadata. For example:
boolean non null field can produce a following statistics:
min: false
max: true
nulls: 0
distinct: 2
total: <table_size>
while
uuid nullable column can produce:
min: 00-00-00-00...
max: FF-FF-FF-...
nulls: <table_size> * 0.1
distinct: <table_size> * 0.5
total: <table size>
It can be generated on the fly by statistics subsystem (and cached for future usages).
Attachments
Issue Links
- is blocked by
-
IGNITE-14307 Calcite. Use statistics in cost model.
- Resolved
- is part of
-
IGNITE-12248 Apache Calcite based query execution engine
- Open