真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

oracle9iswitchlogfilehang

現(xiàn)象:
solaris 系統(tǒng)oracle 9i單實例數(shù)據(jù)庫
SQL> alter system switch logfile;  ###hang住了

解決方法:
1、生成10046文件:
SQL>  select value from v$parameter where name = 'user_dump_dest';
VALUE
--------------------------------------------------------------------------------
/ora/szuat/szuatdb/9.2.0/admin/SZPRD_mis-uat/udump

SQL> alter session set events '10046 trace name context forever ,level 8';
Session altered

SQL>  alter system switch logfile;
^C alter system switch logfile
*
ERROR at line 1:
ORA-01013: user requested cancel of current operation

SQL>  alter session set events '10046 trace name context off' ;
Session altered.

2、查看等待事件:
WAIT #1: nam='switch logfile command' ela= 866 p1=0 p2=0 p3=0
WAIT #1: nam='switch logfile command' ela= 439 p1=0 p2=0 p3=0
WAIT #1: nam='switch logfile command' ela= 484 p1=0 p2=0 p3=0
WAIT #1: nam='switch logfile command' ela= 544 p1=0 p2=0 p3=0
WAIT #1: nam='switch logfile command' ela= 781 p1=0 p2=0 p3=0
WAIT #1: nam='switch logfile command' ela= 576 p1=0 p2=0 p3=0
WAIT #1: nam='switch logfile command' ela= 337 p1=0 p2=0 p3=0
WAIT #1: nam='switch logfile command' ela= 383 p1=0 p2=0 p3=0

3、修改參數(shù):
SQL> show parameter log_archive_start
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_start                    boolean     FALSE

SQL> alter system archive log start;  ##alter system set log_archive_start=true scope=spfile;
System altered.

4、問題恢復:
SQL> alter system switch logfile;
System altered.

標題名稱:oracle9iswitchlogfilehang
分享路徑:http://weahome.cn/article/gphjsh.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部