US Patent:
20180074917, Mar 15, 2018
Inventors:
- Redwood Shores CA, US
Yu Kin Ho - Fremont CA, US
Norman Lee - Santa Clara CA, US
Wilson Wai Shun Chan - San Mateo CA, US
International Classification:
G06F 11/14
G06F 12/0897
Abstract:
Techniques related to cache recovery for failed database instances are disclosed. A first database instance and a second database instance share a primary persistent storage and a secondary persistent storage. Each database instance stores, in volatile memory, a respective primary cache of a respective set of data stored on the primary persistent storage. Each database instance also stores, in volatile memory, a respective set of header data. Further, each database instance moves the respective set of data from the respective primary cache to a respective secondary cache on the secondary persistent storage. Still further, each database instance stores, on the secondary persistent storage, a respective set of persistent metadata. When the first database instance becomes inoperative, the second database instance retrieves, from the secondary persistent storage, persistent metadata corresponding to data stored in a secondary cache of the first database instance. Header data is generated based on the persistent metadata.