Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
80 views
4 pages
Document 1577406.1
Document 1577406.1
Uploaded by
baraka08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Document 1577406.1 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
80 views
4 pages
Document 1577406.1
Document 1577406.1
Uploaded by
baraka08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Document 1577406.1 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 4
Search
Fullscreen
2aszo16 Document 1877406.1 ORACLE wy onacte surpont Hi Fomerivewisort |] © cates eto) ~ RO) ContactUs Hel [ToutaaehY xnoiaage \ Server Reunas | paces Uns oF Cone ey Guisress 2 ‘fy Sctipt to Collect Data Guard Physical and Active Standby Diagnostic Information for Version 10g and above {Including RAC) (Doc 1D 1577406.1) Gres hipsisupport.orace.comisomosfaces/DocumentDisplay?_arLoop=279696951S062828id= 1577406.18 a.cti-stte=ShloxgSry_950 us2asz016 Document 1877406.1 ars “© as this document hap? Oracle Database - Enterprise Eton - Version 10.0.2 and later to Information inthis document apples to any lator, Pon ~ Docoment etait aaa NAME: new_da_psby_ciag.sl Tee Copyright 2002, Oracle Corpra lest PUSHED ~ Copyright 2002 Oracle Corporaton haus ese Gpsas205 "LAST UPDATED: 02-Sep-2015 ee : Up Usage: Bnew da psby_ diag ~ (Run from saps on PHYSICAL STANDBY, ACTIVE STANDBY as SYS) ~ Rented Products : Oceans trie "PURPOSE: etn Ths Srp is tobe used to assist nthe collection of information to help formation cantare ~ troubleshoot Data Guard issues ining a Pysical or Active Standby. ~~ inemten Cater: Ove rtmase Selon ~ DISCLAIMER: Fatalcion nd ~ Uaeiiton This Srp is provided for eccational purposes only, Iis NOT (Sez? ~ support by Oracle World Wide Technical Support. ccs The seripthas been tested and appears to work as Intended, Wioronencanet You shoul always ran new sents ona test nstace intially lisse - boat Sry hoe ~ Srp ous 25 flows: fists set echo of Set feedback ff Document Reterences Calumn tmecolnen_ value timestamp te References nate fr Calumn speo|extension new vale suc mn SELECT TO_CAAR(s}sdat, yyy n24m!) Seco, Hem! spool extension FROM dal; Column output ney_value dba SRE OE es even neta ete _ meen Sea hd sncsttetant et aS soso ster Se an wemeecneeas sr fama STEEL Som ot eas Scene mere Atco er om Sonnets Eee, SHEE esac oe ova chouarpaet Insracton two tho res uae Sou anda setecho on fa ae Cran ben ~ The follwing select wl ve us he geri nfrmavion abou how this stands sup. eae “The DATABASE ROLE suk’ be STANDBY a rat what th serps nando toe Fun on Eoin ~PLATFORM_}O Should mach the PLATFORH_}0 ofthe primary or conform tothe supported options in Note: 4134841 Data Guard Suppor for Hetaregencous Primary and Physical tans n Same Data Guard Configuration. ~ FLASHBACK can be YES (fecommended) of NO. PROTECTION LEVEL i ferent rom PROTECTION_MODE the for ome reason the mode listed in PROTECTION MODE ferperenced a need to downgrade, “Once the ertor condition has been corected the PROTECTION_LEVEL should match the PROTECTION MODE after the rex og wich SELECT catabase_yoe oe, name, e2_unigue_name,oatform i, open_mode, lg_made, flashback on, protecton_made, protection evel FROM vsdetabase ~ FORCE_LOGGING Is not mandatory but is recommenced " REMOTE_ARCHIVE shoule be ENABLE, 'SUPRLEVENTAL_LOG_DATA_PK anc SUPPLEMENTAL LOG_DATA_UI must be enabled if this standby is associated with 2 primary that has lial standby, During normal operations i aceptable for SWITCHOVER_ STATUS tobe NOT ALLOWED. ~ DATAGUARD_BROKER can be ENABLED (recommended) oF DISABLED, Column force Jogging format 313 ts column supplemental jog. daa_pk format a2¢ tu tclumn supplemental data_u format a2¢ ru SELECT force_oggng,remote_arctive, supplemental log_data_pk, suoplementllog data_u, swichover stats, ataguard_ broker FROM vsdatabase; ~ Check how many treads are enabled a started for this database fe number of instances below does nt match then not a instances ae wp. hipsisupport.orace.comisomosfaces/DocumentDisplay?_arLoop=279696951S062828id= 1577406.18 a.cti-stte=ShloxgSry_9502aszo16 Document 1577405.1 SELECT tveadt, instance, status FROM wtvead; ~The number of instances returned below isthe number currently runing. fi oes ret match the number returned in “Threads above then aot al stances are vo ~ VERSION shoule match the version frm the primary database “ ARCHIVER can be (STOPPED | STARTED | FAILED), PAILED moans thatthe achive alle to archive a fg lasttime, but wi ‘eyagain wihin 5 minutes “LOG_SWITCH_WAT te ARCHIVE LOG/CLEAR LOG/CHECKPOINT event og switching is wali fr. “Nets that i ALTER SYSTEM SWITCH LOGFILE hung, but there I room in the ater one redo, then the value fs NULL cclumn hos SELECT treads, instance_name, hosL name, version, archiver, lo_slch_walt FROM gvfinstance ORDER BY ead; ~ Check the number and size of online red logs on each tread. SELECT tweadd, croup, sequences, byes, archived status FROM vflog ORDER BY treads, group ~The follwing query s runt 8 f standby redo logs have been created ~The standby redo os should be the same size asthe one redo los. " Thare shouldbe ((# of enine logs pr thread + 1) * # of treads) standby redo loos. “A alue of forthe tread# mears the og has never been allocated SELECT beady, group, sequences, byes, archived, status FROM vfstandby_hg oder by tweads, groupe; This quer produces 2 Ist of defined areivedestiaton. ows I thay are enabled, what process serving hat destin, If the destination Ileal or remote, an if remote what ‘the current mount 10 "Fora physical standby we should have a least ene remote destination that pins the primary set calumn destiaton format 295 wrap txlumn process format a7, falumn 1 format 98 felumn mid format 99 SELECT tread, dest, destination, qvad status, taro, scheculs process, mound mi FROM gySarchive_dest ova, ‘vinstance gw WHERE grains ~ gvinsj6 AND destination ls NOT NULL ORDER BY tread, dest 2 ~ I the protection made ofthe standby is set to anything higher than max performance then we need to make sure the remote estinaton that points to the primary is se wits the correct opsors else we wll ave issues rng switchover set numwiath 8 falumn archiver format 8 falumn 1 format 98 tclumn err format 255 wrap SELECT tread, cest i, gad.archive, tranami mode, affirm, asyne_blocs, net Smeou, delay mins, reopen. secs reopen, register, binding FROM avSerchne_ dest gia, gvSinstance vi WHERE gvad.inct d= gw.nctd AND dessnaons NOT NULL ORDER BY treads, dest; ~The following select wil show any erors that occured the ast ie an attr to archive tothe destination was attempted " ERROR is lank and status 's VALID then the arhive completes correct, SELECT tread, cest i, gved.status error FROM gvtarchive_destqvag, ginstance gv WHERE gvacnst id = gins AND destnavon is NOT NULL ORDER BY thence, dest; ~The query below wl determine any error conctons have been reached by quenyng the idetaguerd_stats view (vw only ‘vad n9.2.0 and above) Column message format a80 SELECT timestamp, qitread#, message FROM gvSdataqurd_ status gs, gvfinsance gv WHERE gidsinst_Id = aves id AND severity in (Ear Fata’) ORDER BY timestamp, vend ~ Query avfmanaged_ standby to se the status of processes imoed in the shipping redo on this system Dees nat nlude processes needed % aly redo SELECT tveade, proces, 9a, status, clent_process, dient, sequence, lock, acive_agents,known_agerts FROM rdmanaged_ standby ORDER BY treads, process; Verity the last sequenced received and the lst sequence? appled to standby database SELECT altird "Thread, almax "Last Seq Received max Last Seq Apple” FROM (select thread thd, MAX sequence#) almax FROM vfarchived log WHERE restlogs_crarge#»(SELECT resctlogs_change# FROM vsdatabase) GROUP BY tread) al, (SELECT threads ta, NAX{sequences)Ihmax FROM vlos_histry WHERE reseogs_chenge=(SELECT resetlogs_changed FROM vfdotabase) GROUP BY tread) Ih WHERE ald =. ~ Check the anspor lag and apply lag trom the VSDATAGUARD_STATS view. Tiss only relevant whan LGWR log transport and real sme apely ae in use SELECT * FROM vSdataguaré_stats WHERE name LIKE 94a ~ Check how often and how far the apply as. SELECT name ime, unit, coun, TO_DATE(as (ORDER BY unt DESC, me} ime_ updated, 'NM/DO/WY HHDA:MI:SS}) FROM vSstany_ event isogram htpesisupeortorace.comiapmosfaces/DacumertDisplay?_arLoqp=2795359615062828i 1977406.18_ act state=ShloxgScy_ 960 a42asz016 Document 1877406.1 ~The VSARCHIVE_GAP teed Wew on a piyscal standby database ony returns the next gap thats curentyblockng redo apply from cot After resolving the identified gap and starting redo epply, query the VEARCHIVE_GAP hed view again onthe physical standby database to determine the nex gap sequence F there is one SELECT * FROM vsarchive_g2p; Nonedefout int parameters “For a RAC DB Thread ~ * means the vale is the same for all threads (SID=*) “Thneads with aiferent values are shown with ther indicus ends and vals, calume num nop SELECT num, "* "THREAD", name, value FROM vS2ARAMETER WHERE NUM IN (SELECT num FROM véparameter WHERE (Gdefaut = FALSE OR ismdified <> FALSE) AND name NOT LIKE n° nus SELECT num FROM guspsrameter ov, sistance gv WHERE num IN (SELECT DISTINCT gypa.rur FROM ovsparameter yp, sgejparametergupb WHERE avpa.num = gipo.rum AND evpa.value <> avpb.salue AND (ovpa.sdetaut = FALSE OR ‘passed <> FALSE) AND gype.name NOT LIKE is") AND qvi.nstld = gvpinsLid AND (aypscefet = FALSE” OR ‘yp forced <> 'FALSE) AND gop name NOT LIKE) Union SELECT nur, TO_CHAR(Qread#) "THREAD#", name, value FROM cvfparameterevp, Sinstance vi WHERE rum IN (SELECT DISTINCT gvpa.tum FROM gvSparameter vps, evsparametzrcvpb WERE gwpa.num = evpb-num AND gvpasalue <> svpbsalee AND (ovp. default = FALSE OR gvpe.ismodied <> FALSE) AND gvp.name NOT LIKE rs Se) AND gins ‘vb inst_d AND (exp sdefelt = "FALSE OR gvp.smoiied <> FALSE} AND gyp.name NOT LIKE ‘ls%' ORDER BY I, 2; spool off Set markup hr ff entmap on sevecno on ‘rnd war uarelockngfo? Askin Conny wiAttachments ‘B cecete os SYS06A or S06 agains te Pica Standby Detabese (8.26 KB) Related Products + orale atta oct > Oa alate Suite > OradeDlabee > Orade Daabae reise ton > Oral Bea Guard > Alls Standby see Keywords @amcrtotee Ca) 216 Ome. A erm, | Rts se Teme | Pay Store hipsisuppot.oracle.comisomasfaces/DocumentDisplay?_arLoop=27969695 1S062828id= 1577406.18 a.ti-stte=ShloxgSry_950
You might also like
Oracle Rdbms Keypoints
PDF
100% (2)
Oracle Rdbms Keypoints
1,439 pages
Creating A Logical Standby Database
PDF
No ratings yet
Creating A Logical Standby Database
5 pages
Converting Physical Standby To Logical Standby and Monitoring
PDF
No ratings yet
Converting Physical Standby To Logical Standby and Monitoring
6 pages
Handling Basic Oracle Database Issues
PDF
100% (1)
Handling Basic Oracle Database Issues
12 pages
SQL Server 2012 AlwaysOn
PDF
No ratings yet
SQL Server 2012 AlwaysOn
30 pages
Standby Database Checklist: 1. Overview
PDF
No ratings yet
Standby Database Checklist: 1. Overview
13 pages
Internals of Active DataGuard
PDF
100% (2)
Internals of Active DataGuard
28 pages
Postgres For Oracle Dbas PDF
PDF
No ratings yet
Postgres For Oracle Dbas PDF
41 pages
Dataguard Switchover Steps
PDF
No ratings yet
Dataguard Switchover Steps
5 pages
Rac Trouble Shooting
PDF
100% (1)
Rac Trouble Shooting
7 pages
Setup and Maintenance of Data Guard Broker Using DGMGRL
PDF
No ratings yet
Setup and Maintenance of Data Guard Broker Using DGMGRL
9 pages
Oracle 12c ADG
PDF
No ratings yet
Oracle 12c ADG
125 pages
Monitoring The Primary and Standby Databases
PDF
No ratings yet
Monitoring The Primary and Standby Databases
10 pages
DG 12c Setup Rac Phys Standby To Rac Prim
PDF
No ratings yet
DG 12c Setup Rac Phys Standby To Rac Prim
15 pages
Oracle: Exam Questions 1Z0-062
PDF
No ratings yet
Oracle: Exam Questions 1Z0-062
7 pages
Dataguard in Imp
PDF
No ratings yet
Dataguard in Imp
59 pages
18 Recovery
PDF
No ratings yet
18 Recovery
53 pages
Accidentaldbalinuxcon 130102190320 Phpapp02
PDF
No ratings yet
Accidentaldbalinuxcon 130102190320 Phpapp02
61 pages
Data Guard - Cheatsheet
PDF
No ratings yet
Data Guard - Cheatsheet
6 pages
Data Guard - Thrusday
PDF
No ratings yet
Data Guard - Thrusday
10 pages
Data Guard - Cheatsheet
PDF
No ratings yet
Data Guard - Cheatsheet
8 pages
6th Central Pay Commission Salary Calculator
PDF
100% (436)
6th Central Pay Commission Salary Calculator
15 pages
6th Central Pay Commission Salary Calculator
PDF
100% (436)
6th Central Pay Commission Salary Calculator
15 pages
Active Data Guard - 19c-New-Features-5515417
PDF
No ratings yet
Active Data Guard - 19c-New-Features-5515417
23 pages
Total Database Information at Your Fingertips Part I
PDF
No ratings yet
Total Database Information at Your Fingertips Part I
13 pages
11g Active Data Guard More Than Just DR .: Gavin Soorma Senior Oracle DBA, Bankwest
PDF
No ratings yet
11g Active Data Guard More Than Just DR .: Gavin Soorma Senior Oracle DBA, Bankwest
30 pages
Monitoring Data Guard Configuration
PDF
No ratings yet
Monitoring Data Guard Configuration
19 pages
1z0-068 Dumps - Oracle Data Management Exam Updated
PDF
No ratings yet
1z0-068 Dumps - Oracle Data Management Exam Updated
8 pages
Databases Monitoring and Troubleshooting
PDF
No ratings yet
Databases Monitoring and Troubleshooting
34 pages
Jul 042013
PDF
No ratings yet
Jul 042013
60 pages
Data Guard PPT-oracle9i
PDF
No ratings yet
Data Guard PPT-oracle9i
54 pages
Standby Bounce Steps
PDF
No ratings yet
Standby Bounce Steps
5 pages
Oracle Data Guard Cheat Sheet A Must Have For DBAs ! 1745608429
PDF
No ratings yet
Oracle Data Guard Cheat Sheet A Must Have For DBAs ! 1745608429
14 pages
Dataguard Build
PDF
No ratings yet
Dataguard Build
8 pages
Logical Standby Database For Reporting: Mark Bole Nocoug Nov 10, 2005
PDF
No ratings yet
Logical Standby Database For Reporting: Mark Bole Nocoug Nov 10, 2005
40 pages
Diagnosis Oracle Logical Standby Data Guard Configuration and Scripts
PDF
No ratings yet
Diagnosis Oracle Logical Standby Data Guard Configuration and Scripts
13 pages
Firewalls and Database Recovery: A Firewall Can Serve The Following Functions
PDF
No ratings yet
Firewalls and Database Recovery: A Firewall Can Serve The Following Functions
13 pages
11g Dataguard Enhancements
PDF
No ratings yet
11g Dataguard Enhancements
27 pages
Top 5 Grid Infrastructure Startup Issues
PDF
No ratings yet
Top 5 Grid Infrastructure Startup Issues
6 pages
Data Guard
PDF
No ratings yet
Data Guard
11 pages
Pstdby STB Diag v3
PDF
No ratings yet
Pstdby STB Diag v3
4 pages
Testing & Implementation: Step 1 Identify The Existing Archived Redo Logs
PDF
No ratings yet
Testing & Implementation: Step 1 Identify The Existing Archived Redo Logs
3 pages
Dataguard Cheat Sheet
PDF
No ratings yet
Dataguard Cheat Sheet
15 pages
Background Processes in Oracle
PDF
No ratings yet
Background Processes in Oracle
11 pages
Oracle 8I Backup and Recovery Quick Study Guide
PDF
No ratings yet
Oracle 8I Backup and Recovery Quick Study Guide
13 pages
Switchover Alert Logs Status
PDF
No ratings yet
Switchover Alert Logs Status
3 pages
DataGuard Switchover Testing For High Availabilty
PDF
No ratings yet
DataGuard Switchover Testing For High Availabilty
9 pages
10g Dataguard Setup: LOG - ARCHIVE - DEST - N Parameter Attributes
PDF
No ratings yet
10g Dataguard Setup: LOG - ARCHIVE - DEST - N Parameter Attributes
15 pages
Issue ARCHIVELOG Sent From PRIMARY To STANDBY
PDF
No ratings yet
Issue ARCHIVELOG Sent From PRIMARY To STANDBY
4 pages
Active Data Guard
PDF
No ratings yet
Active Data Guard
4 pages
Test Physical Standby With Flashback
PDF
No ratings yet
Test Physical Standby With Flashback
3 pages
How To Calculate The Required Network Bandwidth Transfer of Redo in Data Guard Environments
PDF
No ratings yet
How To Calculate The Required Network Bandwidth Transfer of Redo in Data Guard Environments
2 pages
Start The Database in The MOUNT State
PDF
No ratings yet
Start The Database in The MOUNT State
8 pages
Check Whether Archiving Has Been Enabled or Disabled, As Follows
PDF
No ratings yet
Check Whether Archiving Has Been Enabled or Disabled, As Follows
8 pages
Determining If An Archive Gap Exists: Errors in Alert - Log From The Primary Database
PDF
No ratings yet
Determining If An Archive Gap Exists: Errors in Alert - Log From The Primary Database
6 pages
12c Create Dataguard Broker Configuration DGMGRL
PDF
No ratings yet
12c Create Dataguard Broker Configuration DGMGRL
4 pages
12c Create Dataguard Broker Configuration DGMGRL
PDF
No ratings yet
12c Create Dataguard Broker Configuration DGMGRL
4 pages
How To Change Ownership and Group Memberships of Grid Home in 11.2 Standalone
PDF
No ratings yet
How To Change Ownership and Group Memberships of Grid Home in 11.2 Standalone
2 pages
12c Create Dataguard Broker Configuration
PDF
No ratings yet
12c Create Dataguard Broker Configuration
4 pages
12c Create Dataguard Broker Configuration
PDF
No ratings yet
12c Create Dataguard Broker Configuration
4 pages
Exploring Oracle Rdbms Latches Using Solaris Dtrace
PDF
No ratings yet
Exploring Oracle Rdbms Latches Using Solaris Dtrace
14 pages
How To Calculate The Proper Value From Processes, Sessions, and Transactions
PDF
No ratings yet
How To Calculate The Proper Value From Processes, Sessions, and Transactions
1 page
How To Relink The Oracle Grid Infrastructure Standalone
PDF
No ratings yet
How To Relink The Oracle Grid Infrastructure Standalone
9 pages
How To Failover and Flashback A Physical Standby 2
PDF
No ratings yet
How To Failover and Flashback A Physical Standby 2
4 pages
Applies To:: Recover From DROP TABLESPACE Using Flashback Database (Doc ID 783471.1)
PDF
No ratings yet
Applies To:: Recover From DROP TABLESPACE Using Flashback Database (Doc ID 783471.1)
4 pages
What Are Root - SH and OrainstRoot - SH Scripts in A Standalone RDBMS Installation
PDF
No ratings yet
What Are Root - SH and OrainstRoot - SH Scripts in A Standalone RDBMS Installation
3 pages
Bug 5629487: Wrong Resource Control Project Selected When Starting Database Using SRVCTL
PDF
No ratings yet
Bug 5629487: Wrong Resource Control Project Selected When Starting Database Using SRVCTL
3 pages
PDF
PDF
No ratings yet
PDF
47 pages
Parallel Processing in Oracle 11g Standard Edition
PDF
No ratings yet
Parallel Processing in Oracle 11g Standard Edition
29 pages
Applies To:: ASM Is Not Discovering Disks On Solaris: ORA 15025 ORA 27041 SVR4 Error: 5: I/O Error. (Doc ID 1300393.1)
PDF
No ratings yet
Applies To:: ASM Is Not Discovering Disks On Solaris: ORA 15025 ORA 27041 SVR4 Error: 5: I/O Error. (Doc ID 1300393.1)
5 pages
Site Oracledbnote Home Reference Oracl
PDF
No ratings yet
Site Oracledbnote Home Reference Oracl
5 pages
Differences Between Enterprise, Standard Edition 2 On Oracle 12.2
PDF
No ratings yet
Differences Between Enterprise, Standard Edition 2 On Oracle 12.2
9 pages
Data Guard Broker
PDF
No ratings yet
Data Guard Broker
16 pages
DGMGRL
PDF
No ratings yet
DGMGRL
3 pages
1339151912database Testing Using JMeter
PDF
No ratings yet
1339151912database Testing Using JMeter
8 pages
Epmos Faces DocumentDisplay Adf - ctr2
PDF
No ratings yet
Epmos Faces DocumentDisplay Adf - ctr2
1 page