54. 更改临时表空间,并设置为自动增长
2015-03-10 22:40
162 查看
1.创建中转临时表空间
create temporary tablespace TEMP1 TEMPFILE 'E:\ORACLE\ORADATA\ORCL9\temp02.DBF'
SIZE 512M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE UNLIMITED;
2.改变缺省临时表空间为刚刚创建的新临时表空间temp1
alter database default temporary tablespace temp1;
3.删除原来临时表空间
drop tablespace temp including contents and datafiles;
4.重新创建临时表空间
create temporary tablespace TEMP TEMPFILE 'E:\ORACLE\ORADATA\ORCL9\temp01.DBF'
SIZE 512M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE UNLIMITED;
5.重置缺省临时表空间为新建的temp表空间
alter database default temporary tablespace temp;
6.删除中转用临时表空间
drop tablespace temp1 including contents and datafiles;
7.如果有必要,那么重新指定用户表空间为重建的临时表空间
alter user arbor temporary tablespace temp;
create temporary tablespace TEMP1 TEMPFILE 'E:\ORACLE\ORADATA\ORCL9\temp02.DBF'
SIZE 512M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE UNLIMITED;
2.改变缺省临时表空间为刚刚创建的新临时表空间temp1
alter database default temporary tablespace temp1;
3.删除原来临时表空间
drop tablespace temp including contents and datafiles;
4.重新创建临时表空间
create temporary tablespace TEMP TEMPFILE 'E:\ORACLE\ORADATA\ORCL9\temp01.DBF'
SIZE 512M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE UNLIMITED;
5.重置缺省临时表空间为新建的temp表空间
alter database default temporary tablespace temp;
6.删除中转用临时表空间
drop tablespace temp1 including contents and datafiles;
7.如果有必要,那么重新指定用户表空间为重建的临时表空间
alter user arbor temporary tablespace temp;
相关文章推荐
- 自动增长列IDENTITY(1,1),只能创建的时候才能设置吗?无法更改?
- 更改数据库结构,linqToSql并不会自动更改,必须手动修改为自动增长或另外在拖一次表
- Oracle中为表设置自动增长的标识列
- SQL Server主键自动增长的设置
- PowerDesigner设置MYSQL主键自动增长的方法
- SQL 2000创建表的时候设置某一字段为自动增长的类型
- CachedRowSet如何设置sql server中自动增长列。
- win7 更改IP 脚本(自动获取和手动设置多个IP),将里面内容拷贝到记事本另存为set_win7_IP.bat
- 用powerdesigner给Access数据库的字段设置自动增长列
- Internet Explorer® 8 之后,您可使用自动代理和自动检测功能,全局更改一些浏览器设置,而无需更改每个用户的计算机
- powerdesigner设置表主键列为自动增长。
- 深入Mysql,SqlServer,Oracle主键自动增长的设置详解
- powerdesigner 设置自动增长列(identity),和默认值
- ORACLE里设置列自动增长
- Hibernate中自动增长列的..hbm.xml 配置和数据库设置默认值问题
- Mysql,SqlServer,Oracle主键自动增长的设置
- Oracle设置自动增长
- Mysql,SqlServer,Oracle主键自动增长的设置
- 在Oracle中设置自动增长列
- Mysql,SqlServer,Oracle主键自动增长的设置