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 />

Name tab<br />

• Should this rollback segment be made public? This option only applies to a database operating in a parallel<br />

server environment. A public rollback segment can be brought online by any instance of the database in a parallel<br />

server environment. A private rollback segment can only be brought online by the database instance that has the<br />

rollback segment specified in its initialization file.<br />

Storage tab<br />

• What extent sizes do you want to assign to this rollback segment?<br />

The before-image details for multiple transactions can be recorded in one rollback segment but each transaction<br />

must fit entirely into one segment and the blocks of a rollback segment are not overwritten until the transaction<br />

that wrote to those blocks has been committed. You must therefore, ensure the rollback segment is big enough<br />

to hold all the information for the longest running query without wrapping and is big enough to hold the undo<br />

information for the largest transaction × number of concurrent transactions ÷ number of rollback segments.<br />

• The default extent size is the size of 5 data blocks. The default minimum extent size is the size of 2 data<br />

blocks. The maximum extent size varies by operating system.<br />

• Optimal Size: The optimal extent size cannot be less that the space initially allocated for the rolback segment.<br />

• What are the minimum and maximum number of extents...?The default minimum number of extents is 2.The<br />

default maximum number of extents varies by operating system.<br />

Definition tab<br />

DDL tab<br />

Enter or edit a definition for the rollback segment. If the target database supports it, <strong>ER</strong>/<strong>Studio</strong> adds this<br />

definition as a comment when generating SQL code.<br />

Displays the CREATE ROLLBACK SEGMENT statement needed to build the rollback segment. <strong>ER</strong>/<strong>Studio</strong> uses the<br />

platform-specific parser of the model’s selected database platform to generate the rollback segment.<br />

Attachment Bindings tab<br />

Bind an external piece of information, or attachment to the rollback segment. You can also remove an<br />

attachment from an object, override an attachment binding’s default value, or change the position of a bound<br />

attachment. To override the value of the attachment you have moved to the Selected Attachments grid,<br />

double-click the Value field of the target attachment. <strong>ER</strong>/<strong>Studio</strong> opens the Value Override Editor or a list<br />

depending on the attachment datatype. Attachments are created in the Attachments folder of the Data Dictionary.<br />

For more information, see Attaching External Documents to the Data Model.<br />

Creating and Editing Sequences<br />

Sequences are used to generate a series of integer values according to rules defined in the sequence. Database<br />

sequences are generally are used to create primary keys; they can also be used to generate random numbers.<br />

The following database platforms support sequences:<br />

• IBM DB2 for LUW 9.x<br />

• Oracle 8.x, 9i, 9i, 10g, and 11g<br />

NOTE: The Sequence Wizard and Sequence Editor share the same options, except for Attachment<br />

Bindings options which are present only in the editor.<br />

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

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

Saved successfully!

Ooh no, something went wrong!