Bo's Oracle Station

查看: 1471|回复: 0

2014-06-30-2.sql

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2014-7-1 09:36:27 | 显示全部楼层 |阅读模式
select  * from dba_segments s
where s.segment_name='DEPARTMENTS' and s.owner='HR';

select  * from dba_extents e
where e.segment_name='DEPARTMENTS' and e.owner='HR';

select * from dba_tablespaces  t  where  t.segment_space_management = 'MANUAL';

select  * from v$tablespace;

select * from dba_tablespaces  t;


drop tablespace TBSJMW  including contents and datafiles;

create tablespace tbs05207_auto ;

create tablespace tbs05207_manual  segment space management manual;

select  * from dba_free_space;




select  * from dba_tablespaces  t where t.tablespace_name  like 'TBS05207%';

select * from dba_tables t where t.owner='HR'  and t.table_name like 'T05207%';

select  * from dba_extents e where e.owner='HR' and e.segment_name  like 'T05207%';

select  * from dba_tablespaces t where t.tablespace_name='TEMP';

create tablespace tbs05207_uniform datafile size 10M uniform size 512K;

select  * from dba_extents e where e.owner='HR' and e.segment_name  = 'T04209_UNAME';


回复

使用道具 举报

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

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-12-5 09:35 , Processed in 0.032469 second(s), 24 queries .

快速回复 返回顶部 返回列表