DBA Ch02 Oracle Architecture
DBA Ch02 Oracle Architecture
DBA Ch02 Oracle Architecture
Administrator: Implementation
and Administration
Chapter 2
Tools and Architecture
Objectives
Identify the main DBA tools in the Oracle10g
software suite
Configure Oracle Net Services to connect to the
database
Examine Oracle database instance architecture
Examine Oracle database memory architecture
Objectives (continued)
Examine Oracle database process architecture
Examine Oracle database connection management
architecture
Start using the Enterprise Manager
Go through a brief introduction to the Database
Control
Central workspace
Enterprise Manager console
Database Control
Grid Control
10
11
Service name
Set of information used to locate and communicate
with an Oracle database
Oracle 10g Database Administrator: Implementation and Administration
12
13
Bequeath protocol
Allows a direct connection to a database
On a database server computer
Without going through Oracle Net services
Without requiring a network name
14
15
Local naming
Directory naming
Host naming
External naming
Easy connect
16
17
18
19
20
21
22
23
24
25
Click Test
Click Close to close the test window
Click Finish to complete the definition
Save the configuration
By selecting File/Save Network Configuration from the
menu
26
27
28
ORACLE_HOME variable
Refers to the directory where Oracle installs its
executable files
ORACLE_BASE variable
The directory upward from the ORACLE_HOME
variable
Oracle 10g Database Administrator: Implementation and Administration
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Oracle instance
Part of an Oracle database executing in memory
Made up of processes and memory structures
43
Dedicated server
Every user session has its own server process
Shared server
Uses CPU and memory more efficiently
By swapping out user sessions during idle time
Oracle 10g Database Administrator: Implementation and Administration
44
45
46
47
Background Processes
Support and monitor the server processes
Handle database management tasks
To keep the database running efficiently
To help maintain fast performance
48
49
Memory Components
Two main sections of memory
System Global Area (SGA)
Allocated when an instance is started
Deallocated when the instance is shut down
50
51
52
53
54
55
56
57
Schema Manager
Displays table structures, creates new tables, indexes,
views, and any other type of object
Security Manager
Creates new users, allocates storage resources to
users, and changes passwords
Storage Manager
Monitors storage use
Oracle 10g Database Administrator: Implementation and Administration
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Tabs
Home
Provides general information about the database and
the Oracle installation
74
75
76
77
78
79
Maintenance
Provides comprehensive maintenance access to:
Database utilities
Backup/recovery
Deployment activities
80
81
82
Summary
Using command-line interfaces to manually execute
commands may be necessary
Oracle Net Services
Allows communication between a tool and database
Must be configured on both the client and the server
83
Summary (continued)
Net Manager guides you through the steps of
configuring a new service name
File tnsnames.ora stores Oracle Net Services
configuration settings on the client side
File listener.ora stores Oracle Net Services
configuration settings on the server side
Server process reads data from datafiles and places
it in the buffer cache
Dedicated server
Shared server
Oracle 10g Database Administrator: Implementation and Administration
84
Summary (continued)
PGA stores shared connection memory allocations,
separately for each application
Managers
Instance Manager tracks database activity
Set the user and password as preferred credentials
85