没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Copyright
Table of Contents
Index
Full Description
About the Author
Reviews
Colophon
Examples
Reader reviews
Errata
Oracle8i Internal Services for Waits, Latches, Locks,
and Memory
Steve Adams
Publisher: O'Reilly
First Edition October 1999
ISBN: 1-56592-598-X, 132 pages
Buy Print Version
Based on Oracle8i, release 8.1, this concise book contains
detailed, hard-to-find information about Oracle internals
(data structures, algorithms, hidden parameters, and
undocumented system statistics). Main topics include waits,
latches, locks (including instance locks used in parallel
server environments), and memory use and management.
Aimed especially at readers doing advanced performance
tuning.
Oracle8i Internal Services for Waits, Latches, Locks, and Memory
Copyright © 1999 O'Reilly & Associates, Inc. All rights
reserved.
Printed in the United States of America.
Published by O'Reilly & Associates, Inc., 101 Morris Street,
Sebastopol, CA 95472.
Oracle® and all Oracle-based trademarks and logos are
trademarks or registered trademarks of Oracle
Corporation, Inc. in the United States and other countries.
O'Reilly & Associates, Inc. is independent of Oracle
Corporation.
The O'Reilly logo is a registered trademark of O'Reilly &
Associates, Inc. Many of the designations used by
manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear
in this book, and O'Reilly & Associates, Inc. was aware of a
trademark claim, the designations have been printed in
caps or initial caps. The use of the bumblebee image in
association with Oracle8i internal services is a trademark
of O'Reilly & Associates, Inc.
While every precaution has been taken in the preparation
of this book, the publisher assumes no responsibility for
errors or omissions, or for damages resulting from the use
of the information contained herein.
Oracle8i Internal Services for Waits, Latches, Locks, and
Memory
Preface
Why This Book?
Warnings
Audience for This Book
About the APT Scripts
Conventions Used in This Book
Comments and Questions
Acknowledgments
1. Introduction
1.1 The Oracle Kernel Layers
1.2 The Kernel Services
2. Waits
2.1 Semaphores
2.2 Wait Statistics
2.3 Reference
3. Latches
3.1 Latches and Locks
3.2 Parent and Child Latches
3.3 Latch Gets
3.4 Advanced Latching Control
3.5 Reference
4. Locks
4.1 Lock Usage
4.2 Lock Modes
4.3 Enqueue Locks
4.4 Row Cache Enqueues
4.5 Library Cache Locks and Pins
4.6 DML Locks
4.7 Buffer Locks
4.8 Sort Locks
4.9 Reference
5. Instance Locks
5.1 The Lock Manager
5.2 Global Locks
5.3 PCM Instance Locks
5.4 Other Instance Locks
5.5 Reference
6. Memory
6.1 The SGA
6.2 The Shared Pool
6.3 Process Memory
6.4 Reference
Colophon
Preface
A few years ago, I set my heart on researching and writing a truly advanced
Oracle performance-tuning book. Soon, I had a detailed outline running to more
than thirty pages. But when I started to write, I began to realize how much I had
yet to learn about Oracle. Each chapter was going to require considerably more
research than I had at first imagined. In particular, I began to realize that an
understanding of some aspects of Oracle internals would be vital to my quest. So
I began to learn what I could of Oracle internals, starting with the X$ tables.
If I had known then what I know now, about how vast an undertaking I was
commencing, I would probably never have attempted it. And many times I would
have given up in despair, except for the encouragement of my friends. They
always believed that I could comprehend the incomprehensible and construct a
coherent understanding of how Oracle works and should be tuned. It has been
somewhat like trying to determine the exact shape of an iceberg by walking all
over it and taking careful measurements of subsurface vibrations.
Why This Book?
My advanced Oracle performance-tuning book is still a dream. This little book is
something else: an introduction to Oracle internals. It builds the foundation
necessary for advanced performance tuning by explaining some of the basic
aspects of Oracle internals in detail.
Here you will find many of the undocumented system statistics explained. You
will learn how to gather additional statistics from the X$ tables. Your
understanding of how Oracle works will be deepened with clear explanations of
many of Oracle's internal data structures and algorithms. You will be alerted to
potential performance problems that are not mentioned in the documentation.
And you will expand your repertoire of tuning solutions and troubleshooting
techniques by learning how to use numerous hidden parameters and other
undocumented features.
Warnings
The kind of Oracle internals information I've included in this book is not readily
available to customers. Because I have never been an Oracle insider, the material
in this book has had to be compiled the hard way. I began by studying the
structure and contents of the X$ tables, and poring over trace files. I then
formulated hypotheses and tested them. Because of this approach, it is likely that
some of my conclusions about how things work are wrong, and that some of my
suggestions are misguided, or applicable only under limited conditions. So, the
onus is on you to test everything for yourself. If you find any errors, please email
me so that they can be corrected (see "Comments and Questions").
You should also note that this book goes boldly where Oracle Support fears to tread.
I explain and at times recommend the use of various undocumented features that I
find essential to advanced performance tuning. However, Oracle has chosen to leave
those same features undocumented—presumably with valid reasons. So please don't
expect Oracle to assist you in their use. Try them by all means, but if you have a
problem, quit. Don't bother Oracle Support about it.
Finally, please note that this book is oriented towards Oracle8i, release 8.1.
Although most of the material is applicable to earlier releases as well, some of it is
not. In particular, there have been major changes in Oracle Parallel Server in
both the 8.0 and 8.1 releases, and a number of the parameters have been hidden
in release 8.1.
Audience for This Book
This book is intended for Oracle database administrators (DBAs) and developers
who need to understand Oracle performance in detail. Although the information
is advanced, the presentation is easy to follow. Anyone who is familiar with the
basics of the Oracle architecture and has an aptitude for performance tuning will
be able to appreciate everything in this book. However, seasoned veterans will no
doubt appreciate it the most.
About the APT Scripts
This book makes a number of references to APT scripts. APT stands for Advanced
Performance Tuning. It is merely my personal toolkit of Oracle performance
tuning scripts. The scripts referred to in this book can be obtained from O'Reilly's
web site or from my own (see "Comments and Questions"). APT is not a
commercial product, and I do not warrant that the scripts are error-free. But you
are free to use them, or glean from them what you may.
Conventions Used in This Book
The following conventions are used in this book:
剩余122页未读,继续阅读
资源评论
wuxue0427
- 粉丝: 5
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 多机调度问题贪心算法:理论探索与实践应用.zip
- 探索tecreate:软件开发的未来之星.zip
- 打标机项目C#源码连接扫码
- 基于SSM的房屋租赁系统的设计与实现
- xyctf:从入门到精通的实用指南.zip
- mmqrcode1714153659780.png
- Screenshot_2024-04-27-06-08-58-486_com.baidu.xin.aiqicha.jpg
- 基于Javaweb+Tomcat+MySQL的大学生公寓管理系统+sql文件.zip
- 实训作业基于javaweb的订单管理系统源码+数据库+实训报告.zip
- 多机调度问题贪心算法基于最小堆和贪心算法求解多机调度问题.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功