16.10.2015 Views

Getting Started with IBM Data Studio for DB2

Create successful ePaper yourself

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

67<br />

Chapter 2 – Managing your database<br />

environment<br />

Whether you are a developer or database administrator, everyone working <strong>with</strong> or<br />

connecting to a database, needs to understand the basics of managing their database<br />

environment. This chapter discusses how to manage your <strong>DB2</strong> database environment<br />

using <strong>Data</strong> <strong>Studio</strong>.<br />

In this chapter you will learn:<br />

• How to stop and start a <strong>DB2</strong> instance<br />

• How to create and connect to a database and navigate through the database.<br />

• How to create tables, views and indexes and deploy them using a change plan<br />

• How to manage users and grant them access to database objects<br />

• How to generate entity-relationship diagrams<br />

• How to work <strong>with</strong> existing tables to edit data and generate DDL<br />

Note:<br />

This book does not explain basic <strong>DB2</strong> concepts, but shows you how to work <strong>with</strong> them. If<br />

you are not familiar <strong>with</strong> <strong>DB2</strong> Express-C, review the <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>DB2</strong> Express-C<br />

book, which is part of this <strong>DB2</strong> on Campus series.<br />

2.1 Managing your database environment: The big picture<br />

As mentioned in Chapter 1, <strong>Data</strong> <strong>Studio</strong> is the successor of other tools, such as the <strong>DB2</strong><br />

Control Center. Control Center was officially deprecated in <strong>DB2</strong> 9.7, which means it is still<br />

supported in <strong>DB2</strong> 9.7 but will no longer be enhanced and will be removed from a<br />

subsequent release of <strong>DB2</strong>. <strong>Data</strong> <strong>Studio</strong> includes support <strong>for</strong> many database administrator<br />

tasks, which are shown in Figure 2.1.

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

Saved successfully!

Ooh no, something went wrong!