首页 > 数据库 > Oracle > Oracle 12c 两个新特性
可以在线迁移数据文件到新路径,system表空间也可以move。
SYS@czh19c > alter database move datafile '/oradata/czh19c/ORCL/czhpdb1/system01.dbf' to '/oradata/czh19c/system01.dbf'; Database altered. SYS@czh19c > alter database move datafile '/oradata/czh19c/system01.dbf' to '/oradata/czh19c/ORCL/czhpdb1/system01.dbf'; Database altered.
创建本地临时表空间,RAC比较适用,可以不同节点使用本地目录,使用各自临时表空间。
Oracle使用临时表空间顺序:
共享临时表空间-> 本地临时表空间->system表空间
SYS@czh19c > create local temporary tablespace for all test_local tempfile '/oradata/czh19c/ORCL/czhpdb1/test_local01.dbf' size 100M autoextend off; Tablespace created.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31439444/viewspace-2703615/ ,如需转载,请注明出处,否则将追究法律责任。