資源描述:
《oracle閃回恢復區(qū)問題》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、3.無法連接到數(shù)據(jù)庫(麻醉客戶端,plsql等)2010-07-2623:30現(xiàn)象:出現(xiàn)問題吋I'n]2010-07-2623:30之前都正常操作,21點左右都還在正常用。報出的錯誤:最初出現(xiàn)這個問題時報錯如下圖:當時看到問題,我以為在做備份數(shù)據(jù)庫,之后大概1小時過后仍有這個問題,問題原因:閃存恢復區(qū)(flash_recover_area)空間已滿。數(shù)據(jù)庫開啟的自動歸檔模式,歸檔日志將閃存恢復區(qū)兒乎占滿。^HQL>connectassysdba■應臭音用蘆名:sys^HQL>archiveI09list;???希1式nrcnlirRVpivfnrcT■沖m七甘卜和汨主序可.QL>■112JTE
2、WWJCn1J"11/C1
3、cTC:YIMD0YSsysteB32cBd.exe-sqlplus/nolog^■C~nTISP2-0640:未連接
4、SQL>connectsys/mdsdassysdba己連接。SQL>select*fromu$log;GROUP#THREADttSEQUENCE#BYTESMEMBERSARCSTATUSFIRST^CHANGEttFIRST」IME111453524288001NOCURRENT7149275826-?月-10311452524288001NOINACTIUE7141512626-7月-10211451524288001NOINACTI
5、UE7136511526-?月-10SQL>select*fronu$recouevy_file._dest;NAMESPACEJLIMITSPfiCE_USEDSPACEJECLAIMABLENUMBER^OFJILESD:oracleproduct10?2.0flash_i*ecouery_area2147483648211480422444SQL>select*fromu$flash_i'ecouery_area-.usage;FILE_TYPEPERCENT_SPACE_USEDPERCENT_SPACEJECLAIMABLENUMBER_OFJILESCONTROLFILEO
6、NLINELOGARCHIUELOGBACKUPPIECEIMAGECOPVFLASHBACKLOG0098.48a000000000044000己選擇6行。SQL>SQL>connectsys/mdsdassysdba已連接。SQL>select*fromv$log;GROUP#THREAD#SEQUENCE#BYTESMEMBERSARCSTATUSFIRST_CHANGE#FIRST_T1ME11453524288001NOCURRENT7149275826-7月-10311452524288001NOINACTIVE7141512626-7月-10211451524288001NOIN
7、ACTIVE7136511526-7月-10SQL>select*fromv$recovery_file_dest;NAMESPACE_LIMITSPACE_USEDSPACE_RECLAIMABLENUMBER_OF_FILESD:oracleproductl0.2.0flash_recovery_area4421474836482114804224SQL>select*fromv$flash_recovery_area_usage;FILE.TYPEPERCENT_SPACE_USEDPERCENT_SPACE_RECLAIMABLENUMBER_OF_FILESCONTROLFI
8、LE000ONLINELOG000ARCHIVELOG98.48044BACKUPPIECE000IMAGECOPY000FLASHBACKLOG000己選擇6行。解決方案將閃回恢復區(qū)取消。SQL>SQL>SQL>selectlog_modefromv$database;LOG_MODENOARCHIVELOGSQL>shutdownimmediate;數(shù)據(jù)庫已經(jīng)關(guān)閉。已經(jīng)卸載數(shù)據(jù)庫。ORACLE例程已經(jīng)關(guān)閉。SQL>startupmountORACLE例程已經(jīng)啟動。TotalSystemGlobalArea1258291200bytesFixedSizeVariableSizeDatabas
9、eBuffersRedoBuffers數(shù)據(jù)庫裝載完畢。2065408bytes318770176bytes922746880bytes14708736bytesSQL>showparameterrecoveryNAMETYPEVALUEstringbiginteger2Gdb_recovery_fi1e_destdbrecoveryfiledestsizerecovery_parallelismi