资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

开发把表空间建在磁盘组上了

select name,bytes/1024/1024/1024 from v$datafile;
select total_mb/1024,usable_file_mb/1024 from v$asmdiskgroup;
alter add tablespace EMERENCY tbs

create tablespace EMERENCY datafile='+DATA/orcl/datafile/EMERENCY.dbf'

成都创新互联专注于鄠邑企业网站建设,响应式网站,成都做商城网站。鄠邑网站建设公司,为鄠邑等地区提供建站服务。全流程按需策划设计,专业设计,全程项目跟踪,成都创新互联专业和态度为您提供的服务

select * from user_tables;

select * from user_tables where USERNAME ='EMERGENCY';
select username,default_tablespace from dba_users ; 查询用户默认的表空间
create tablespace EMERENCY datafile '+DATA/orcl/datafile/EMERENCY.dbf' size 500m autoextend on;
alter user emergency default tablespace EMERENCY; 修改用户默认表空间

用户登入,查询表所在的表空间
select table_name,tablespace_name from user_tables;

alter table LOG_OPERATE move tablespace EMERENCY;
alter table LOG_OPERATE_DETAIL move tablespace EMERENCY;
alter table LOG_SIGNALING_COLLECT move tablespace EMERENCY;
alter table SYS_AREA move tablespace EMERENCY;
alter table SYS_ATTCHMENT move tablespace EMERENCY;
alter table SYS_DEPT move tablespace EMERENCY;
alter table SYS_FUNC move tablespace EMERENCY;
alter table SYS_ROLE move tablespace EMERENCY;
alter table SYS_ROLE_FUNC move tablespace EMERENCY;
alter table C_IMSI move tablespace EMERENCY;
alter table C_REAL_DATA move tablespace EMERENCY;
alter table C_SIGNALLING_HISTORY move tablespace EMERENCY;
alter table C_SIGNALLING_REAL move tablespace EMERENCY;
alter table C_TIME_COUNT_HISTORY move tablespace EMERENCY;
alter table HJ_GROUP move tablespace EMERENCY;
alter table HJ_REGION move tablespace EMERENCY;
alter table HJ_TYPE move tablespace EMERENCY;
alter table LOG_ALARM move tablespace EMERENCY;
alter table LOG_LOGIN move tablespace EMERENCY;
alter table LOG_MAIL_NOTICE move tablespace EMERENCY;
alter table LOG_NE_COLLECT move tablespace EMERENCY;

alter table LOG_NE_COLLECT_DETAIL move tablespace EMERENCY;
alter table SYS_USER move tablespace EMERENCY;
alter table SYS_USER_ROLE move tablespace EMERENCY;
alter table T_AREA_NET_NEXUS move tablespace EMERENCY;
alter table T_LIVE_INFO move tablespace EMERENCY;
alter table T_NET_ELEMENT_INFO move tablespace EMERENCY;
alter table T_SET_AREA_INFO move tablespace EMERENCY;
alter table T_USER_POSITION_INFO move tablespace EMERENCY;
alter table LOG_NE_COLLECT_DETAIL3 move tablespace EMERENCY;
alter table TEST002 move tablespace EMERENCY;
alter table C_TIME_COUNT move tablespace EMERENCY;


本文标题:开发把表空间建在磁盘组上了
URL标题:http://cdkjz.cn/article/jiddpi.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220