Chinaunix首页 | 论坛 | 博客
  • 博客访问: 22385
  • 博文数量: 13
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 138
  • 用 户 组: 普通用户
  • 注册时间: 2013-06-07 12:49
个人简介

一名刚毕业的大学生,一名oracle爱好者,一名unix爱好者,一名技术爱好者!

文章分类

全部博文(13)

文章存档

2013年(13)

我的朋友

分类: Oracle

2013-07-10 12:52:42


点击(此处)折叠或打开

  1. I tend to cache some objects in buffer_pool cache to reduce buffer_gets and increase oracle performance.
  2. Keep cache is a part of oracle instance's buffer_pool.
  3. Configure keep cache is done with following:
  4.      ALTER SYSTEM SET DB_KEEP_CACHE=4096M SCOPE=BOTH;
  5. The above command do allocate 4gb size for buffer_pool keep cache. And I can use the following commands to cache the object which I want to cache to buffer_pool cache.
  6.      ALTER TABLE table_name STORAGE(BUFFER_POOL KEEP);
  7.      ALTER INDEX index_name STORAGE(BUFFER_POOL KEEP);
  8. In order to check how many objects caching buffer_pool kee, it can execute this sql to check:
  9.      SELECT DISTINCT SEGMENT_NAME FROM DBA_SEGMENTS WHERE BUFFER_POOL='KEEP';
  10. This should do it!



阅读(355) | 评论(0) | 转发(0) |
0

上一篇:Install oracle solaris 10 by network

下一篇:没有了

给主人留下些什么吧!~~