`
445822357
  • 浏览: 740406 次
文章分类
社区版块
存档分类
最新评论

How to Tell if the I/O of the Database is Slow - 1

 
阅读更多

系统变慢的原因有很多,有时是因为SQL,有时是因为硬件,有时又可能是系统,就如前几篇文章介绍的,AWR是一个查找问题原因的重要手段,同时OSWatcher等工具也是排查系统问题必不可少的方法。当然系统变慢,也需要知道他的主要现象,是整体慢,还是局部慢,是一直慢,还是瞬时慢。


How to Tell if the I/O of the Database is Slow (文档 ID 1275596.1)

如果IO变慢,可能成为性能问题的一个潜在原因。当然也需要从关系型数据库角度分析如何采集支持的论据。这篇文章的目标不是为了提供理解为什么IO慢的诊断方法,也不是提供为什么IO变慢的详细原因。

如果性能变慢的潜在原因是由于操作系统级别的IO变慢的结果,那么负责IO子系统(硬件和软件)的开发商需要参与进来诊断和修复这个问题。


解决方法

IO的有效性可以通过如下两种方法测量:

1. 响应时间

以微妙测量的完成一项操作的时间。Oracle负责采集统计。

2. 吞吐量

以每个单位时间内完成的操作数量测量。通过OS工具进行计算,例如Unix的iostat。


响应时间

硬件不必对于每个IO请求都有相同的反映。总会有可能出现高峰和低谷。因此使用平均值是一种测量响应时间的通用方法。

注意:为了减缓这种高峰/低谷的异常场景带来的问题,样例数据量需要比较大。样例数据量应该至少是每小时1000次操作,目的就是为了提供给决测更可信和实用的依据。


(未完待续)

分享到:
评论

相关推荐

    一个跨平台的CString源码

    The name "CStdString" is just a #define of one of these, // based upone the UNICODE macro setting // // This header also declares our own version of the MFC/ATL UNICODE-MBCS // conversion macros. ...

    bVNC-Pro-Secure-VNC-Viewer_v4.1.0.apk

    - Ability to reduce the color depth over slow links - Copy/paste integration - Samsung multi-window - SSH public/private (pubkey) - Importing encrypted/unencrypted RSA keys in PEM format - Zoomable, ...

    Web Commerce Security Design and Develo

    Whether it's online banking or ordering merchandise using your cell phone, the world of online commerce requires a high degree of security to protect you during transactions. This book not only ...

    delphi 7 gif控件

    // so that a colour get converted to the precise colour if that colour is // // present in the palette when using ColorReduction rmQuantize. // // // // Changed 2003-03-09 by Finn Tolderlund: // // ...

    The.DevOps.Adoption.Playbook.1119308747.pdf )

    DevOps has been one of IT's hottest trends for the past decade, and plenty of success stories testify to its effectiveness in organizations of any size, industry, or level of IT maturity, all around ...

    Enterprise Services with the .NET Framework

    Enterprise Services with the .NET Framework is the only book that experienced .NET developers need to learn how to write distributed, service-oriented applications that take full advantage of ...

    php.ini-development

    You can redirect all of the output of your scripts to a function. For ; example, if you set output_handler to "mb_output_handler", character ; encoding will be transparently converted to the ...

    Android代码-Android-BitmapCache

    Android-BitmapCache ... The sample app shows you how to use the library by creating a ViewPager of images downloaded from the web. These are cached in the LruCache and/or Disk Cache. Summary A cache

    Java NIO 英文文字版

    Because the NIO APIs supplement the I/O features of version 1.3, rather than replace them, you'll also learn when to use new APIs and when the older 1.3 I/O APIs are better suited to your particular ...

    Introduction to Design Patterns in C++ with Qt(PrenticeHall,2ed,2011)

    oriented programming texts that teach readers how to program in C++ with standard I/O (e.g., Deitel) and the relatively few books that assume a knowledge of OOP/C++ and emphasize GUI programming using...

    Foundations of Python Network Programming(3rd).pdf 0分

    重新上传免积分 ...这本书是2014年底出版的,基于最新的 python... The goal in each of the following chapters is simply to show you how Python 3 can best be used to solve modern network programming problems.

    UE(官方下载)

    A question we often see is "I have a lot of blank lines in my file and I don't want to go through and manually delete them. Is there an easier way to do this?" The answer is: yes! Configure FTP Set up...

    Guide to Optimizing Performance of the MySQL Cluster Database

    This guide explores how to tune and optimize the MySQL Cluster database to handle diverse workload requirements. It discusses data access patterns and how to build distribution awareness into ...

    The Complete Computer Vision Course with Python

    These technologies are powering the next generation of consumer and enterprise applications and the time to jump in the game is now! -Access 43 lectures & 7 hours of content 24/7 -Build a receipt ...

    Senfore_DragDrop_v4.1

    Delphi 3 or C++ Builder 3 support you will have to revert to version 3.7 of the Drag and Drop Component Suite. The library has been tested on NT4 service pack 5 and Windows 2000. Windows 95, 98, ME ...

    C#开发的PDF文件浏览器

    To see the samples in action, open the "Samples.sln" solution in the Samples folder (PDFsharp is the library project, all other projects are executable samples). Or open the "PDFsharp.sln" solution. ...

    Professional Git [2017]

    Professional Git ... the ability to work effectively with Git is rapidly approaching must–have status, and Professional Git is the comprehensive guide you need to get up to speed quickly.

    How NLP Cracked Transfer Learing

    Our conceptual understanding of how best to represent words and sentences in a way that best captures underlying meanings and relationships is rapidly evolving. Moreover, the NLP community has been ...

Global site tag (gtag.js) - Google Analytics