IBM Books

Administration Getting Started


Using the Control Center

The Control Center contains tools for performing common database administration tasks. It provides seamless integration of the DB2 administration tools, gives you a clear view of all managed systems, lets you manage databases remotely, and provides step-by-step assistance for some tasks.

This section covers the following topics:

Opening the Control Center

To open the Control Center:

  1. From the desktop, open the DB2 product folder. Depending on the system you are running, for example the Windows NT operating system, it could be called DB2 for Windows NT. On systems running the Windows NT 4.0 and Windows 95 operating systems, it is found in the Start menu.

  2. Open the Server Administration folder. (You do not perform this step on systems running the Windows NT 3.51 operating system.)

  3. Double-click on the Control Center icon. The Control Center opens.

Figure 1. DB2 Control Center


* Figure SQLK0CNC not displayed.

The interface of the Control Center contains the following features:

At any time, you can set preferences for the DB2 administration tools by clicking on the Tools Settings icon in the toolbar or the menu choice in the View menu to open the Tools Settings notebook.

Displaying Systems

To display all of the systems that your system is connected to and which have DB2 installed:

  1. Expand the object tree by clicking on the plus sign (+) beside Systems. Icons representing the actual local machine and any remote machines are displayed.

    (Your local system is represented by the icon labelled Local. It appears only if the local machine is a DB2 server. If you click with mouse button 2 on the Local icon, one of the options in the pop-up menu is called Connect to administration server. The Administration Server lets you take advantage of functions such as performance monitoring and scheduling. It is used as a service by the DB2 Administration Tools to satisfy operating system requests and it is automatically created and started for you (its default name is DB2DAS00).)

  2. Expand the Local icon. The instance of DB2 on the local machine is displayed in a tree structure.

    Each copy of the database manager code can be thought of as a separate instance, and is stored in a directory on your machine. The database manager is DB2 code that manages data. A default local instance is created when you install DB2. In this book you will create and work with a single database under the default instance.

    (You can have several instances on a single system. You can use these instances to separate the development environment from the production environment, or to restrict sensitive information to a particular group of people. You can also tune an instance for a particular environment.)

  3. Expand the Instances icon. For each database that exists, an icon and the name are displayed.

    A relational database is a collection of data that is stored in tables. Database objects such as views and indexes are provided to help manage the data. For each database, an entry exists in the Database Directory file.

Figure 5 illustrates the concepts described in this section.

Figure 5. Database Logical View and Equivalent Physical View


* Figure SQLK0CON not displayed.

Creating a Basic Database

To quickly create a basic database:

  1. Click mouse button 2 on the Databases icon and select Create -> New from the pop-up menu. (Mouse button 2 is the right mouse button on a right-handed mouse.) The Create Database SmartGuide opens.

    Figure 6. Create Database SmartGuide


    * Figure SQLK0CDB not displayed.

  2. Enter a name for the database, select a drive, and click on Done. If you do not enter an alias (local name), the database name will be used as the alias.

Later you can use the Create Database SmartGuide again to create other databases where you can:

  1. Allocate space for the database

  2. Specify basic storage performance characteristics

  3. Specify the locale for the correct selection of code pages for sorting and code page conversion

More options exist for creating a database. For now, a simple database is sufficient to illustrate how to use the Control Center.

To bring up a pop-up menu that shows all the actions you can perform on a database, click on it with mouse button 2. Many of the actions are described in more detail in this book.

Creating and Working with Objects

You can create and work with objects below the database level such as tables, views, and indexes.

To create new objects:

  1. Expand the database icon of the database you just created. Object types are displayed as folder icons.

  2. Click mouse button 2 on a folder icon, such as Tables. The pop-up menu is displayed.

    Figure 7. Pop-up Menu for Tables


    * Figure SQLK0TBL not displayed.

  3. Select Create. A Create window or Create SmartGuide opens, depending on the create action you choose.

From the object tree, you can click on a folder icon such as Tables. If any tables exist, they are displayed in the contents pane. You can then select a table in the contents pane and invoke an action for it.

For more information about using the Control Center, go to its online help (available from its Help menu or by pressing F1 anywhere in the Control Center). For example, you will find instructions on:

Using the SmartGuides

The DB2 SmartGuides are part of the DB2 administration tools and step you through the administration tasks. The following SmartGuides are available:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]