Version management of cached permissions metadata
First Claim
1. A method for maintaining information about a file managed by a database system comprising the computer-implemented steps of:
- storing within a first cache a first version of an entry that includes only changes made by a first transaction associated with said first cache;
wherein said entry is for permissions metadata that is associated with said file managed by said database system;
storing within a second cache a second version of said entry that does not include said changes made by said first transaction; and
invalidating said second version of said entry when said first transaction successfully terminates.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques are provided for performing transaction-aware caching of metadata in an electronic file system. A mechanism is described for providing transaction-aware caching that uses a cache hierarchy, where the cache hierarchy includes uncommitted caches associated with sessions in an application and a committed cache that is shared among the sessions in that application. Techniques are described for caching document metadata, access control metadata and folder path metadata. Also described is a technique for using negative cache entries to avoid unnecessary communications with a server when applications repeatedly request non-existent data.
-
Citations
32 Claims
-
1. A method for maintaining information about a file managed by a database system comprising the computer-implemented steps of:
-
storing within a first cache a first version of an entry that includes only changes made by a first transaction associated with said first cache; wherein said entry is for permissions metadata that is associated with said file managed by said database system; storing within a second cache a second version of said entry that does not include said changes made by said first transaction; and invalidating said second version of said entry when said first transaction successfully terminates. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method for maintaining information about a file managed by a database system comprising the computer-implemented steps of:
-
storing within a first cache a first version of an entry that includes only changes made by a first transaction associated with said first cache; wherein said entry is for permissions metadata that is associated with said file managed by said database system; storing within a second cache a second version of said entry that does not include said changes made by said first transaction; and when said first transaction successfully terminates; patching up, within said second cache, said second version of said entry to include said changes made by said first transaction; and committing said first version of said entry with said changes made by said first transaction. - View Dependent Claims (14, 15, 16)
-
-
17. A computer-readable storage device storing one or more sequences of instructions for maintaining information about a file managed by a database system, which instructions, when executed by one or more processors, cause the one or more processors to perform the steps of:
-
storing within a first cache a first version of an entry that includes only changes made by a first transaction associated with said first cache; wherein said entry is for permissions metadata that is associated with said file managed by said database system; storing within a second cache a second version of said entry that does not include said changes made by said first transaction; and invalidating said second version of said entry when said first transaction successfully terminates. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A computer-readable storage device storing one or more sequences of instructions for maintaining information about a file managed by a database system, which instructions, when executed by one or more processors, cause the one or more processors to perform the steps of:
-
storing within a first cache a first version of an entry that includes only changes made by a first transaction associated with said first cache; wherein said entry is for permissions metadata that is associated with said file managed by said database system; storing within a second cache a second version of said entry that does not include said changes made by said first transaction; and when said first transaction successfully terminates; patching up, within said second cache, said second version of said entry to include said changes made by said first transaction; and committing said first version of said entry with said changes made by said first transaction. - View Dependent Claims (30, 31, 32)
-
Specification