怎么看oracle的内存 如何查看oracle

怎么查看oracle数据库的内存

1. 查看所有表空间大小 SQL select tablespace_name,sum(bytes)/1024/1024 || 'M' from dba_data_files group by tablespace_name; 2. 已经使用的表空间大小 SQL select tablespace_name,sum(bytes)/1024/1024 || 'M' from dba_free_space gro...

鄠邑ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为创新互联公司的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:028-86922220(备注:SSL证书合作)期待与您的合作!

如何用nmon查看oracle占用的了多少内存

运行nmon,然后按键盘上的“T”,

然后按 4 按内存占用大小排序,类推:[1=Basic 2=CPU 3=Perf 4=Size 5=I/O 6=Cmds] (* 界面上有提示 *)

命令行输入nmon:

root..[/] nmon

------------------------------ x

x N N M M OOOO N N For online help type: h x

x NN N MM MM O O NN N For command line option help: x

x N N N M MM M O O N N N quick-hint nmon -? x

x N N N M M O O N N N full-details nmon -h x

x N NN M M O O N NN To start nmon the same way every time? x

x N N M M OOOO N N set NMON ksh variable, for example: x

x ------------------------------ export NMON=cmt x

x TOPAS_NMON x

x 8 - CPUs currently x

x 8 - CPUs configured x

x 1498 - MHz CPU clock rate x

x PowerPC_POWER5 - Processor x

x 64 bit - Hardware x

x 64 bit - Kernel x

x 1,06-2298H - Logical Partition x

x 6.1.6.20 TL06 - AIX Kernel Version x

x bjrest01 - Hostname x

x bjrest01 - Node/WPAR Name x

x 062298H - Serial Number x

x IBM,9133-55A - Machine Type

按T键之后,再按数字键4

lqtopas_nmonqqC=many-CPUsqqqqqqqqHost=bjrest01qqqqqqqRefresh=2 secsqqq10:01.52qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

x Top-Processes-(176) qqqqqMode=4 [1=Basic 2=CPU 3=Perf 4=Size 5=I/O 6=Cmds]qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx

x PID %CPU Size Res Res Res Char RAM Paging Command x

x Used KB Set Text Data I/O Use io other repage x

x13500544 1.3 211M80320 45048 35272 0 1% 0 0 0 Oracle x

x18677916 0.2 207M75684 45048 30636 0 1% 0 0 0 oracle x

x11468978 0.5 207M75596 45048 30548 0 1% 0 0 0 oracle x

x 6357214 0.5 207M75596 45048 30548 0 1% 0 0 0 oracle x

x26738798 0.1 200M68188 45048 23140 0 1% 0 0 0 oracle x

x24641536 0.0 198M66944 45048 21896 0 0% 0 0 0 oracle x

x 6291688 0.1 198M66864 45048 21816 0 0% 0 0 0 oracle x

x24117292 0.0 198M66680 45048 21632 0 0% 0 0 0 oracle x

x30933066 0.0 197M65876 45048 20828 3 0% 0 0 0 oracle x

x23724058 0.0 193M61892 45048 16844 0 0% 0 0 0 oracle x

x 6619378 0.0 193M61308 45048 16260 0 0% 0 0 0 oracle x

x11075676 0.0 193M61212 45048 16164 0 0% 0 0 0 oracle x

x 7208984 0.1 193M61012 45048 15964 0 0% 0 2 0 oracle x

x17891498 0.0 192M60792 45048 15744 0 0% 0 0 0 oracle x

x12189894 0.0 192M60784 45048 15736 0 0% 0 0 0 oracle x

x16449708 0.0 192M60688 45048 15640 0 0% 0 0 0 oracle x

x15269948 0.0 192M60680 45048 15632 0 0% 0 0 0 oracle x

x21561584 0.0 192M60680 45048 15632 0 0% 0 0 0 oracle x

x 7536748 0.0 192M60668 45048 15620 0 0% 0 0 0 oracle x

x26345508 0.0 192M60664 45048 15616 0 0% 0 0 0 oracle x

x23986378 0.1 192M60660 45048 15612 0 0% 0 0 0 oracle x

x30474330 0.0 192M60660 45048 15612 0 0% 0 0 0 oracle

如何查看ORACLE所占用共享内存的大小

可用UNIX命令“ipcs”查看共享内存的起始地址、信号量、消息队列。

在svrmgrl下,用“oradebug ipc”,可看出ORACLE占用共享内存的分段和大小。

example:

SVRMGR oradebug ipc

-------------- Shared memory --------------

Seg Id Address Size

1153 7fe000 784

1154 800000 419430400

1155 19800000 67108864

如何查看oracle使用内存使用情况

oracle内存使用情况主要分两个方面,一个是PGA,一个是SGA

简单查询的话,通过SQL语句在PLSQL里面运行一下就可以了

代码如下:

select 'SGA' as name

,round(sum(value) / 1024 / 1024, 2) || 'M' as "SIZE(M)"

from   v$sga

union

select 'PGA' as name, round(value / 1024 / 1024, 2) || 'M' as "SIZE(M)"

from   v$pgastat

where  name = 'total PGA allocated'

复制粘贴后,进入PLSQL,登陆之后,新建页面运行查看结果即可。


新闻标题:怎么看oracle的内存 如何查看oracle
当前链接:http://lszwz.com/article/hjpjhd.html

其他资讯

售后响应及时

7×24小时客服热线

数据备份

更安全、更高效、更稳定

价格公道精准

项目经理精准报价不弄虚作假

合作无风险

重合同讲信誉,无效全额退款