Oracle Database Environment Overview

Subject: Date: Version:

Oracle Database Management 03/01/2006 1.0

Table of Contents Document Change Record......................................................................................ii Introduction.............................................................................................................iii Acceptance.............................................................................................................iv Oracle Architecture Overview.................................................................................5 Oracle Architecture Overview (continued) ..........................................................6 Database Object Naming Conventions..................................................................6
Definitions:................................................................................................................................. ..6 Application Abbreviation ....................................................................................................... ..6 Object Names........................................................................................................................... ...7 Table Names...................................................................................................... .........................7 Column Names......................................................................................................................... ...7 Primary Key Fields................................................................................................ ......................8 Index Names........................................................................................................... ....................8 Constraints............................................................................................................... ...................8 Views .................................................................................................................................. ........8 Other Column Types.................................................................................................................. ..8 Packages................................................................................................................................... ..9 Procedures and Functions......................................................................................................... ..9 Role Definitions....................................................................................................... ....................9 Schema Owner...................................................................................................................... ....10 Sequences....................................................................................................... .........................10 Triggers............................................................................................................... ......................10 Synonyms................................................................................................................................ ..10 Clusters and Materialized Views............................................................................................... .10 Other Objects....................................................................................................... .....................10

Database Password Management.......................................................................10 Oracle Database Inventory ..................................................................................13 Database Schema Change Request Form..........................................................18 Database Backup Schedule.................................................................................19

This document is property of DecisionOne, for internal use only.

Page: i

Document Change Record
Change Summary Date 2/21/06 By Description Create Document

This document is property of DecisionOne, for internal use only.

Page: ii

Introduction
This document provides a general overview of the Decision One Oracle database environment, including information pertinent to the maintenance, support, and recovery of the database instances. The database object naming conventions, and software coding standards are described in detail to provide rules and guidelines for developing database related applications. Also included in this document is an overview of the password management package used to catalog the database schema passwords. Additionally, a sample of the database schema change request form as well as a snapshot of the database backup schedule, for the Decision One Oracle database environment, are offered to provide a look into the processes that keep the environment up-to-date and readily available.

This document is property of DecisionOne, for internal use only.

Page: iii

Acceptance
SIGNOFFS IT:
tbd Signature:  Date:

ACCEPTED BY:
Project Sponsor Signature:  Project Sponsor Signature:  Project Sponsor Signature:  Date: Date: Date:

This document is property of DecisionOne, for internal use only.

Page: iv

Oracle Architecture Overview Production – Auburn Hills, MI

PSDBABH002 IP 10.8.10.21 Model Sun V440 CPU 1.062Ghz(2) OS Solaris 2.9 RAM 12GB DISK 267GB RAID Instance Version
HR80PR ODSP01 V9202(64) V9205

PSDBABH003 IP 10.8.10.23 Model Sun V440 CPU 1.062Ghz(2) OS Solaris 2.9 RAM 12 GB DISK 360GB RAID Instance Version
FS80PR V9202(64)

PSDBABH004 IP 10.8.10.26 Model Sun V440 CPU 1.062Ghz(2) OS Solaris 2.9 RAM 16GB DISK 525GB RAID Instance Version
CRMP01 ECMP01 TAPSP01 V8174 V8174 V8174

PSDBABH005 IP 10.8.10.28 Model Sun V440 CPU 1.062Ghz OS Solaris 2.9 RAM 8GB DISK 1100GB ?? Instance Version
ASPTP01 CLKANP01 CLKOSP01 CDATAP01 CPMP01 D1MIP01 EINSP01 EWFMP01 EXCHP01 PROD RLTMP01 RPTP01 V9205 V8174 ?? V8174 V9205 ?? V9205 V8174 V8174 V9205 V8174 V8174 V9205 V8174

GP SQL SERVER

This document is property of DecisionOne, for internal use only.

Page: 5

Oracle Architecture Overview (continued) Development / Test – Devon, PA Win NT Box USAHSDSCN011 IP 10.8.2.202

DSDBFRA002 IP 10.8.5.44

DSDBFRA003 IP 10.8.5.45

DSDBHQS001 IP 10.8.5.22

PSDBHQS001 (RMAN) IP 10.8.2.79

Model Sun V440 CPU 1.062Ghz(2) OS Solaris 2.9 RAM 8GB DISK 400GB RAID Instance Version
D1MID01 V8174 EINSD01 V8174 EXCHD01 V8174 DH8QA V9202(64) HR8DM V9202(64) HR8DV V9202(64) HR8QA V9202(64) ODSD01 V9205 CLFYDM11 V8174 HELPD01 V8174 HELPQ01 V8174 HELPT01 V8174 HELPU01 V8174 TAPSD02 V8174 Definitions:

