开发把表空间建在磁盘组上了
admin
2023-04-19 15:22:49
0

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;

相关内容

热门资讯

荣耀首款自研耳夹式耳机官宣即将... 快科技5月13日消息,日前,荣耀首席营销官关海涛宣布,荣耀全场景团队自研首款耳夹式耳机马上上市,并称...
谷歌推出Googlebooks... IT之家 5 月 13 日消息,2026 年 I/O 开发者大会下周(5 月 19~20 日)召开之...
自控所推动GNC专业智能化升级 来源:滚动播报 (来源:中国航空报) 本报讯 5月6日,航空工业自控所召开 GNC+AI关键技术研发...
华电电力申请数据库访问方法专利... 国家知识产权局信息显示,华电电力科学研究院有限公司申请一项名为“数据库访问方法、装置、设备及介质”的...
苏州率先打造数据流通利用新范式 数据,作为第五大生产要素 具有流动性强、非消耗性、非均质性等特点 苏州率先打造数据流通利用新范式 夯...
伊媒披露伊美新一轮谈判5个先决... 当地时间5月12日,据伊朗法尔斯通讯社援引知情人士消息报道,伊朗对与美国新一轮谈判提出的5个先决条件...
英国将向霍尔木兹海峡多国护航行... 当地时间12日,总台记者从英国国防部获悉,英国将向在霍尔木兹海峡执行任务的多国护航行动提供无人机、战...
强化技术引领场景培育政策保障 ... 5月11日,省长叶建春就脑机接口技术与产业创新工作开展专题调研。他强调,脑机接口是培育未来产业发展新...
上海交大王如竹教授领衔撰写的“... 4月30日,国际制冷学会(IIR,International Institute of Refrig...
非人类身份蔓延:智能体AI真正... 长期以来,企业依赖服务账户、API密钥、OAuth令牌等各类非人类身份凭证,使不同服务能够在数字环境...