16.10.2015 Views

Getting Started with DB2 Express-C

Create successful ePaper yourself

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

Chapter 6 – <strong>DB2</strong> Architecture 111<br />

previous versions of <strong>DB2</strong>.<br />

Table 6.1 – Common <strong>DB2</strong> processes<br />

Thread Name<br />

db2sysc<br />

db2tcpcm<br />

db2agent<br />

db2agntp<br />

db2pfchr<br />

db2pclnr<br />

Description<br />

The system controller thread. This thread is responsible for the start-up<br />

and shut-down and the management of the running instance<br />

TCP/IP communication listener<br />

Coordinator agent that performs database operations on behalf of<br />

applications (at least 1 per connection, depending if Connection<br />

Concentrator is enabled).<br />

Active subagent spawned if INTRA_PARALLEL is set to YES. This<br />

thread performs database operations for the application. db2agent will<br />

coordinate the work between the different db2agntp subagents.<br />

<strong>DB2</strong> asynchronous I/O data prefetcher (NUM_IOSERVERS)<br />

<strong>DB2</strong> asynchronous I/O data writer (NUM_IOCLEANERS)<br />

Table 6.2 – Common <strong>DB2</strong> threads<br />

6.2 <strong>DB2</strong> memory model<br />

The <strong>DB2</strong> memory model consists of different areas in memory at the instance level,<br />

database level, and application and agent level as shown in Figure 6.2. We will not explain<br />

in detail each of the different areas in memory in this book, but just provide a brief<br />

overview.

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

Saved successfully!

Ooh no, something went wrong!