没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Michael Wessler
800 East 96th St., Indianapolis, Indiana, 46240 USA
Oracle DBA on Unix and Linux
Oracle DBA on Unix and Linux
Copyright © 2002 by Sams
All rights reserved. No part of this book shall be reproduced, stored in a
retrieval system, or transmitted by any means, electronic, mechanical, photo-
copying, recording, or otherwise, without written permission from the pub-
lisher. No patent liability is assumed with respect to the use of the information
contained herein. Although every precaution has been taken in the preparation
of this book, the publisher and author assume no responsibility for errors or
omissions. Nor is any liability assumed for damages resulting from the use of
the information contained herein.
International Standard Book Number: 0-672-32158-0
Library of Congress Catalog Card Number: 2001089580
Printed in the United States of America
First Printing: November 2001
Second Printing with corrections: April 2002
060504 7654
Trademarks
All terms mentioned in this book that are known to be trademarks or service
marks have been appropriately capitalized. Sams cannot attest to the accuracy
of this information. Use of a term in this book should not be regarded as
affecting the validity of any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as
possible, but no warranty or fitness is implied. The information provided is on
an “as is” basis. The author and the publisher shall have neither liability nor
responsibility to any person or entity with respect to any loss or damages aris-
ing from the information contained in this book.
Bulk Sales
Sams Publishing offers excellent discounts on this book when ordered in quan-
tity for bulk purchases or special sales. For more information, please contact
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact
International Sales
1-317-428-3341
international@pearsontechgroup.com
ASSOCIATE PUBLISHER
Jeff Koch
ACQUISITIONS EDITOR
Kathryn Purdum
DEVELOPMENT EDITOR
Kevin Howard
MANAGING EDITOR
Matt Purcell
PROJECT EDITOR
Natalie F. Harris
COPY EDITOR
Kezia Endsley
INDEXER
Erika Millen
PROOFREADER
Jody Larsen
TECHNICAL EDITORS
Jim Kotan
Paul Love
TEAM COORDINATOR
Vicki Harding
Denni Bannister
INTERIOR DESIGNER
Dan Armstrong
COVER DESIGNER
Aren Howell
PAGE LAYOUT
Lizbeth Patterson
Heather Stephenson
Contents at a Glance
Introduction 1
1 Role of the DBA 5
2 Architecture of the Oracle Server 29
3 Planning a Database 63
4 Machine Setup and Installation 87
5 Creating a Database 111
6 Daily Activities 139
7 GUI Management Products 175
8 DBA Utilities 203
9 Backup and Recovery 237
10 When Things Go Wrong 271
11 Oracle Server Tuning 293
12 Unix Operation System Architecture 321
13 Unix Server Monitoring 341
14 Patches and Upgrades 373
15 Migrations 395
16 Java Inside the Database Server 417
17 Web DB/Oracle Portal 437
18 Internet Application Server (iAS) 463
19 9i Server New Features 485
20 Growth of the DBA 511
A Basic Unix Commands 525
Bvi Editor 533
C Scripts 537
D Glossary 543
Index 551
Contents
Introduction 1
Who Should Read This Book? ..........................................................2
What Makes This Book Different? ..................................................3
1 Role of the DBA 5
What Is a DBA? ......................................................................................6
Depends on the Shop ........................................................................6
Where DBAs Come From ................................................................6
Paths to Becoming a DBA ................................................................7
System Administrator (SA) ..............................................................7
Developer/Programmer ....................................................................7
Systems Designer/Data Modeler ......................................................8
Other Paths ........................................................................................8
Types of DBAs ........................................................................................8
Application DBA ..............................................................................8
Systems DBA ....................................................................................8
Maintenance DBA ............................................................................9
Database Administration Principles ........................................................9
Data Protection ..................................................................................9
Data Availability ..............................................................................11
Database Administration Responsibilities ..........................................12
Database Technical Responsibilities ..............................................12
Non-Technical Responsibilities ......................................................16
Skills Needed ..................................................................................18
Roles Within the IT Organization ........................................................22
System Administrators ....................................................................22
Programmers/Developers ................................................................24
Management ....................................................................................24
Customers and End Users ..............................................................25
Outside Organizations ....................................................................26
DBA Mindset ........................................................................................26
Summary ..............................................................................................27
2 Architecture of the
Oracle Server 29
Oracle Products Relating to Database Servers ....................................30
SQL*Plus ........................................................................................31
Server Manager ..............................................................................32
Net8 ................................................................................................32
Oracle DBA on Unix and Linux
Database Versus Instance ......................................................................33
Oracle File Types ..................................................................................34
Control Files ....................................................................................34
Data Files ........................................................................................35
System ............................................................................................36
Data ..................................................................................................36
Index ................................................................................................37
Temp ................................................................................................38
Rollback ..........................................................................................38
Online Redo Logs ............................................................................40
Memory Structures ..............................................................................42
Shared Global Area (SGA) ..............................................................42
Shared Pool ......................................................................................46
Redo Log Buffer ..............................................................................47
Large Pool ......................................................................................48
Java Pool ..........................................................................................48
Oracle Processes ..................................................................................49
Server Processes ..............................................................................50
Background Processes ....................................................................52
System Monitor Process (SMON) ..................................................53
Process Monitor Process (PMON) ..................................................53
Database Writer Process (DBWn) ..................................................53
Log Writer Process (LGWR) ..........................................................54
Checkpoint Process (CKPT) ..........................................................55
Archiver Process (ARCn) ................................................................56
Recover Process (RECO) ................................................................56
Job Queue Processes (SNPnn) ........................................................56
Queue Monitor Processes (QMNnn) ..............................................56
Dispatcher Processes (Dnnn) ..........................................................56
Shared Server Processes (Snnn) ......................................................56
Transaction Control ..............................................................................57
Miscellaneous Database Files ..............................................................59
Oracle Database Parameter and Log Files ......................................59
Summary ..............................................................................................62
3. Planning a Database 63
System Architecture ..............................................................................64
Two-Tier Basic Client Server Architecture (2 Tier) ........................65
Three-Tier Client Server Architecture ............................................66
Capacity Planning/Sizing ......................................................................67
Optimal Flexible Architecture ..............................................................71
v
剩余598页未读,继续阅读
资源评论
bingwangzi2500
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- python-leetcode面试题解之第157题用Read4读取N个字符-题解.zip
- python-leetcode面试题解之第156题上下翻转二叉树-题解.zip
- python-leetcode面试题解之第155题最小栈-题解.zip
- python-leetcode面试题解之第153题寻找旋转排序数组中的最小值-题解.zip
- python-leetcode面试题解之第152题乘积最大子数组-题解.zip
- python-leetcode面试题解之第151题反转字符串中的单词-题解.zip
- python-leetcode面试题解之第150题逆波兰表达式求值-题解.zip
- python-leetcode面试题解之第149题直线上最多的点数-题解.zip
- python-leetcode面试题解之第148题排序链表-题解.zip
- python-leetcode面试题解之第147题对链表进行插入排序-题解.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功