Skip to content

Clarification on Even and Odd Indices #381

@cancan101

Description

@cancan101

Looking at the docs:

For the asset and data object indices the Generic Data Index uses an alias (e.g. `<index_prefix>_asset`) that points to the
most current index (e.g. `<index_prefix>_asset-odd`). The alias name always stays the same, the index names alternate
between `-odd` and `-even` suffix. For more details also see 'Updating index structure for data indices' in the next section.

it is not clear why Pimcore creates an even and an odd version of each index. Having 2x the number of indexes means 2x the number of shards. We are bumping up against resource constraints due to the large number of shares (2/data class) and wanted to (a) confirm / understand why there are two version of each and (b) see if there are any solutions to reduce the shard count.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions