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

Create successful ePaper yourself

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

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

Name page/tab<br />

Enter the name of auxiliary table and its owner.<br />

• The table name is the fully-qualified name of the auxiliary table and must not be the same as any table, view,<br />

alias, or synonym on the current server.<br />

• The owner name is the name of the owner of the base table whose column you want to store in the auxiliary<br />

table. This name is the authorization ID that qualifies the table name. If not specified, the DBS subsystem user<br />

identifier for the connection used to create the database is used.<br />

Base Table page/tab<br />

• The base table identifier is the name of the base table whose column you want to store in the auxiliary table. The<br />

auxiliary table is created to hold the data of a LOB column. The LOB column logically belongs to a regular table,<br />

called the base table. However, because its data is too large to physically stored in the base table, the LOB<br />

column data is physically stored in the auxiliary table. The base table identifier is also made up of owner name,<br />

dot, table name. The drop-down list displays the name of all tables in the model that have tables defined with<br />

BLOB or CLOB columns. The base table identifier is optional <strong>ER</strong>/<strong>Studio</strong>, but required for a valid CREATE AUX<br />

TABLE SQL statement.<br />

• You must have one auxiliary table per LOB column for a non-partitioned base table. However, if a LOB Column is<br />

defined in a partitioned base table, then each LOB column must have a separate auxiliary table for each partition<br />

in the base table. The drop-down list displays the name of all columns in the selected base table that are defined<br />

as BLOB or CLOB datatypes. The LOB column name is optional <strong>ER</strong>/<strong>Studio</strong>, but required for a valid CREATE AUX<br />

TABLE SQL statement.<br />

• When creating an auxiliary table for a partitioned table, you can specify the number of the partition whose data<br />

you want to store. This is only valid for LOB Columns defined in base tables stored in partitioned tablespaces.<br />

Storage page/tab<br />

• If you have any defined databases in the model, you can click the list and select the database where the auxiliary<br />

table will be created. For more information, see Creating and Editing DataBases.<br />

• Each auxiliary table must be defined in its own tablespace; i.e. you must have exactly one tablespace per<br />

auxiliary table. The tablespace name can be qualified with the database name in which the tablespace resides.<br />

Together the database.tablespace make up the tablespace identifier. The tablespace name is optional <strong>ER</strong>/<strong>Studio</strong>,<br />

but required for a valid CREATE AUX TABLE SQL statement. For more information, see Creating and Editing<br />

Tablespaces.<br />

• Each auxiliary table requires a Unique Index.<br />

Index Options page/tab<br />

• Concurrent Copy: (COPY) If selected, concurrent copies of the index are allowed, which can increase index<br />

availability by supporting index recovery.<br />

• Do Not Close Dataset: (CLOSE) If selected, the index will not be closed when not in use. If not selected, the<br />

dataset can be closed if it is not in use and the maximum number of open datasets is reached or exceeded.<br />

• None: If selected, no USING clause is included in the CREATE INDEX statement.<br />

• VCAT: (VCAT) If selected, allocates space for the index on a data set managed using the virtual catalog (VCAT)<br />

whose name is specified next to this option, and the user manages the data sets required for the index. The VCAT<br />

method is usually used for defining system catalogs. It requires that the VSAM dataset be pre-defined before the<br />

index space is created.<br />

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

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

Saved successfully!

Ooh no, something went wrong!