You can enable automated AI file management at any time, with minimal disruption to the database.

Use the following procedure to enable an online database for automated AI file management:

  1. Verify that your database has after-imaging areas and after-imaging is enabled. If not enabled, see Enable after-imaging online for instructions.
  2. Create directories on disks with sufficient space to archive your AI extents.
  3. Enable your database for AI file management.

    Use the following syntax, where your database is named mydb:

    rfutil mydb -C aiarchiver enable 
    -aiarcdir /usr1/aiarchives/mydb/,/usr2/aiarchives/mydb/ 
    -aiarcdircreate -aiarcinterval 120

    You must specify the archiving target directories using the -aiarcdir argument. The optional -aiarcdircreate argument creates the archiving directory if it does not exist. The -aiarcinterval specifies the number of seconds between mandatory extent switches by AI File Management.

    For parameter details, see RFUTIL AIARCHIVER ENABLE qualifier, After-image File Management Archive Directory List (-aiarcdir), After-image File Management Archive Directory Create (-aiarcdircreate), and After-image File Management Archive Interval (-aiarcinterval).