INNER QUERY JOINS
First Claim
Patent Images
1. A method comprising:
- receiving a query at a query engine of an on demand database system, the query associated with a client of the on demand database system, where a single table of the on demand database system stores accounts for multiple different clients;
determining that the query has an inner query nested within the query;
identifying a custom index for the client that includes only a selected subset of entries of the single table; and
applying the custom index to filter results for the inner query prior to generating results for the query.
1 Assignment
0 Petitions
Accused Products
Abstract
In an on demand database system, a query engine applies a custom index for inner queries. The query engine receives a query and determines that the query has an inner query nested within the primary query. The query engine identifies that a custom index exists for a client associated with the query, and applies the custom index to filter results for the query. The custom index includes a subset of information of a table that includes accounts for multiple different clients. By using the custom index, the query engine can filter the results more efficiently that if solely using the multiple client table.
62 Citations
20 Claims
-
1. A method comprising:
-
receiving a query at a query engine of an on demand database system, the query associated with a client of the on demand database system, where a single table of the on demand database system stores accounts for multiple different clients; determining that the query has an inner query nested within the query; identifying a custom index for the client that includes only a selected subset of entries of the single table; and applying the custom index to filter results for the inner query prior to generating results for the query. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An article of manufacture comprising a computer readable storage medium having content stored thereon, which when executed, cause a machine to perform operations including:
-
receiving a query at a query engine of an on demand database system, the query associated with a client of the on demand database system, where a single table of the on demand database system stores accounts for multiple different clients; determining that the query has an inner query nested within the query; identifying a custom index for the client that includes only a selected subset of entries of the single table; and applying the custom index to filter results for the inner query prior to generating results for the query. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer system comprising:
-
network interface hardware to connect to a multitenant database system (MTS), wherein the MTS stores data for multiple client organizations each identified by a tenant identifier (ID) and one or more users are associated with the tenant ID, wherein the one or more users of each client organization access data identified by the tenant ID associated with the respective client organization, and wherein the multitenant database is hosted by an entity separate from the client organization; and a processor device to execute a query engine for the MTS, configured to receive a query associated with a client of the MTS, where a single table of the MTS stores accounts for multiple different clients; determine that the query has an inner query nested within the query; identify a custom index for the client that includes only a selected subset of entries of the single table; and apply the custom index to filter results for the inner query prior to generating results for the query. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification