Resizing Files

The resizing process works by extending the primary space of the file and rehashing all items. While this process is running, access to the file may be slower, but the file is otherwise available as normal. If the system is rebooted while files are being resized, the resizing process is restarted automatically by the servers. The resizing is done in the background by system threads, running on the servers where the file is located.

The current version has the following limitations that will be addressed in future releases:

To resize files:

  1. Right-click the Tables node in the database to be examined from the Domain Explorer and select the Check Overflow Files option.

    The Files Overflow dialog box displays. Files in the database are represented with a list of color coded icons. Files marked yellow and red may need resizing. See Checking Overflow for more information.

  2. Click the file to be resized.

    The General tab of the of the Properties dialog box displays.

    TIP

    This property information can also be accessed for any table by right-clicking the Tables node form the Domain Explorer and selecting the Properties option.

     

  3. Type a new modulo in the Modulo text box and click the Resize button.

    The Resize Table dialog box can also be opened from the Hash Test dialog box. See Running a Hash Test for more information.

    NOTE

      Even though the Hash Test dialog box allows testing a non-prime modulo, the resizing process always adjusts to the highest and closest prime number before starting the resizing.

      The Resize Table dialog box displays.

    • Select the appropriate Table Check Option:

      Check

      (Default) Automatically performs the file error check. If any file errors are encountered, the user is notified of the error and the file resize process is not initiated.

      No Check

      Disables the automatic file check process.

      Check and Fix

      Attempts to correct any file errors encountered. If errors are found and are successfully fixed, the user is notified and file resize process is started. If errors are found and cannot be successfully fixed, the user is notified and file resize process is not initiated.

    • Click the Start button.

      The file resize process is initiated. Once the process starts, the status bar displays the progress of the resize. When the status bar reaches the end of the status bar box and Ready once again displays above the status bar, the resize process is complete.

    • Click Close.

    See Also

    Record Locks

    General Table Properties

    Usage Table Properties

    Statistics Table Properties

    Listing Servers

    Flash Shared Code

    Managing Indexes

    Checking Overflow

    Running a Hash Test