Method of changing system configuration in shared-nothing database management system
First Claim
1. A system configuration changing method in a shared-nothing database management system which comprises a plurality of CPU resources, a storage, and a network for connecting said CPU resources and said storage, wherein each of said plurality of CPU resources runs a database search program stored in a computer-readable storage medium, and each database search program being executable by a processor and functioning as a backend module for processing data, said method comprising the steps of:
- allocating physically independent data regions of the storage to respective backend modules by registering mapping information between the data regions and the backend modules;
determining whether or not a CPU resource is to be removed from the shared-nothing database management system by monitoring the states of the plurality of CPU resources;
in response to the determination that the CPU resource is to be removed, delegating a data region of the storage previously allocated to a backend module corresponding to the CPU resource to be removed to another backend module; and
relocating data on the delegated data region of the storage to respective backend modules except the backend module corresponding to the CPU resource to be removed by changing the mapping information.
0 Assignments
0 Petitions
Accused Products
Abstract
A shared-nothing database management system employs a method of adding and removing a database server without significantly affecting the processing performance for accessing a table from a user or an application. A scheduler module creates a schedule which separately handles the addition of a CPU resource and the addition of a storage I/O resource, and a server is added in accordance with the created schedule. A common disk is used to remove a disk at an arbitrary timing. Further, a data region is previously subdivided on the common disk to eliminate a movement of data associated with the addition of a server.
30 Citations
11 Claims
-
1. A system configuration changing method in a shared-nothing database management system which comprises a plurality of CPU resources, a storage, and a network for connecting said CPU resources and said storage, wherein each of said plurality of CPU resources runs a database search program stored in a computer-readable storage medium, and each database search program being executable by a processor and functioning as a backend module for processing data, said method comprising the steps of:
-
allocating physically independent data regions of the storage to respective backend modules by registering mapping information between the data regions and the backend modules; determining whether or not a CPU resource is to be removed from the shared-nothing database management system by monitoring the states of the plurality of CPU resources; in response to the determination that the CPU resource is to be removed, delegating a data region of the storage previously allocated to a backend module corresponding to the CPU resource to be removed to another backend module; and relocating data on the delegated data region of the storage to respective backend modules except the backend module corresponding to the CPU resource to be removed by changing the mapping information.
-
-
2. A system configuration changing method in a shared-nothing database management system which comprises a plurality of CPU resources, a storage, and a network for connecting said CPU resources and said storage, wherein each of said plurality of CPU resources runs a database search program stored in a computer-readable storage medium, and each database search program being executable by a processor and functioning as a backend module for processing data, said method comprising the steps of:
-
allocating physically independent data regions of the storage to respective backend modules by registering mapping information between the data regions and the backend modules; adding to said shared-nothing database management system a backend module exclusively for sorting and merging data without accessing a table in a database, wherein the added backend module sorts and merges data by receiving the data from other backend modules that have read the data from said storage; determining whether or not a storage I/O resource is to be added to said backend module exclusively for sorting and merging data; and in response to the determination that the storage I/O resource is to be added, relocating data to respective backend modules including said added backend module by changing the mapping information. - View Dependent Claims (3)
-
-
4. The database management method in a database management system including a plurality of database servers, a plurality of backend modules running on respective of said plurality of servers for processing data of a database, a storage coupled to said plurality of database servers and having a plurality of data regions each of which stores data composing the database, the database management method comprising the steps of:
-
previously allocating said plurality of data regions to respective backend modules so that each of said plurality of backend modules exclusively access at least two of said data regions, wherein each of said plurality of backend modules exclusively processes data stored in data regions allocated thereto; adding to said database management system a new backend module running on a server; and re-allocating said plurality of data regions to respective backend modules and said new backend module so that each of said plurality of backend modules and said new backend module exclusively access at least one of said data regions, wherein each of said plurality of backend modules and said new backend module exclusively processes data stored in said at least one of said data regions allocated thereto. - View Dependent Claims (5, 6, 7, 8)
-
-
9. A database management method in a database management system including a plurality of database servers, a plurality of backend modules running on respective said plurality of servers for processing data of a database, a storage coupled to said plurality of database servers and having a plurality of data regions, each of which stores data comprising the database, the database management method comprising the steps of:
-
previously allocating said plurality of data regions to respective backend modules so that each of said plurality of backend modules exclusively access at least one of said data regions, wherein each of said plurality of backend modules exclusively processes data stored in said at least one of said plurality of data regions allocated thereto; removing a backend module among said plurality of backend modules; and re-allocating said plurality of data regions to respective backend modules other than removed backend module so that each of said plurality of backend modules other than the removed backend module exclusively access at least one of said data regions, wherein each of said plurality of backend modules other than said removed backend module exclusively processes data stored in said at least one of said data regions allocated thereto. - View Dependent Claims (10, 11)
-
Specification