RMAN的crosscheck 命令
1 備份集有兩種狀態A(Available,RMAN認为該項存在於備份介質上)X(Expired,備份存在於控制文件或恢复目錄中,但是並沒有物理存在於備份介質上)
to52016 發表在 痞客邦 留言(0) 人氣(23)
to52016 發表在 痞客邦 留言(0) 人氣(60)
查看user下的表各種狀態
*****************************
to52016 發表在 痞客邦 留言(0) 人氣(36)
oracle 分頁三步驟
1. rownum分頁
(select * from emp);
to52016 發表在 痞客邦 留言(0) 人氣(123)
1.可以在用戶環境變數中指定(LINUX)。
在用戶的.bash_profile中增加兩句:
export NLS_LANG=AMERICAN ---要注意這一句必須指定,不然下一句不生效。
export NLS_DATE_FORMAT='yyyy/mm/dd hh24:mi:ss'
to52016 發表在 痞客邦 留言(0) 人氣(1,333)
DBA考題:
你发现user表空间所在的硬盘(DISK1)已经快要满了,你想把它移到另一个I/O操作很少的硬盘上(DISK8)。请你写出操作的步骤。
to52016 發表在 痞客邦 留言(0) 人氣(510)
當資料表中的日期是 DATE 格式時,若要查詢 ex:SELECT * FROM TABLE WHERE "DATE"='12-2月 -15';
to52016 發表在 痞客邦 留言(0) 人氣(3,996)
參考:
http://blog.itpub.net/12679300/viewspace-1124357/
to52016 發表在 痞客邦 留言(0) 人氣(1)
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes
Variable Size 75499764 bytes
Database Buffers 88080384 bytes
Redo Buffers 2973696 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
ORA-01110: data file 7: '/u01/oradata/example/test.dbf'
to52016 發表在 痞客邦 留言(0) 人氣(735)
修改前的hosts文件内容如下:
[root@ ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
修改后的hosts文件内容如下:
[root@ssm ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 ssm localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
to52016 發表在 痞客邦 留言(0) 人氣(17)