通过shell脚本后台创建表空间
1.用oracle用户登陆并创建shell文件: $ vi /u01/app/shell.sh 并添加如下内容 sqlplus system/oracle_manager<<EOF spool a.log create tablespace test datafile 'oracle/fyweb/oradata/test1.dbf' size 10240M; spool off EOF 2.后台执行: $ cd /u01/app $ ./shell.sh &
1.用oracle用户登陆并创建shell文件: $ vi /u01/app/shell.sh 并添加如下内容 sqlplus system/oracle_manager<<EOF spool a.log create tablespace test datafile 'oracle/fyweb/oradata/test1.dbf' size 10240M; spool off EOF 2.后台执行: $ cd /u01/app $ ./shell.sh &
暂无评论。
评论功能维护中,当前仅展示历史评论。