亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ch20.htm

?? Teach yourself Oracle8 in 21 day
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>

	<TITLE>Teach Yourself Oracle 8 In 21 Days -- Ch 20 -- Effectively Tuning and Optimizing the Database</TITLE>
</HEAD>

<BODY TEXT="#000000" BGCOLOR="#FFFFFF">

<CENTER>
<H1><IMG SRC="../buttonart/sams.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM" BORDER="0"><BR>
<FONT COLOR="#000077">Teach Yourself Oracle 8 In 21 Days</FONT></H1>
</CENTER>
<CENTER>
<P><A HREF="../ch19/ch19.htm"><IMG SRC="../buttonart/previous.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../ch21/ch21.htm"><IMG
SRC="../buttonart/next.gif" WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" ALT="Next chapter"
BORDER="0"></A><A HREF="../index.htm"><IMG SRC="../buttonart/contents.gif" WIDTH="128"
HEIGHT="28" ALIGN="BOTTOM" ALT="Contents" BORDER="0"></A> 
<HR>

</CENTER>
<CENTER>
<H1><FONT COLOR="#000077">- Day 20 -<BR>
Effectively Tuning and Optimizing the Database</FONT></H1>
</CENTER>
<P>Performance can be one of the most fun or most frustrating aspects of administering
a database. It is almost always extremely challenging, and forces you to use all
your experience to isolate the bottleneck and determine a response. I find performance
tuning and system optimization to be extremely rewarding and challenging; I enjoy
it, and I hope you do too.</P>
<P>I hate to refer to performance bottlenecks as <I>bugs</I> or <I>problems</I> because
those terms suggest something is broken. Sometimes bottlenecks occur because you
have reached the capacity of your system, and no tuning or changes can alter that
fact; other solutions must be found. The capacity planner must try to anticipate
both when the system will reach capacity and what new resources are needed before
this happens.


<BLOCKQUOTE>
	<P>
<HR>
<FONT COLOR="#000077"><B>NOTE:</B></FONT><B> </B>Oracle instance and OS tuning should
	be performed in conjunction with application tuning. Because much of the instance
	tuning is based on the data-access patterns and memory usage of the application,
	changes to the application might result in the opportunity to retune the instance
	for greater optimization. A perfectly optimized Oracle instance cannot make up for
	a poorly tuned application. Unfortunately, this book does not cover application tuning
	in detail, but several good books on the subject are available. In fact, I have written
	just such a book: <I>Oracle Performance Tuning and Optimization</I> (Sams Publishing).
	
<HR>


</BLOCKQUOTE>

<P>Performance tuning and capacity planning are closely related. They rely on and
play off of each other. The capacity-planning stage assumes that you have a well-tuned
system, and bases most of its recommendations on this. The system-tuning stage assumes
you have a system that can support the number of users and the number of tasks being
performed. The capacity-planning and system-performance engineers often work together
to determine where the bottleneck is and how to resolve it.
<H2><FONT COLOR="#000077"><B>What Is a Bottleneck?</B></FONT></H2>
<P><FONT COLOR="#000077"><B>New Term:</B></FONT><B> </B>The term <I>bottleneck</I>
refers to the component or components that have a limiting factor on the system.
Some bottlenecks result from inherent limitations of your system, but others can
be fixed via parameter tuning. Many times, additional components are needed to fix
bottlenecks. System tuning typically involves finding system bottlenecks and eliminating
them. Examples of bottlenecks that are typically found in an Oracle system include

<UL>
	<LI>Disk drive bottleneck--A disk drive can handle only so many I/Os per second before
	latencies increase to unacceptable levels. The systemwide I/Os per second is fixed,
	so if your CPU and memory system requests I/Os more quickly than the I/O subsystem
	can deliver, a disk bottleneck will occur.
	<P>
	<LI>Memory bottleneck--If you have inadequate memory, you won't have a good cache-hit
	rate. A high cache-hit rate indicates that most of the data you need is in the Oracle
	buffer cache. This reduces the number of needed I/Os.
	<P>
	<LI>CPU bottleneck--In the case of a CPU bottleneck, you are running your system
	as quickly as the CPUs can run.
	<P>
	<LI>Network bottleneck--A network bottleneck occurs when so much traffic is over
	the network, you can't transfer data any faster. This is important to backup and
	recovery.
	<P>
	<LI>Bus bottleneck--A bus bottleneck occurs when your hardware cannot transfer data
	across the CPU to memory or I/O bus. This is a hardware limitation.
	<P>
	<LI>Other bottlenecks--Numerous other bottlenecks, either hardware, software, or
	a combination of the two, can occur.
