Nonstop Database, HiRDB Version 9 Command Reference
You use the reorganization method that uses a UOC mainly in the following cases:
You can output only data that is needed to an unload data file by using a UOC during the unload operation for table reorganization or during the table unload operation to determine which data is needed.
The figure below provides an overview of reorganization using a UOC (deleting unneeded data).
Figure 8-24 Overview of reorganization using a UOC (deleting unneeded data)
When you unload a table, you can use a UOC to update or edit the data and output it to an unload data file. The resulting unload data file is in pdload's input data file format.
You can also use a UOC to update or edit data and save it in a file in a desired format. The obtained file is called a UOC data file.
The figure below provides an overview of reorganization using a UOC (updating data for use by applications).
Figure 8-25 Overview of reorganization using a UOC (updating data for use by applications)
Note that you can update data for use by applications only when -k unld is specified, in which case you also need to specify the -W option.
Table 8-28 Check items for each data type in the post-update data
Data type | Check item | ||||
---|---|---|---|---|---|
Length of variable-length data#1 | Sign#2 | Data range#3 | Repetition column | ||
Number of elements | Null value | ||||
INTEGER, SMALLINT, FLOAT, SMALLFLT | -- | N | N | Y | Y |
DECIMAL | -- | Y | Y | Y | Y |
CHAR, MCHAR, NCHAR | -- | -- | N | Y | Y |
DATE, TIME | -- | -- | Y#4 | Y | Y |
INTERVAL YEAR TO DAY, INTERVAL HOUR TO SECOND | -- | Y | Y#4 | Y | Y |
VARCHAR, MVARCHAR, NVARCHAR | Y | -- | N | Y | Y |
TIMESTAMP | -- | -- | Y#4 | Y | Y |
BINARY | Y | -- | N | -- | -- |
BLOB (BLOB attribute) | Y | -- | N | -- | -- |
Abstract data type (parameter value) | Depends on the data type of each parameter. |
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.