which is better for agg
What is a global index and why is it better?
quote from here: https://dzone.com/articles/faster-indexing-and-query-global-vs-local-indexing
Global Indexes: The index is independently partitioned and placed away
from the data on the nodes. It can be challenging to keep up with
mutations, as indexing the data will require a network access but works
fantastically for queries. Imagine the same query above. The index now
sits on a node or two (maybe partitioned by continents as in the example
with global index, it will perform target search rather than sactter and gater mode.