Virtual database system
AssigneeRed Hat, Inc.
InventorRichard Ding Li
Life of this patent
Estimating the term…
Abstract
A method and apparatus for distributing a database implementation across multiple servers. In one embodiment, the method includes receiving information identifying an implementation of a database having a database schema, identifying the number of database servers to host the database implementation, and analyzing usage characteristics of the database schema. The method further includes distributing the database implementation over the identified number of database servers based on the analysis of the usage characteristics, and providing access to the database implementation for one or more applications, the applications being unaware of the database servers hosting the database implementation.
Claims24
A computer-implemented method comprising:
- receiving, by a processing device executing a virtual database system, information identifying a database implementation having a database schema and a plurality of database elements;
- identifying a plurality of database servers to host the database implementation;
- analyzing usage characteristics of the database schema, the analyzing comprising identifying common data requests;
- distributing, by the processing device, the database implementation over the plurality of database servers based on the usage characteristics of the database schema, the distributing comprising:
- determining a layout of the database implementation for providing maximum performance of the common data requests, wherein the layout specifies that first tables comprising first database elements of the plurality of database elements are to be collocated with second tables comprising second database elements of the plurality of database elements;
- and
- populating, based on the layout, the plurality of database servers with the plurality of database elements so that at least one database server of the plurality of database servers contains different database elements of the plurality of database elements than other database servers of the plurality of database servers, wherein the first tables and second tables are collocated on a single database server of the plurality of database servers;
- and
- providing access to the database implementation for one or more applications by the virtual database system.
A system comprising:
- a memory;
- and
- a processing device coupled to the memory, the processing device configured to:
- receive information identifying a database implementation having a database schema and a plurality of database elements
- identify a plurality of database servers to host the database implementation;
- analyze usage characteristics associated with the database schema, the analyzing comprising identifying common data requests;
- distribute the database implementation over the identified plurality of database servers based on of the usage characteristics of the database schema, the distributing comprising:
- determining a layout of the database implementation for providing maximum performance of the common data requests, wherein the layout specifies that first tables comprising first database elements of the plurality of database elements are to be collocated with second tables comprising second database elements of the plurality of database elements;
- and
- populating, based on the layout, the plurality of database servers with the plurality of database elements so that at least one database server of the plurality of database servers contains different database elements than other database servers of the plurality of database servers, wherein the first tables and second tables are collocated on a single database server of the plurality of database servers;
- and
- provide access to the database implementation for one or more applications.
The system of claim of 13 comprising a plurality of physical machines.
A non-transitory computer readable storage medium having instructions for a virtual database system stored thereon that, when executed by a processing device, cause the processing device to perform a method comprising:
- receiving, by the processing device, information identifying an implementation of a database having a database schema and a plurality of database elements;
- identifying a plurality of database servers to host the database implementation;
- analyzing usage characteristics of the database schema, the analyzing comprising identifying common data requests;
- distributing, by the processing device, the database implementation over the plurality of database servers based on of the usage characteristics of the database schema, the distributing comprising:
- determining a layout of the database implementation for providing maximum performance of the common data requests, wherein the layout specifies that first tables comprising first database elements of the plurality of database elements are to be collocated with second tables comprising second database elements of the plurality of database elements;
- and
- populating, based on the layout, the plurality of database servers with the plurality of database elements so that at least one database server of the plurality of database servers contains different database elements than other database servers of the plurality of database servers, wherein the first tables and second tables are collocated on a single database server of the plurality of database servers;
- and
- providing access to the database implementation for one or more applications by the virtual database system.
Dependencies are inferred from the claim text.