| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel Server Installation Guide for Microsoft Windows > Creating the DB2 Universal Database for Windows and UNIX > Creating the Database >
Overriding Default Storage Parameters
Siebel Systems provides the option of overriding default storage parameters, such as the tablespaces you created using the instructions under Creating Tablespaces, in which specific tables or indexes are created. To override these defaults, edit the
ddl.ctlfile located in thedbsrvr\DBSRVR_PLATFORMdirectory.NOTE: The
ddl.ctlfile should be modified only by a qualified DBA.For each Siebel table, you can specify a tablespace by using the
Table Spaceparameter. In the following example, the tablespace for the tableS_APP_VIEWis set toDATA1.As provided by Siebel Systems, the
.ctlfile does not set storage parameters for the objects it creates, so they will default to the parameters of the tablespaces in which they are created. However, theTableSpaceparameter will only work under the following conditions:
- The table does not yet exist (for example, when you are performing a new database installation).
- The table needs to be rebuilt, in other words, there are schema changes made to the table such that an
ALTER TABLEcommand is not sufficient to implement the schema changes, requiring that the Siebel application drop and recreate the table.As shown in the following example, you can use the
TableSpaceparameter to set storage parameters for specific tables.[Object 219]
Type = Table
Name = S_APP_VIEW
Column 1 = ROW_ID VARCHAR(15) NOTNULL
Column 2 = CREATED TIMESTAMP NOTNULL DEFAULT %NOW%
Column 3 = CREATED_BY VARCHAR(15) NOTNULL
Column 4 = LAST UPD TIMESTAMP NOTNULL DEFAULT %NOW%
Column 5 = LAST_UPD_BY VARCHAR(15) NOTNULL
Column 6 = DCKING_NUM NUMERIC(22,7) DEFAULT 0
Column 7 = MODIFICATION_NUM NUMERIC(10,0) NOTNULL DEFAULT 0
Column 8 = CONFLICT_ID VARCHAR(15) NOTNULL DEFAULT '0'
Column 9 = NAME VARCHAR(50) NOTNULL
Column 10 = DESC_TEXT VARCHAR(255)
Column 11 = LOCAL_ACCESS_FLG CHAR(1)
Table Space = data1The following example illustrates how to override the defaults for specific tables and indexes.
[Object 7135]
Type = Table
Name = S_EVT_ACT
Group = Activity-1
Append Mode = Yes
Column 1 = ROW_ID WVARCHAR(15) NOTNULL
Column 2 = CREATED TIMESTAMP NOTNULL
DEFAULT %NOW%
Column 3 = CREATED_BY WVARCHAR(15) NOTNULL
Column 4 = LAST_UPD TIMESTAMP NOTNULL
DEFAULT %NOW%
Column 5 = LAST_UPD_BY WVARCHAR(15) NOTNULL
Column 6 = DCKING_NUM NUMERIC(22,7) DEFAULT 0
Column 7 = MODIFICATION_NUM NUMERIC(10,0) NOTNULL
DEFAULT 0
Column 8 = CONFLICT_ID WVARCHAR(15) NOTNULL
DEFAULT '0'
Column 9 = ACTIVITY_UID WVARCHAR(30) NOTNULL
DEFAULT 'x'
...
Column 166 = TODO_CD WVARCHAR(30)
Column 167 = USER_MSG_ID WVARCHAR(15)
Column 168 = WC_START_VIEW WVARCHAR(250)
Column 169 = WC_TYPE_CD WVARCHAR(30)
[Object 7136]
Type = Index
Name = S_EVT_ACT_F1
Table = S_EVT_ACT
Column 1 = CON_PRDINT_ID ASC
Index Space = S_EVT_ACT_TBS_IDX
[Object 7137]
Type = Index
Name = S_EVT_ACT_F10
Table = S_EVT_ACT
Allow Reverse Scans = Yes
Column 1 = TARGET_OU_ID ASC
Column 2 = APPT_START_DT DESC
Column 3 = ROW_ID ASC
Table Space = S_EVT_ACT_TBS
[Object 7138]
Type = Index
Name = S_EVT_ACT_F11
Table = S_EVT_ACT
Column 1 = PAR_EVT_ID ASC
Index Space = S_EVT_ACT_TBS_IDX
| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel Server Installation Guide for Microsoft Windows Published: 25 June 2003 |