如何查oracle内存 oracle怎么看数据库内存

oracle中怎样查询出空闲表空间中的内存的命令?

用如下语句查看:

创新互联公司专注于南丰企业网站建设,成都响应式网站建设公司,商城网站制作。南丰网站建设公司,为南丰等地区提供建站服务。全流程按需策划设计,专业设计,全程项目跟踪,创新互联公司专业和态度为您提供的服务

select a.tablespace_name,a.bytes/1024/1024 "Sum MB",(a.bytes-b.bytes)/1024/1024 "used MB",b.bytes/1024/1024 "free MB",round(((a.bytes-b.bytes)/a.bytes)*100,2) "percent_used" 

from 

(select tablespace_name,sum(bytes) bytes from dba_data_files group by tablespace_name) a, 

(select tablespace_name,sum(bytes) bytes,max(bytes) largest from dba_free_space group by tablespace_name) b 

where a.tablespace_name=b.tablespace_name 

order by ((a.bytes-b.bytes)/a.bytes) desc

查询结果:

其中红框部分即为空闲内存的显示结果。

怎么查看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...

如何查看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怎么看数据库内存
分享网址:http://pwwzsj.com/article/hhoiop.html