How the multithreaded architecture works in DB2 9.5

Source: Internet
Author: User
Tags db2 log linux

Brief introduction

To understand the new multithreaded functionality in DB2 9.5, this article first discusses the DB2 process model. The entire DB2 process model is controlled by the Base System Utilities (bsus). BSU allocates memory for instance and database, intercepts and processes signals, and handles exceptions sent to DB2. Figure 1 shows the old DB2 process model for Linux and UNIX platforms.

Figure 1. Old DB2 process model on Linux and UNIX

Figure 2 shows the new process model on Linux and UNIX.


Figure 2. New DB2 process model on Linux and UNIX

The communication between the database server, client, and application is handled by a framework. This framework is the process model that is used by all DB2 servers. It ensures that the database files used internally do not interfere with users or database applications.

The engine dispatch unit (engine dispatchable units,edu) is responsible for performing various tasks, such as processing database application requests, reading database log files, and refreshing log records from the log buffer to log files on disk. Typically, the DB2 server processes each task as a separate EDU. Prior to DB2 9.5, most of these EDU were processes in UNIX and Linux environments and were threads in the Windows environment. In 9.5, the DB2 process model is unified, and EDU is now a thread in Linux, UNIX, and Windows environments.

Here are some of the advantages of this new memory model:

This new memory model is simpler and easier to configure. See the following in DB2 information Center:

Configure memory and Memory heap

Memory Configuration Simplification

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.