30.11.2012 Views

OpenEdge Management and OpenEdge Explorer: Configuration

OpenEdge Management and OpenEdge Explorer: Configuration

OpenEdge Management and OpenEdge Explorer: Configuration

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using the background writers <strong>and</strong> watchdog process<br />

Using the background writers <strong>and</strong> watchdog process<br />

On shared-memory systems, setting database background writer <strong>and</strong> watchdog processes can<br />

improve database performance. Background writers continuously perform overhead functions<br />

in the background.<br />

Background writers<br />

There are three types of background writers:<br />

• Asynchronous Page Writer (APW) — The APW improves performance by performing<br />

overhead operations in the background. These operations provide available buffers, reduce<br />

the number of buffers that <strong>OpenEdge</strong> reads before writing to disk, <strong>and</strong> reduce the overhead<br />

associated with before-image checkpoints (the process of synchronizing the buffer pool of<br />

modified blocks to the database). You can start <strong>and</strong> stop an APW at any time without<br />

shutting down the database.<br />

• Before-image Writer (BIW) — The BIW improves performance by continually writing<br />

before-image buffers to disk. These writes occur in the background. BIWs are optional;<br />

however, they are highly recommended for improving I/O performance. You can run only<br />

one BIW per database. You can start <strong>and</strong> stop a BIW at any time without shutting down<br />

the database.<br />

• After-image Writer (AIW) — The AIW improves performance by continually writing<br />

after-image (AI) buffers to disk soon after <strong>OpenEdge</strong> fills the buffers. The after-imaging<br />

feature lets you recover a database that was damaged when a failure caused the loss of the<br />

database or primary recovery (BI) area. When you enable after-imaging, <strong>OpenEdge</strong> writes<br />

notes to the after-image files that contain a description of all changes to the database. You<br />

can run only one AIW process per database. You can start <strong>and</strong> stop an AIW at any time<br />

without shutting down the database.<br />

The watchdog process<br />

The watchdog process improves performance by cleaning up after improperly terminated<br />

processes. It releases locks, backs out any live transactions, <strong>and</strong> releases shared-memory locks.<br />

It also disconnects <strong>and</strong> cleans up the server's remote clients.<br />

2–27

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

Saved successfully!

Ooh no, something went wrong!