三方面描述Oracle优化R方法(MethodR)
文章作者 100test 发表时间 2007:05:24 12:03:48
来源 100Test.Com百考试题网
1. Target the tasks that are critical to the business。
2. Collect properly scoped, un-aggregated profile data for each task while the task is exhibiting the behavior you want to record。
3. React with the candidate repair that will have the greatest net payoff to the business。
a. Stop if the cost of the repair exceeds the cost of the problem.。
4. Go to step 1。
这里面的核心元素是 Profile .Profile 要提供应用程序到最终用户的响应时间的详细描述。体现到 Oracle 数据库这一层,就是要得到扩展的 SQL Trace 数据。
是不是感觉有些“虚”, R 方法和一些我们已知的数据库优化方法颇一些相似之处,但是 Cary Millsap 宣称 R 方法是目前已知 Oracle 优化方法中的最优秀的、最全面的。我们来看看一些简单比较:
R方法 vs OWI 方法
OWI(Oracle wait interface)只是R方法中的一个基本元素. R 方法是适用更广的(比如应用层)诊断指导策略(参见:How to Make an Application Easy to Diagnose).