Database Cache and Persistency

The space can load data from external data sources , store data into external data sources, and persist its data into a relational database or an indexed file.

Persistency provides recoverability and unlimited capacity for a single space configuration. In general, persistency works like this: the persistent space uses files on disk or database to extend the physical memory boundaries of the process running the space. When searching for desire entries, the space uses both its process memory (cache) and its persistent media files. When the space is restarted, data from its persistent media files can be loaded into the space cache to speed up incoming query processing. The space can also be used as a Hibernate or JDO cache implementation via a Hibernate or JDO cache plug-in provided as part of GigaSpaces distribution.

 

GigaSpaces provide the following options when interacting with RDBMS:

 

 

 

When you need to load data into the space at the beginning of day and later save it back to the database at the end of the day you may use the following options 

 

See below Database Cache and Persistency sections: