
|
DB2 LUW V8 Processes |
|
db2cart |
DB2 Archive Process - Invokes Userexit | Per instance. |
| db2agent |
DB2 coordinator/coordinating agent which performs all database requests on behalf on an application. There will be one db2agent process per connected application, unless the connection concentrator is enabled. If intra-partition parallelism is enabled, the db2agent process will call the DB2 subagents to perform the work, and they will return the result set to the coordinator agent to return to the application. In a partitioned database, the coordinator agent will exist on the partition which the application connected to. |
Per instance/connection. |
| db2agentg | The gateway agent for DRDA Application Requesters. | Per instance/connection. |
| db2agnsc |
The parallel recovery agent. This agent is used during roll forward and restart recovery to perform the actions from the logs in parallel. This can improve recovery time in comparison to a serial recovery. Note: This process enables parallelism within logged transactions, as well as between parallel transactions. |
Per instance/connection. |
| db2agnta |
An idle subagent that was used in the past by a coordinating agent and is still associated to that coordinating agent process. It will appear when the INTRA_PARALLEL dbm cfg parameter is set to YES. |
Per instance/connection. |
| db2agntp | A subagent that is currently performing work on behalf of the coordinating agent it is associated with. These processes provide intra-partition parallelism, i.e. the ability to execute a query in parallel within a database instance/partition. | Per instance/connection. |
| db2bm | The backup/restore buffer manipulator. This process is used to read from a tablespace during a backup operation, and to write to a tablespace during a restore operation. There will be one db2bm process per backup/restore buffer configured on the BACKUP or RESTORE command. | Other. |
| db2bp | ||
| db2cart | Determines when a log file can be archived and invokes the user exit to do the actual archiving. There is one db2cart process per instance, but it is only running if there is at least one database in the instance which has USEREXIT enabled. | Per instance. |
| db2chkau | Used by the DB2 audit facility to log entries to the Audit log. It is only active if auditing has been enabled. | Per instance. |
| db2ckpw | Used to check the userid and password on the DB2 server. Since DB2 relies on operating system level authentication, this process is used to verify the userid and password when a user or application connects to a database on the server. Authentication will occur when AUTHENTICATION is set to SERVER, or when a connection is made from a non-secure operating system. | Per instance. |
| db2disp | The DB2 agent dispatcher process. This process dispatches application connections between the logical agent assigned to the application and the available coordinating agents when connection concentration is enabled. This process will only exist when connection concentration is enabled. | Per instance. |
| db2dlock | Local deadlock detector, one per database partition. It scans the lock list and looks for deadlock conditions. When a deadlock condition is encountered, one of the applications/transactions involved is chosen as the victim and rolled back. | Per instance/active database. |
| db2estor | Used to copy pages between the database buffer pools and extended storage. These processes will appear only when extended storage is enabled for database. | Per instance/active database. |
| db2event | The event monitor process. There will be one db2event process per active event monitor, per active database. These processes capture the defined "events" and write to the output file specified for the event monitor. | Per instance/active database. |
| db2fcmd | FCM(Fast Communication Manager) daemon for handling inter-partition communications. One per server, per partition. | Per instance. |
| db2fmcd | The Fault Monitor Coordinator daemon process. One per physical machine. | Per instance. |
| db2fmd | The fault monitor daemon process that is started for every instance of DB2 that is monitored by the fault monitor. It is monitored by the coordinator daemon(db2fmcd), so if you kill the db2fmd process, db2fmcd will bring it back up. | Per instance. |
| db2fmp |
Fenced processes to run user code on the server outside the firewall for both stored procedures and user defined functions. The db2fmp is always a seperate process, but may be multithreaded depending on the types of routines it executes. Note: This process replaces both the db2udf and db2dari processes that were used in previous versions of DB2. |
Other. |
| db2fmtlg | Pre allocates log files in the log path when the database is configured with LOGRETAIN ON and USEREXIT OFF. This is done so the engine process does not need to wait while switching from one log file to the next during normal processing. | Per instance. |
| db2gds | The DB2 Global Daemon Spawner process that starts all DB2 EDUs (processes) on UNIX. There is one db2gds per instance or database partition. | Per instance. |
| db2glock | Global deadlock detector. This coordinates the information gathered from the db2dlock process on each database partition to check for deadlock conditions that exist between database partitions. The db2glock process runs on the catalog partition of a multi-partitioned database. | Per instance. |
| db2govd | The DB2 Governor, a reactive governoring process. If DB2 governor is enabled, this process takes snapshots at the interval specified in the governor configuration file and checks the snapshot against all configured rules. If a rule is broken, the specified action is taken. | Per instance. |
| db2ipccm |
IPC communication manager. One per database partition. This is the interprocess communication listener for local client connections. A local client connection is a connection made from an application(such as the CLP) within the same computer where the DB2 server is running. |
Per instance/connection. |
| db2lbmX |
Load buffer manipulator. the last character 'X' indicates one or more. Writes loaded data to the database and can be involved in async I/O. There is always one and often more depending on a heuristic. The heuristic is based on the number of CPU's on the system and the number of containers being written to. This "intelligent default" may be overridden by the DISK_PARALLELISM modifier to the LOAD command. We should make it clear that this Async I/O is not the async file I/O supported by some operating systems; it just means that we have separate processes writing the I/O. This means that other processes that are formatting the data are not tied up on I/O waits. |
Other. |
| db2lbs | LOAD LOB scanner. They are only used when the load tool is loading into a table with LOB columns. These processes scan the LOB object of the table and read the information back in. | Other. |
| db2lcata |
The LOAD initialization subagent. This subagent is executed only on the catalog partition and is responsible for:
The catalog subagent also queries the system catalog tables to determine which partitions to use for data splitting and partitioning. There is only one catalog subagent for a normal load job. The exception are loads failing to acquire loading resources on some partitions. If setup errors are isolated on database partitions, the coordinator will remove the failed partitions from the load's internal partition list and spawn a new catalog subagent. This process is repeated until resources are successfully acquired on all partitions, or failures are encountered on all partitions. |
Other. |
| db2lfrmx | Load formatter process. The last character 'X' indicates one or more. This process formats the input data into internal form. It is always present in a LOAD. An intelligent default is used which may be overridden by the CPU_PARALLELISM modifier to choose the optimum number of CPU's. | Other. |
| db2lfs | These processes are used when the table being loaded has LONG VARCHAR columns. These are used to read and format the LONG VARCHAR columns in the table. | Other. |
| db2linit | The LOAD initialization subagent. this subagent acquires the resources required on the database partitions and serializes the reply back to the load catalog subagent. | Other. |
| db2lload |
The load subagent processes. This subagent is responsible for carrying out the loading on each database partition. It spawns the formatters, ridder, buffer manipulators and media writer EDU's and oversees their work. There is one load subagent for each output database partition. |
Other. |
| db2llqcl |
The load query cleanup subagent processes. This subagent removes all of the load temporary files from a given partition. There is one cleanup subagent for each output partition, partitioning partition and pre-partitioning partition. |
Other. |
| db2lmctk | This process is used to hold, release or downgrade locks held on the catalog partition as a result of the load. | Other. |
| db2lmibm |
The load mini buffer manipulator subagent processes. This subagent writes the partitioned output file if the partition_only mode is used for the load. There is one mini buffer manipulator subagent per output database partition. |
Other. |
| db2lmitk |
The load mini-task subagent processes. This subagent frees all LOB locators used in a load from cursor call or a CLI load. There is one mini-task subagent per cursor/CLI load running on the coordinator partition. |
Other. |
| db2lmr | This is the LOAD Media Reader process. It reads the load input files and will disappear once the input files have been read completely. This will happen even before the entire load operation has completed. | Other. |
| db2lmwx |
These are the LOAD media writer processes. The last character 'X' indicates one or more. These processes make the "load copy" if this option is specified for the LOAD command. The load copy is essentially a backup of the data that was loaded into the table. These media writers are the same as the media wirters used by BACKUP and RESTORE. There is one media writer invoked per copy session as described on the command line(you can create a load copy to multiple files). If there is no load copy there is no media writer. They get input from the other processes in load depending on what the data type is, but typically every bit of data that gets written bya buffer manipoulator will be passed on to the media writer. As with all the other processes they are controlled by the load agent. |
Other. |
| db2loggr |
The database log reader. This process reads the database log files during:
|
Per instance/active database. |
| db2loggw | The database log writer. This process flushes log records from the log buffer to the log files on disk. | Per instance/active database. |
| db2logts | Process used for collecting historical information about which logs are active when a tablespace is modified. This information is recorded in the DB2TSCHG.HIS file in the database directory. It is used to speed up table space rollforward recovery by enabling the skipping of log files that are not needed for the rollforward operation. | Per instance/active database. |
| db2lpart |
The load partition subagent. This subagent partitions the input data into multiple output streams, one for each database partition where the data will be written. The number of partitioning subagents can be configured by the user. The default number depends on the total number of output database partitions. |
Other. |
| db2lpprt |
Load pre-partition subagent. This subagent pre-partitions the input data from one input stream into multiple output streams, one for each partitioning subagent. There will be one pre-partitioning subagent for each input stream. |
Other. |
| db2lrdfl | The load read-file subagent processes. This subagent reads the message file on a given database partition and sends the data back to the client. there will be a read-file subagent for each output partition, partitioning partition and pre-partioning partition. | Other. |
| db2lrid |
This process performs the index sort and builds the index Record ID's(RID's) during the LOAD. This process is not present in a non-parallel database instance, i.e. INTRA_PARALLEL is disabled. The tasks performed by this process are done by the formatter EDU in a non-parallel instance. This process performs three functions:
|
Other. |
| db2ltsc | The LOAD table scanner. These processes scan the data object for the table being loaded and read the information for the LOAD tool. These are used during a LOAD append operation. | Other. |
| db2lurex |
The load user-exit subagent processes. this subagent runs the user's file transfer command. There will be one user-exit subagent for each load job using the file transfer command option. |
Other. |
| db2med |
These processes handle the reading from and/or writing to the database tablespaces for LOAD, BACKUP, and RESTORE. They write the data in formatted pages to the tablespace containers. |
Other. |
| db2panic | The panic agent. It handles urgent requests after agent loimits have been reached on any of the database's partitions. | Per instance. |
| db2pclnr | The buffer pool page cleaners. These processes asynchronously write dirty pages from the buffer pools back to disk. A dirty page is one that was changed after it was read into the bufferpool and the image on disk is no longer the same as the image in the bufferpool. | Per instance/active database. |
| db2pdbc | The PDB(Parallel Database) Controller. It handles parallel requests from remote nodes. | Per instance. |
| db2pfchr |
the buffer pool prefetchers. These processes read data and index information from disk and into the database bufferpools before it is read on behalf of applications. Prefetchers perform this "read-ahead" asynchronlusly. The DB2 agents, acting on behalf of the applications send prefetch requests which are serviced by the prefetchers. The prefetchers perform big-block I/O to read the data more efficiently. The number of prefetchers per database is configured by the NUM_IOSERVERS database configuration parameter. |
Per instance/active database. |
| db2rebal | The rebalancer process. It is called when containers are added to an existing table space and a rebalance of the existing data is required. This process performs the rebalance asynchronously. | Per instance. |
| db2reorg | This process is used to perform the new online inplace reorg in DB2 V8.1. This works similar to a disk defrag tool, placing the data rows in the specified order. | Other. |
| db2resyn | The resync manager process used to support applications that are using two-phase commit. | Per instance. |
| db2snacm |
SNA/APPC Communication manager. It works as a communication listener for SNA/APPC connection requests. When a connection request is received, the listener associates the connection with an agent, and then resumes listening for more connection requests. When the page cleaners are "triggered" they will all run at the same time. Once they complete their assigned work they sleep until triggered again. Page cleaners work to ensure that there is room in the bufferpools for new pages being retrieved for applications. The number of page cleaners per database is configured by the NUM_IOCLEANERS database configuration parameter. |
Per instance/connection. |
| db2srvlst | Process used to manage lists of addresses for systems such as ZOS. | Per instance. |
| db2start | ||
| db2star2 | ||
| db2stop | ||
| db2stop2 | ||
| db2sysc | The main DB2 system controller or engine. Without this process, the database server cannot function. | Per instance. |
| db2syslog | The system logger process. This process writes to the operating system error log facility. On UNIX this must be enabled by editing the file syslog.conf. On windows DB2 will automatically write the Windows event log. | Per instance. |
| db2tcpcm | TCP communication manager. It works as a communication listener for TCP/IP connection requests. When a connection request is received, the listener associates the connection with an agent, and then resumes listening for more connection requests. | Per instance/connection. |
| db2tcpdm | Communication listener for TCP/IP discovery requests. Discovery requests are made by the configuration assistant(CA) when it is searching the network for remote DB2 servers and their databases. | Per instance/connection. |
| db2wdog | The db2 watchdog. This process is required since processes in UNIX can only track their parent process ID. Each time a new process is started, the db2gds notifies the DB2 watchdog. In the event that any DB2 processes receive a ctrl-c or other abnormal signal, the process send the signal to the watchdog, and it propagates the signal to all of the other processes in the instance. | Per instance. |
| dlasync | A monitor for the DB2 Data Links (File Manager) servers. This process only exists if DB2 has been configured for data links. | Per instance. |
CBI Edit Region
copyright © 2004 Chad Breiner Inc. ![]()