Upgrade
Upgrade
Upgrade
FILENAME
VERSION
-------------------- ---------timezlrg_4.dat
4
GRS0240818
$ ls -lrt
total 8
drwxr-s--drwxr-s---
2 HBOLAPU1 dba
2 HBOLAPU1 dba
/data/oracle/HBOLAPU1/admin/UPGRADES
SELECT name,description from SYS.V$PARAMETER WHERE name
LIKE '\_%' ESCAPE '\'
DOC>#
5
1 row selected.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
SPOOL PRE_UPGRADE_DB_LINKS.log
SELECT 'CREATE '||DECODE(U.NAME,'PUBLIC','public ')||'DATABASE LINK '||CHR(10)
||DECODE(U.NAME,'PUBLIC',Null, 'SYS','',U.NAME||'.')|| L.NAME||chr(10)
||'CONNECT TO ' || L.USERID || ' IDENTIFIED BY "'||L.PASSWORD||'" USING '''||L.H
OST||''''
||chr(10)||';' TEXT
FROM SYS.LINK$ L, SYS.USER$ U
WHERE L.OWNER# = U.USER#;
SPOOL OFF
SQL> select TZ_VERSION from registry$database;
4
1 row selected.
WHERE owner='SYS'
AND partitioned='NO'
AND (iot_type='IOT' OR iot_type is NULL)
UNION
SELECT 'Analyze table "'||table_name||'" validate structure cascade into invalid
_rows;'
FROM dba_tables
WHERE owner='SYS'
AND partitioned='YES';
spool off
set verify on
set heading on
set feedback on
set echo on
@$ORACLE_HOME/rdbms/admin/utlvalid.sql
SQL> SELECT distinct(trunc(last_refresh))
FROM dba_snapshot_refresh_times; 2
(TRUNC(LA
--------24-MAY-10
31-AUG-10
08-JUL-04
02-SEP-11
15-APR-10
09-MAR-12
10-NOV-11
04-MAR-05
26-AUG-09
13-APR-10
10-APR-12
11-JUN-12
24-NOV-10
02-MAR-12
14-NOV-11
21-APR-10
27-MAR-12
17-JUL-08
08-JUN-11
20-MAR-12
25-AUG-09
10-JAN-12
09-JUL-10
08-NOV-11
11-NOV-11
20-AUG-09
21-APR-04
03-MAR-12
13-MAR-09
15-NOV-11
30 rows selected.
SQL> SELECT * FROM v$recover_file;
no rows selected
SQL> SELECT * FROM v$backup WHERE status!='NOT ACTIVE';
no rows selected
SQL> select * from dba_2pc_pending;
no rows selected
USERNAME
-----------------------------SYSTEM
SYS
DEFAULT_TABLESPACE
-----------------------------SYSTEM
SYSTEM
SQL>
SQL> SELECT name FROM v$controlfile;
NAME
-------------------------------------------------------------------------------/data/oracle/HBOLAPU1/redo01/control01.ctl
/data/oracle/HBOLAPU1/redo02/control02.ctl