×

Transient and persistent representation of a unified table metadata graph

  • US 9,965,504 B2
  • Filed: 11/25/2014
  • Issued: 05/08/2018
  • Est. Priority Date: 11/25/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • initiating loading of table metadata into memory of an in-memory database, the table metadata being persisted across a plurality of pages in a page chain, wherein a first page in the page chain comprises a table descriptor characterizing a metadata tree stored within the page chain;

    materializing a plurality of metadata objects into memory, each metadata object of the plurality of metadata objects comprising an object handle pinning an underlying persisted page in the page chain to hold the underlying persisted page in the memory;

    generating, for one to many object relationships, a vector of object handles that comprises a plurality of transient handles, each transient handle of the plurality of transient handles pointing to a different instance of a respective transient object;

    generating, for one to one object relationships and many to one object relationships, an associated object handle to point to a respective linked object; and

    performing, in response to receiving a database query, a read operation comprising comparing the plurality of metadata objects to the database query to identify one or more of the plurality of metadata objects that contain requested data in the database query and loading the identified one or more of the plurality of metadata objects that contain the requested data.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×