</UL>

<P>Some bottlenecks can be fixed easily, and others are difficult to overcome. Later
today you will see how to determine the location of a bottleneck and receive some
hints on how to fix bottlenecks.


<BLOCKQUOTE>
	<P>
<HR>
<FONT COLOR="#000077"><B>NOTE:</B></FONT><B> </B>Every system is different. There
	is no magic diagnostic tool that can tell you how to tune your system. It is an acquired
	skill that you will develop with practice. 
<HR>


</BLOCKQUOTE>

<H2><FONT COLOR="#000077"><B>Performance Tuning Methodology</B></FONT></H2>
<P>Determining what, if anything, is a bottleneck in your system can be difficult.
I have found that following a tuning methodology or plan can help you to reach the
correct conclusion in the shortest amount of time. By <I>tuning methodology,</I>
I mean a way of looking at performance issues and determining of the root of those
issues. Here is the performance tuning and optimization methodology I use:

<DL>
	<DD><B>1.</B> Analyze the system--Determine whether a performance issue actually
	exists. You might determine this by running transactions and checking response times
	or by monitoring the system statistics. You should look at OS stats as well as Oracle
	stats.
	<P><B>2.</B> Determine the cause--Here you form a hypothesis about where the bottleneck
	is by looking at the analysis from step 1.</P>
	<P><B>3.</B> Develop a solution or a test--If you are certain you have determined
	where the bottleneck is, develop a solution for it. If not, develop a test to verify
	your hypothesis. When you develop the test, you should know what the results of the
	test will tell you.</P>
	<P><B>4. </B>Run the test or implement the solution--If you have hit upon a solution,
	implement it. If not, run your test under carefully controlled conditions. This test
	will be used to determine whether you are right or wrong.</P>
	<P><B>5.</B> Analyze the results--After the test has been run, you must analyze the
	result. Always view your results with skepticism. If something is too good to be
	believed, perhaps you should not believe it.
</DL>



<BLOCKQUOTE>
	<P>
<HR>
<FONT COLOR="#000077"><B>NOTE:</B></FONT><B> </B>You should know what you expect
	from the test you have developed. Many times a test result can provide good data
	if the result is positive, but no useful information if the result is negative. For
	example, adding another disk drive will tell you that you had a disk bottleneck if
	this addition increases performance, but does not tell you what the problem is if
	performance does not increase. These tests are still valuable, even though only one
	result gives you good data. 
<HR>


</BLOCKQUOTE>

<P>Although you don't need to use my system, it helps if you develop some system
for <FONT COLOR="#000000">Troubleshooting</FONT>.
<H3><FONT COLOR="#000077"><B>Analyze the System</B></FONT></H3>
<P>Analyzing the system gives you a good place to start. The first step in analyzing
a system is to determine whether you have a problem. You should periodically monitor
the following:

<UL>
	<LI>Response times--Do users complain that the system seems slower? Periodically
	ask your user community how the performance of the system seems to them; some-times
	end users are reluctant to tell you about prospective problems until they reach a
	critical state. It is a good idea to have a test query that you can run to compare
	current response times with previous response times. If your test query takes significantly
	longer to run than previously, you are seeing some kind of system slowdown.
	<P>
	<LI>Throughput--Look at the system as a whole by examining the system performance
	monitor (perfmon for NT, sar for UNIX). Compare current and past results. Is your
	CPU utilization significantly higher than in previous samples? What about disk usage?
	You will look at these in more detail later today.
	<P>
	<LI>Your intuition--Sometimes the system just feels wrong. If you think something
	isn't quite right, check it out. You know your system better than anyone.
</UL>

