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 就可以了
-
Windows7 / Windows8 kill process Linux下要刪除某個程序通常會使用 ps 配合 kill 來刪除程序。 例如:ps -ef |grep [PROCESS NAME] kill -9 [PID] 在Windows下,通常是...
-
利用Win 10的工作排程器來設定每日自動執行的批次檔,單獨執行批次檔沒問題,但是放在排程上就是無法執行。 後來試了幾種網路上提供的方式,其注意的事項如下: 1、在「安全性選項」選擇「只有使用者登入時才執行」並取消「以最高權限執行」。 2、在「設定」中選擇「Win...
-
其實預設都會幫我們安裝pip這個管理套件,但是我在安裝完python 3.7後卻無法使用pip來安裝套件。 查詢是否已經有安裝pip: C:\> python -m pip --version pip 20.0.2 from C:\Python37\lib\si...