A state management database is a storage device that is used to temporarily persist state data for software programs . As an alternative to caching state data in memory, software programs can offload state data to the database in order to reduce the amount of run-time memory they consume (Figures 1 and 2).