Patent ID: 8849766

Claim:
A computer program product for managing a database, the computer program product comprising: a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code including, command receiving unit program code configured to receive an immediate processing command having a deletion target to be deleted from the database conditioned therein; registration processing unit program code configured to register information defining the deletion target according to the immediate processing command into a management data unit; deletion processing unit program code configured to delete the deletion target according to the immediate processing command from the database, and deregister the deletion target the deletion of which has been completed from the management data unit; and data manipulation command processing unit program code configured to, in the case where a data manipulation command is received which has a manipulation target that coincides with a table of the deletion target that has been registered in the management data unit, process the data manipulation command in a state where a condition to exclude the deletion target from the manipulation target is added to the data manipulation command to cause the deletion target untouched during the processing of the data manipulation command; and wherein: the immediate processing command is an archive preparation command which conditions the deletion target that is to be retrieved for archiving and then deleted, the deletion processing unit program code, in response to an archive deletion execution command instructing execution of the deletion of the intended deletion target, starts the process of deleting the deletion target according to the archive preparation command that has been registered in the management data unit, and the deletion processing unit program code executes a deletion process in a state where the deletion target according to the immediate processing command is not locked in units of records.