Patent ID: 7882142

Claim:
A method for generating and modifying a datastore performed by a schema generator, comprising: identifying, by the schema generator, all processes associated with an observation model; identifying, by the schema generator, a metric associated with each process to be recorded and with each monitoring context; automatically, constructing by the schema generator, a database schema that stores the metric data and provides appropriate interrelations between the processes, the automatically constructing the database schema comprising: generating, by the schema generator, a table for each process in the observation model; providing, by the schema generator, columns in the table such that a column exists for each process to store each metric associated with a particular process; and modifying the database schema in response to any new metrics being added to the observation model; and creating, by the schema generator, indexes for the table that optimizes performance based on flags on the metrics, the indexes optimizing at least one of storing, sorting and retrieving process information.