Optimize datasets
Axiom stores event data in a tuned format. As a result:- The number of distinct values (cardinality) in your data has little impact on performance.
- The number of fields in a dataset (dimensionality) does impact performance.
- The volume of data collected impacts performance.
Optimize queries
Axiom’s novel architecture results in remarkable performance. To optimize further, consider the following practices.Optimize field-specific filters
Field-specific filters narrow your query results to events where a field has a given value. For example, the APL querywhere ["my-field"] == "axiom"
filters for events where the my-field
field takes the value axiom
.
Include field-specific filters near the beginning of your query for modest performance improvements.
Optimize search
operator and non-field-specific filters
Non-field-specific filters narrow your query results by searching across multiple datasets and fields for a given value. Examples of non-field-specific filters are the search
operator and equivalent expressions such as where * contains
or where * has
.
Using non-field-specific filters degrades performance significantly. For more information, see Use the search
operator efficiently.