Program and method for establishing a physical database layout on a distributed processor system
First Claim
1. A method for establishing a physical database layout for use with a distributed processor system, the method comprising the steps of:
- inputting a first datafile representing the physical configuration of the distributed processor system;
inputting a second datafile representing tablespaces to be stored in the distributed processor, said second datafile including a name and size of each tablespace in said second datafile;
determining from said first datafile the number of nodes available in the distributed processor system, the number of disks per available node, and the size of each of the disks in the distributed processor system;
performing a PROGRAM DESIGN phase for automatically allocating the tablespaces to the nodes and disks in the nodes determined to be available and updating the second datafile with the allocations;
providing for the modification of the allocation of the tablespaces in said second datafile by a user;
performing an EASY DESIGN phase for automatically assigning each tablespace into a logical volume in disk space of the disks in the distributed processor system, and generating therefrom a logical volume map including an indication of the node, disk, volume group and size of the tablespaces thus assigned;
selecting the nodes on which the tablespaces are going to be assigned;
providing for the modification of the logical volume map by a user; and
performing a DETAIL DESIGN phase for automatically generating scripts for implementing the physical database layout from said logical volume map.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and program for use with a massively parallel processor (MPP) system or a distributed computer system for providing a physical design layout database across several nodes of the system. A user inputs a first datafile representing the physical configuration of the distributed processor system, and inputs a second datafile representing application tablespaces and/or database system files to be stored in the distributed processor system. The program optionally assigns the tablespaces in the second datafile to the physical configuration of the distributed processor system as specified in the first datafile and per the number of nodes, number of disks per node, and the size of the disks. The user may optionally use the physical design layout of the program, may change a portion of the intermediate physical design layout, or may provide the entire physical database design layout, as desired. The program generates a logical volume map for the tablespaces distributed over the distributed processor system, and further generates scripts to implement the tablespace structure into a physical database.
159 Citations
30 Claims
-
1. A method for establishing a physical database layout for use with a distributed processor system, the method comprising the steps of:
-
inputting a first datafile representing the physical configuration of the distributed processor system; inputting a second datafile representing tablespaces to be stored in the distributed processor, said second datafile including a name and size of each tablespace in said second datafile; determining from said first datafile the number of nodes available in the distributed processor system, the number of disks per available node, and the size of each of the disks in the distributed processor system; performing a PROGRAM DESIGN phase for automatically allocating the tablespaces to the nodes and disks in the nodes determined to be available and updating the second datafile with the allocations; providing for the modification of the allocation of the tablespaces in said second datafile by a user; performing an EASY DESIGN phase for automatically assigning each tablespace into a logical volume in disk space of the disks in the distributed processor system, and generating therefrom a logical volume map including an indication of the node, disk, volume group and size of the tablespaces thus assigned; selecting the nodes on which the tablespaces are going to be assigned; providing for the modification of the logical volume map by a user; and performing a DETAIL DESIGN phase for automatically generating scripts for implementing the physical database layout from said logical volume map. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for implementing a physical database layout for use with a distributed processor system, the method comprising the steps of:
-
inputting a first datafile representing the physical configuration of the distributed processor system; inputting a second datafile representing tablespaces to be stored in the distributed processor, said second datafile including a name and size of each tablespace in said second datafile; determining from said first datafile the number of nodes available in the distributed processor system, the number of disks per available node, and the size of each of the disks in the distributed processor system; performing a PROGRAM DESIGN phase for automatically allocating the tablespaces to the nodes and disks in the nodes determined to be available and updating the second datafile with the allocations; providing for the modification of the allocation of the tablespaces in said second datafile by a user; performing an EASY DESIGN phase for automatically assigning each tablespace into a logical volume in disk space of the disks in the distributed processor system, and generating therefrom a logical volume map including an indication of the node, disk, volume group and size of the tablespaces thus assigned; providing for the modification of the logical volume map by a user; and performing a DETAIL DESIGN phase for automatically generating scripts for implementing the physical database layout from said logical volume map; and designating a size for the initial and next extents of a desired tablespace, and spreading the desired tablespace across disks dependent on the designated initial and next extent sizes; wherein said distributed processor system has layers of software for operating said distributed processor system, said layers including an application layer for implementing a database, a parallel operating layer for operating the distributed processor system in a parallel fashion, and a node operating system layer for operating each node, said DETAIL DESIGN phase for generating scripts for the node operating system layer, the parallel operating layer, and the application layer, respectively, and wherein said application layer is an Oracle layer, said parallel operating layer is a PSSP and VSD layer, and said node operating system layer is an AIX layer, and said DETAIL DESIGN layer generates AIX command scripts, VSD scripts, and Oracle scripts, in that order.
-
-
16. A program recorded on a computer readable medium, said program for establishing a physical database layout for use with a distributed processor system by a method comprising the steps of:
-
inputting a first datafile representing the physical configuration of the distributed processor system; inputting a second datafile representing tablespaces to be stored in the distributed processor, said second datafile including a name and size of each tablespace in said second datafile; determining from said first datafile the number of nodes available in the distributed processor system, the number of disks per available node, and the size of each of the disks in the distributed processor system; performing a PROGRAM DESIGN phase for automatically allocating the tablespaces to the nodes and disks in the nodes determined to be available and updating the second datafile with the allocations; providing for the modification of the allocation of the tablespaces in said second datafile by a user; performing an EASY DESIGN phase for automatically assigning each tablespace into at least one logical volume in disk space of the disks in the distributed processor system, and generating therefrom a logical volume map including an indication of the node, disk, volume group and size of the tablespaces thus assigned; selecting the nodes on which the tablespaces are going to be assigned; providing for the modification of the logical volume map by a user; and performing a DETAIL DESIGN phase for automatically generating scripts for implementing the physical database layout from said logical volume map. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30)
-
-
29. A program recorded on a computer readable medium, said program for implementing a physical database layout for use with a distributed processor system by a method comprising the steps of:
-
inputting a first datafile representing the physical configuration of the distributed processor system; inputting a second datafile representing tablespaces to be stored in the distributed processor, said second datafile including a name and size of each tablespace in said second datafile; determining from said first datafile the number of nodes available in the distributed processor system, the number of disks per available node, and the size of each of the disks in the distributed processor system; performing a PROGRAM DESIGN phase for automatically allocating the tablespaces to the nodes and disks in the nodes determined to be available and updating the second datafile with the allocations; providing for the modification of the allocation of the tablespaces in said second datafile by a user; performing an EASY DESIGN phase for automatically assigning each tablespace into at least one logical volume in disk space of the disks in the distributed processor system, and generating therefrom a logical volume map including an indication of the node, disk, volume group and size of the tablespaces thus assigned; providing for the modification of the logical volume map by a user; and performing a DETAIL DESIGN phase for automatically generating scripts for implementing the physical database layout from said logical volume map; and wherein said distributed processor system has layers of software for operating said distributed processor system, said layers including an application layer for implementing a database, a parallel operating layer for operating the distributed processor system in a parallel fashion, and a node operating system layer for operating each node, said DETAIL DESIGN phase for generating scripts for the node operating system layer, the parallel operating layer, and the application layer, respectively, and wherein said application layer is an Oracle layer, said parallel operating layer is a PSSP and VSD layer, and said node operating system layer is an AIX layer, and said DETAIL DESIGN layer generates AIX command scripts, VSD scripts, and Oracle scripts, in that order.
-
Specification