Universal database schema and use
First Claim
1. A computer-implemented method in which at least one computer system accesses instructions from storage, the computer-implemented method comprising:
- utilizing a common database schema to store attribute information associated with each of multiple resources in a storage area network environment by;
populating a first table in a relational database, records in the first table specifying different possible types of resources in the storage area network environment;
populating a second table in the relational database, records in the second table specifying property types associated with each of the different possible types of resources specified in the records of the first table; and
populating at least one data table in the relational database to store data for the property types specified in the second table;
populating records in the at least one data table, records in the at least one data table including respective data values and corresponding references to the second table identifying property types associated with the respective data values; and
wherein populating the records in the at least one data table includes populating the records in the at least one data table to include respective references identifying storage area network resource types in the first table to which the respective data values pertain, the method further comprising;
populating an object instance table that includes records identifying different resources present in the storage area network environment, each record in the object instance table including;
i) a unique identifier associated with a respective resource of the storage area network environment, and ii) a reference to a record in the first table identifying a resource type associated with the respective resource;
wherein populating the records in the at least one data table includes populating records in the at least one data table to include references to records in the object instance table to identify corresponding resources in the storage area network environment to which the data in the at least one data table pertains;
populating the second table to include at least one record specifying a property type that is associated with a first resource type in the first table but is not associated with a second resource type in the first table; and
populating the second table to include at least one record specifying a property type that is associated with a second resource type in the first table but is not associated with the first resource type in the first table.
9 Assignments
0 Petitions
Accused Products
Abstract
A database manager utilizes a same physical database schema to store attribute information associated with each of multiple resources in a storage area network environment. For example, the database manager maintains a fixed number of (or a relatively small number of) relational database tables to store information associated with any of multiple types of storage area network resources and corresponding attributes. The database manager uses a portion of the relational database tables (e.g., a resource type table and property type table) to store metadata such as resource types and corresponding resource attribute information. The database manager uses another portion of the relational database tables (e.g., an object instance table and one or more different data tables) to store actual data associated with storage area network resources.
38 Citations
14 Claims
-
1. A computer-implemented method in which at least one computer system accesses instructions from storage, the computer-implemented method comprising:
-
utilizing a common database schema to store attribute information associated with each of multiple resources in a storage area network environment by; populating a first table in a relational database, records in the first table specifying different possible types of resources in the storage area network environment; populating a second table in the relational database, records in the second table specifying property types associated with each of the different possible types of resources specified in the records of the first table; and populating at least one data table in the relational database to store data for the property types specified in the second table; populating records in the at least one data table, records in the at least one data table including respective data values and corresponding references to the second table identifying property types associated with the respective data values; and wherein populating the records in the at least one data table includes populating the records in the at least one data table to include respective references identifying storage area network resource types in the first table to which the respective data values pertain, the method further comprising; populating an object instance table that includes records identifying different resources present in the storage area network environment, each record in the object instance table including;
i) a unique identifier associated with a respective resource of the storage area network environment, and ii) a reference to a record in the first table identifying a resource type associated with the respective resource;wherein populating the records in the at least one data table includes populating records in the at least one data table to include references to records in the object instance table to identify corresponding resources in the storage area network environment to which the data in the at least one data table pertains; populating the second table to include at least one record specifying a property type that is associated with a first resource type in the first table but is not associated with a second resource type in the first table; and populating the second table to include at least one record specifying a property type that is associated with a second resource type in the first table but is not associated with the first resource type in the first table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14)
-
-
8. A computer system comprising:
-
a processor; a memory unit that stores instructions associated with an application executed by the processor; and an interconnect coupling the processor and the memory unit, enabling the computer system to execute the application and perform operations of; populating a first table in a relational database, records in the first table specifying different possible types of resources in a storage area network environment; populating a second table in the relational database, records in the second table specifying property types associated with each of the different possible types of resources specified in the records of the first table; populating at least one data table in the relational database to store data for the property types specified in the second table; utilizing the first table, the second table, and the at least one data table to support a common database schema for storage of attribute information associated with each of multiple types of resources in the storage area network environment; populating records in the at least one data table, records in the at least one data table including respective data values and corresponding references to the second table identifying property types associated with the respective data values; and wherein populating the records in the at least one data table includes populating the records in the at least one data table to include respective references identifying storage area network resource types in the first table to which the respective data values pertain; populating an object instance table that includes records identifying different resources present in the storage area network environment, each record in the object instance table including;
i) a unique identifier associated with a respective resource of the storage area network environment, and ii) a reference to a record in the first table identifying a resource type associated with the respective resource;wherein populating the records in the at least one data table includes populating records in the at least one data table to include references to records in the object instance table to identify corresponding resources in the storage area network environment to which the data in the at least one data table pertains; populating the second table to include at least one record specifying a property type that is associated with a first resource type in the first table but is not associated with a second resource type in the first table; and populating the second table to include at least one record specifying a property type that is associated with a second resource type in the first table but is not associated with the first resource type in the first table.
-
-
9. A computer program product including a computer-readable medium having instructions stored thereon for processing data information, such that the instructions, when carried out by a processing device, enable the processing device to perform the steps of:
-
populating a first table in a relational database, records in the first table specifying different possible types of resources in the storage area network environment; populating a second table in the relational database, records in the second table specifying property types associated with each of the different possible types of resources specified in the records of the first table; and populating at least one data table in the relational database to store data for the property types specified in the second table; utilizing the first table, the second table, and the at least one data table to support a common database schema for storage of attribute information associated with each of multiple types of resources in the storage area network environment; populating records in the at least one data table, records in the at least one data table including respective data values and corresponding references to the second table identifying property types associated with the respective data values; and wherein populating the records in the at least one data table includes populating the records in the at least one data table to include respective references identifying storage area network resource types in the first table to which the respective data values pertain.
-
Specification