Replicated database startup for common database storage
First Claim
Patent Images
1. A system, comprising:
- a plurality of compute nodes that together implement a distributed database, wherein one the plurality of compute nodes is a master node that performs read and write requests to data maintained for the distributed database, wherein a different one of the plurality of compute nodes is a read-only node that performs reads of the data maintained for the distributed database;
a common data store maintaining the data for the distributed database;
the read-only node, configured to;
upon startup of the read-only node;
request from the master node a view of the distributed database to initialize the read-only node for servicing queries directed to the distributed database;
in response to receipt of an indication of the view of the distributed database at the read-only node;
read from the common data store one or more portions of the data according to the indicated view of the distributed database;
based, at least in part, on the obtained data portions from the common data store, initialize one or more in-memory data structures at the read-only node for servicing queries directed toward the distributed database; and
in response to the initialization of the one or more in-memory data structures at the read-only node, make the read-only node available for servicing queries.
1 Assignment
0 Petitions
Accused Products
Abstract
Read-only nodes of a distributed database system may perform replicated database startup for common database storage. A read-only node may request a view of a database from a master node to initialize the read-only node for servicing queries. An indication of the view may be received and portions of data maintained for the distributed database may be read from a common data store maintaining the data for the database according to the indicated view of the database. In-memory data structures at the read-only node for servicing queries may be initialized based on the portions of data read from the common data store. The read-only node may then be made available for servicing queries.
-
Citations
20 Claims
-
1. A system, comprising:
-
a plurality of compute nodes that together implement a distributed database, wherein one the plurality of compute nodes is a master node that performs read and write requests to data maintained for the distributed database, wherein a different one of the plurality of compute nodes is a read-only node that performs reads of the data maintained for the distributed database; a common data store maintaining the data for the distributed database; the read-only node, configured to; upon startup of the read-only node; request from the master node a view of the distributed database to initialize the read-only node for servicing queries directed to the distributed database; in response to receipt of an indication of the view of the distributed database at the read-only node; read from the common data store one or more portions of the data according to the indicated view of the distributed database; based, at least in part, on the obtained data portions from the common data store, initialize one or more in-memory data structures at the read-only node for servicing queries directed toward the distributed database; and in response to the initialization of the one or more in-memory data structures at the read-only node, make the read-only node available for servicing queries. - View Dependent Claims (2, 3, 4)
-
-
5. A method, comprising:
performing, by one or more computing devices; upon startup of a read-only node of a plurality of nodes implementing a distributed database; requesting from a master node of the distributed database a view of the distributed database to initialize the read-only node for servicing queries directed to the distributed database; in response to receiving an indication of the view of the distributed database at the read-only node; obtaining, at the read-only node from a common data store maintaining data for the distributed database, one or more portions of the data according to the indicated view of the distributed database, wherein the common data store provides access to the master node and the read-only node; based, at least in part, on the obtained data portions from the common data store, initializing one or more in-memory data structures at the read-only node for servicing queries directed toward the distributed database; and in response to initializing the one or more in-memory data structures at the read-only node, making the read-only node available for servicing queries. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13)
-
14. A non-transitory, computer-readable storage medium, storing program instructions that when executed by one or more computing devices cause the one or more computing devices to implement a read-only node of a plurality of nodes implementing a distributed database:
upon startup of the read-only node; requesting from a master node of the distributed database a view of the distributed database to initialize the read-only node for servicing queries directed to the distributed database; in response to receiving an indication of the view of the distributed database at the read-only node; obtaining, at the read-only node from a common data store maintaining data for the distributed database, one or more portions of the data according to the indicated view of the distributed database, wherein the common data store provides access to the master node and the read-only node; based, at least in part, on the obtained data portions from the common data store, initializing one or more in-memory data structures at the read-only node for servicing queries directed toward the distributed database; and in response to initializing the one or more in-memory data structures at the read-only node, making the read-only node available for servicing queries. - View Dependent Claims (15, 16, 17, 18, 19, 20)
Specification