WebIV:View NOTE:159900.1    

Note (Sure)
- Note    Mods
- Note Refs
Error
ORA 600
TAR
TAR-Info
Bug
Bug Matrix
RFI
Diary
Events
Parameters
Locks
Latches
Views
Pkg/Proc
Statistics
Wait Events
Function
BugDB User
Port Names
Prod/Comp
Doc Part
        
Get
Explode
Mail
Fax
Mark
Tag
Tag-References
Check-References
Show Remarks
Edit
Edit (Full Header)
Copy (Full Header)
Attachments
Show Doc Stats
Show ML  Copy


Article-ID: <Note:159900.1>
Alias: VIEW:X$KCBLDRHIST
Circulation: PUBLISHED (INTERNAL) ***Oracle Confidential - Internal Use Only***
Folder: server.Internals.General
Topic: ** X$ Table Definitions
Title: VIEW: X$KCBLDRHIST - Direct Read HISTory - (9.0)
Document-Type: REFERENCE
Impact: LOW
Skill-Level: NOVICE
Server-Version: 09.00
Updated-Date: 05-OCT-2001 05:27:02
References:
Shared-Refs:
Authors: MEPRESTO.US
Attachments: NONE
Content-Type: TEXT/PLAIN
Products: 5/RDBMS (9.0);

View: X$KCBLDRHIST
[K]ernel [C]ache [B]uffer [L]oad management
[d]irect [r]ead [hist]ory Column Type Description
-------- ---- --------
ADDR RAW(4|8) address of this row/entry in the array or SGA
INDX NUMBER index number of this row in the fixed table array
INST_ID NUMBER oracle instance number
DRTHRUPT NUMBER throughput of direct reads
TOTLSLTS NUMBER Total number of slots as seen by CKPT INCREASE NUMBER Increase bit
KCBLHV_STAY 0 Do not increase number of slots
KCBLHV_INCR 1 Increase number of slots
KCBLHV_SYNC 2 Syncronize mode REALSLTS NUMBER Total number of slots as seen by the PQ slaves Notes from source: One copy of the history vector is allocated per instance.
Each entry corresponds to a different time snapshot.
Every 3 seconds, the next entry is updated.
Each entry contains the following information:
- Throughput of direct reads during the last 3 seconds expressed in
blocks per second.
- Total number of slots (1). The background process every 3 seconds adds
up the number of slots in all active sessions. This is possible
since every session maintains statistics about its number of slots.
- Total number of slots (2). Each slave running adaptive direct reads
adds regularly its number of slots to the history vector.
The reason for having two different variables representing the
same logical entity is because either of those two variables
alone is not accurate enough. For example, if just before the end
of the 3 second interval, a new slave started then (1) will not be
accurate. On the other hand, if a slave just missed the chance to
add its number of slots in the last entry, then (2) is wrong.
So before any decision is taken, we make sure that (1) is identical
to (2).
- Increase bit. This bit indicates the decision taken by the background
process for the next 3 seconds interval based on the previous history
entries. Check the note in kcblclc for more information about the
increase bit. KCBLHSZ 1000 Size of History Vector in number of rows KCBLHSLTRT 25 Minimum percentage increase in number of slots
Minimum percentage increase in throughput expressed in percentage
increase in the number of slots. For example, if we have a 40% increase
in the number of slots, then the minimum increase in
throughput needs to be 40% * 25% = 10%. So this number
correlates the increase in number of slots with the throughput.
The minimum increase in throughput is used by the background process
as will be seen later. The latter compares the current increase in
throughput with the minimum increase to determine whether to increase
the number of slots in the system or not. KCBLHTHPTRT 25
Maximum IO Wait to Cumulative time ratio where slave is CPU bound
expressed in percentage. If that IO wait to cumulative time ratio
is greater than this number, then the slave is considered IO bound
and would increase number of slots if background process indicates
to do so. Otherwise, the slave is considered CPU bound and
consequently ignores all decisions taken by the background process. KCBLHCPUBDRT 10
NOTE ON PERSISTENT AND NONPERSISTENT STATE FOR ADAPTIVE READS:
The state for adaptive direct reads is composed of a persistent and
nonpersistent state. Persistent state means that kcbl state is
maintained across uses of a load descriptor. In other words, the
state is maintained across kcbldrini calls. The reason for that is
that sometimes kcbldrini is called multiple times for the same table
or index... We don't want to restart the adaptation from scratch
everytime kcbldrini is called. Instead we would like to maintain some
state so that in case kcbldrini is called again on that same object,
no redundant adaptation is needed.

oracle internal :VIEW: X$KCBLDRHIST - Direct Read HISTory的更多相关文章

  1. oracle internal: VIEW: X$KCBKPFS - PreFetch Statistics - (9.0)

    WebIV:View NOTE:159898.1     Note (Sure) - Note    Mods - Note Refs Error ORA 600 TAR TAR-Info Bug B ...

  2. Oracle 12C 新特性之 sqlplus查看History命令

    12c里,Oracle推出了 History 命令,这很像 Shell 中的 history ,减少了重敲 SQL ,带来了很多便利. 1. 查看history帮助SQL> help histo ...

  3. oracle 11g禁用和强制direct path read

    一般在混合型环境中,大表在进行全表扫描或者走并行的时候一般会出现direct path read等待事件,如果在OLTP或者纯粹的DSS环境中,出现大量的direct path read直接路径读取, ...

  4. Oracle 视图view

    在我看来,oracle的视图就是用于将多个表的关联查询结果映射成[临时表],视图与系统表中的数据是实时对应的. 我们可以像操作表的查询一样来操作视图查询. 视图写法: CREATE OR REPLAC ...

  5. Oracle ERP View - fnd_global.apps_initialize

    在ORACLE APPLICATION FORM中已存储了数据,在客户端TOAD中查找其TABLE找到相关数据行,但当查找其VIEW时就无法找到数据. 原因ORACLE的权责及OU安全机制屏蔽问题. ...

  6. Oracle EBS View 视图查看没有数据

    --关于看视图查看没有数据的问题 --原因OU过滤关系 --Oracle SQL*Plus --toad EXECUTE  fnd_client_info.set_org_context(:ou_id ...

  7. Oracle GV$VIEW

    The catclustdb.sql script creates the GV$ views. Run this script if you do not create your database ...

  8. Android 类似duplicate entry: android/support/v4/internal/view/SupportSubMenu.class问题解决办法汇总

    这种问题一般是v4或者v7包版本不一致导致的. 一般情况下进行在你的工程的入口module的build.gradle 的android标签下defaultConfig子标签中 添加如下的配置就能解决. ...

  9. Oracle视图View

随机推荐

  1. 编程式事务、XML配置事务、注解实现事务

    Spring2.0框架的事务处理有两大类: 1 编码式事务 , 这个不说. 2 声明式事务 , 就说这个. 声明式事务又有三种实现方法: 1 (第一种) 最早的方法,用TransactionProxy ...

  2. 3. 使用绘图API自定义视图 --- 旋转的方块

    import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; impor ...

  3. POJ2976 Dropping tests 01分数规划

    裸题 看分析请戳这里:http://blog.csdn.net/hhaile/article/details/8883652 #include<stdio.h> #include<a ...

  4. SQL经典笔试题之一

    本题用到下面三个关系表: CARD     借书卡.   CNO 卡号,NAME 姓名,CLASS 班级 BOOKS    图书.     BNO 书号,BNAME 书名,AUTHOR 作者,PRIC ...

  5. OC中两种单例实现方式

    OC中两种单例实现方式 写在前面 前两天探索了一下C++ 的单例,领悟深刻了许多.今天来看看OC中的单例又是怎么回事.查看相关资料,发现在OC中一般有两种实现单例的方式,一种方式是跟C++ 中类似的常 ...

  6. Canvas入门(3):图像处理和绘制文字

    来源:http://www.ido321.com/997.html 一.图像处理(非特别说明,所有结果均来自最新版Google) 在HTML 5中,不仅可以使用Canvas API绘制图形,也可以用于 ...

  7. [微软实习生2014]K-th string

    很久之前的事情了,微软2014实习生的在线测试题,记录下来以备后用. 题目描述: Description Consider a string set that each of them consist ...

  8. 基于Maven管理的Mapreduce程序下载依赖包到LIB目录

    1.Mapreduce程序需要打包作为作业提交到Hadoop集群环境运行,但是程序中有相关的依赖包,如果没有一起打包,会出现xxxxClass Not Found . 2.在pom.xml文件< ...

  9. Hadoop学习笔记2---配置详解

    配置系统是复杂软件必不可少的一部分,而Hadoop配置信息处理是学习Hadoop源代码的一个很好的起点.现在就从Hadoop的配置文件谈起. 一.Hadoop配置格式 Hadoop配置文件格式如下所示 ...

  10. Configure the handler mapping priority in Spring MVC

    Often times, you may mix use of multiple handler mappings strategy in Spring MVC development. For ex ...