| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel Server Installation Guide for Microsoft Windows > Creating the DB2 Universal Database for Windows and UNIX > Database Layout Guidelines >
Planning the Distribution of Your Database Objects
Regardless of the RDBMS you implement and your chosen disk arrangement, be sure that you properly distribute the following types of database objects:
- Database log or archive files
- Temporary work space used by the database
- Tables and indexes
In most implementations, the Siebel tables listed in Table 15 and their corresponding indexes are either the most commonly used, or they can be large in some or in all deployments. For example, the tables
S_EVT_ACT,S_CONTACT,andS_ORG_EXTare large in all enterprise-level deployments of Siebel eBusiness Applications. These tables and indexes should be separated across devices. As a general rule, indexes should be in a different tablespace and, if possible, on different physical devices from the tables on which they are created.If you use Siebel Enterprise Integration Manager (EIM) frequently, you may want to put the interface tables (names starting with
EIM_) on different devices from the Siebel base tables, because both are accessed simultaneously during EIM operations.NOTE: Siebel tablespaces on DB2 UDB should be database-managed tablespaces (DMS) rather than system-managed tablespaces (SMS).
Reorganizing Fragmented Tables and Indexes
It is recommended that you use the
REORGCHKutility to reorganize tables and indexes that have a tendency to become fragmented.No strict guidelines can be offered as to which tables and indexes may be fragmented due to the variety in application and customer operation variables at any given customer site. However, database administrators (DBAs) should pay attention to the status of large or heavily used tables, since fragmentation of these tables can affect performance significantly. (For a list of these Siebel tables, see Table 15.)
It is not a good idea to reorganize
S_ESCL_LOG,S_DOCK_INIT_ITEM,S_ESCL_ACTN_REQ,S_EVT_ACT,S_OPTY_POSTN,s_OPTY_TERR,S_ORG_EXT,S_APSRVR_REQ,and allS_DOCK_INITM_%%tables (where%is a digit), because these tables are defined to be in append mode.To reorganize tables
- Run
REORGCHKon heavily used tables, and then review the resulting reports and extract list of any fragmented objects.- Based on the results of
REORGCHK,reorganize any tables, as needed, by runningREORG TABLE.- After table reorganization, update statistics by using the
runstatsutility on any reorganized tables with the following minimum parameters:runstats on table
tablenamewith distribution and detailed indexes all shrlevel changeYou may add other parameters as required, but use the
shrlevelchangeparameter to allow concurrent access to your tables whilerunstatsexecutes.CAUTION: Because the
runstatsutility overwrites statistics loaded by Siebel applications, if you useruntstats, you should always executeloadstats.sqlafterwards, using either DB2 CLP orodbcsql. Otherwise, valuable statistics will be lost.To execute loadstats.sql using odbcsql
- Enter the following command:
odbcsql /sDATASOURCE NAME/uusername/ppassword/v separator/<siebsrvr_root>/dbsrvr/db2udb/loadstats.sqlTABLEOWNER NAME
| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel Server Installation Guide for Microsoft Windows Published: 25 June 2003 |