测试,RAC添加数据文件时注意事项

在RAC环境中进行数据文件添加时,发现错误用法可能导致问题。正确命令包括:`alter tablespace test add datafile size 20M;`、`alter tablespace test add datafile '+DATA ' size 20M;`、`alter tablespace test add datafile '+DATA/yjods/datafile/test03 ' size 20M;`,而`alter tablespace test add datafile 'test03.dbf' size 20M;`这样的命令是不推荐的。
摘要由CSDN通过智能技术生成

今天做了一下RAC添加数据文件小测试,发现一个严重的问题,记录一下:

SQL> createtablespace test datafile 'test01.dbf' size 20M;       

 

Tablespace created.

 

SQL> altertablespace test add datafile size 20M;

 

Tablespace altered.

SQL> selectfile_name from dba_data_fi

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值