Chap 11
Chap 11
Lesson A Objectives
After completing this lesson, you should be able to: Understand database administration tasks Install an Oracle 10g database, configure client applications, and remove Oracle 10g applications Perform database administration tasks using Oracle 10g Enterprise Manager Understand Oracle 10g data storage structures Work with Oracle 10g database instance files
Service Production
32 MB required
Windows Operating Systems on Which You Can Install the Oracle 10g DBMS
10
11
12
13
14
15
Local Naming
tnsnames.ora File stores connect string and database connection information On client workstation in Oracle_Home\network\admin Connect descriptor
Port Service name
16
17
18
19
20
information into system registry Use Universal Installer to remove Oracle 10g applications
Does not remove all application files
Or all application configuration information from
system registry
21
23
Using Oracle Enterprise Manager 10g to Perform Database Administration Tasks (continued)
OEM deployment options: Centrally Locally
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Parameter File
Text file
Specifies configuration information about Oracle 10g
38
Control Files
Store information about database structure and state
Stored in Oracle_Base\oradata\SID Three separate control files by default: CONTROL01.CTL CONTROL02.CTL CONTROL03.CTL Contain same data At least one must be present
39
Datafiles
.dbf extensions
Store tablespace contents Stored in Oracle_Base\oradata\SID Use OEM to view and modify
40
41
42
Lesson A Summary
Database administrator (DBA) Responsible for performing database administration tasks in organizations Database server contains folder called Oracle Base
Series of Universal Installer pages guides user through
43
44
45
Lesson B Objectives
After completing this lesson, you should be able to: Create and manage user accounts Understand an Oracle 10g database instances memory areas and background processes Start and shut down the database Understand Oracle 10g database backup and recovery
46
47
48
49
Tablespace Quotas
Specifies amount of disk space that users database
objects can occupy in default tablespace Must be assigned Quota Size value:
None, default Unlimited Value
50
51
Roles
Database object
Represents collection of system privileges Assign to multiple users Create role Can inherit privileges from other roles Grant Role to User Account
52
53
54
55
57
for user connections DBA must log onto database using administrative connection SYS user account
58
59
Shut down Oracle 10g database instance Pass through states in reverse order
60
61
Shutdown Options
Specify one of four ways to handle existing user
connections:
Normal Transactional Immediate Abort
62
Startup Modes
Start in one of two modes: Unrestricted Restricted
63
Writes contents of data buffer cache to datafiles Writes contents of redo log buffer to redo log files Closes all files Stops all background processes Deallocates SGA in servers main memory
64
include:
Backup
Offline/cold Online/hot
Recovery
65
66
67
Database Recovery
Process of restoring database from either cold or hot
68
69
Backup Strategies
Hot backups Complex to perform Better suited for dynamic, mission-critical databases
70
Lesson B Summary
Create user account
Roles Manage system privileges Memory areas System Global Area (SGA) Program Global Area (PGA) Background processes Backup and recovery
71