Invention Grant
US08521959B2 Method and device for recovering description information, and method and device for caching data in database 有权
用于恢复描述信息的方法和设备,以及用于在数据库中缓存数据的方法和设备

Method and device for recovering description information, and method and device for caching data in database
Abstract:
A method for recovering description information, or a method for caching data in a database, includes: judging whether a database is closed normally after the last operation; if the database is not closed normally, traversing each data block in a level-2 cache, where corresponding disk location information is saved in a header of each data block; obtaining a data block in a disk according to the disk location information; and when the obtained data block in the disk is the same as a corresponding data block in the level-2 cache, establishing description information according to location information of the data block in the disk and location information of the data block in the level-2 cache, where the description information is used to describe correspondence between the location information of data in the disk and the location information of data in the level-2 cache.
Information query
Patent Agency Ranking
0/0