tablespace and datafile?

[复制链接]
查看11 | 回复2 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
我要如何查询某一tablespace里存储着哪些datafile? 我要如果指定datafile存储文件的地方?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
select t.name as tablespacename,d.name as datafilename from v$tablespace t,v$datafile d where t.ts#=d.ts#
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
SELECT FILE_NAME from dba_DATA_files
WHERE TABLESPACE_NAME =
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行