Terms Aggregation - Maximum acceptable cardinality

I have an id field (keyword field) with one billion unique values. What will be performance impact of terms aggregation on this field with a size parameter of 10000.

The composite aggregation is a better approach (version >=6.1) :


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.