Bo's Oracle Station

查看: 1154|回复: 0

第62次:2014-11-28

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2014-11-29 10:12:01 | 显示全部楼层 |阅读模式
本帖最后由 botang 于 2014-12-30 11:42 编辑
  1. select  * from v$sgastat;

  2. select * from v$rowcache;

  3. select * from v$librarycache;

  4. select  t.buffer_pool  from dba_Tables t where t.owner='HR' and t.table_name='EMPLOYEES';

  5. alter table hr.employees storage ( buffer_pool  keep);

  6. select  * from dba_source s where s.owner='HR' and s.name='ADD_JOB_HISTORY';

  7. select * from dba_objects o where o.owner='HR' ;

  8. select  job_id  from hr.employees where   department_id=10;


  9. select  * from v_$db_object_cache   doc where doc.name='ADD_JOB_HISTORY'  ;

  10. begin
  11.    dbms_shared_pool.keep('HR.ADD_JOB_HISTORY');
  12. end;

  13. select  * from v_$db_object_cache   doc where doc.name='ADD_JOB_HISTORY'  ;
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-4-29 03:37 , Processed in 0.036654 second(s), 24 queries .

快速回复 返回顶部 返回列表