undo資料表空間中常用的操作:(1)查看undo資料表空間undotbs1的屬性:SQL> select b.tablespace_name,AUTOEXTENSIBLE,RETENTION from dba_tablespaces a,dba_data_files b where a.TABLESPACE_NAME=b.TABLESPACE_NAME and
1.刪除undo資料表空間rm -f undotbs01.dbf 2.報錯SQL> create table t3 as select * from dba_objects where rownum < 3;create table t3 as select * from dba_objects where rownum <
1.rm -f system01.dbf2.關閉資料庫報錯SQL> shutdown immediateORA-01116: error in opening database file 1ORA-01110: data file 1: '/u01/app/Oracle/oradata/demo/system01.dbf'ORA-27041: unable to open fileLinux Error: 2: No such file or directoryAdditional
這個是菜鳥級的營運的MySQL的備份小指令碼,在這裡寫出來一是為了做筆記,二是認識一下兩個小工具mysqldump/pdumpfs第一部分是mysql資料的備份[root@localhost ~]# mkdir -p /usr2/backup/mysql[root@localhost ~]# vi mysqldump.sh #!/bin/bash#author XXX time 2011-10-17#the backup of localhost mysql dataX=`date
查看作業系統版本: [root@rac1 ~]# cat /etc/issueEnterprise Linux Enterprise Linux AS release 4 (October Update 7)Kernel \r on an \m查看核心版本:[root@rac1 ~]# cat /proc/versionLinux version 2.6.9-78.0.0.0.1.ELsmp (mockbuild@ca-build15.us.Oracle.com) (gcc