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. js函数——倒计时模块+无缝滚动

    倒计时 效果: 代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset=&qu ...

  2. OpenGL开发时,fatal error C1083: 无法打开包括文件:“gl\glut.h”: No such file or directory

    本人使用的是vs2012,编写一个简单的opengl程序,运行的时候总是提示: fatal error C1083: 无法打开包括文件:“gl/glut.h”: No such file or dir ...

  3. [转] “error LNK2019: 无法解析的外部符号”之分析

    HiLoveS原文“error LNK2019: 无法解析的外部符号”之分析 最近在用VS 2008开发,初学遇到不少问题,最头疼的问题之一就是:LNK2019. 百度一下讲的并不够全面,反正都没解决 ...

  4. IT版孔乙己(转)

    [不要做学究]回忆孔先生IT版 我关于本文评价:看到这篇文章很多人会生出这样的疑问“这明明是在诋毁钻研技术的人嘛?是不是在宣扬技术无用论?”. 初看这篇文章的时候我也是这样的想法,但是逐步才明白这篇文 ...

  5. Delphi RichEdit操作

    1.选择设置对齐 RichEdit1.SelectAll;RichEdit1.Paragraph.Alignment:=taLeftJustify; // switch for other align ...

  6. extjs form submit 总是执行failure

    代码: function createWeekReort() { if (form.getForm().isValid()) { Ext.Msg.confirm("提示", &qu ...

  7. Python--类使用

    类使用的几个注意点: 1. 类的语法结构:2. __init__(self),3. __metaclass__=type, (新式类)4. super(subclassname, self).__in ...

  8. 【原】Kryo序列化篇

    Kryo是一个快速有效的对象图序列化Java库.它的目标是快速.高效.易使用.该项目适用于对象持久化到文件或数据库中或通过网络传输.Kryo还可以自动实现深浅的拷贝/克隆. 就是直接复制一个对象对象到 ...

  9. JAVA与图形界面开发(Applet应用程序、AWT库、Swing)

    Applet 1)简单说,Applet就是嵌入到网页中的小程序,Java代码. 2)编写Applet程序,要继承JApplet类,并根据自己需要覆写相关方法(init.start.stop.destr ...

  10. nodejs API笔记

    一.URL 涉及到的方法 1.parse():解析地址 2.format():生成地址 3.resolve(from,to):组合成地址 举例说明: url.parse('http://baidu.c ...