Model Sun V440 CPU 1.062Ghz(2) OS Solaris 2.9 RAM 8GB DISK 400GB RAID Instance Version
ASPTD01 CDATAD01 CLKAND01 CLKOSD01 CPMD01 EWFMD01 FS8DM FS8DV FS8QA V9205 V9205 V8174 V8174 V9205 V9205 V9202(64) V9202(64) V9202(64)

Model Sun E3500 CPU 400Mhz(4) OS Solaris 5.9 RAM 3GB DISK 160GB Instance Version
D1MIT01 EINST01 EXCHT01 RPTD01 TEST V8174 V8174 V8174 V8174 V8174

Model unknown CPU unknown Win 2000 sp4 RAM 785 MB DISK 25GB Instance Version
AWS V8160

Model Sun E3500 CPU 336Mhz(2) OS Solaris 2.9 RAM 2GB DISK ~50GB Instance Version
RMONP01 RMONP09 OEMP09 V8174 V9205 V9205

Database Object Naming Conventions

Application Abbreviation
An application abbreviation is a three-character code related to a specific application that prefixes that application’s database

To move to Auburn Hills (When – TDB)

This document is property of DecisionOne, for internal use only.

Page: 6

objects as defined in this document.

Note: Throughout this document application abbreviation will be abbreviated as “aa”. Object Names In general objects names should be kept as short as possible without losing their meaning. This will accommodate the prefixes, and suffixes defined below. Example: A table that contains employees could be shortened to EMPS. Object Names Containing DecisionOne If an object name will contain the company title “DecisionOne”, then DecisionOne” will be shortened to “D1”. Table Names  Table names are plural.  Table names will be prefixed with the application abbreviation.  Underscores will be used to separate words in the table name rather than spaces.  If a table name contains several words then only the last word will be pluralized. Column Names  Columns will be unique within the database schema, except in the case of foreign key reference columns (columns used in the child table of a foreign key relationship may use the name of the primary key column(s) that make up the parent key of the parent table).  Column names will be singular.  In cases of denormalization the column name may be made plural. The DBA assigned to the project will make this change when it is appropriate.

This document is property of DecisionOne, for internal use only.

Page: 7

Primary Key Fields  Primary key fields will be indicated by a postfix of _pk.  The name of the primary key will be the singular form of the table name (e.g. The table emp will have a primary key named emps_id_pk). Index Names  Name the primary key index as <aa>_<TableName>_pk. (e.g. The table emps will have a primary key index called hrs_emps_pk)  Name a unique key index as <aa>_<TableName>_uk.  Name a non-unique key as <aa>_<TableName>_ak.  When more indexes are added to the table, append a numeric to the name (e.g. <aa>_<TableName>_[uk | ak]_<number>) Constraints  Primary and unique constraints will be explicitly named; they will not use a system-generated name.  Name the Primary Key Constraint as <aa>_<TableName>_pk (e.g. the table emps will have a primary key constraint named hrs_emps_pk).  Name a Foreign Key Constraint referencing a single column primary key as <aa>_<TableName>_fk.  When more foreign keys are added to the table append a numeric to the name (e.g. <aa>_<TableName>_fk<number>).  Check constraints will follow a naming standard, and will not be created using a system-generated name. Views  View names are plural.  View names will be prefixed with the application abbreviation.  Column names within views are singular except in the case where they have been denormalized for performance.  Underscores will be used to separate words in the view names, rather than spaces. Other Column Types The table shown below defines the suffixes that are to be used based on expected content.

This document is property of DecisionOne, for internal use only.

Page: 8

Column Contents Boolean Values Codes Address Line One Address Line Two City Names U.S. States U.S. Zip Codes Nine Digit U.S. Zip Codes +4 Section of U.S. Zip Codes Monetary Amounts

Suffix _tf _cde Addr1 Addr2 _cty _st _zip _zip9 _zip4 _amt or _usd

Packages  Packages will be prefixed by the three character application abbreviation.  Packages will have _pkg appended to their names. Procedures and Functions  Stored code defined in a package does not need to be prefixed with the application abbreviation.  Stored code not contained within a package will be prefixed with the application abbreviation. Role Definitions  Role names will begin with the application abbreviation. (i.e. <aa>_<RoleName>)

This document is property of DecisionOne, for internal use only.

Page: 9