<P>After you analyze the system, you might determine that there are no performance
issues, that everything is running fine. Great! But if you do come across performance
problems, you can start determining the cause and possible solutions.
<H3><FONT COLOR="#000077"><B>Determine the Cause</B></FONT></H3>
<P>The next stage is to form a hypothesis of what you think the problem is. This
should be based on analysis of the system and what you know of the system's design
and capacity. For example, if you have a system with five 4.3GB SCSI disk drives
for datafiles, the system should be able to support up to 350 I/Os per second before
you see large disk latencies. If you are driving those disk drives at 450 I/Os per
second, you could hypothesize that you are having a disk I/O problem. This hypothesis
should be specific enough to help lead you to a solution to the bottleneck.
<H3><FONT COLOR="#000077"><B>Develop a Solution or a Test</B></FONT></H3>
<P>Develop a solution to the bottleneck or some sort of test to confirm your hypothesis.
Whether you need to develop a solution or a test depends on how certain you are about
having discovered the bottleneck and how expensive the solution is. If you are certain
you have a disk bottleneck and have more disk drives available, it is not necessary
to test your theory. But if you are not certain or think that other issues might
be involved, it is a good idea to develop a test. Be sure your test will give you
meaningful information.


<BLOCKQUOTE>
	<P>
<HR>
<FONT COLOR="#000077"><B>WARNING:</B></FONT><B> </B>Remember the difference between
	<I>cause</I> and <I>effect</I>. You might see something that looks like a disk bottleneck
	when in fact a lack of memory is causing unnecessary I/O. 
<HR>


</BLOCKQUOTE>

