永无止境的调优

service level agreements: 是一个量化的调优的指标.

performance 只要满足业务OK就可以了, 没必要调的很多, 因为有得必有失, 一方面调的特别优化, 可能导致另一方面出问题

主要还是关注SQL调优把(Troubleshooting Oracle performance 这本书主要是针对SQL的调优)

调优是告诉你怎么样使用ORACLE

没有1本书能大而全的论述性能调优

database administrators 和 system administrators 都需要调优

第1部分: 开发人员, 测试人员和DBA一起调优(这部分内容比较重要, 主要针对SQL调优)

第2部分: DBA 调优

第3部分: DBA 和 系统管理员一起调优

调优的目标

响应时间要短 等等

要实现目标就要尽可能的让ORACLE少访问磁盘

SQL tunning 还有 troubleshooting and tuning 比较重要

Troubleshooting and Tuning: This is the methodology recommended for production databases. It consists of looking for bottlenecks, and resolving them. Use tools to identify performance problems. By examining this data form a hypothesis of what is causing the bottleneck. From the hypothesis develop a solution, and implement it. Run a test load against the database to determin if the performance problem has been resolved.

1. 每次访问数据库都建立一个连接(例如)

2. 每次进行查询时都建立一个游标(例如)

3. 表结构定义的有问题( 大量的 join 性能就会下降 )

调优的阶段, 就类似看病, 如果是早期发现, 早期治疗比较好

系统没有出现问题时,定义一套baseline基线,当系统出现问题时,看看比较一下系统基线情况

1. 首先找到问题

2. 搜集操作系统和oracle statistics 内容

3. 首先考虑一般的性能问题(日常工作经验积累)

4. 建立一个猜想, 大概是哪除了问题

5. 根据猜想, 去调优

6. 看看是不是解决了问题.

调优经验(Tuning Methodology 上 下一起)

平衡 performance 和 security

p: performance

s: security

调优生产库的步骤

  • Locate the bottleneck by using tools. such as STATSPACK, UTLBSTAT and UTLESTAT or Oracle Enterprise Manager.
  • Determine the reason for the bottleneck.
  • Resolve the cause. 比如修改SGA参数啊, 等等.
  • Check that the bottleneck has been rosolved.

Tuning 01 Overview of Oracle Performance Tuning的更多相关文章

  1. 老李分享: Oracle Performance Tuning Overview 翻译下

    1.2性能调优特性和工具 Effective data collection and analysis isessential for identifying and correcting perfo ...

  2. 老李分享: Oracle Performance Tuning Overview 翻译

    老李分享: Oracle Performance Tuning Overview 翻译   poptest是国内唯一一家培养测试开发工程师的培训机构,以学员能胜任自动化测试,性能测试,测试工具开发等工 ...

  3. Performance Tuning Guidelines for Windows Server 2012

    http://msdn.microsoft.com/en-us/library/windows/hardware/jj248719.aspx This guide describes importan ...

  4. 30 分钟快快乐乐学 SQL Performance Tuning

    转自:http://www.cnblogs.com/WizardWu/archive/2008/10/27/1320055.html 有些程序员在撰写数据库应用程序时,常专注于 OOP 及各种 fra ...

  5. PostgreSQL Hardware Performance Tuning

    Bruce Momjian POSTGRESQL is an object-relational database developed on the Internet by a group of de ...

  6. Oracle SQL tuning 步骤

    Oracle SQL tuning 步骤 SQL是的全称是Structured Query Language(结构化查询语言).SQL是一个在80年代中期被使用的工业标准数据库查询语言.不要把SQL语 ...

  7. Performance Tuning guide 翻译 || 前言

    CSDN 对格式支持比較弱,能够到http://user.qzone.qq.com/88285879/blog/1399382878 看一致的内容. 前言Preface 包含例如以下几个小节 l Au ...

  8. Performance Tuning guide 翻译 || Performance Tuning Guide 11G中新增特性

    CSDN 对格式支持比較弱.能够到http://user.qzone.qq.com/88285879/blog/1399382878 看一致的内容. Performance Tuning Guide  ...

  9. MySQL Performance Tuning: Tips, Scripts and Tools

    With MySQL, common configuration mistakes can cause serious performance problems. In fact, if you mi ...

随机推荐

  1. WSDL相关文档

    http://msdn.microsoft.com/en-us/library/ms996486.aspx http://msdn.microsoft.com/en-us/library/aa4685 ...

  2. HDOJ 1466 计算直线的交点数

    将n 条直线排成一个序列,直线2和直线1最多只有一个交点,直线3和直线1,2最多有两个交点,......,直线n 和其他n-1条直线最多有n-1个交点.由此得出n条直线互不平行且无三线共点的最多交点数 ...

  3. 浅谈MySQL索引背后的数据结构及算法【转】

    摘要 本文以MySQL数据库为研究对象,讨论与数据库索引相关的一些话题.特别需要说明的是,MySQL支持诸多存储引擎,而各种存储引擎对索引的支持也各不相同,因此MySQL数据库支持多种索引类型,如BT ...

  4. Mysql 操作

    MySQL命令行导出数据库:1,进入MySQL目录下的bin文件夹:cd MySQL中到bin文件夹的目录如我输入的命令行:cd C:\Program Files\MySQL\MySQL Server ...

  5. photoshop基础

    在Photoshop中,对图像的某个部分进行色彩调整,就必须有一个指定的过程.这个指定的过程称为选取.选取后形成选区. 现在先明确两个概念: 选区是封闭的区域,可以是任何形状,但一定是封闭的.不存在开 ...

  6. 同一网站不同和二级域名和不同子目录的cookie

    1.cookie二级域名的实现: 用户其中一个站点登录,而且可以各个子频道间切换,保持登录状态设置Cookie时,使用如下代码即可:setcookie(name,value,expire,path,& ...

  7. POJ 2017

    #include<iostream> #include<stdio.h> using namespace std; int main() { //freopen("t ...

  8. C#实现文件增量备份

    最近将客户的一个ASP网站部署到了公司的机房云服务器上,该ASP网站的文件总容量已有将近4GB. 虽然现在硬盘容量很大,但每天一次完整备份的话,那占用的硬盘空间会急剧上升,考虑一个更优的备份方案就是每 ...

  9. Javascript offsetLeft详情

    <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <m ...

  10. hdu 4759 Poker Shuffle 二进制

    思路:主要是二进制的运用. 为了方便从0开始,首先看下右移一下,高位异或1的规律:(可以从右往左一列一列看) 000(0) -> 100(4) -> 110(6) -> 111(7) ...