Quick Beginnings

Administering Instances and Databases with the DB2 Administration Tools

You can administer local or remote servers using the DB2 Administration Tools. Use the Control Center to perform administration tasks such as configuring DB2 instances and databases, backing up and recovering data, scheduling jobs, and managing media, all from a graphical interface.

In a partitioned database system, you must also have a listener daemon that runs on each machine in the instance. This daemon is called db2cclst, and is used by all instances that are on the machine. The Control Center uses the listener daemon to retrieve status, connection, and snapshot information from each database partition server. The daemon is not associated with a specific instance; rather, it functions as a global server for the machine.

The listener daemon requires a predefined named port. The named port must be called db2ccmsrv and must be defined in the /etc/services file on every machine. The named port can be assigned any unused port number, but the same number must be used for all machines.

Managing Instances and Database Objects using the Control Center

The Control Center displays instances and database objects (such as table spaces, tables, and packages) and their relationships to each other. Using the Control Center, you can manage local and remote servers from a single point of control. See Figure 10 for an example of the main Control Center window.

Figure 10. Control Center Main Window


A screen capture of the Control Center.

The Control Center distinguishes between single-partition and multipartition database systems via Discovery. Discovery uses the DB2SYSTEM, DB2ADMINSERVER, and DB2COMM registry values. For more information on these registry values, refer to the Administration Guide.

From the Control Center, you can perform operations on database objects. These operations include:

For more information on objects in a partitioned database system, see Introduction to DB2 Enterprise - Extended Edition.

You can also control DB2 instances by:

Wizards are provided to help you perform complex tasks. For example, a wizard is available to tune the performance of your system. See Using DB2 Wizards for descriptions of the various wizards and how to start them.

The Control Center provides additional functionality to assist you in managing your servers:
Control Center Toolbar

Control Center
Use the Control Center to start another session of the Control Center to administer a server.

Satellite Center
Use the Satellite Center to manage the Satellites that are served by a particular DB2 Control Server. It provides create, remove, modify, and manage functions for Satellites and Groups. You can also create and manage scripts to administer the Satellites.

Data Warehouse Center
Use the Data Warehouse Center to manage warehouses; create and manage warehouse objects, such as sources and targets; define, extract, transform, manipulate, and load steps and processes; and schedule and automate steps.

Command Center
Use the Command Center to enter DB2 commands and SQL statements in an interactive window and see the execution result in a result window. You can scroll through the results and save the output to a file.

Script Center
Use the Script Center to create scripts, which you can store and invoke at a later time. These scripts can contain DB2 commands, SQL statements, as well as operating system commands. Scripts can be scheduled to run unattended. These jobs can be run once or set up to run on a repeating schedule; a repeating schedule is particularly useful for tasks like backup.

Alert Center
Use the Alert Center to monitor your system for early warnings of potential problems or to automate actions to correct problems discovered.

Journal
Use the Journal to view all available information about jobs that are pending execution, executing, or that have completed execution. You can also view the recovery history log, the alerts log, and the messages log; and review the results of jobs that are run unattended.

License Center
Use the License Center to manage licenses and display license status and usage of any DB2 products installed on your system. You can also use the License Center to configure your system for proper license monitoring.

Stored Procedure Builder
Use Stored Procedure Builder to create stored procedures, build stored procedures on local and remote DB2 servers, modify and rebuild existing stored procedures, and run stored procedures for testing and debugging the execution of installed stored procedures.

Tools Setting
Use the Tools Setting to change the settings for the DB2 Administration Tools.

Information Center
The Information Center provides quick access to DB2 product information. This product information includes such items as: database tasks, reference material, DB2 documentation, warehouse administration information, troubleshooting aids, sample programs for application development, and DB2 web-related URLs.

You can also analyze performance using the DB2 Performance Monitor and Visual Explain. These tools are available from the Control Center.

Figure 00002773 not displayed.

Use the DB2 Performance Monitor to monitor the performance of your system. You can monitor activity by sampling data over a period of time or using data for a particular event. See "Monitoring Databases using DB2 Performance Monitor" for more information.

Figure 00002774 not displayed.

Use Visual Explain to view the access plan for explained SQL statements as a graph. You can use the information available from the graph to tune your SQL queries for better performance. See "Viewing SQL Access Plans using Visual Explain" for more information.

You can find additional information in the Administration Guide or in the online help.

Managing Communications on the Server

The Control Center allows you to maintain or edit server protocol settings in the database manager configuration file.

For information on how to configure server communications, refer to the Installation and Configuration Supplement.

Monitoring Databases using DB2 Performance Monitor

With the DB2 Performance Monitor, you can:

You can choose to monitor the current state of database activity or collect information when specific events occur. The Performance Monitor allows you to capture point-in-time information at specified intervals. The Event Analyzer allows you to view information about the occurrence of events such as deadlocks and transaction completions.

For additional information, refer to the Administration Guide or the online help. You are also able to use the Windows Performance Monitor (supported on Windows NT and Windows 2000) to monitor both database and system performance. For information on how to register DB2 resources and to use the Windows Performance Monitor, refer to the Administration Guide.

Viewing SQL Access Plans using Visual Explain

Visual Explain helps database administrators and application developers to:

For additional information, refer to the Administration Guide or the online help.


[ Top of Page | Previous Page | Next Page ]