×

Liquid data services

  • US 7,778,998 B2
  • Filed: 01/27/2006
  • Issued: 08/17/2010
  • Est. Priority Date: 03/28/2005
  • Status: Active Grant
First Claim
Patent Images

1. A computer-readable storage medium storing one or more sequences of instructions for preparing a query plan for tuning a service, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:

  • receiving a query from a portal application to be executed against a system, said query associated with a service model, wherein the service model provides a plurality of structured views of available services to the portal application;

    determining at least one of a plurality of ways capable of satisfying the query, wherein at least one of the plurality of ways includes accessing at least two tables in a database;

    selecting, from the plurality of ways to satisfy the query, a preferred way for satisfying the query and meeting a performance criteria wherein selecting includes determining whether speed of query execution is more important than memory usage by employing parameters that correlate the relative importance of speed, memory and resource usage on the system that the query is executed against wherein selecting the preferred way for satisfying the query includes;

    if speed is determined to be more important than memory usage;

    retrieving both of said at least two tables from the database and writing said at least two tables into memory;

    if speed is determined not to be more important than memory usage;

    determining whether memory capacity is constrained by only one of said at least two tables and if the memory capacity is constrained by only one of said at least two tables, then retrieving a smaller table of said two tables from the database and writing said smaller table into the memory;

    otherwise, if speed is determined not to be more important than memory usage and if both tables are too large to be brought into the memory;

    requesting values from each of said at least two tables as needed from the database;

    generating the query plan and providing the preferred way as at least a portion of the query plan; and

    accessing a service according to the query plan to receive a result set, wherein the result set is mapped to one of the plurality of structured views that is specifically suited to the format of the portal application that has submitted the query.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×