Scalable Database Server, HiRDB Version 8 Description

[Contents][Glossary][Index][Back][Next]

3.3.11 Falsification-prevention table

To prevent falsification of critical data due to human error or fraudulence, you can now define a falsification-prevented table, which prevents all users, including the table owner, from updating data in the table. Table 3-5 indicates the executability of operations on falsification-prevented tables.

Table 3-5 Executability of operations on falsification-prevented tables

Operation Falsification-prevention table
With deletion-prevention duration specification Without deletion-prevention duration specification
INSERT Y Y
SELECT Y Y
Update by column (UPDATE) Y1 Y1
Update by row (UPDATE) N N
DELETE Y2 N
PURGE TABLE N N
Other data manipulation SQLs Y Y

Legend:
Y: Can be executed.
N: Cannot be executed.

1 Only updatable columns can be updated.

2 Only data for which the deletion-prevention duration has elapsed can be deleted. If a deletion-prevention duration is not specified, the data in the table cannot be deleted.
Organization of this subsection
(1) Specification method
(2) Limitations

(1) Specification method

To prevent falsification, you specify the INSERT ONLY option (falsification prevention option) in the CREATE TABLE definition SQL. You can also use the INSERT ONLY option of ALTER TABLE to change the definition of an existing table so that it becomes a falsification-prevented table.

You can define the following types of columns when you create or change a table definition:

(2) Limitations

The limitations of falsification-prevented tables and the RDAREAs in which falsification-prevented tables are stored are listed as follows. For details, see the HiRDB Version 8 Installation and Design Guide.