Enabling native persistence

We turn on Ignite's native persistence to store data on disk. Ignite keeps a subset of the data in memory and a superset on disk. If a cache has N entries and it is configured to keep only X objects in memory (X < N), then X-N objects are stored on disk.

The following are the advantages of native persistence:

  • You can run distributed SQL queries over the full dataset, which spans both memory and disk.
  • You don't have to worry about the size of the data and indexes in RAM. Ignite allows you to keep only the frequently used dataset in memory; the rest of the data can be stored on disk.
  • When the entire cluster goes down and you restart it, the third-party persistence needs to preload the data and warm up the memory ...

Get Apache Ignite Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.