【oracle】临时表空间与回滚表空间的创建

版权声明:原创手打 转载请注明来源 https://blog.csdn.net/qq_42774325/article/details/81913226

临时表空间与回滚表空间的创建

  1. 创建临时表空间
    用OMF管理
    create temporary tablespace temp1;
     
     
  2. 查询临时表空间及对应的数据文件
    select name,byte/1024/1024 MB from v$tempfile
    where ts#=(select ts# from v$tablespace where name=’TEMP1’);
     
     
  3. 创建回滚表空间
    用OMF管理
    create undo tablespace undotbs2;
     
     
  4. 查询回滚表空间及对应的数据文件
    select name,byte/1024/1024 MB from v$datapfile
    where ts#=(select ts# from v$tablespace where name=’UNDOTBS2’);

猜你喜欢

转载自blog.csdn.net/qq_42774325/article/details/81913226