What Is the Disk Usage Utility?

Note: The ora11du / ora12du utility generates an error if the table version stamp is missing.

When you initially implement Lawson applications with an Oracle database, one of the most challenging tasks is calculating the necessary disk space. The Oracle Disk Usage (ora11du / ora12du) utility can help you calculate disk usage by providing an estimate (plus or minus ten percent) of the amount of disk space required for the table and index data in a given product line. Use this utility during initial setup or when migrating from another database.

Define the product line in dbdef and create the dictionary before you run ora11du / ora12du. If you make changes to the file or index definitions, rebuild the dictionary before you run the utility. The ora11du / ora12du utility may be run against the current, new, or old dictionary files.

The ora11du / ora12du utility uses the information found in the Lawson dictionary and both law_dba_table and law_dba_index to estimate the file and index object sizes. The utility calculates the space needed for an initial number of records by gathering information from dbdef or from the INITIAL_EXTENT parameters defined in law_dba_table.

Two modes of operation are available—online and offline. In either mode, you must tell the utility what block size to use. Specify the block size by choosing the -bx option, with x representing the block size variable. For example, ora11du / ora12du -ob8 dataarea runs offline with a block size of 8K.