28.06.2014 Views

Performance Tuning Siebel Software on the Sun Platform

Performance Tuning Siebel Software on the Sun Platform

Performance Tuning Siebel Software on the Sun Platform

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.

7.6 <str<strong>on</strong>g>Tuning</str<strong>on</strong>g> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> Standard Oracle Database and <strong>Sun</strong> Storage<br />

The size of <strong>the</strong> database used was approximately 140 Gbytes. The database was built to<br />

simulate customers with large transacti<strong>on</strong> volumes and data distributi<strong>on</strong>s that<br />

represented <strong>the</strong> most comm<strong>on</strong> customer data shapes. Table 7.6 shows a sampling of<br />

record volumes and sizes in <strong>the</strong> database for key business entities of <strong>the</strong> standard <str<strong>on</strong>g>Siebel</str<strong>on</strong>g><br />

volume database.<br />

Business Entity<br />

Database Table<br />

Name<br />

Number of<br />

Records<br />

Size in Kbytes<br />

Accounts S_ORG_EXT 1,897,161 3,145,728<br />

Activities S_EVT_ACT 8,744,305 6,291,456<br />

Addresses S_ADDR_ORG 3,058,666 2,097,152<br />

C<strong>on</strong>tacts S_CONTACTS 3,366,764 4,718,592<br />

Employees S_EMPLOYEE_ATT 21,000 524<br />

Opportunities S_OPTY 3,237,794 4,194,304<br />

Orders S_ORDER 355,297 471,859<br />

Products S_PROD_INT 226,000 367,001<br />

Quote Items S_QUOTE_ITEM 1,984,099 2,621,440<br />

Quotes S_QUOTE_ATT 253,614 524<br />

Service Requests S_SRV_REQ 5,581,538 4,718,592<br />

Table 7.6<br />

7.6.1 Optimal Database C<strong>on</strong>figurati<strong>on</strong><br />

Creating a well-planned database to begin with will require less tuning/reorganizing<br />

during runtime. While many resources are available to facilitate creati<strong>on</strong> of highperformance<br />

Oracle databases, most tuning engineers would find <strong>the</strong>mselves tweaking a<br />

database c<strong>on</strong>sisting of thousands of tables and indexes, piece by piece. This is both time<br />

c<strong>on</strong>suming and pr<strong>on</strong>e to mistakes. Eventually <strong>on</strong>e would end up rebuilding <strong>the</strong> entire<br />

database from scratch.<br />

The following approach provides an alternative to tuning a pre-existing, pre-packaged<br />

database:<br />

1. Measure <strong>the</strong> exact space used by each object in <strong>the</strong> schema. The<br />

dbms_space packages provide <strong>the</strong> accurate space used by an index or a table.<br />

O<strong>the</strong>r sources like dba_free_space <strong>on</strong>ly tell you “how much is free” from <strong>the</strong><br />

total allocated space, which is always more. Next, run <strong>the</strong> benchmark test and<br />

again measure <strong>the</strong> space used. The difference will result in an accurate report of<br />

“how much each table/index grows during <strong>the</strong> test.” One can use this data to rightsize<br />

all of <strong>the</strong> tables, such as <strong>the</strong> capacity planned for growth during <strong>the</strong> test. Also<br />

<strong>the</strong> data can be used to figure out and c<strong>on</strong>centrate <strong>on</strong> <strong>on</strong>ly <strong>the</strong> hot tables used by<br />

<strong>the</strong> test.<br />

2. Create a new database with multiple index and data tablespaces. The idea is<br />

to place all equi-extent-sized tables into <strong>the</strong>ir own tablespace. Keeping <strong>the</strong> data<br />

and index objects in <strong>the</strong>ir own tablespace reduces c<strong>on</strong>tenti<strong>on</strong> and fragmentati<strong>on</strong>,<br />

<str<strong>on</strong>g>Performance</str<strong>on</strong>g> <str<strong>on</strong>g>Tuning</str<strong>on</strong>g> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> <str<strong>on</strong>g>Software</str<strong>on</strong>g> <strong>on</strong> <strong>the</strong> <strong>Sun</strong> <strong>Platform</strong> Page 39

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

Saved successfully!

Ooh no, something went wrong!