ubrebuild is a crucial shell script designed to streamline the process of rebuilding UNIBASE tables. Serving as an essential maintenance tool, it effectively reduces table size following significant data deletion and plays a vital role in recovering tables compromised by hardware issues or disk space errors. Importantly, ubrebuild ensures the preservation of critical table attributes, including ownership, access permissions, and the next sequence number. This article details the functionality and usage of ubrebuild, highlighting its diagnostic capabilities and providing practical examples for its application in maintaining the integrity and efficiency of UNIBASE data.
NAME
ubrebuild – rebuild a UNIBASE table
SYNOPSIS
ubrebuild table-list
DESCRIPTION
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
FLAGS
FLAG | ARGUMENT | TYPE | DESCRIPTION |
---|