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

Sybase Table Storage Options<br />

The options available depend on the database platform.<br />

• DB Space: Specifies the name of the database where the table data is stored.<br />

• Segment: Specifies the name of the segment where the table is stored.<br />

• Locking Scheme: Specifies the locking scheme to implement for DDL transactions.<br />

• ALLPAGES: Locks the data pages and index pages affected by the query.<br />

• DATAPAGES: Locks the data pages but not the index pages, and the lock is held until the end of the<br />

transaction.<br />

• DATAROWS: Locks the individual rows on data pages; rows and pages are not locked. This scheme requires<br />

more overhead but is beneficial for small tables with much contention.<br />

• Max Rows per Page: Specifies the maximum number of rows per page.<br />

• Reserve Page Gap: Specify the reserve gap parameters.<br />

• Identity Gap: Controls the allocation of ID numbers and potential gaps resulting from restarting the server.<br />

Creates ID number blocks of a specific size which improves performance by reducing contention for the table.<br />

Overrides the server-wide identity burning set factor. If the identity gap is set to 1000m the server allocates the<br />

first 1000 numbers and stores the highest number of the block to disk. When all the numbers are used, the server<br />

takes the next 1000 numbers. If after inserting row 2050 the power fails, then when the server restarts it’ll start<br />

with ID 3000, leaving an ID gap of 950 numbers. Each time the server must write the highest number of a block to<br />

disk, performance is affected so you must find the best setting to achieve the optimal performance with the lower<br />

gap value acceptable for your situation.<br />

• Replacement Strategy: Select to use the fetch-and-discard (or MRU) replacement strategy that reads pages<br />

into cache at the most recently-used (MRU) end of the buffer, so it does not flush other pages. But these pages<br />

remain in cache a much shorter time, so subsequent queries are less likely to find the page in cache.<br />

• Prefetch Strategies: Enables or disables large I/O for a session.<br />

Define Table Overflow Options<br />

The Table Editor Overflow tab specifies how to store the overflow records when a row is updated and no longer fits on<br />

the page where it was originally written. The Overflow tab of the Table Editor is available for index-organized tables on<br />

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

1 In the Data Model Window, double-click the table for which you want to specify storage options.<br />

2 From the Table Editor, select the Overflow tab.<br />

3 Complete the Overflow tab options as required and then click OK to exit the editor.<br />

The Overflow tab creates an ORGANIZATION INDEX clause in the CREATE TABLE statement. Any options you<br />

specify on this tab will follow this clause.<br />

The following describes options on the Overflow tab that require additional explanation.<br />

• Tablespace: Specifies the name of the tablespace on which the overflow is stored.<br />

• No Logging: Select if you do not want the DLL operations to be logged in the redo file. This can reduce index<br />

creation and updates by up to 30%.<br />

• Pct Threshold: (PCTTHRESHOLD): Specifies the percentage of space reserved in the index block for the<br />

index-organized table. Any portion of a row that exceeds this threshold is stored in the overflow segment.<br />

• Including: (INCLUDING) Select the column to include in the overflow.<br />

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

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

Saved successfully!

Ooh no, something went wrong!