Try OpenEdge Now
skip to main content
Database Administration
Protecting Your Data : After-imaging : AI File Management utility : Enabling your database for automated AI file management : Additional info for enabling automated AI file management
 
Additional info for enabling automated AI file management
In both examples, two directories are specified as output destinations for the archived AI files, /usr1/aiarchives/mydb and /usr2/aiarchives/mydb. If you do not create the directories, you can add an additional parameter, -aiarcdircreate, to instruct the AI file management utility to create the archive directories. In Windows, if you specify more than one directory, place the directory list in quotes. AI File management switches to the second directory when there is insufficient space to write to the current directory (the disk is full). If you specify multiple archive directories, they should be on separate partitions or disks. The -aistall parameter is implicitly included.
Setting -aiarcinterval to 120 directs the daemon to waken and archive extents every 2 minutes. You can specify an interval as small as 2 minutes, and as large as 24 hours. If you omit the -aiarcinterval parameter, the daemon will waken each time an archive fills, regardless of the amount of elapsed time.
If you are unsure of a time interval, you can initially omit -aiarcinterval, and then switch to a timed interval based on the frequency of archives as recorded in the archive log file.