Striping index data

Index data is transferred from the data buffer and written to active or static stripes. Whether data is written to an active or a static index stripe is decided during the indexing session. The current active stripe stores all the data collected during the indexing session if it can accommodate it; otherwise, the active index stripe is emptied into a new static stripe, and all data collected during the indexing session is stored in the new static index stripe.

Active index stripes

Each document store’s collection of index stripes contain exactly zero or one active index stripe. An active index stripe is a collection of RAM-oriented data structures—all of its data is stored in RAM while it keeps a copy on disk for persistence. An active index stripe is always writable, thus may contain data collected over numerous indexing sessions.

When an active index stripe is emptied into a static index stripe, the data files from the active index stripe are deleted and it is discarded. A new active stripe is created the next time an indexing session collects sufficiently small amount of data to fit into an active index stripe.

Static index stripes

Each document store’s collection of index stripes contain zero or more static index stripes. A static index stripe is a collection of read-only, disk-oriented data structures.