IP Library Granted Patent US 8,200,673
Granted Patent B2
US 8,200,673 · App. 12/494,120 · Granted Jun 12, 2012

System and method for on-demand indexing

Assignee: SAP AG
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,200,673
App. No.
12/494,120
Granted
Jun 12, 2012
Kind
B2
Abstract

A system and method for on-demand indexing in a data management system is described. An index is generated when it is requested, such as when a database operation requires access to the index. If the index is loaded in memory, the index is retrieved from memory. Otherwise, the index is generated on-demand. A priority configuration identifies at least one priority index which is generated and loaded in memory. The priority configuration can identify priority indexes either directly or indirectly, such as by a threshold parameter.

Claims (53)

1. A method of on-demand generation of an index of records in a data management system comprising:

receiving a priority configuration including information identifying at least one priority index associated with records in said data management system;

generating said at least one priority index prior to receiving any request for the priority index, and loading said at least one priority index in said memory;

receiving a request for a first index;

determining whether said first index is currently loaded in memory, wherein at least some indexes are currently loaded in memory and other potential indexes are not currently loaded in memory;

retrieving said first index from said memory when said first index is currently loaded in said memory;

generating said first index by accessing said records when said first index is not currently loaded in said memory;

retrieving a Δ index associated with said first index, wherein said Δ index comprises at least one entry reflecting an addition or modification of a record affecting said first index;

updating said first index using said Δ index to reflect changes identified by said at least one entry of said Δ index; and

providing said first index.

2. The method of claim 1 , further comprising:

automatically identifying at least one threshold priority index using a threshold parameter;

generating said at least one threshold priority index prior to receiving any request for the threshold priority index; and

loading said at least one threshold priority index in said memory;

wherein said priority configuration further includes said threshold parameter.

3. The method of claim 2 , wherein said threshold parameter indicates a prior frequency of index use.

4. The method of claim 1 , wherein said priority configuration is defined by a user via a graphical user interface.

5. The method of claim 1 , further comprising:

automatically generating said priority configuration based on a prior frequency of index use.

6. A non-transitory computer-readable medium storing instructions and data configured to perform an automated process when executed by a processor, said automated process comprising

receiving a priority configuration including information identifying at least one priority index associated with records in a data management system;

generating said at least one priority index prior to receiving any request for the priority index, and loading said at least one priority index in said memory;

receiving a request for a first index;

determining whether said first index is currently loaded in memory, wherein at least some indexes are currently loaded in memory and other potential indexes are not currently loaded in memory;

retrieving said first index from said memory when said first index is currently loaded in said memory;

generating said first index by accessing said records when said first index is not currently loaded in said memory;

retrieving a Δ index associated with said first index, wherein said Δ index comprises at least one entry reflecting an addition or modification of a record affecting said first index;

updating said first index using said Δ index to reflect changes identified by said at least one entry of said Δ index; and

providing said first index.

7. The medium of claim 6 , wherein said automated process further includes:

using at least one threshold parameter to automatically identify any threshold priority indexes;

generating said any threshold priority indexes prior to receiving any request for the threshold priority index; and

loading said any threshold priority indexes in said memory,

wherein said priority configuration further includes said at least one threshold parameter.

8. A computer system comprising:

a computer;

a non-transitory computer-readable medium coupled to said computer, said computer-readable medium storing instructions and data configured to perform an automated process when executed by said computer, said automated process comprising:

receiving a priority configuration including information identifying at least one priority index;

generating said at least one priority index prior to receiving any request for the priority index;

loading said at least one priority index in memory;

receiving a request for a first index;

determining whether said first index is currently loaded in said memory, wherein at least some indexes are currently loaded in memory and other potential indexes are not currently loaded in memory;

retrieving said first index from said memory when said first index is currently loaded in said memory;

generating said first index by accessing said records when said first index is not currently loaded in said memory;

retrieving a Δ index associated with said first index, wherein said Δ index comprises at least one entry reflecting an addition or modification of a record affecting said first index;

updating said first index using said Δ index to reflect changes identified by said at least one entry of said Δ index; and

providing said first index.

9. The computer system of claim 8 , wherein said automated process further comprises:

using at least one threshold parameter to automatically identify any threshold priority indexes;

generating said any threshold priority indexes prior to receiving any request for the threshold priority index; and

loading said any threshold priority indexes in said memory,

wherein said priority configuration further includes said at least one threshold parameter.

10. The computer system of claim 8 , wherein said request for said first index is received from another process running on said computer system.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 18, 2017
From: SAP SE
To: REGIONAL RESOURCES LIMITED
Reel/Frame 043610/0202 →
CHANGE OF NAME Recorded Aug 26, 2014
From: SAP AG
To: SAP SE
Reel/Frame 033625/0334 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 1, 2009
From: HANSON, MARK E.; ENDO, RICHARD T.; SHPILFOYGEL, SIMON D.; ANTONOV, EMIL; ZHENG, XIDONG; HENDELES, HAYIM; BROOKLER, DAVID E.
To: SAP, AG
Reel/Frame 022903/0437 →
Continuity (1)
Related Publication 20100332501A1 · Dec 30, 2010