oracle帮助文档——Real Application Testing User's Guide




/1  Introduction to Oracle Real Application Testing

概述:SQL Performance Analyzer Database Replay 是Oracle真实应用程序测试的 关键 组件
1.1 SQL Performance Analyzer
测升级对sql set的影响
测改变参数对sql的影响
测exedata对IO的影响


基本上 execution plans;plan baseline;调节regressed SQL都涉及


/8 Database Replay简介

捕获工作负载——预处理——Workload Replay——Analysis and Reporting

捕捉要:setting up the directory to capture the workload
重放要:restore of the original database to a specific SCN
8.1 Workload Capture
捕获文件包含有关客户端请求的所有相关信息,如 SQL text, bind values, and transaction information
Background activities and database scheduler jobs are not captured。这些捕获文件是平台无关的,可以传输到另一个系统


/9 Capturing a Database Workload

9.1 前提
(1)Recovery Manager (RMAN) command;
(2)Snapshot standby;
(3)Data Pump Import and Export

9.2  Workload Capture Options
a.确保所有事物完成回滚,所以最好restart一下
b.restart是用restrict,以确保只允许sys用户登录
RAC的步骤:
关闭所有的实例。
重新启动其中一个实例。
启动工作负载捕获。
重新启动其余的实例。



9.3  Workload Capture Restrictions
所以最好是restrict mode吧???
Capture的不一定replay就能成功,比如:




/11 Replaying a Database Workload

11.1 步骤
(1)Setting Up the Replay Directory
(2)Restoring the Database
(3)Resolving References to External Systems
(4) Remapping Connections
(5)User Remapping
(6)Specifying Replay Options
(7)Using Filters with Workload Replay
(8) Setting Up Replay Clients























/1  Introduction to Oracle Real Application Testing

概述:SQL Performance Analyzer Database Replay 是Oracle真实应用程序测试的 关键 组件
1.1 SQL Performance Analyzer
测升级对sql set的影响
测改变参数对sql的影响
测exedata对IO的影响


基本上 execution plans;plan baseline;调节regressed SQL都涉及


/8 Database Replay简介

捕获工作负载——预处理——Workload Replay——Analysis and Reporting

捕捉要:setting up the directory to capture the workload
重放要:restore of the original database to a specific SCN
8.1 Workload Capture
捕获文件包含有关客户端请求的所有相关信息,如 SQL text, bind values, and transaction information
Background activities and database scheduler jobs are not captured。这些捕获文件是平台无关的,可以传输到另一个系统


/9 Capturing a Database Workload

9.1 前提
(1)Recovery Manager (RMAN) command;
(2)Snapshot standby;
(3)Data Pump Import and Export

9.2  Workload Capture Options
a.确保所有事物完成回滚,所以最好restart一下
b.restart是用restrict,以确保只允许sys用户登录
RAC的步骤:
关闭所有的实例。
重新启动其中一个实例。
启动工作负载捕获。
重新启动其余的实例。



9.3  Workload Capture Restrictions
所以最好是restrict mode吧???
Capture的不一定replay就能成功,比如:




/11 Replaying a Database Workload

11.1 步骤
(1)Setting Up the Replay Directory
(2)Restoring the Database
(3)Resolving References to External Systems
(4) Remapping Connections
(5)User Remapping
(6)Specifying Replay Options
(7)Using Filters with Workload Replay
(8) Setting Up Replay Clients






















  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值