Schema Owner  The schema owner name should be a combination of the application abbreviation and the word “owner” (e.g. The HR schema owner would be hrs_owner). Sequences  Sequence names will be prefixed by the three-character application abbreviation followed by the name of the table they are generating a key for and append _seq to the table name (i.e. <aa>_<TableName>_seq). (e.g. A sequence on the table emps will be named hrs_emp_seq) Triggers  Trigger names should begin with the application abbreviation followed by a meaningful name and finished with the trigger type (e.g. A “before insert for each row” trigger would be named <aa>_<MeaningfulName>_bifer). Synonyms  Synonym names should begin with the application abbreviation.  Synonyms’ names should be identical to the objects they map to unless a valid reason can be presented for breaking this rule. Clusters and Materialized Views  Clusters and Materialized views will adhere to the naming standards for tables. Other Objects All independent objects created in the database must be preceded with the application abbreviation. The DBA team will name objects not currently defined in this document, but required by the application. The new standard will be added to this document.

Database Password Management
The passwords needed for access to the each of the databases are stored using an Application called KeePass. The KeePass application can be found on the Q: drive (Pnfphqs001\Data\Is\Shared) under the “DBA Admin/passwords” folder. In order to obtain the password lists, run KeePass and select “open database” from the file menu.

This document is property of DecisionOne, for internal use only.

Page: 10

When prompted for the filename of the database, select the database.kdb file. At this point, you will be prompted to enter a password, which is required for access to the password list. Upon entering the correct password, a tree diagram appears, displaying all of the servers that can be expanded to reveal the passwords for each of the Decision One databases(as shown below).

This document is property of DecisionOne, for internal use only.

Page: 11

This document is property of DecisionOne, for internal use only.

Page: 12

Oracle Database Inventory
Hostname IP Address Operating Processor( Physical System s) Ram Production Databases:
PSDBABH002 10.8.10.21 Solaris 2.9 1.062Ghz(2) 12GB HR80PR odsp01 9.2.0.2 notesusr (64-bit) 9.2.0.5 frdba odsrpt ncsystem ncstartup PSDBABH003 10.8.10.23 Solaris 2.9 1.062Ghz(2) 12GB FS80PR 9.2.0.2 sysadm (64-bit) people ps 8.1.7.4 crystal seebeyond01 cprclrfy clarify ecm dbapp ecmp01 sa oracle9i tcsadmin s31019 ccops dscattergood s31005 cpmdba cpmrpt devp Comprehensive Credit Card HR 818 Migration Datbase Wayne Clarke

SID

Version Schemas

Application

Application Contact

Operational Data Store Paul Adcock Tally (Asset Management) FS 818 Migration Database Clarify Help Desk Paul Adcock Sally Ann Lombardo

PSDBABH004

10.8.10.26

Solaris 2.9

1.062Ghz(2)

16GB

crmp01

Paul Adcock

ecmp01

8.1.7.4

Advise Database

Jim Cartier

tapsp01 PSDBABH005 10.8.10.28 Solaris 2.9 1.062Ghz(2) 12GB ewfmp01

8.1.7.4 9.2.0.5

eSupport HelpDesk

Anand Subramanian Paul Adcock

cpmp01

9.2.0.5

Paul Adcock

Hostname IP Address Operating Processor( Physical System s) Ram
PSDBABH005 (continued)

SID
ASPTP01

Version Schemas
9.2.0.5 aspect wwwaspt asptuser dwp devp calldata aspect devp dbapp clkdba w5admin webczcs dbapp webuser webbatch clkdba w6admin webczcs webuser webbatch dbapp dbapp dbapp billadm billing ctxsys bgobran clarify dwpdba rman mon wwwmon rman mon wwwmon

Application
Collection Point for call-center calls

Application Contact
Paul Adcock

cdatap01 9.2.0.5 rltmp01 9.2.0.5

Calldata for IBM ODCIC Paul Adcock Realtime Monitoring dev/test system Field Scheduling (Click) Analyzer Paul Adcock Jim Cartier

clkanp01 8.1.7

clkosp01 8.1.7

Field Scheduling (Click) Service Optimizer

Jim Cartier

d1mip01 exchp01 einsp01 prod

8.1.7.4 8.1.7.4 8.1.7.4 8.1.7.4

D1 to EDS interface eXchange database eInsight RSO database

Jim Cartier Jim Cartier Jim Cartier Cleatus Davis

rptp01 PSDBHQS001 10.8.2.79 Solaris 2.9 336Mhz(2) 2GB rmonp01

8.1.7.4 8.1.7.4

Clarify Reporting 8.1.7 RMAN Database

Cleatus Davis Duane Wilcox Lorraine Crawford Duane Wilcox Lorraine Crawford

rmonp09

9.2.0.5

9.2.0 RMAN Database

Hostname IP Address Operating Processor( Physical System s) Ram
PSDBHQS001 (continued) sdrdev1 204.170.43.12 Solaris 2.8 248Mhz(6) 4GB

SID
oemp09

Version Schemas
9.2.0.5

Application

