24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

USING <strong>ER</strong>/STUDIO > DEVELOPING THE PHYSICAL MODEL<br />

Create a TableSpace<br />

1 In the Data Model Explorer, expand the Physical Main Model, right-click the Tablespaces node, and then click<br />

New Tablespace.<br />

2 Complete the Tablespaces Wizard and then click Finish to create the alias.<br />

TIP: Once you have created the tablespace, you can edit it by right-clicking the tablespace you want<br />

to change, and then selecting Edit Tablespace.<br />

The following describe options that require additional explanation. The options available depend on the database<br />

platform selected.<br />

NOTE: Many of the table space parameters are also used when defining table storage. For information<br />

on defining storage parameters not described here, see Defining Table Storage.<br />

Name & Type page/tab<br />

• Choose the type of data to store in the tablespace:<br />

• Regular: Choose for all data types except for temporary tables.<br />

• Long: Choose for long or LOB tables columns, or for structured type columns or index data. The table space<br />

must be a DMS table space.<br />

• Temporary: Choose if you want to store temporary data. A database must have at least one temporary table<br />

space to store temporary tables and another that allows the declaration of temporary tables.<br />

Name page/tab<br />

• Do you want space management to be performed through the dictionary or locally in the tablespace?<br />

Specify how extents should be managed.<br />

• Dictionary Managed: Relies on SQL dictionary tables to track space utilization. Adding an extent to a table<br />

requires the database manager to find free space, mark it as non-free and potentially causes rollback<br />

segments to extend. These operations may jeopardize database performance because they cannot be<br />

performed simultaneously. However, dictionary managed tablespaces are very flexible, different objects<br />

sharing the same tablespace can have different extent sizes.<br />

• Locally Managed: Eliminates the problem of tablespace fragmentation, and potential bottlenecks associated<br />

with the data dictionary. The database manager maintains a bitmap of free and used blocks, or sets of blocks.<br />

Locally managed tablespaces can be used for temporary tablespaces and can often sustain high<br />

extent-allocation and deallocation activities. If a table is created with the wrong extent size, causing tablespace<br />

fragmentation, this type of tablespace management can enforce extent uniformity at the tablespace level.<br />

• Disable logging when schema/data is modified: If selected, disables logging when schema or data is<br />

modified.<br />

• Place tablespace offline after creation: If selected, places tablespace offline after creation.<br />

• AutoAllocate Extents: If selected, Oracle automatically assigns and allocates appropriately sized extents<br />

depending on the objects in the tablespace.<br />

• Uniform Extent Size: If selected, extent sizes are managed at the tablespace level, not at the object level. The<br />

extent size is specified when the tablespace is created and all the extents for objects created in the tablespace<br />

will be the same.The uniform extent size cannot be overridden when a schema object, such as a table or an<br />

index, is created. This option may eliminate fragmentation.<br />

Datafile page/tab<br />

• Defined Datafiles: Double-click the Size or Unit fields to edit them. Click Add only when you need to define<br />

another datafile.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 207

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

Saved successfully!

Ooh no, something went wrong!