Invention Grant
- Patent Title: Optimizing queries in a multi-tenant database system environment
- Patent Title (中): 在多租户数据库系统环境中优化查询
-
Application No.: US12885255Application Date: 2010-09-17
-
Publication No.: US08386471B2Publication Date: 2013-02-26
- Inventor: Jesse Collins , Jaikumar Bathija
- Applicant: Jesse Collins , Jaikumar Bathija
- Applicant Address: US CA San Francisco
- Assignee: Salesforce.com, Inc.
- Current Assignee: Salesforce.com, Inc.
- Current Assignee Address: US CA San Francisco
- Agency: Ingrassia Fisher & Lorenz, P.C.
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
In a method, system, and computer-readable medium having instructions for optimizing a query in a database system, a database statistic is generated for a number of related records for one or more entities for at least one tenant and a related record is a record with a relationship to a shared record in a database table for an entity from the one or more entities, a first cost is calculated for accessing the number of related records for at least one tenant, a second cost is calculated for accessing a number of related records accessible to a user, a comparison of the first cost to the second cost is performed to determine a data access path for retrieving accessible related records, and the data access path for retrieving accessible related records is determined based upon the comparison.
Public/Granted literature
- US20110295839A1 OPTIMIZING QUERIES IN A MULTI-TENANT DATABASE SYSTEM ENVIRONMENT Public/Granted day:2011-12-01
Information query