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
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:159898.1>
Alias: VIEW:X$KCBKPFS
Circulation: PUBLISHED (INTERNAL) ***Oracle Confidential - Internal Use Only***
Folder: server.Internals.General
Topic: ** X$ Table Definitions
Title: VIEW: X$KCBKPFS - PreFetch Statistics - (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$KCBKPFS
[K]ernal [C]ache [B]uffer chec[K]point management
[P]re[F]etch [S]tats 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
BUFFER_POOL_ID NUMBER Buffer Pool
TIMESTAMP NUMBER Timestamp
PREFETCH_OPS NUMBER number of prefetch operations
PREFETCH_BLOCKS NUMBER number of blocks prefetched
WASTED_BLOCKS NUMBER number of prefetched blocks wasted
CLIENTS_PREFETCH NUMBER number of clients actually prefetching buffers
PREFETCH_LIMIT NUMBER Limit to be used by for each prefetch operation Notes: This is maintained by the CKPT process which fills in an entry for each timeout period. Size of prefech history is limited to 50 per buffer pool. This section deals with controlling prefetching through the cache. This
is used to determine whether prefetch is wasteful i.e are prefetched blocks
being aged out of the cache before they can be used? This can happen,
for example, if there is a lot of recycling activity in the cache and
each client of the cache prefetched a large number of blocks into the cache. To prevent this the following algorithm is used to limit the amount
of prefetching done in each buffer pool: A history buffer is maintained per buffer pool. This buffer maintains
a history of prefetching performance. This is populated through a
timeout action. The history buffer contains the following information
in each entry (struct kcbkpfs):
- Timestamp at which entry was created.
- Number of prefetch operations since the last timeout action.
- Number of blocks prefetched in this period.
- Number of prefetched blocks that were wasted - this refers to
blocks that were prefetched but had to be aged out before
they could be pinned.
- Prefetch limit (this is the value computed by this function)
- Number of prefetching clients (as a snapshot at the time this
function is executed)
- Number of buffers being read at this time. The algorithm uses the history to determine the prefetch limit. It
the last few history entries (defined by KCBK_HIST_WINDOW) and then
computes the cumulative number of prefetch operations, prefetched
blocks and wasted prefetch blocks over this window. It then applies
the following rules to adjust the limit: - If there are no prefetched blocks, then set the limit to
Q/C where Q is the prefetch quota (in number of buffers) and
C is the number of clients performing prefetching - If there are prefetched blocks and some of them were wasted.
In this case, the limit is reduced by the fraction (P - W)/P
where P is the number of blocks prefetched over the history
window and W is the number of prefetched blocks that were wasted.
If W happens to be greater than P, this implies that the buffers
that were prefetched before the history window were wasted in
this time interval. In this case, we reduce the limit to half
its value. - If there are no wasted prefetch blocks, then there are 3 cases: (a) The number of clients has gone down - in this case we
double the prefetch limit. If this causes any wasted prefetches
it will be reduced by that fraction in the next timeout. Note
that the increase is limited by the ratio (Q/C') where Q is
the prefetch quota and C' is the new number of clients. (b) The number of clients has increased - retain the limit as long
as the it is less than (Q/C') (same ratio as above). If not,
set it to Q/C' (c) The number of clients remains the same - The limit is doubled
if the number of prefetched buffers has decreased by atleast
25% (again subject to the Q/C limit), otherwise the limit is
retained. The rationale is that if the number of prefetched
buffers has gone down, the clients have reduced their
prefetching, so increasing the limit may not lead to wasted
prefetches. Note that if the increase in the limit leads to wasted prefetching,
then at the next timeout, the limit will be reduced by the fraction
of the prefetched blocks that were wasted.
oracle internal: VIEW: X$KCBKPFS - PreFetch Statistics - (9.0)的更多相关文章
- oracle internal :VIEW: X$KCBLDRHIST - Direct Read HISTory
WebIV:View NOTE:159900.1 Note (Sure) - Note Mods - Note Refs Error ORA 600 TAR TAR-Info Bug B ...
- Android查缺补漏(View篇)--在 Activity 的 onCreate() 方法中为什么获取 View 的宽和高为0?
在 Activity 的 onCreate() 方法中为什么获取 View 的宽和高为0 ? @Override protected void onCreate(Bundle savedInstanc ...
- Oracle错误IMP-00010: 不是有效的导出文件, 头部验证失败 分类: Oracle 2015-07-09 13:56 20人阅读 评论(0) 收藏
Oracle 11g的dmp备份文件导入到Oracle 10g,出现错误信息: Import: Release 10.2.0.1.0 - Production on 星期四 7月 9 13:47:04 ...
- Unable to start activity ComponentInfo{com.example.administrator.myapplication/com.example.administrator.myapplication.MainActivity}: android.view.InflateException: Binary XML file line #0: Binary XM
本来就是把fragment写死在activity的xml模板里面,结果报了这个错误, Unable to start activity ComponentInfo{com.example.admini ...
- SPSS Statistics 26.0 下载安装和激活
目录 1. 其他版本 2. IBM SPSS Statistics 26 新增功能 3. 安装步骤 4. 下载地址 1. 其他版本 参考:https://www.cnblogs.com/coco56/ ...
- IBM SPSS Statistics 26.0 Mac Windows Linux安装破解教程
IBM SPSS Statistics 26.0是IBM公司推出的一款用于统计学分析运算.数据挖掘.预测分析和决策支持任务的软件产品及相关服务的程序. 下载 windows/mac/linux IBM ...
- Oracle EBS Concurrent Request:Gather Schema Statistics[Z]
Oracle EBS 的Concurrent Request"Gather Schema Statistics"是一个和性能相关的Concurrent Program,它会对表,列 ...
- Oracle 视图view
在我看来,oracle的视图就是用于将多个表的关联查询结果映射成[临时表],视图与系统表中的数据是实时对应的. 我们可以像操作表的查询一样来操作视图查询. 视图写法: CREATE OR REPLAC ...
- Oracle ERP View - fnd_global.apps_initialize
在ORACLE APPLICATION FORM中已存储了数据,在客户端TOAD中查找其TABLE找到相关数据行,但当查找其VIEW时就无法找到数据. 原因ORACLE的权责及OU安全机制屏蔽问题. ...
随机推荐
- [转] ArcEngine 产生专题图
小生原文 ArcEngine 产生专题图 ArcEngine提供多个着色对象用于产生专题图,可以使用标准着色方案,也可以自定义着色方案,ArcEngine提供8中标准着色方案. 一.SimpleRen ...
- 《C++ primer》--第12章
习题12.7 什么是封装?为什么封装是有用的? 解答: 封装是一种将低层次的元素组合起来形成新的.高层次实体的技术.例如,函数是封装的一种形式:函数所执行的细节行为被封装在函数本身这个更大的实体中:类 ...
- 试验Windows Embedded Standard 7 Service Pack 1 Evaluation Edition
=========================================== 是否支持再使用 RT 7 Lite 精简 ? ================================= ...
- Tkinter教程之Checkbutton篇
本文转载自:http://blog.csdn.net/jcodeer/article/details/1811306 #Tkinter教程之Checkbutton篇#Checkbutton又称为多选按 ...
- [算法] 选择排序 Selection sort
选择排序(Selection sort)是一种简单直观的排序算法.它的工作原理如下.首先在未排序序列中找到最小(大)元素,存放到排序序列的起始位置,然后,再从剩余未排序元素中继续寻找最小(大)元素,然 ...
- android 源码编译中的错误 解决
1.编译种错误提示: arm-none-linux-gnueabi-gcc: directory: No such file or directory arm-none-linux-gnueabi-g ...
- Firefox 火狐网址生成二维码扩展推荐
该扩展并未在火狐官方的扩展站中上线,在火狐中国的站点中也几乎很难找到,只是作为火狐中国版的一个集成扩展. 各位想要使用该扩展,但又不愿安装火狐中国版的的浏览迷可以通过以下地址独立安装该扩展. 扩展地址 ...
- 15个顶级Java多线程面试题及答案
1)现在有T1.T2.T3三个线程,你怎样保证T2在T1执行完后执行,T3在T2执行完后执行? 这个线程问题通常会在第一轮或电话面试阶段被问到,目的是检测你对”join”方法是否熟悉.这个多线程问题比 ...
- Gym 100818F Irrational Roots (数学)
Irrational Roots http://acm.hust.edu.cn/vjudge/contest/view.action?cid=101594#problem/F [题意]: 判断一个整系 ...
- bzoj 2190 仪仗队(欧拉函数)
2190: [SDOI2008]仪仗队 Time Limit: 10 Sec Memory Limit: 259 MBSubmit: 2245 Solved: 1413[Submit][Statu ...