测试

SELECT t.NAME "TABLESPACE_NAME",


					SUM(u.ALLOCATED_SPACE) * 8 / 1000 "USED_SPACE(M)",


					SUM(u.FILE_MAXSIZE) * 8 / 1000 "MAX_SIZE(M)"


					FROM v$filespace_usage u, v$tablespace t


					WHERE u.TABLESPACE_ID = t.TS#


					GROUP
					BY t.NAME;

posted @ 2009-03-28 13:20  添乱  阅读(72)  评论(0编辑  收藏  举报