×

Optimizing result presentation of a database operation

  • US 10,229,174 B2
  • Filed: 02/10/2017
  • Issued: 03/12/2019
  • Est. Priority Date: 09/04/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving, with a database query agent provided by a hardware database server, one or more database queries;

    parsing the one or more database queries to determine whether any of the one or more database queries have not been specified with an explicit total order;

    inserting automatically and with the database query agent on the hardware database server, for the one or more database queries without an explicit total order, one or more query clauses to support paging of query results to generate, automatically and without user action, an improved database query, wherein the one or more clauses include at least a LIMIT clause in combination with at least an OFFSET clause in salesforce object query language (SOQL) syntax, the OFFSET clause specify a number of starting rows to skip in a query result set;

    causing, with the database query agent on the hardware database server, the improved database query to be performed within a multitenant database environment with the clauses to be used in displaying results from the improved database query in a paged format on a user electronic device utilizing a stateless transfer that does not cause data to be cached in a middle tier, wherein the one or more clauses inserted by the improved database query agent indicate a subset within the results from the improved database query to be presented, wherein tenant data is arranged so that data of one tenant is kept logically separate from tenant data of other tenants;

    imposing, with the database query agent on the hardware database server, an order on the results from the improved database query with the database server to ensure the query result set ordering is consistent; and

    returning, with the database query agent on the hardware database server, the subset as determined by the one or more clauses inserted by the database query agent to the user electronic device.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×