Oracle 升級到9.2.0.4,exp失敗
這是我們子公司的資料庫系統,因為已經很早就過了伺服器的保固期間,
而且該型號也已無零件備料可供替換,只好將它更換。
順便也將DB由9.2.0.1 32bit 升到 9.2.0.4 64bit
升級的方法很傳統,先安裝 Oracle Enterprise Linux 4.8 64bit,再安裝Oracle 9.2.0.4 64bit
以舊機將資料export出來,再import到新機器上面,最後設定備份腳本,測試時出現錯誤:
[oracle@sent02 oracle]$ ./exp.sh
Export: Release 9.2.0.4.0 - Production on Fri May 23 09:02:44 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
JServer Release 9.2.0.4.0 - Production
Export done in ZHT16BIG5 character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user John
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user John
EXP-00008: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00024: Export views not installed, please notify your DBA
EXP-00000: Export terminated unsuccessfully
這是因為Oracle DB是從9.2.0.1昇級到9.2.0.4,某些EXP需要的字典没有被升级所以造成錯誤,
解決方法與9.2.0.4昇級到.2.0.7一樣,執行 rdbms/admin/catexp.sql 就可以了
-
在電腦版的Line輸入文字時,遇到需要換行的情形時,我都是用記事本先寫好再複製上去,這樣就可以有換行的效果,可是這樣的做法好像失去Line的便利性。 於是查了一下,原來有一個設定可以指定Enter換行,而不是發訊息出去。 完成設定之後,要發送訊息就改用Al...
-
Excel有許多實用的公式,善用這些公式可以達成大部份的功能,但是萬一公式無法滿足需求時,可以自訂公式來解決。 自訂公式其實就是自訂函數,先開啟Visual Basic(VBA) 新增一個「模組」 ...
-
今天我騎單車上班,經過河華路時,發現路旁的行道樹下不斷飄著黃色花瓣,原本我已經騎遠了,但是突然想起「我與浪漫相約在花雨中」,於是我折回去,在一張公共的長椅坐下,拿出應該在辦公室匆匆吃完的早餐,與浪漫一起享用。花雨不濕衣,卻沾身,低頭時,我看見胸口有殘花,是它們輕輕留下的證據。 ...