Efficient support for workspace-local queries in a repository that supports file versioning
First Claim
1. A method comprising performing a machine-executed operation involving instructions, wherein the machine-executed operation is at least one of:
- A) sending the instructions over transmission media;
B) receiving the instructions over transmission media;
C) storing the instructions onto a machine-readable storage medium; and
D) executing the instructions;
wherein the instructions are instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of;
receiving a request, associated with a particular workspace, for one or more records from a data container that contains records associated with a plurality of workspaces;
accessing a mapping that is associated with the particular workspace, wherein the mapping indicates which records in the data container are associated with the particular workspace;
determining, from the mapping, which one or more records in the data container are associated with the particular workspace; and
returning information only from the one or more records determined to be associated with the particular workspace.
1 Assignment
0 Petitions
Accused Products
Abstract
Evaluation of workspace-local queries on a repository that supports versioning is enabled by tracking which versions of resources that are stored in the repository are associated with particular workspaces. A mapping is created and maintained for each workspace and each workspace-enabled table, i.e., a repository table that supports multiple versions of resources in the table. The mapping, such as a bit vector, is indexed by resource identifier. A set bit indicates that a particular resource version that corresponds to the bit is associated with the particular workspace. Therefore, the mapping indicates which rows in the workspace-enabled table are in the particular workspace. Index-based and functional evaluation schemes may utilize the per workspace, per table mapping to evaluate queries on the versioned repository. A new operator (IN_WORKSPACE) is introduced, through which an evaluation routine is invoked to determine whether or not a particular row maps to a particular workspace.
-
Citations
24 Claims
-
1. A method comprising performing a machine-executed operation involving instructions, wherein the machine-executed operation is at least one of:
-
A) sending the instructions over transmission media;
B) receiving the instructions over transmission media;
C) storing the instructions onto a machine-readable storage medium; and
D) executing the instructions;
wherein the instructions are instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of;
receiving a request, associated with a particular workspace, for one or more records from a data container that contains records associated with a plurality of workspaces;
accessing a mapping that is associated with the particular workspace, wherein the mapping indicates which records in the data container are associated with the particular workspace;
determining, from the mapping, which one or more records in the data container are associated with the particular workspace; and
returning information only from the one or more records determined to be associated with the particular workspace. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method comprising performing a machine-executed operation involving instructions, wherein the machine-executed operation is at least one of:
-
A) sending the instructions over transmission media;
B) receiving the instructions over transmission media;
C) storing the instructions onto a machine-readable storage medium; and
D) executing the instructions;
wherein the instructions are instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of;
receiving a request, associated with a particular workspace, for one or more records from a data container that contains records associated with a plurality of workspaces;
accessing a mapping that is associated with the particular workspace, wherein the mapping indicates which records in the data container are associated with the particular workspace;
determining, from the mapping, whether each of one or more records in the data container is associated with the particular workspace; and
returning information that indicates whether each of the one or more records is associated with the particular workspace. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
Specification