首页 ORACLE临时表空间的清理_0

ORACLE临时表空间的清理_0

举报
开通vip

ORACLE临时表空间的清理_0ORACLE临时表空间的清理_0 考研屋 www.kaoyanwu.com 提供各大机构考研、公务员、四六级辅导视频课程 ORACLE临时表空间的清理 --查看使用率 column TablespaceName format a40 heading 'Tablespace Name' column TotalUsedBytes format 9,999,999,999 heading 'File Sizes|(K)' column TotalFreeBytes format 9,999,999,999 hea...

ORACLE临时表空间的清理_0
ORACLE临时 关于同志近三年现实表现材料材料类招标技术评分表图表与交易pdf视力表打印pdf用图表说话 pdf 空间的清理_0 考研屋 www.kaoyanwu.com 提供各大机构考研、公务员、四六级辅导视频课程 ORACLE临时表空间的清理 --查看使用率 column TablespaceName format a40 heading 'Tablespace Name' column TotalUsedBytes format 9,999,999,999 heading 'File Sizes|(K)' column TotalFreeBytes format 9,999,999,999 heading 'Free Bytes|(K)' column FreeRatio format 990.99 heading 'Free|(%)' column TotalExtensibleBytes format 9,999,999,999 heading 'Extensible|Sizes (K)' column TotalExtends format 9999 heading 'Ext' compute sum label 'Total:' of TotalFreeBytes TotalUsedBytes TotalExtensibleBytes on report break on report select b.TablespaceName, round(sum(b.UsedByte) / 1024) TotalUsedBytes, round(sum(a.FreeByte) / 1024) TotalFreeBytes, round(sum(b.ExtensibleByte) / 1024) TotalExtensibleBytes, round(sum(a.FreeByte + b.ExtensibleByte) * 100 / sum(b.UsedByte + b.ExtensibleByte), 2) FreeRatio, sum(a.Extend) TotalExtends from (select sum(bytes) FreeByte, count(*) Extend, file_id FileID, tablespace_name TablespaceName from dba_free_space group by file_id, tablespace_name union all select sum(bytes_free) FreeByte, count(*) Extend, file_id FileID, tablespace_name TablespaceName from v$temp_space_header group by file_id, tablespace_name) a, (select decode(autoextensible, 'YES', decode(sign(maxbytes - bytes), 1, maxbytes - bytes, 0), 0) ExtensibleByte, bytes UsedByte, file_id FileID, tablespace_name TablespaceName from dba_data_files union all select decode(autoextensible, 'YES', decode(sign(maxbytes - bytes), 1, maxbytes - bytes, 0), 0) ExtensibleByte, bytes UsedByte, file_id FileID, tablespace_name TablespaceName from dba_temp_files) b where b.FileID = a.FileID(+) and b.TablespaceName= a.TablespaceN 考研屋 www.kaoyanwu.com :提供各大机构考研、公务员、四六级辅导视频课程 考研路上必备的网站----考研屋 www.kaoyanwu.com
本文档为【ORACLE临时表空间的清理_0】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_180829
暂无简介~
格式:doc
大小:13KB
软件:Word
页数:0
分类:生活休闲
上传时间:2018-02-03
浏览量:3