01.06.2013 Views

OpenEdge Getting Started: Installation and Configuration - Product ...

OpenEdge Getting Started: Installation and Configuration - Product ...

OpenEdge Getting Started: Installation and Configuration - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>OpenEdge</strong> event logging<br />

The PROLOG utility removes all but the most recent entries from the log file. For more<br />

information, see the details about PROLOG in the “Truncate the database log file” section<br />

on page 213 <strong>and</strong> also see <strong>OpenEdge</strong> Data Management: Database Administration.<br />

Truncate the database log file<br />

The purpose of this activity is to allow you to truncate a database log file that exists <strong>and</strong><br />

the size is greater than 3072 bytes.<br />

Truncating a log file online<br />

The online activity is intended to help you avoid bringing the database down <strong>and</strong><br />

restarting it after the database has been truncated. This eliminates the need to<br />

shutdown the database to archive the log file. An online truncation log file records the<br />

start <strong>and</strong> end of truncation activities <strong>and</strong> records errors to indicate when a truncation<br />

failed, such as:<br />

prolog database-name [-online]<br />

prolog<br />

Enables truncation of a log file. By default, a log file is truncated offline.<br />

database-name<br />

-online<br />

The name of the database to be truncated.<br />

Using the option -online, you do not have to shutdown <strong>and</strong> restart the database<br />

to truncate the database log file.<br />

The online truncation option copies the last 3072+ bytes to a buffer, truncates the<br />

file, <strong>and</strong> then copies the buffer to the file.<br />

Note: Keep in mind that if the -online option is used, the prolog comm<strong>and</strong> can<br />

truncate a log file even if the database is in use.<br />

For more information about the syntax associated with these online <strong>and</strong> offline<br />

activities, see <strong>OpenEdge</strong> Data Management: Database Administration.<br />

<strong>OpenEdge</strong> <strong>Getting</strong> <strong>Started</strong>: <strong>Installation</strong> <strong>and</strong> <strong>Configuration</strong> 213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!