<H4><FONT COLOR="#000077"><B>Anticipate Your Results</B></FONT></H4>
<P>The test you devise to confirm or rule out a certain bottleneck should lead to
expected results. If you are unsure what positive and negative results would indicate,
the test is not worth running. I often run tests where a positive result is meaningful
but a negative tells me nothing. This test is still worth running because that positive
result might either solve the problem or rule out a cause. Some examples of the kinds
of testing you can do are shown later today.
<H3><FONT COLOR="#000077"><B>Run the Test or Implement the Solution</B></FONT></H3>
<P>Either run a test that will give you valuable information about the bottleneck
or try to fix the problem. Carefully monitor the system in both cases. Even if it
seems that the performance of the system has immediately and dramatically improved,
you should still monitor the system and collect some data. If you run into a performance

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区影院| 久久久美女毛片| 日韩精品91亚洲二区在线观看| 国产精品国产自产拍高清av| 亚洲色图制服丝袜| 97久久超碰国产精品电影| 精品国产制服丝袜高跟| 国产精品免费丝袜| 国产精品自拍毛片| 椎名由奈av一区二区三区| 色94色欧美sute亚洲线路一ni| 亚洲免费观看视频| 久久伊99综合婷婷久久伊| 成人黄色777网| 美女高潮久久久| 亚洲免费观看高清在线观看| 日韩精品一区二区三区四区 | 岛国精品一区二区| 亚洲国产精品久久不卡毛片| 久久先锋影音av| 91麻豆精品国产91久久久| 成人午夜在线视频| 欧美aⅴ一区二区三区视频| 国产性做久久久久久| 日韩精品一区二区三区中文不卡| 成年人网站91| 成人黄色国产精品网站大全在线免费观看 | 成人av在线一区二区| 另类小说欧美激情| 青娱乐精品在线视频| 亚洲综合无码一区二区| 亚洲情趣在线观看| 一区二区三区在线观看网站| 国产精品毛片久久久久久| 久久综合色天天久久综合图片| 欧美日韩久久久久久| 欧美日韩午夜在线| 欧美丰满嫩嫩电影| 日韩一级完整毛片| 久久亚洲精精品中文字幕早川悠里 | 欧美日韩在线播放| 欧美精品在线视频| 久久久亚洲精品石原莉奈| 久久久噜噜噜久久中文字幕色伊伊| 精品国产乱码91久久久久久网站| 欧美videossexotv100| 久久亚区不卡日本| 亚洲女同女同女同女同女同69| 久久精品亚洲麻豆av一区二区 | 国产精品成人免费精品自在线观看| 2020日本不卡一区二区视频| 国产精品久久久久久久午夜片 | 激情都市一区二区| 国产做a爰片久久毛片| 99精品国产99久久久久久白柏| 色婷婷综合中文久久一本| 欧美一区二区三区四区高清| 国产性色一区二区| 日本不卡中文字幕| 成人av电影在线播放| 精品美女被调教视频大全网站| 国产精品久久久久影院老司| 秋霞影院一区二区| 国产成人av网站| 中文字幕在线观看一区| 精品一二三四区| 蜜臀av性久久久久蜜臀aⅴ| 亚洲一区二区av在线| 国产精品三级av| 亚洲欧洲99久久| 亚洲精品国产精华液| 国产精品996| 欧洲激情一区二区| 日韩一区二区三区电影| 亚洲欧洲日韩一区二区三区| 韩国女主播成人在线观看| 欧美日本乱大交xxxxx| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 亚洲一区二区三区在线| av不卡一区二区三区| 亚洲欧美国产毛片在线| av午夜一区麻豆| 亚洲一区二区三区美女| 欧美蜜桃一区二区三区| 毛片一区二区三区| 国产亚洲欧美在线| 色香色香欲天天天影视综合网| 亚洲精品免费在线播放| 欧美日韩久久一区| 久久精品国产精品青草| 国产亚洲美州欧州综合国| 懂色av一区二区三区免费观看| 亚洲欧洲精品一区二区三区 | 蜜桃一区二区三区在线| 国产视频一区二区在线| 色婷婷久久久综合中文字幕| 亚洲国产精品一区二区久久恐怖片 | 欧美激情艳妇裸体舞| 欧美性色综合网| jizzjizzjizz欧美| 亚洲高清视频中文字幕| 日本一区二区电影| 欧美夫妻性生活| 色乱码一区二区三区88| 蜜桃视频一区二区| 亚洲成人综合视频| 综合婷婷亚洲小说| 中文字幕欧美激情| 久久亚洲综合色| 日韩欧美国产一二三区| 在线免费观看日本欧美| 99久久99久久精品免费观看| 精品一区二区久久久| 久久丁香综合五月国产三级网站| 日韩伦理电影网| 亚洲精品高清在线| 亚洲欧洲一区二区三区| 亚洲人成网站精品片在线观看| 久久亚洲私人国产精品va媚药| 欧美在线观看视频在线| 欧美一a一片一级一片| 色婷婷综合中文久久一本| 91年精品国产| 欧美视频在线一区| 欧美一区二区三区播放老司机| 在线播放国产精品二区一二区四区| 欧洲亚洲精品在线| 欧美日韩国产天堂| 日韩精品一区二区三区老鸭窝| 精品成人一区二区三区四区| 久久天堂av综合合色蜜桃网| 国产丝袜在线精品| 亚洲激情校园春色| 日本欧美大码aⅴ在线播放| 狠狠色丁香婷综合久久| 成人午夜精品在线| 91国产视频在线观看| 日韩午夜激情av| 中文字幕中文在线不卡住| 日韩精品国产精品| 国产精品综合二区| 宅男噜噜噜66一区二区66| 欧美精品自拍偷拍| 极品瑜伽女神91| 色综合天天综合| 欧美三级韩国三级日本一级| 97久久精品人人做人人爽50路| 成人激情免费视频| 蜜臀久久久99精品久久久久久| 天堂在线亚洲视频| 麻豆91在线看| 欧美日韩另类一区| 91麻豆精品国产91久久久使用方法| 成人一区二区三区中文字幕| 欧美久久久久免费| 亚洲色图在线视频| av网站一区二区三区| 欧美午夜寂寞影院| 亚洲综合色在线| 91福利国产精品| 亚洲精品少妇30p| 9i在线看片成人免费| 亚洲黄色性网站| 91麻豆国产在线观看| 亚洲美女屁股眼交| 欧美艳星brazzers| 免费欧美高清视频| 精品久久久久久久一区二区蜜臀| 麻豆精品一区二区三区| 日韩欧美中文字幕公布| 奇米影视在线99精品| 日韩免费电影网站| 国产精品一品二品| 亚洲欧美视频在线观看视频| 色综合激情五月| 日本vs亚洲vs韩国一区三区| 欧美精品丝袜中出| 国产激情一区二区三区四区| 久久精品亚洲麻豆av一区二区| 狠狠色丁香久久婷婷综合_中| 日本一二三不卡| 欧美日韩国产综合一区二区| 国产激情91久久精品导航| 亚洲免费电影在线| 久久理论电影网| 7777精品伊人久久久大香线蕉经典版下载 | 色综合久久88色综合天天免费| 午夜电影久久久| 亚洲日本丝袜连裤袜办公室| 欧美成人激情免费网| 欧美日韩中文字幕一区二区| 国产一区二区三区电影在线观看| 国产精品精品国产色婷婷| 日韩欧美亚洲一区二区| 精品1区2区3区| 欧美日韩一区中文字幕| 色综合久久88色综合天天| 不卡视频在线看| 成人aa视频在线观看| 成人午夜视频在线观看|