Patent ID: 7010517

Claim:
A query database management system, the system comprising plural agents for executing requests received from at least one application, the requests received by the agents comprising references to database system representations for a query statement and query context information, the system comprising: a. means for defining and utilizing agent workspaces, each agent workspace comprising a defined set of memory associated with an agent and capable of storing execution-ready representations of query statements; b. means for defining and utilizing a set of application workspaces, each application workspace comprising a defined set of memory associated with a defined set of applications and capable of scoring execution-ready representations of query statements; and means for defining and utilizing a set of application query context data structures, each application query context data structure being associated with an application and representing an entry point for accessing information usable by an agent in association with the application, the application query context data structure making available to the agent query statement information and query context information in the appropriate agent workspace and application workspace.