Methods and systems for moving data objects
First Claim
1. A method for moving data objects in a computer system from a first storage location to a second storage location of a hardware memory device, the method comprising:
- selecting a data object stored in the first storage location, the data object being assigned to an identifier (ID);
determining, using a processor, whether another process is attempting to perform a transaction with the data object by querying whether the ID is stored in a transactional type lock object;
upon determining that another process is not attempting to perform a transaction with the data object, storing the ID in the transactional type lock object;
determining, using the processor, whether another process is moving the data object to a new storage location by querying whether the ID is stored in a permanent type lock object;
upon determining that another process is not moving the data object to a new storage location, storing the ID in the permanent type lock object;
determining whether the ID is stored successfully in the permanent type lock object, and upon a successful storage, deleting the ID from the transactional type lock object;
storing the data object at the second storage location;
assigning the second storage location to the ID in the permanent type lock object;
deleting the data object from the first storage location; and
deleting the ID from the permanent type lock object, after the data object has been deleted from the first storage location.
2 Assignments
0 Petitions
Accused Products
Abstract
A method comprising selecting a data object from a first storage location; assigning an identifier (ID) to the data object; storing the ID in a transactional type lock object; determining whether the ID is stored successfully in the transactional type lock object, and upon a successful storage, storing the ID in a permanent type lock object; determining whether the ID is stored successfully in the permanent type lock object, and upon a successful storage, deleting the ID from the transactional type lock object; storing the data object at the second storage location; assigning the second storage location to the ID in the permanent type lock object; deleting the data object from the first storage location; and deleting the ID from the permanent type lock object after the respective data object assigned to that ID has been deleted from the first storage location.
54 Citations
23 Claims
-
1. A method for moving data objects in a computer system from a first storage location to a second storage location of a hardware memory device, the method comprising:
-
selecting a data object stored in the first storage location, the data object being assigned to an identifier (ID); determining, using a processor, whether another process is attempting to perform a transaction with the data object by querying whether the ID is stored in a transactional type lock object; upon determining that another process is not attempting to perform a transaction with the data object, storing the ID in the transactional type lock object; determining, using the processor, whether another process is moving the data object to a new storage location by querying whether the ID is stored in a permanent type lock object; upon determining that another process is not moving the data object to a new storage location, storing the ID in the permanent type lock object; determining whether the ID is stored successfully in the permanent type lock object, and upon a successful storage, deleting the ID from the transactional type lock object; storing the data object at the second storage location; assigning the second storage location to the ID in the permanent type lock object; deleting the data object from the first storage location; and deleting the ID from the permanent type lock object, after the data object has been deleted from the first storage location. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system for processing data, the computer system comprising:
-
memory means for storing program instructions; input means for entering the data; storage means for storing the data; a processor responsive to the program instructions, wherein the program instructions comprise program code means for performing a method for moving data objects in the computer system from a first storage location to a second storage location of the storage means, the method comprising; selecting a data object stored in the first storage location, the data object being assigned to an identifier (ID); determining whether another process is attempting to perform a transaction with the data object by querying whether the ID is stored in a transactional type lock object; upon determining that another process is not attempting to perform a transaction with the data object, storing the ID in the transactional type lock object; determining whether another process is moving the data object to a new storage location by querying whether the ID is stored in a permanent type lock object; upon determining that another process is not moving the data object to a new storage location, storing the ID in the permanent type lock object; determining whether the ID is stored successfully in the permanent type lock object, and upon a successful storage, deleting the ID from the transactional type lock object; storing the data object at the second storage location; assigning the second storage location to the ID in the permanent type lock object; deleting the data object from the first storage location; and deleting the ID from the permanent type lock object, after the data object has been deleted from the first storage location.
-
-
10. A computer readable storage medium comprising instructions for performing a method for moving data objects in a computer system from a first storage location to a second storage location of a hardware storage device, the method comprising:
-
selecting a data object stored in the first storage location, the data object being assigned to an identifier (ID); determining, using a processor, whether another process is attempting to perform a transaction with the data object by querying whether the ID is stored in a transactional type lock object; upon determining that another process is not attempting to perform a transaction with the data object, storing the ID in the transactional type lock object; determining, using the processor, whether another process is moving the data object to a new storage location by querying whether the ID is stored in a permanent type lock object; upon determining that another process is not moving the data object to a new storage location, storing the ID in the permanent type lock object; determining whether the ID is stored successfully in the permanent type lock object, and upon a successful storage, deleting the ID from the transactional type lock object; storing the data object at the second storage location; assigning the second storage location to the ID in the permanent type lock object; deleting the data object from the first storage location; and deleting the ID from the permanent type lock object, after the data object has been deleted from the first storage location. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A computer system for processing data, the computer system comprising:
-
a processor executing program instructions; means for selecting a data object stored in a the first storage location of a hardware memory device, the data object being assigned to an identifier (ID); means for determining whether another process is attempting to perform a transaction with the data object by querying whether the ID is stored in a transactional type lock object; means for storing the ID in the transactional type lock object when it is determined that another process is not attempting to perform a transaction with the data object; means for determining whether another process is moving the data object to a new storage location by querying whether the ID is stored in a permanent type lock; means for storing the ID in the permanent type lock object, when it is determined that another process is not moving the data object to a new storage location; means for determining whether the ID is stored successfully in the permanent type lock object, and upon a successful storage, deleting the ID from the transactional type lock object; means for storing the data object at the a second storage location of the hardware memory device; means for assigning the second storage location to the ID in the permanent type lock object; means for deleting the data object from the first storage location; and means for deleting the ID from the permanent type lock object, after the data object has been deleted from the first storage location. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification