Methods and systems for backing up a search index

US9922061B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9922061-B2
Application numberUS-201414274554-A
CountryUS
Kind codeB2
Filing dateMay 9, 2014
Priority dateMay 14, 2010
Publication dateMar 20, 2018
Grant dateMar 20, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An index to be backed up in a computing environment is identified. A staged copy of the index to be backed up is created. The staged copy of the index is segmented. The segments are uploaded to a pre-selected location.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for generating a secondary search index while a primary search index is being used for indexing or querying, the method comprising: creating, with one or more processors of a computing environment, the secondary search index as a staged copy of the primary search index by suspending indexing for a period of time long enough to make a temporary copy of the primary search index to a staging location; segmenting, with the one or more processors of the computing environment, the staged copy of the primary search index, wherein the secondary search index has multiple segments that are handled asynchronously through a message queue, wherein each segment is a readable index that contains only a subset of the primary search index; storing the segments in a pre-selected memory location of the computing environment sequentially; copying the segments to a storage device with an asynchronous message queuing structure; performing, with the one or more processors of the computing environment, additional indexing to the secondary search index based on information from one or more replay logs corresponding to one or more tenants in a multitenant environment to keep the indexes up to date within a pre-selected amount of time, wherein the one or more replay logs tracks activity that occurs after index backup is initiated; and maintaining the secondary search index within a pre-selected threshold of current utilizing the replay logs. 2. The method of claim 1 further comprising compressing the segments of the staged copy. 3. The method of claim 1 wherein the primary search index is an index to be backed up in a multitenant environment, wherein the multitenant environment includes data for multiple client entities, each identified by a tenant identifier (ID) having one of one or more users associated with the tenant ID, users of each of multiple client identities are only allowed access data identified by a tenant ID associated with the respective client entity, and the multitenant environment is at least a hosted database provided by an entity separate from the client entities, and provides on-demand database service to the client entities. 4. The method of claim 3 wherein the primary search index to be backed up is an index corresponding to a single tenant ID within the multitenant environment. 5. The method of claim 3 wherein the primary search index to be backed up is an index corresponding to a multiple tenant IDs within the multitenant environment. 6. The method of claim 1 wherein the one or more replay logs comprises at least one replay log for create and update operations and at least one replay log for delete operations. 7. An article of manufacture comprising a non-transitory computer-readable medium having stored thereon instructions capable of, when executed by one or more processors, cause a computer to: create, with one or more processors of a computing environment, the secondary search index as a staged copy of the primary search index by suspending indexing for a period of time long enough to make a temporary copy of the primary search index to a staging location; segment, with the one or more processors of the computing environment, the staged copy of the primary search index, wherein the secondary search index has multiple segments that are handled asynchronously through a message queue, wherein each segment is a readable index that contains only a subset of the primary search index; store the segments in a pre-selected memory location of the computing environment sequentially; copy the segments to a storage device with an asynchronous message queuing structure; perform, with the one or more processors of the computing environment, additional indexing to the secondary search index based on information from one or more replay logs corresponding to one or more tenants in a multitenant environment to keep the indexes up to date within a pre-selected amount of time, wherein the one or more replay logs tracks activity that occurs after index backup is initiated; and maintain the secondary search index within a pre-selected threshold of current utilizing the replay logs. 8. The article of claim 7 further comprising compressing the segments of the staged copy. 9. The article of claim 7 wherein the primary search index is an index to be backed up in a multitenant environment, wherein the multitenant environment includes data for multiple client entities, each identified by a tenant identifier (ID) having one of one or more users associated with the tenant ID, users of each of multiple client identities are only allowed access data identified by a tenant ID associated with the respective client entity, and the multitenant environment is at least a hosted database provided by an entity separate from the client entities, and provides on-demand database service to the client entities. 10. The article of claim 9 wherein the primary search index to be backed up is an index corresponding to a single tenant ID within the multitenant environment. 11. The article of claim 9 wherein the primary search index to be backed up is an index corresponding to a multiple tenant IDs within the multitenant environment. 12. The article of claim 7 wherein the one or more replay logs comprises at least one replay log for create and update operations and at least one replay log for delete operations. 13. A system comprising: one or more user electronic systems; a server electronic system communicatively coupled with the one or more user systems via a network, the server system to create, with one or more processors of a computing environment, the secondary search index as a staged copy of the primary search index by suspending indexing for a period of time long enough to make a temporary copy of the primary search index to a staging location, to segment, with the one or more processors of the computing environment, the staged copy of the primary search index, wherein the secondary search index has multiple segments that are handled asynchronously through a message queue, wherein each segment is a readable index that contains only a subset of the primary search index, to store the segments in a pre-selected memory location of the computing environment sequentially, to copy the segments to a storage device with an asynchronous message queuing structure, to perform, with the one or more processors of the computing environment, additional indexing to the secondary search index based on information from one or more replay logs corresponding to one or more tenants in a multitenant environment to keep the indexes up to date within a pre-selected amount of time, wherein the one or more replay logs tracks activity that occurs after index backup is initiated, and to maintain the secondary search index within a pre-selected threshold of current utilizing the replay logs. 14. The system of claim 13 wherein the server electronic system is further configured to compress the segments of the staged copy. 15. The system of claim 13 wherein the primary search index is an index to be backed up in a multitenant environment, wherein the multitenant environment includes data for multiple client entities, each identified by a tenant identifier (ID) having one of one or more users associated with the tenant ID, users of each of multiple client identities are only allowed access data identified by a tenant ID associated with the respective client entity, and the multitenant environment is at least a hosted database provided by an entity separate from the client entities, and provides on-demand database service to the

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9922061B2 cover?
An index to be backed up in a computing environment is identified. A staged copy of the index to be backed up is created. The staged copy of the index is segmented. The segments are uploaded to a pre-selected location.
Who is the assignee on this patent?
Salesforce Com Inc
What technology area does this patent fall under?
Primary CPC classification G06F17/30321. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 20 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).