Invention Grant
US09405797B2 Methods and systems for joining indexes for query optimization in a multi-tenant database
有权
在多租户数据库中加入查询优化索引的方法和系统
- Patent Title: Methods and systems for joining indexes for query optimization in a multi-tenant database
- Patent Title (中): 在多租户数据库中加入查询优化索引的方法和系统
-
Application No.: US14222091Application Date: 2014-03-21
-
Publication No.: US09405797B2Publication Date: 2016-08-02
- Inventor: William Charles Eidson , Jesse Collins
- Applicant: salesforce.com, inc.
- Applicant Address: US CA San Francisco
- Assignee: salesforce.com, inc.
- Current Assignee: salesforce.com, inc.
- Current Assignee Address: US CA San Francisco
- Agency: Blakely, Sokoloff, Taylor & Zafman
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
Methods and systems for query optimization for a multi-tenant database system are provided. Some embodiments comprise receiving at a network interface of a server in a multi-tenant database system an original query transmitted to the multi-tenant database system by a user associated with a tenant, wherein the original query is associated with data accessible by the tenant, and wherein the multi-tenant database system includes at least a first index and a second index. Metadata associated with the data is retrieved, wherein at least a portion of the data is stored in a common table within the multi-tenant database system. A tenant-selective query syntax is determined by analyzing at least one of metadata generated from information about the tenant or metadata generated from the data accessible by the tenant. An improved query is then generated using the query syntax, wherein the improved query is based at least in part upon the original query and a result of a join between a first number of rows associated with the first index and a second number of rows associated with the second index.
Public/Granted literature
- US20140280025A1 METHODS AND SYSTEMS FOR JOINING INDEXES FOR QUERY OPTIMIZATION IN A MULTI-TENANT DATABASE Public/Granted day:2014-09-18
Information query