ubrebuild – rebuild a UNIBASE table
ubrebuild is a shell script that automates the rebuilding of UNIBASE tables
It can be used as a maintenance function to reduce the size of UNIBASE tables after deleting a large number of records or to recover a table that has been corrupted by a hardware failure or disk full error.
ubrebuild preserves the ownership (user and group), access modes, and next sequence number of a table.
<P> <B>DIAGNOSTICS</B><BR> ubrebuild will fail if it can’t get a good dump of the original table or the numbers of records in the rebuilt table does not match the number of records in the original table. In the first case the table is unchanged. In the latter the original table is removed and a good dump copy is in the file table>>.tmp. <P> <B>EXAMPLE</B><BR> ubrebuild journal