Professional Documents
Culture Documents
Database Overview
1
Disclaimer
2
Document History
Document’s Reviewers
Name Designation Business Unit
3
Learning Objectives
To understand the third layer i.e. Database layer and our role in it, first you should be
able to
- Describe the architecture of oracle database.
- Describe users of database created at three level of the system.
- Starting and stopping of database.
- Administration tools of database.
4
Session Agenda
• Architecture of Database
• Directory Structure of database
• Environmental Variables.
• Database Users
• SAP and Database Connection
• Start and stop of database
• Administration tools
5
I.1 Architecture Overview
Library
Redo log
Cache
buffer
Background Processes
Instance
Physical
Control Parameter file
Data files Files
Files
Redo log files Archive log files
6
Directory Structure
Environment Variables For Oracle
SAP level
OS level
Database level
10
Operating system users
11
Oracle database user
There are two administrative users SYS and SYSTEM which are created
There are two administrative users SYS and SYSTEM which are created
during installation and assigned with DBA role.
during installation and assigned with DBA role.
• SYS user can access data dictionary • SYSTEM user can access tables of
tables , views. database.
• It can modified all tables and data of • It cannot modified the data
a database. dictionary tables of a database
• It has the privilege of full • It can perform administration of
administration of the database. database
12
Database user created by SAP
Parameters are:
REMOTE_OS_AUTHENT=TRUE
OS_AUTHENT_PREFIX=OPS$
15
SAP and Oracle Connection
Oracle Database
SAP system
NOMOUNT
MOUNT
OPEN
17
17
How to start Database
Oracle can be started by using sql prompt and sap provided tool
BR*TOOLS.
Login to database
as sysdba privileges
Enter command
startup
18
18
How to start Database
BRTOOLS:
19
19
Stopping a Database
SQL>shutdown <MODE>
<MODE> can be
Default mode is
NORMAL ABORT
NORMAL
IMMEDIATE
TRANSACTIONAL
20
SAP Database monitoring
1. DB02
2. DB12
3. DB13
4. ST04
5. DB14
6. DB16
7. DB26
8. RZ20
21
DB02
Database
space, usage
of database.
Tablespace
Tablespace
space used
space used
Missing
Missing
indexes
indexes
22
DBA Cockpit
User/Recursive Calls>= 2
User/Recursive Calls>= 2
23
DB12
24
DB13
Action
which is
to be
schedule
25
DB13 continue…
Select
Select the
the
action
action to
to be
be
performed
performed
Start
Start the
the
execution
execution
Start the
execution
26
ST04
Information
about shared
pool buffer
Information
Data dictionary
Data dictionary
about log buffer
cache >=99%
cache >=99%
buffer
User/Recursive Calls>= 2
User/Recursive Calls>= 2
27
St04 continue…
28
DB14
Shows logs of
Shows logs of
space
space
management
management
and
and
connection
connection
Shows logs of
Shows logs of
backup
backup
operations
operations
29
DB26
30
RZ20
31
Administrative tools
BRTOOLS
is a
character
based
interface
BRBACKUP BRCONNECT
BRARCHIVE BRSPACE
BRRESTORE BRRECOVER
32
Summary
33
References
• http://help.sap.com/
• TADM51
34
THANK YOU
Q&A
35