Application Contact
Duane Wilcox Lorraine Crawford Duane Wilcox Lorraine Crawford Duane Wilcox Lorraine Crawford Duane Wilcox Lorraine Crawford

sysman Oracle Enterprise reports_user Manager Repository Oracle 8.1.7 RMAN Oracle 9i RMAN Oracle 9i Enterprise Manager Repository

rmont01 rmont09 oem9d01

8.1.7.4 9.2.0.4 9.2.0.4

Development Databases:
DSDBFRA002 10.8.5.44 Solaris 2.9 1.062Ghz(2) 8GB d1mid01 exchd01 einsd01 odsd01 8.1.7.4 8.1.7.4 8.1.7.4 9.2.0.5 dbapp dbapp dbapp odsdba frdba odsrpt odsapp sysadm dbapp sysadm dbapp sysadm notesusr sysadm decision sa sa D1 to EDS interface eXchange database eInsight database Jim Cartier Jim Cartier Jim Cartier

Operational Data Store Paul Adcock

HR8DM HR8DV HR8QA DH8QA

9.2.0.2 9.2.0.2 9.2.0.2 9.2.0.2

Peoplesoft 8 HR Peoplesoft 8 HR Peoplesoft HR 818 Peoplesoft HR 818 Clarify v11.5 Clarify (Sized for Demo)

Wayne Clarke Wayne Clarke Wayne Clarke Wayne Clarke

clfydm11 8.1.7.4 DSDBFRA002 (continued) helpd01 8.1.7.4

Anand Subramanian

Hostname IP Address Operating Processor( Physical System s) Ram

SID
helpq01

Version Schemas
8.1.7.4.0 sa seebeyond01 clarify 8.1.7.4 sa seebeyond01 clarify sa clarify sa

Application

Application Contact

Clarify v11.5 Anand Subramanian (Sized for Production) Clarify Anand Subramanian (Sized for Production) Clarify Anand Subramanian (Sized for Production) TAPS Clarify v11.5 Anand Subramanian (Sized for Production) Field Scheduling (Click) Analyzer Field Scheduling (Click) Service Optimizer Jim Cartier Jim Cartier

helpt01

helpu01

8.1.7.4

tapsd02

8.1.7.4

DSDBFRA003

10.8.5.45

Solaris 2.9

1.062Ghz

8GB

clkand01 8.1.7.4

clkdba w6admin

clkosd01 8.1.7.4.1 clkdba w6admin webczcs webuser webbatch ewfmd01 9.2.0.5

notfydbowner Work Force Management Paul Adcock tcsdbowner tcsadmin s31019 ccops dscattergood s31005 cpmdba cpmrpt devp aspect wwwaspt asptuser calldata aspect devp dbapp Comprehensive Credit Card Collection Point for call-center calls Paul Adcock

cpmd01

9.2.0.5

asptd01

9.2.0.5

Paul Adcock

cdatad01 9.2.0.5 DSDBFRA003 (continued) rltmd01 FS8DM 9.2.0.5 9.2.0.2

calldata for IBM ODCIC Paul Adcock Realtime Monitoring dev/test system Peoplesoft 8 Financials Paul Adcock Sally Ann Lombardo

Hostname IP Address Operating Processor( Physical System s) Ram

SID
FS8DV FS8QA

Version Schemas
9.2.0.2 9.2.0.2 8.1.7.4 8.1.7.4 8.1.7.4 8.1.7.4 sysadm sysadm ex_admin ex_admin intf

Application
Peoplesoft 8 Financials Peoplesoft 8 Financials See Beyond Database See Beyond Database EDS/D1 data interchange

Application Contact
Sally Ann Lombardo Sally Ann Lombardo Jim Cartier Jim Cartier Jim Cartier Cleatus Davis

DSDBHQS001

10.8.5.22

Solaris 5.9

400Mhz

3GB

einst01 excht01 d1mit01 RPTD01

billing Clarify Reporting cis_admin clarify_user docuser reports

test

8.1.7.4

test database

Cleatus Davis

Database Schema Change Request Form
Below is an example of the Database Schema Change Request Form. This form must be submitted to an application DBA whenever a change needs to be applied to any production database object such as a table, index, constraint, trigger, stored procedure, view, or generally any object that can be created, altered, truncated, or dropped. In development environments, changes to all of the aforementioned objects will require for this form to be completed and submitted to an application DBA, with the exception of stored procedures which may often require several attempts before compiling.

Database Backup Schedule
Shown below, is a sample sheet from the database backup schedule. The full schedule is maintained in a Microsoft Excel Spreadsheet, and lists both the scheduled activities with details about the backup configuration for each of the databases of the Decision One Oracle Environment.

Sign up to vote on this title
UsefulNot useful