Versions Compared

Key

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

...

Ignite Durable Memory

Let's divide split the memory into pages (synonyms: buffers, block, chunks). Let's consider the Page as a fundamental unit of all memory. Memory addressing become page based.

Query may require SQL index data to execute. It is required to build this index. If we use memory mapped file, we will have to read all data to process first query.

the whole memory and, thus, the memory addressing becomes page-based.

Next, sometimes a query might require an SQL index for execution. The memory has to build and maintain this index. 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 as part of durable memory is stored to diskboth in RAM on disk if the latter is enabled.

Let's introduce integer number - index of block, idx (defined within current node)

...