Database management program and recording medium
First Claim
1. A database management program for managing allocation/non-allocation of data to individual unit storage regions of a database by means of a use management book, wherein the database management program causes a computer, when the database is initialized, to set all of allocation flags provided in the use management book and indicative of allocation/non-allocation of data to the respective unit storage regions to a non-allocated state, and to update a value of an initialization counter indicative of a number of times the database has been initialized, and causes the computer, each time data is allocated to one of the unit storage regions in the database, to set the allocation flag in the use management book corresponding to the data-allocated unit storage region to an allocated state, and to set the value of the initialization counter as an allocation-timed counter value associated with the data-allocated unit storage region.
1 Assignment
0 Petitions
Accused Products
Abstract
A database management program capable of restoring a use management book indicating allocation/non-allocation of data to individual unit storage regions, without the need to perform physical initialization at the time of reinitialization. When the database is initialized, all allocation flags provided in the use management book and indicative of allocation/non-allocation of data to the respective unit storage regions are set to a non-allocated state, and the value of an initialization counter indicative of the number of times the database has been initialized is updated (S2). Each time data is allocated to one of the unit storage regions in the database, the allocation flag in the use management book corresponding to the data-allocated unit storage region is set to an allocated state, and the value of the initialization counter is set as an allocation-timed counter value associated with the data-allocated unit storage region (S3).
49 Citations
8 Claims
-
1. A database management program for managing allocation/non-allocation of data to individual unit storage regions of a database by means of a use management book,
wherein the database management program causes a computer, when the database is initialized, to set all of allocation flags provided in the use management book and indicative of allocation/non-allocation of data to the respective unit storage regions to a non-allocated state, and to update a value of an initialization counter indicative of a number of times the database has been initialized, and causes the computer, each time data is allocated to one of the unit storage regions in the database, to set the allocation flag in the use management book corresponding to the data-allocated unit storage region to an allocated state, and to set the value of the initialization counter as an allocation-timed counter value associated with the data-allocated unit storage region.
-
6. A computer-readable recording medium having a database management program recorded thereon for managing use/nonuse of individual unit storage regions of a database by means of a use management book,
wherein the database management program causes a computer, when the database is initialized, to set all of allocation flags provided in the use management book and indicative of allocation/non-allocation of data to the respective unit storage regions to a non-allocated state, and to update a value of an initialization counter indicative of a number of times the database has been initialized, and causes the computer, each time data is allocated to one of the unit storage regions in the database, to set the allocation flag in the use management book corresponding to the data-allocated unit storage region to an allocated state, and to set the value of the initialization counter as an allocation-timed counter value associated with the data-allocated unit storage region.
-
7. A database server for managing use/nonuse of individual unit storage regions of a database by means of a use management book, comprising:
-
non-allocation flag setting means for setting, when the database is initialized, all of allocation flags provided in the use management book and associated with the respective unit storage regions to a non-allocated state;
initialization counter updating means for updating, when the database is initialized, a value of an initialization counter indicative of a number of times the database has been initialized;
allocated-state setting means for setting, each time data is allocated to one of the unit storage regions in the database, the allocation flag in the use management book corresponding to the data-allocated unit storage region to an allocated state; and
allocation-timed counter value setting means for setting, each time data is allocated to one of the unit storage regions in the database, the value of the initialization counter as an allocation-timed counter value associated with the data-allocated unit storage region.
-
-
8. A database management method for managing use/nonuse of individual unit storage regions of a database by means of a use management book,
wherein, when the database is initialized, all of allocation flags provided in the use management book and indicative of allocation/non-allocation of data to the respective unit storage regions are set to a non-allocated state, and a value of an initialization counter indicative of a number of times the database has been initialized is updated, and each time data is allocated to one of the unit storage regions in the database, the allocation flag in the use management book corresponding to the data-allocated unit storage region is set to an allocated state, and the value of the initialization counter is set as an allocation-timed counter value associated with the data-allocated unit storage region.
Specification