[关闭]
@shjanken 2014-07-29T06:30:59.000000Z 字数 716 阅读 749

ORACLE 笔记 1

oracle 学习笔记


SQLPLUS 常用设置

查看 ORACLE 的内存信息

  1. 查看 sga 各个内存组件的大小
    select component,current_size from v$sga_dynamic_components;
    select * from v$sgainfo;

  2. 查看sgabuffer cache的命中率
    select name,round((1-(physical_reads / (db_block_gets + consistent_gets))) * 100) || '%' ratio from v$buffer_pool_statistics where db_block_gets + consistent_get > 0

  3. 查看shared pool 的命中率
    select to_char(sum(pins-reloads)/sum(pins)*100,'99.99' || '%' from v$librrycache

查看参数文件信息

数据字典表

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注