Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

This article covers the internal design of Durable Memory. Intended for Ignite developers

Contents

 

Table of Contents

Motivation

...

Let's split the memory into pages (synonyms: buffers, block, chunks). Let's consider the Page as a fundamental unit the whole memory and, thus, is split into. This makes the memory addressing becomes page-based.

Next, sometimes a query might require an SQL index for execution. The memory has to store not only data entries inside of the pages but build and maintain this indexindexes as well. If Ignite used a memory mapped files approach, it would be required to read all the data to process the first query. Instead of this, index data is also page based and is kept in pages and can stored both in RAM on disk if the latter is enabled.

...