17.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.

Chapter 3 – Maintaining the database 111<br />

Figure 3.9 – SQL Results view displays the results of deployment<br />

3.2.1.2 Use the new table space<br />

Now you have a new table space that you can associate <strong>with</strong> tables, indexes, or other<br />

objects that you create. This association specifies that the <strong>DB2</strong> data server should use this<br />

table space <strong>for</strong> physical storage of those objects. To associate any existing objects <strong>with</strong><br />

this new table space, you can right-click the object, then select Alter.<br />

3.2.1.3 Drop a table space<br />

You can drop a table space by selecting the table space from the object list editor.<br />

However, be careful whenever you drop a table space, because any associated tables and<br />

data is dropped, as well. To drop a table space, select the Table Spaces folder in the<br />

Administration Explorer, right-click on the table space in object list editor on the right, and<br />

select Drop. You can see an example of a drop action in Figure 3.10. To deploy the change<br />

to the database, follow the deployment steps from Section 2.4.5 of Chapter 2.<br />

Figure 3.10 – Dropping a table space

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

Saved successfully!

Ooh no, something went wrong!