Chinaunix

标题: 求救:关于表空间的添加 [打印本页]

作者: Westtony    时间: 2005-01-03 13:42
标题: 求救:关于表空间的添加
我以前的硬盘空间已满,新添加了一块硬盘,我如何将这块新硬盘添加到已有数据库的表空间?
作者: mymm    时间: 2005-01-03 20:53
标题: 求救:关于表空间的添加
[quote]原帖由 "Westtony"]我以前的硬盘空间已满,新添加了一块硬盘,我如何将这块新硬盘添加到已有数据库的表空间?[/quote 发表:


是啥系统?

  1. alter tablespace TBS1 add (device '/dev/rcon00n' 90000)
复制代码

作者: daliwa    时间: 2005-01-04 09:12
标题: 求救:关于表空间的添加
添加容器后要重启实例才能生效哦!
作者: Westtony    时间: 2005-01-04 12:38
标题: 求救:关于表空间的添加
系统是:AIX4.3.2+DB2 6.2
作者: myuhan    时间: 2005-01-04 16:41
标题: 求救:关于表空间的添加
添加后不要重起实例,alter tablespace userspace1 add < device
作者: toms1981    时间: 2005-01-04 17:06
标题: 求救:关于表空间的添加
after you alter the tablespace you need to issue commit command.
作者: huyuhui001    时间: 2005-01-07 12:04
标题: 求救:关于表空间的添加
[quote]原帖由 "toms1981"]and.[/quote 发表:


alter tablespace userspace1
add
(file'/dmsdata/usernew0' 5120) on node (0) ;

如果命令行参数里面的自动提交是yes的,执行完就提交了。
作者: mymm    时间: 2005-01-08 00:11
标题: 求救:关于表空间的添加
[quote]原帖由 "daliwa"]添加容器后要重启实例才能生效哦![/quote 发表:


有这说法吗?

偶觉得不要重启吧!

因为执行指令后,reblance会在后台进行,如果这时stop,会中断reblance过程!
作者: toms1981    时间: 2005-01-08 12:55
标题: 求救:关于表空间的添加
原帖由 "mymm" 发表:


有这说法吗?

偶觉得不要重启吧!

因为执行指令后,reblance会在后台进行,如果这时stop,会中断reblance过程!


I think no need. After issue commit command, it will rebalance the tablespace then it ready to use.
作者: Westtony    时间: 2005-01-10 13:33
标题: 求救:关于表空间的添加
事实就是不需要重启,系统自动进行DMS平衡。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2