WEB开发网
开发学院数据库Oracle 在Oracle中获取磁盘空间的使用情况 阅读

在Oracle中获取磁盘空间的使用情况

 2008-12-16 13:05:16 来源:WEB开发网   
核心提示:Select DistinctSysDate,s.user# As UserID,u.name As UserName,s.ts# As TableSpaceID,d.tablespace_name As TableSpaceName,s.FILE# As DataFileID,d.file_name As DataF

Select Distinct
SysDate,
s.user# As UserID,
u.name As UserName,
s.ts# As TableSpaceID,
d.tablespace_name As TableSpaceName,
s.FILE# As DataFileID,
d.file_name As DataFileName,
d.bytes As Bytes,
d.maxbytes As MaxBytes,
d.user_bytes As UserBytes,
d.autoextensible As AutoExtensible,
d.increment_by As InCrementBy,
d.status As Status
From sys.seg$ s, sys.user$ u, dba_data_files d
Where s.user# = u.user#
And s.file# = d.file_id;

Tags:Oracle 获取 磁盘

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接