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

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

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

Using <strong>OpenEdge</strong> resources in Windows<br />

Using <strong>OpenEdge</strong> resources in Windows<br />

<strong>OpenEdge</strong> uses several operating system resources such as shared memory <strong>and</strong><br />

memory locks, processes, <strong>and</strong> client memory in Windows. You can plan <strong>OpenEdge</strong><br />

operations more effectively if you underst<strong>and</strong> these resources.<br />

Shared memory<br />

Shared memory is an area in the system memory that multiple users can access<br />

concurrently. <strong>OpenEdge</strong> stores shared resources in the shared-memory area, enabling<br />

multiple users <strong>and</strong> servers access to each database. <strong>OpenEdge</strong> uses semaphores <strong>and</strong><br />

spin locks to synchronize the activities of server <strong>and</strong> self-service client processes that<br />

are connected to a database. Each process uses its semaphore or relies upon the spin<br />

lock when it must wait for a shared resource.<br />

You can tune <strong>OpenEdge</strong> performance by reconfiguring the size of the following<br />

shared-memory buffers:<br />

• Database buffers — <strong>OpenEdge</strong> reads database blocks into the database buffer<br />

pool. Larger buffers usually result in less disk I/O.<br />

• Before-image (BI) buffers — <strong>OpenEdge</strong> stores BI notes in memory before<br />

writing them to disk.<br />

• After-image (AI) buffers — <strong>OpenEdge</strong> stores AI notes in memory before writing<br />

them to disk.<br />

<strong>OpenEdge</strong> also creates shared-memory tables to provide essential information on the<br />

status of each process, server, transaction, <strong>and</strong> lock. These tables enable you to<br />

control all of the database activities from one shared area.<br />

Processes on Windows <strong>and</strong> UNIX platforms<br />

<strong>OpenEdge</strong> provides the following optional processes to improve performance in<br />

Windows <strong>and</strong> on UNIX platforms:<br />

• Asynchronous Page Writer (APW) — Improves database performance by<br />

performing overhead operations in the background. These operations provide<br />

available buffers, reduce the number of buffers that <strong>OpenEdge</strong> reads before<br />

writing to disk, <strong>and</strong> reduce the overhead associated with before-image<br />

checkpointing (the process of synchronizing the buffer pool of modified blocks to<br />

the database).<br />

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

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

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

buffers to disk soon after <strong>OpenEdge</strong> fills the buffers.<br />

• <strong>OpenEdge</strong> Watchdog (PROWDOG) — Cleans up after improperly terminated<br />

processes by releasing locks, backing out any live transactions <strong>and</strong> releasing<br />

shared-memory locks, <strong>and</strong> disconnecting <strong>and</strong> cleaning up the server’s remote<br />

clients.<br />

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

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

Saved successfully!

Ooh no, something went wrong!