Module 16 Siebel Data Model
Module 16 Siebel Data Model
0 Essentials
1 of 21
Module Objectives
To identify prominent tables in the Siebel database
Get to know the various keys and Indexes for the tables.
Ex: Primary Key, Foreign Keys, User Key
To understand how to configure the data layer as necessary for the
business implementation
3 of 21
View
Applet
Business
Business
Object
Component
Table
Controls/
List Columns
Field
Column
Defines the UI
interface
Defines the
Business Layer
Defines the
data storage
structure
4 of 21
Data in Siebel
Is organized and stored in normalized tables in a relational
database
Each table has multiple columns storing atomic data. Single value
cannot be logically further sub-divided
Primary Key is a column that uniquely identifies each row in a
table
ROW_ID serves as the primary key for Siebel tables
Table
S_ORG_EXT
BU_ID
NAME
ROW_ID
EMAIL_ADDR
Primary Key
Columns
5 of 21
ROW_ID
Is a column in every table that is unique across all tables
and mobile-users
Is a Siebel application-generated unique identifier
Is generated even before the data is written to the database
It must not be modified by the users. Its managed by the
Siebel applications
ROW_ID for a
particular record
6 of 21
Tables
Data,Interface and Repository are three major types of tables.
Type of the table is specified by its TYPE property
Nearly 3000 tables are present in the database
Database schema is created during Siebel database server
installation
Data Table
Interface Table
S_ORG_EXT
EIM_ACCOUNT
S_TABLE
TYPE
ALIAS
NAME
ROW_ID
MAIN_PH_NUM
LOC
NAME
ROW_ID
EMAIL_ADDR
BU_ID
NAME
ROW_ID
Repository Table
7 of 21
Data Tables
Have names prefixed with S_
Store the user data
Administrative Data
Seed Data
Business Data
Are populated and updated by:
Users through the siebel application
8 of 21
Internal Product
9 of 21
Columns
Columns determine the system and user data that can be stored
in the table
Determine the size (Length) and type (Physical Type) of the data that
can be stored in column
Limit proposed modifications to a standard application
Existing properties should not be edited
Determines Type
of data
Determines
maximum size of
data
10 of 21
System Columns
Store the System data. They exist for all tables and are
System
Columns
11 of 21
User Keys
Determine the uniqueness of records when importing, integrating or
entering data
Column combination
provides a unique value
12 of 21
Indexes
Used to retrieve and sort data rapidly
Separate data structure to store data value for a column
_U index based
on User Key
13 of 21
Table Relationships
To support the as-delivered application, Siebel tables have
Employees
S_ORG_EXT
S_USER
ADDR
CITY
ADDR_NAME
ROW_ID
EMAIL_ADDR
BU_ID
NAME
ROW_ID
LOGIN
PASSWORD
PW_LAST_UPD
ROW_ID
M:M Relationship
S_EMP_ACCNT is
Intersection Table
S_ADDR_ORG
1:M Relationship
14 of 21
1:M Relationships
On the Many side, Foreign Key columns in the table are
OU_ID
ADDR
CITY
ADDR_NAME
ROW_ID
EMAIL_ADDR
BU_ID
NAME
ROW_ID
S_ADDR_ORG
15 of 21
S_ADDR_ORG
S_ORG_EXT
OU_ID
ADDR
CITY
ADDR_NAME
ROW_ID
EMAIL_ADDR
BU_ID
NAME
ROW_ID
16 of 21
M:M Relationships
M:M relationships are captured using the foreign keys
S_ORG_EXT
S_USER
EMAIL_ADDR
BU_ID
NAME
ROW_ID
LOGIN
PASSWORD
PW_LAST_UPD
ROW_ID
S_EMP_ACCNT
OU_ID
EMP_ID
ROW_ID
Intersection Table
17 of 21
A row in an extension table is created only if there is data to store in one of its columns.
The ROW_ID for a row in an extension table is same as the ROW_ID of the related row
in the base table. This is an exception to the convention that ROW_IDs are unique
across all tables
A base and an extension table can be considered as a single logical table.
Provides additional columns for the business components referencing the base table
S_SRV_REQ
ATTRIB_46
ATTRIB_47
PAR_ROW_ID
ROW_ID
ASGN_DT
OPTY_ID
ROW_ID
S_SRV_REQ_X
18 of 21
parent table
Have the name of the main table suffixed with _XM
S_SRV_REQ
S_SRV_REQ_XM
ATTRIB_01
NAME
TYPE
PAR_ROW_ID
ROW_ID
ASGN_DT
OPTY_ID
ROW_ID
19 of 21
Module Highlights
Siebel data model defines how the data is stored in the third
20 of 21
Lab
In the lab you will:
Examine tables, columns, indexes, and user keys that make up
the Siebel Data Model
Determine the form of relationships between tables in the Siebel
Data Model
21 of 21