Patent ID: 8738850

Claim:
A system for managing data on a mobile device, the system comprising: a database management component on the mobile device configured to manage data in pages; an access component configured to provide access to the data stored in the pages; and a pager in communication with the database management component and the access component configured to, when a page is requested to be read, determine if the page requested to be read is inside the database, if the page requested to be read is inside the database, then the pager is configured to consult a virtual page map to locate a physical address for the page including data which is most recent, then, the pager is further configured to read a physical page ID location from database and load the page, wherein when changes occur in the page, a new page is internally allocated by the pager indicating where updated data is to be stored, and the new data is then stored in the database as a new physical location for the logical page, wherein the virtual page map is configured to modify the physical page ID of the logical page according to the newly allocated page ID; wherein when an update occurs more than twice to a logical page, an intermediate page is marked as garbage indicating that the data for the page is outdated, and the physical location of the page is marked to designate that the page is available for the next internal allocation of pages for reuse.