{"id":37414,"date":"2025-02-21T11:06:03","date_gmt":"2025-02-21T10:06:03","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=37414"},"modified":"2025-02-21T11:06:05","modified_gmt":"2025-02-21T10:06:05","slug":"troubleshooting-oracle-data-guard","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/","title":{"rendered":"Troubleshooting Oracle Data Guard"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-introduction\">Introduction<\/h2>\n\n\n\n<p>Oracle Data Guard is a brilliant component of Oracle Database Enterprise Edition. On its own, it&#8217;s a strong argument in favor of Enterprise Edition. This is because Data Guard is a proven Disaster Recovery solution: it&#8217;s integrated, reliable and well known by DBAs. And it comes at no additional cost if you don&#8217;t need the Active Guard feature. Several days ago, I helped colleagues of mine troubleshooting a Data Guard configuration: let&#8217;s summarize how I would proceed to make my standby database back to sync if I have a problem. In this example, I consider having a simple environment with one primary and one standby in Maximum Availability. If you have multiple standby databases, the tasks are the same.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-check-your-data-guard-setup\">How to check your Data Guard setup?<\/h2>\n\n\n\n<p>The easiest way to check your Data Guard setup is by using the Data Guard CLI called the &#8220;broker&#8221; from one of the servers. The SHOW CONFIGURATION LAG will display 2 key things: your actual configuration (who is primary, who is standby) and the lag between the databases. The lag should be 0 in most cases:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>. oraenv &lt;&lt;&lt; DBTEST\ndgmgrl \/ \"show configuration lag;\"\n\nDGMGRL for Linux: Release 19.0.0.0.0 - Production on Wed Feb 19 15:06:17 2025\nVersion 19.20.0.0.0\n\nCopyright (c) 1982, 2019, Oracle and\/or its affiliates.  All rights reserved.\n\nWelcome to DGMGRL, type \"help\" for information.\nConnected to \"DBTEST_IN\"\nConnected as SYSDG.\n\nConfiguration - dtg\n\n  Protection Mode: MaxAvailability\n  Members:\n  dbtest_in - Primary database\n    dbtest_cr - Physical standby database\n                Transport Lag:      0 seconds (computed 1 second ago)\n                Apply Lag:          0 seconds (computed 1 second ago)\n\nFast-Start Failover:  Disabled\n\nConfiguration Status:\nSUCCESS   (status updated 26 seconds ago)<\/code><\/pre>\n\n\n\n<p>If the lag is bigger than a couple of seconds or if you have errors in your configuration, you will need to do some troubleshooting.<\/p>\n\n\n\n<p>This is an example of a Data Guard configuration not working correctly:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Configuration - dtg\n\n  Protection Mode: MaxAvailability\n  Members:\n  dbtest_in - Primary database\n    Error: ORA-16810: multiple errors or warnings detected for the member\n\n    dbtest_cr - Physical standby database\n      Warning: ORA-16854: apply lag could not be determined\n\nFast-Start Failover:  Disabled\n\nConfiguration Status:\nERROR   (status updated 56 seconds ago)<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-check-the-fast-recovery-area-on-your-standby-database\">Check the Fast Recovery Area on your standby database<\/h2>\n\n\n\n<p>A common problem you may have on a standby database is the Fast Recovery Area (FRA) being full. You probably know that a standby database will apply the changes from the primary without waiting for the archivelog to be shipped, but the archivelog is shipped anyway to the standby. This is because there is no guarantee that the standby database is always up and running, so archivelogs must be transported to the other site for later apply if needed. Another thing is that you probably enabled Flashback Database on both databases, and archivelogs are required for a Flashback Database operation. These shipped archivelogs will naturally land in the FRA, and unless you configured a deletion policy, they will never be deleted. As you probably don&#8217;t do backups on the standby database, nothing could flag these archivelogs as reclaimable (meaning that they are now useless and can be deleted). If your FRA is quite big, you may discover this problem several weeks or months after the initial setup.<\/p>\n\n\n\n<p>Check the FRA usage on your standby with this query:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>select  sum(PERCENT_SPACE_USED-PERCENT_SPACE_RECLAIMABLE) \"Real FRA usage %\" from v$flash_recovery_area_usage;\nReal FRA usage %\n----------------\n           32.86<\/code><\/pre>\n\n\n\n<p>If the FRA is almost full, you can remove older archivelogs, for example those older than 2 days if your standby has a 1-day lag:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rman target \/\ndelete force noprompt archivelog all completed before 'sysdate-2';\nexit;\n<\/code><\/pre>\n\n\n\n<p>Then check again the FRA and the lag of your Data Guard setup.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-check-standby-file-management-parameter\">Check standby_file_management parameter<\/h2>\n\n\n\n<p>Another thing that can break your sync is the standby_file_management parameter having an incorrect value. In most cases, it must be set to AUTOMATIC: it means that any file created on the primary will be created on the standby. It&#8217;s the way it is supposed to work:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>show parameter standby_file_management\nNAME\t\t\t\t     TYPE\t VALUE\n------------------------------------ ----------- ------------------------------\nstandby_file_management \t     string\t AUTO<\/code><\/pre>\n\n\n\n<p>If standby_file_management is set to MANUAL, your standby will not be in sync anymore as soon as a new datafile is created on the primary. You will need to manually create the file on the standby to continue the sync. Not very convenient.<\/p>\n\n\n\n<p>The MANUAL mode exists because some older configurations had different filesystems on primary and on standby and didn&#8217;t use OMF, meaning that standby database cannot guess where to put the new file.<\/p>\n\n\n\n<p>Both primary and standby databases must have this parameter set to AUTO nowadays.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-cross-test-connexions\">Cross test connexions<\/h2>\n\n\n\n<p>Your Data Guard setup can only work if your databases are able to communicate together. If you are not so sure if something changed on your network, for example a new firewall rule, check your connexions from both servers using the SYS account.<\/p>\n\n\n\n<p>From your primary:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sqlplus sys@DBTEST_CR as sysdba\nsqlplus sys@DBTEST_IN as sysdba\n<\/code><\/pre>\n\n\n\n<p>From your standby:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sqlplus sys@DBTEST_CR as sysdba\nsqlplus sys@DBTEST_IN as sysdba<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-check-password-file\">Check password file<\/h2>\n\n\n\n<p>When your standby database is MOUNTED, the only way to authenticate the SYS user is by using the password file. If you changed the SYS password on the primary, it will be changed inside the database (and replicated) as well as in the local password file, but the password file on the standby site won&#8217;t be updated. You must then copy the password file from the primary database to the standby database. Copy is done with a scp command, for example from my primary server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nsrvctl config database -db DBTEST_IN | grep Password\nPassword file: \/u01\/app\/odaorahome\/oracle\/product\/19.0.0.0\/dbhome_4\/dbs\/orapwDBTEST\n\nscp `srvctl config database -db OP1 | grep Password | awk '{print $3;}'` oracle@oda-x11-cr:`srvctl config database -db OP1 | grep Password | awk '{print $3;}'`<\/code><\/pre>\n\n\n\n<p>A restart of the standby database may be needed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-check-alert-dbtest-log-and-drcdbtest-log-on-both-servers\">Check alert_DBTEST.log and drcDBTEST.log on both servers<\/h2>\n\n\n\n<p>Never miss an error reported in the alert_DBTEST.log on both sides. I would recommend disabling the Data Guard configuration, doing a tail -f on both alert_DBTEST.log files, and enabling back the configuration:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>. oraenv &lt;&lt;&lt; DBTEST\ndgmgrl \/ \"disable configuration;\"\nsleep 60\ndgmgrl \/ \"enable configuration;\"<\/code><\/pre>\n\n\n\n<p>There are also dedicated trace files for Data Guard, at the same place as alert_DBTEST.log: drcDBTEST.log. You may find additional information for troubleshooting your configuration in these files.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-remove-and-recreate-the-configuration\">Remove and recreate the configuration<\/h2>\n\n\n\n<p>Data Guard configuration is just a couple of parameters stored in a file on both sides. It&#8217;s easy to drop and create again this configuration without actually rebuilding the standby database. If you want to make sure that nothing survives from your old configuration, just remove the broker files before creating the configuration again.<\/p>\n\n\n\n<p>From the primary:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dgmgrl sys\nedit configuration set protection mode as maxperformance;\nremove configuration;\nexit;\n\nsqlplus \/ as sysdba\nsho parameter dg_broker_config_file\n\nNAME\t\t\t\t     TYPE\t VALUE\n------------------------------------ ----------- ------------------------------\ndg_broker_config_file1\t\t     string\t \/u01\/app\/odaorahome\/oracle\/pro\n\t\t\t\t\t\t duct\/19.0.0.0\/dbhome_4\/dbs\/dr1\n\t\t\t\t\t\t DBTEST_IN.dat\ndg_broker_config_file2\t\t     string\t \/u01\/app\/odaorahome\/oracle\/pro\n\t\t\t\t\t\t duct\/19.0.0.0\/dbhome_4\/dbs\/dr2\n\t\t\t\t\t\t DBTEST_IN.dat\nalter system set dg_broker_start=FALSE;\n\nhost rm \/u01\/app\/odaorahome\/oracle\/product\/19.0.0.0\/dbhome_4\/dbs\/dr1DBTEST_IN.dat\nhost rm \/u01\/app\/odaorahome\/oracle\/product\/19.0.0.0\/dbhome_4\/dbs\/dr2DBTEST_IN.dat\n\nexit\n<\/code><\/pre>\n\n\n\n<p>From the standby:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sqlplus \/ as sysdba\nsho parameter dg_broker_config_file\n\nNAME\t\t\t\t     TYPE\t VALUE\n------------------------------------ ----------- ------------------------------\ndg_broker_config_file1\t\t     string\t \/u01\/app\/odaorahome\/oracle\/pro\n\t\t\t\t\t\t duct\/19.0.0.0\/dbhome_4\/dbs\/dr1\n\t\t\t\t\t\t DBTEST_CR.dat\ndg_broker_config_file2\t\t     string\t \/u01\/app\/odaorahome\/oracle\/pro\n\t\t\t\t\t\t duct\/19.0.0.0\/dbhome_4\/dbs\/dr2\n\t\t\t\t\t\t DBTEST_CR.dat\nalter system set dg_broker_start=FALSE;\n\nhost rm \/u01\/app\/odaorahome\/oracle\/product\/19.0.0.0\/dbhome_4\/dbs\/dr1DBTEST_CR.dat\nhost rm \/u01\/app\/odaorahome\/oracle\/product\/19.0.0.0\/dbhome_4\/dbs\/dr2DBTEST_CR.dat\n\nalter system set dg_broker_start=TRUE;\nexit\n<\/code><\/pre>\n\n\n\n<p>From the primary:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sqlplus \/ as sysdba\nalter system set dg_broker_start=TRUE;\nexit;\n\ndgmgrl sys\ncreate configuration DTG as primary database is 'DBTEST_IN' connect identifier is 'DBTEST_IN';\nadd database 'DBTEST_CR' as connect identifier is 'DBTEST_CR';\nenable configuration;\nedit database 'DBTEST_CR' set property LogXptMode='SYNC';\nedit database 'DBTEST_IN' set property LogXptMode='SYNC';\nedit database 'DBTEST_CR' set property StandbyFileManagement='AUTO';\nedit database 'DBTEST_IN' set property StandbyFileManagement='AUTO';\nEDIT DATABASE 'DBTEST_CR' SET PROPERTY 'ArchiveLagTarget'=1200;\nEDIT DATABASE 'DBTEST_IN' SET PROPERTY 'ArchiveLagTarget'=1200;\nEdit database 'DBTEST_CR' set property StaticConnectIdentifier='(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oda-x11-cr)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBTEST_CR)(INSTANCE_NAME=DBTEST)(SERVER=DEDICATED)))';\nEdit database 'DBTEST_IN' set property StaticConnectIdentifier='(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oda-x11-in)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBTEST_IN)(INSTANCE_NAME=DBTEST)(SERVER=DEDICATED)))';\nedit configuration set protection mode as maxavailability;\nshow configuration lag;\nexit;<\/code><\/pre>\n\n\n\n<p>Note that the StaticConnectIdentifier property is only mandatory when using a port different than 1521.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-recover-standby-database-from-service\">Recover standby database from service<\/h2>\n\n\n\n<p>If you still struggle to get your standby back in sync, because too many archivelogs are missing or because the archivelogs are not on the primary site anymore, you can use this nice RMAN command on your standby:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sqlplus \/ as sysdba\nalter system set dg_broker_start=false;\nexit;\n\nsrvctl stop database -db DBTEST_CR\nsleep 10\nsrvctl start database -db DBTEST_CR -o mount\n\nrman target \/\nrecover database from service 'DBTEST_IN';\nexit;\n\nsqlplus \/ as sysdba\nalter system set dg_broker_start=true;\nexit;\n<\/code><\/pre>\n\n\n\n<p>This RECOVER DATABASE FROM SERVICE will do an incremental backup on the primary to recover the standby without needing the missing archivelogs. It&#8217;s convenient and much faster than rebuilding the standby from scratch.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-check-scn\">Check SCN<\/h2>\n\n\n\n<p>In the good old days of Data Guard on Oracle 9i, the broker didn&#8217;t exist and you had to configure everything yourself. At this time, I used to have a look at the SCN on both databases for monitoring the lag. Nothing changed regarding the SCN: on a primary, you will never see the same SCN each time you query its value. This is because the query itself will increase the SCN by 1, as well as other background queries are running:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>select current_scn from v$database;\nCURRENT_SCN\n-----------\n  271650667\n\nselect current_scn from v$database;\nCURRENT_SCN\n-----------\n  271650674\n\nselect current_scn from v$database;\nCURRENT_SCN\n-----------\n  271650675\n\nselect current_scn from v$database;\nCURRENT_SCN\n-----------\n  271650678<\/code><\/pre>\n\n\n\n<p>On a standby database, the SCN can only increase if changes are pushed by a primary. And for sure, the SCN will always be lower than the one on the primary. If your standby database is not opened, meaning that you don&#8217;t have the Active Guard option, you will query the same SCN for a couple of minutes, and you will see big jumps in figures from time to time:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>select current_scn from v$database;\nCURRENT_SCN\n-----------\n  271650664\n\nselect current_scn from v$database;\nCURRENT_SCN\n-----------\n  271650664\n\nselect current_scn from v$database;\nCURRENT_SCN\n-----------\n  271651042\n\nselect current_scn from v$database;\nCURRENT_SCN\n-----------\n  271651042<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n\n\n\n<p>With these few tips, troubleshooting Data Guard might be easier now.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Troubleshooting Oracle Data Guard when your standby database has errors or is not in sync<\/p>\n","protected":false},"author":45,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[59],"tags":[60,958,63,3560,3558,3555,3561,3556,3562,2043,3552,3550,3551,236,2203],"type_dbi":[],"class_list":["post-37414","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-12c","tag-12cr2","tag-21c","tag-23ai","tag-apply-lag","tag-data-guard-error","tag-data-guard-problem","tag-dataguard-error","tag-dataguard-problem","tag-dgmgrl","tag-lag","tag-ora-16810","tag-ora-16854","tag-oracle-data-guard","tag-oracle-database"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Troubleshooting Oracle Data Guard - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Troubleshooting Oracle Data Guard\" \/>\n<meta property=\"og:description\" content=\"Troubleshooting Oracle Data Guard when your standby database has errors or is not in sync\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-21T10:06:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-21T10:06:05+00:00\" \/>\n<meta name=\"author\" content=\"J\u00e9r\u00f4me Dubar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"J\u00e9r\u00f4me Dubar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/troubleshooting-oracle-data-guard\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/troubleshooting-oracle-data-guard\\\/\"},\"author\":{\"name\":\"J\u00e9r\u00f4me Dubar\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0fb4bbf128b4cda2f96d662dec2baedd\"},\"headline\":\"Troubleshooting Oracle Data Guard\",\"datePublished\":\"2025-02-21T10:06:03+00:00\",\"dateModified\":\"2025-02-21T10:06:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/troubleshooting-oracle-data-guard\\\/\"},\"wordCount\":1150,\"commentCount\":1,\"keywords\":[\"12c\",\"12cR2\",\"21c\",\"23ai\",\"apply lag\",\"data guard error\",\"data guard problem\",\"dataguard error\",\"dataguard problem\",\"dgmgrl\",\"lag\",\"ORA-16810\",\"ORA-16854\",\"Oracle Data Guard\",\"Oracle Database\"],\"articleSection\":[\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/troubleshooting-oracle-data-guard\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/troubleshooting-oracle-data-guard\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/troubleshooting-oracle-data-guard\\\/\",\"name\":\"Troubleshooting Oracle Data Guard - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2025-02-21T10:06:03+00:00\",\"dateModified\":\"2025-02-21T10:06:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0fb4bbf128b4cda2f96d662dec2baedd\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/troubleshooting-oracle-data-guard\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/troubleshooting-oracle-data-guard\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/troubleshooting-oracle-data-guard\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Troubleshooting Oracle Data Guard\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0fb4bbf128b4cda2f96d662dec2baedd\",\"name\":\"J\u00e9r\u00f4me Dubar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efaa5a7def0aa4cdaf49a470fb4a7641a3ea6e378ae1455096a0933f99f46d6b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efaa5a7def0aa4cdaf49a470fb4a7641a3ea6e378ae1455096a0933f99f46d6b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efaa5a7def0aa4cdaf49a470fb4a7641a3ea6e378ae1455096a0933f99f46d6b?s=96&d=mm&r=g\",\"caption\":\"J\u00e9r\u00f4me Dubar\"},\"description\":\"J\u00e9r\u00f4me Dubar has more than 15 years of experience in the field of Information Technology. Ten years ago, he specialized in the Oracle Database technology. His expertise is focused on database architectures, high availability (RAC), disaster recovery (DataGuard), backups (RMAN), performance analysis and tuning (AWR\\\/statspack), migration, consolidation and appliances, especially ODA (his main projects during the last years). Prior to joining dbi services, J\u00e9r\u00f4me Dubar worked in a Franco-Belgian IT service company as Database team manager and main consultant for 7 years. He also worked for 5 years in a software editor company as technical consultant across France. He was also teaching Oracle Database lessons for 9 years. J\u00e9r\u00f4me Dubar holds a Computer Engineering degree from the Lille Sciences and Technologies university in northern France. His branch-related experience covers the public sector, retail, industry, banking, health, e-commerce and IT sectors.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/jerome-dubar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Troubleshooting Oracle Data Guard - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/","og_locale":"en_US","og_type":"article","og_title":"Troubleshooting Oracle Data Guard","og_description":"Troubleshooting Oracle Data Guard when your standby database has errors or is not in sync","og_url":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/","og_site_name":"dbi Blog","article_published_time":"2025-02-21T10:06:03+00:00","article_modified_time":"2025-02-21T10:06:05+00:00","author":"J\u00e9r\u00f4me Dubar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"J\u00e9r\u00f4me Dubar","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/"},"author":{"name":"J\u00e9r\u00f4me Dubar","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0fb4bbf128b4cda2f96d662dec2baedd"},"headline":"Troubleshooting Oracle Data Guard","datePublished":"2025-02-21T10:06:03+00:00","dateModified":"2025-02-21T10:06:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/"},"wordCount":1150,"commentCount":1,"keywords":["12c","12cR2","21c","23ai","apply lag","data guard error","data guard problem","dataguard error","dataguard problem","dgmgrl","lag","ORA-16810","ORA-16854","Oracle Data Guard","Oracle Database"],"articleSection":["Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/","url":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/","name":"Troubleshooting Oracle Data Guard - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2025-02-21T10:06:03+00:00","dateModified":"2025-02-21T10:06:05+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0fb4bbf128b4cda2f96d662dec2baedd"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/troubleshooting-oracle-data-guard\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Troubleshooting Oracle Data Guard"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0fb4bbf128b4cda2f96d662dec2baedd","name":"J\u00e9r\u00f4me Dubar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/efaa5a7def0aa4cdaf49a470fb4a7641a3ea6e378ae1455096a0933f99f46d6b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/efaa5a7def0aa4cdaf49a470fb4a7641a3ea6e378ae1455096a0933f99f46d6b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/efaa5a7def0aa4cdaf49a470fb4a7641a3ea6e378ae1455096a0933f99f46d6b?s=96&d=mm&r=g","caption":"J\u00e9r\u00f4me Dubar"},"description":"J\u00e9r\u00f4me Dubar has more than 15 years of experience in the field of Information Technology. Ten years ago, he specialized in the Oracle Database technology. His expertise is focused on database architectures, high availability (RAC), disaster recovery (DataGuard), backups (RMAN), performance analysis and tuning (AWR\/statspack), migration, consolidation and appliances, especially ODA (his main projects during the last years). Prior to joining dbi services, J\u00e9r\u00f4me Dubar worked in a Franco-Belgian IT service company as Database team manager and main consultant for 7 years. He also worked for 5 years in a software editor company as technical consultant across France. He was also teaching Oracle Database lessons for 9 years. J\u00e9r\u00f4me Dubar holds a Computer Engineering degree from the Lille Sciences and Technologies university in northern France. His branch-related experience covers the public sector, retail, industry, banking, health, e-commerce and IT sectors.","url":"https:\/\/www.dbi-services.com\/blog\/author\/jerome-dubar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/37414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=37414"}],"version-history":[{"count":5,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/37414\/revisions"}],"predecessor-version":[{"id":37419,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/37414\/revisions\/37419"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=37414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=37414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=37414"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=37414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}