{"id":50895,"date":"2022-06-20T18:27:04","date_gmt":"2022-06-20T18:27:04","guid":{"rendered":"https:\/\/dbtut.com\/?p=50895"},"modified":"2022-06-20T18:36:58","modified_gmt":"2022-06-20T18:36:58","slug":"change-data-protection-mode-from-sqlplus","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/","title":{"rendered":"Changing Data Protection Mode From SQLPLUS"},"content":{"rendered":"<p>In today&#8217;s article we will learn to Changing Data Protection Mode From SQLPLUS.<\/p>\n<p>1. We learn whether Data Guard Broker is used or not.<\/p>\n<pre class=\"lang:default decode:true \">DGMGRL&gt; show configuration\r\n\r\nConfiguration - Broker_Configuration\r\n\r\n  Protection Mode: MaxAvailability\r\n  Databases:\r\n    primary - Primary database\r\n    standby - Physical standby database\r\n    logical - Logical standby database\r\n\r\nFast-Start Failover: DISABLED\r\n\r\nConfiguration Status:\r\nSUCCESS\r\n<\/pre>\n<p>2. We query the Redo Transport modes of the Databases to see the changes, both after changing the Protection Mode and after ENABLE the Configuration.<\/p>\n<pre class=\"lang:default decode:true \">DGMGRL&gt; show database verbose primary\r\n\r\nDatabase - primary\r\n\r\n  Role:            PRIMARY\r\n  Intended State:  TRANSPORT-ON\r\n  Instance(s):\r\n    primary1\r\n    primary2\r\n\r\n  Properties:\r\n    DGConnectIdentifier             = 'primary'\r\n    ObserverConnectIdentifier       = ''\r\n    LogXptMode                      = 'SYNC'\r\n    DelayMins                       = '0'\r\n    Binding                         = 'optional'\r\n    MaxFailure                      = '0'\r\n    MaxConnections                  = '1'\r\n    ReopenSecs                      = '300'\r\n    NetTimeout                      = '30'\r\n    RedoCompression                 = 'DISABLE'\r\n    LogShipping                     = 'ON'\r\n    PreferredApplyInstance          = ''\r\n    ApplyInstanceTimeout            = '0'\r\n    ApplyParallel                   = 'AUTO'\r\n    LsbyASkipTxnCfgPr               = '0,0,0'\r\n    LsbyDSkipTxnCfgPr               = '0,0,0'\r\n    LsbyASkipCfgPr                  = ''\r\n    LsbyDSkipCfgPr                  = ''\r\n    LsbyASkipErrorCfgPr             = ''\r\n    LsbyDSkipErrorCfgPr             = ''\r\n    LsbyMaxEventsRecorded           = '0'\r\n    LsbyPreserveCommitOrder         = ''\r\n    LsbyRecordSkipErrors            = ''\r\n    LsbyRecordSkipDdl               = ''\r\n    LsbyRecordAppliedDdl            = ''\r\n    StandbyFileManagement           = 'AUTO'\r\n    ArchiveLagTarget                = '0'\r\n    LogArchiveMaxProcesses          = '8'\r\n    LogArchiveMinSucceedDest        = '1'\r\n    DbFileNameConvert               = 'standby, primary'\r\n    LogFileNameConvert              = 'standby, primary'\r\n    FastStartFailoverTarget         = ''\r\n    InconsistentProperties          = '(monitor)'\r\n    InconsistentLogXptProps         = '(monitor)'\r\n    SendQEntries                    = '(monitor)'\r\n    LogXptStatus                    = '(monitor)'\r\n    RecvQEntries                    = '(monitor)'\r\n    LsbyParameters                  = '(monitor)'\r\n    LsbySkipTxnTable                = '(monitor)'\r\n    LsbySkipTable                   = '(monitor)'\r\n    LsbyFailedTxnInfo               = '(monitor)'\r\n    ApplyLagThreshold               = '0'\r\n    TransportLagThreshold           = '0'\r\n    TransportDisconnectedThreshold  = '30'\r\n    SidName(*)\r\n    StaticConnectIdentifier(*)\r\n    StandbyArchiveLocation(*)\r\n    AlternateLocation(*)\r\n    LogArchiveTrace(*)\r\n    LogArchiveFormat(*)\r\n    LsbyMaxSga(*)\r\n    LsbyMaxServers(*)\r\n    TopWaitEvents(*)\r\n    (*) - Please check specific instance for the property value\r\n\r\nDatabase Status:\r\nSUCCESS\r\n<\/pre>\n<pre class=\"lang:default decode:true \">DGMGRL&gt; show database verbose standby\r\n\r\nDatabase - standby\r\n\r\n  Role:            PHYSICAL STANDBY\r\n  Intended State:  APPLY-ON\r\n  Transport Lag:   0 seconds (computed 0 seconds ago)\r\n  Apply Lag:       0 seconds (computed 0 seconds ago)\r\n  Apply Rate:      72.00 KByte\/s\r\n  Real Time Query: ON\r\n  Instance(s):\r\n    primary1 (apply instance)\r\n    primary2\r\n\r\n  Properties:\r\n    DGConnectIdentifier             = 'standby'\r\n    ObserverConnectIdentifier       = ''\r\n    LogXptMode                      = 'SYNC'\r\n    DelayMins                       = '0'\r\n    Binding                         = 'optional'\r\n    MaxFailure                      = '0'\r\n    MaxConnections                  = '1'\r\n    ReopenSecs                      = '300'\r\n    NetTimeout                      = '30'\r\n    RedoCompression                 = 'DISABLE'\r\n    LogShipping                     = 'ON'\r\n    PreferredApplyInstance          = ''\r\n    ApplyInstanceTimeout            = '0'\r\n    ApplyParallel                   = 'AUTO'\r\n    StandbyFileManagement           = 'AUTO'\r\n    ArchiveLagTarget                = '0'\r\n    LogArchiveMaxProcesses          = '8'\r\n    LogArchiveMinSucceedDest        = '1'\r\n    DbFileNameConvert               = 'primary, standby'\r\n    LogFileNameConvert              = 'primary, standby'\r\n    FastStartFailoverTarget         = ''\r\n    InconsistentProperties          = '(monitor)'\r\n    InconsistentLogXptProps         = '(monitor)'\r\n    SendQEntries                    = '(monitor)'\r\n    LogXptStatus                    = '(monitor)'\r\n    RecvQEntries                    = '(monitor)'\r\n    ApplyLagThreshold               = '0'\r\n    TransportLagThreshold           = '0'\r\n    TransportDisconnectedThreshold  = '30'\r\n    SidName(*)\r\n    StaticConnectIdentifier(*)\r\n    StandbyArchiveLocation(*)\r\n    AlternateLocation(*)\r\n    LogArchiveTrace(*)\r\n    LogArchiveFormat(*)\r\n    TopWaitEvents(*)\r\n    (*) - Please check specific instance for the property value\r\n\r\nDatabase Status:\r\nSUCCESS\r\n<\/pre>\n<pre class=\"lang:default decode:true \">DGMGRL&gt; show database verbose logical\r\n\r\nDatabase - logical\r\n\r\n  Role:            LOGICAL STANDBY\r\n  Intended State:  APPLY-ON\r\n  Transport Lag:   0 seconds (computed 1 second ago)\r\n  Apply Lag:       0 seconds (computed 0 seconds ago)\r\n  Apply Rate:      0 Byte\/s\r\n  Instance(s):\r\n    primary1\r\n    primary2 (apply instance)\r\n\r\n  Properties:\r\n    DGConnectIdentifier             = 'logical'\r\n    ObserverConnectIdentifier       = ''\r\n    LogXptMode                      = 'ASYNC'\r\n    DelayMins                       = '0'\r\n    Binding                         = 'optional'\r\n    MaxFailure                      = '0'\r\n    MaxConnections                  = '1'\r\n    ReopenSecs                      = '300'\r\n    NetTimeout                      = '30'\r\n    RedoCompression                 = 'DISABLE'\r\n    LogShipping                     = 'ON'\r\n    PreferredApplyInstance          = ''\r\n    ApplyInstanceTimeout            = '0'\r\n    LsbyASkipTxnCfgPr               = '0,0,0'\r\n    LsbyDSkipTxnCfgPr               = '0,0,0'\r\n    LsbyASkipCfgPr                  = ''\r\n    LsbyDSkipCfgPr                  = ''\r\n    LsbyASkipErrorCfgPr             = ''\r\n    LsbyDSkipErrorCfgPr             = ''\r\n    LsbyMaxEventsRecorded           = '0'\r\n    LsbyPreserveCommitOrder         = ''\r\n    LsbyRecordSkipErrors            = ''\r\n    LsbyRecordSkipDdl               = ''\r\n    LsbyRecordAppliedDdl            = ''\r\n    ArchiveLagTarget                = '0'\r\n    LogArchiveMaxProcesses          = '8'\r\n    LogArchiveMinSucceedDest        = '1'\r\n    FastStartFailoverTarget         = ''\r\n    InconsistentProperties          = '(monitor)'\r\n    InconsistentLogXptProps         = '(monitor)'\r\n    SendQEntries                    = '(monitor)'\r\n    LogXptStatus                    = '(monitor)'\r\n    RecvQEntries                    = '(monitor)'\r\n    LsbyParameters                  = '(monitor)'\r\n    LsbySkipTxnTable                = '(monitor)'\r\n    LsbySkipTable                   = '(monitor)'\r\n    LsbyFailedTxnInfo               = '(monitor)'\r\n    ApplyLagThreshold               = '0'\r\n    TransportLagThreshold           = '0'\r\n    TransportDisconnectedThreshold  = '30'\r\n    SidName(*)\r\n    StaticConnectIdentifier(*)\r\n    StandbyArchiveLocation(*)\r\n    AlternateLocation(*)\r\n    LogArchiveTrace(*)\r\n    LogArchiveFormat(*)\r\n    LsbyMaxSga(*)\r\n    LsbyMaxServers(*)\r\n    TopWaitEvents(*)\r\n    (*) - Please check specific instance for the property value\r\n\r\nDatabase Status:\r\nSUCCESS\r\n<\/pre>\n<p>3. We query the LOG_ARCHIVE_DEST_n parameters to see the changes both after changing the Protection Mode and after ENABLE the Configuration.<\/p>\n<pre class=\"lang:default decode:true \">[Primary-1] SQL&gt; column name format a30\r\n[Primary-1] SQL&gt; column value format a94\r\n[Primary-1] SQL&gt; set linesize 9000\r\n[Primary-1] SQL&gt; select name, value from v$parameter where lower(name) like '%log_archive_dest%' and lower(name) not like '%log_archive_dest_state%' and value is not null;\r\n\r\nNAME                           VALUE\r\n------------------------------ ----------------------------------------------------------------------------------------------\r\nlog_archive_dest_1             LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=primary\r\nlog_archive_dest_2             service=\"standby\", LGWR SYNC AFFIRM delay=0 optional compression=disable max_failure=0 max_con\r\n                               nections=1 reopen=300 db_unique_name=\"standby\" net_timeout=30, valid_for=(all_logfiles,primary\r\n                               _role)\r\n\r\nlog_archive_dest_3             service=\"logical\", LGWR ASYNC NOAFFIRM delay=0 optional compression=disable max_failure=0 max_\r\n                               connections=1 reopen=300 db_unique_name=\"logical\" net_timeout=30, valid_for=(all_logfiles,prim\r\n                               ary_role)\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Physical-1] SQL&gt; column name format a30\r\n[Physical-1] SQL&gt; column value format a94\r\n[Physical-1] SQL&gt; set linesize 9000\r\n[Physical-1] SQL&gt; select name, value from v$parameter where lower(name) like '%log_archive_dest%' and lower(name) not like '%log_archive_dest_state%' and value is not null;\r\nNAME                           VALUE\r\n------------------------------ ----------------------------------------------------------------------------------------------\r\nlog_archive_dest_1             LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=standby\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Logical-1] SQL&gt; column name format a30\r\n[Logical-1] SQL&gt; column value format a94\r\n[Logical-1] SQL&gt; set linesize 9000\r\n[Logical-1] SQL&gt; select name, value from v$parameter where lower(name) like '%log_archive_dest%' and lower(name) not like '%log_archive_dest_state%' and value is not null;\r\n\r\nNAME                           VALUE\r\n------------------------------ ----------------------------------------------------------------------------------------------\r\nlog_archive_dest_1             LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=logical\r\n<\/pre>\n<p>4. We DISABLE the configuration.<\/p>\n<pre class=\"lang:default decode:true \">DGMGRL&gt; disable configuration\r\nDisabled.\r\n<\/pre>\n<p>5. We update the LOG_ARCHIVE_DEST_n parameter in accordance with the Maximum Protection to the Logical Standby Database.<\/p>\n<pre class=\"lang:default decode:true \">[Primary-1] SQL&gt; alter system set log_archive_dest_3='service=\"logical\", LGWR SYNC AFFIRM delay=0 optional compression=disable max_failure=0 max_connections=1 reopen=300 db_unique_name=\"logical\", valid_for=(all_logfiles,primary_role)' scope=both sid='*';\r\n\r\nSystem altered.\r\n<\/pre>\n<p>6. We set the Data Protection Modes of the Standby Databases to Maximum Protection.<\/p>\n<pre class=\"lang:default decode:true \">[Primary-1] SQL&gt; alter database set standby database to maximize protection;\r\n\r\nDatabase altered.\r\n<\/pre>\n<p>7. We move on to post-change controls.<\/p>\n<p>We question whether the Protection Modes have changed.<\/p>\n<pre class=\"lang:default decode:true \">[Primary-1] SQL&gt; select protection_mode from v$database;\r\n\r\nPROTECTION_MODE\r\n--------------------\r\nMAXIMUM PROTECTION\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Physical-1] SQL&gt; select protection_mode from v$database;\r\n\r\nPROTECTION_MODE\r\n--------------------\r\nMAXIMUM PROTECTION\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Logical-1] SQL&gt; select protection_mode from v$database;\r\n\r\nPROTECTION_MODE\r\n--------------------\r\nMAXIMUM PROTECTION\r\n<\/pre>\n<p>We&#8217;re looking for lag.<\/p>\n<pre class=\"lang:default decode:true \">[Physical-1] SQL&gt; set linesize 9000\r\n[Physical-1] SQL&gt; column name format a25\r\n[Physical-1] SQL&gt; column value format a20\r\n[Physical-1] SQL&gt; column time_computed format a25\r\n[Physical-1] SQL&gt; SELECT name, value, time_computed FROM v$dataguard_stats;\r\n\r\nNAME                      VALUE                TIME_COMPUTED\r\n------------------------- -------------------- -------------------------\r\ntransport lag             +00 00:00:00         01\/17\/2017 14:43:08\r\napply lag                 +00 00:00:00         01\/17\/2017 14:43:08\r\napply finish time         +00 00:00:00.000     01\/17\/2017 14:43:08\r\nestimated startup time    29                   01\/17\/2017 14:43:08\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Logical-1] SQL&gt; set linesize 9000\r\n[Logical-1] SQL&gt; column name format a25\r\n[Logical-1] SQL&gt; column value format a20\r\n[Logical-1] SQL&gt; column time_computed format a25\r\n[Logical-1] SQL&gt; SELECT name, value, time_computed FROM v$dataguard_stats;\r\n\r\nNAME                      VALUE                TIME_COMPUTED\r\n------------------------- -------------------- -------------------------\r\ntransport lag             +00 00:00:00         01\/17\/2017 14:42:39\r\napply lag                 +00 00:00:08         01\/17\/2017 14:42:39\r\napply finish time                              01\/17\/2017 14:42:39\r\nestimated startup time    25                   01\/17\/2017 14:42:39\r\n<\/pre>\n<p>Although it is seen that there is no lag, an existing table is deleted and it is seen whether the transactions are reflected on the Standby side.<\/p>\n<pre class=\"lang:default decode:true \">[Primary-1] SQL&gt; select table_name from dba_tables where owner='TEST';\r\n\r\nTABLE_NAME\r\n------------------------------\r\nEMPLOYEES_YEDEK\r\nLOCATIONS_YEDEK\r\nREGIONS_YEDEK\r\nDEPARTMENTS_YEDEK\r\nJOB_HISTORY_YEDEK\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Physical-1] SQL&gt; select table_name from dba_tables where owner='TEST';\r\n\r\nTABLE_NAME\r\n------------------------------\r\nEMPLOYEES_YEDEK\r\nLOCATIONS_YEDEK\r\nREGIONS_YEDEK\r\nDEPARTMENTS_YEDEK\r\nJOB_HISTORY_YEDEK\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Logical-1] SQL&gt; select table_name from dba_tables where owner='TEST';\r\n\r\nTABLE_NAME\r\n------------------------------\r\nREGIONS_YEDEK\r\nEMPLOYEES_YEDEK\r\nLOCATIONS_YEDEK\r\nDEPARTMENTS_YEDEK\r\nJOB_HISTORY_YEDEK\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Primary-1] SQL&gt; drop table test.JOB_HISTORY_YEDEK;\r\n\r\nTable dropped.\r\n\r\n[Primary-1] SQL&gt; select table_name from dba_tables where owner='TEST';\r\n\r\nTABLE_NAME\r\n------------------------------\r\nEMPLOYEES_YEDEK\r\nLOCATIONS_YEDEK\r\nREGIONS_YEDEK\r\nDEPARTMENTS_YEDEK\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Physical-1] SQL&gt; select table_name from dba_tables where owner='TEST';\r\n\r\nTABLE_NAME\r\n------------------------------\r\nEMPLOYEES_YEDEK\r\nLOCATIONS_YEDEK\r\nREGIONS_YEDEK\r\nDEPARTMENTS_YEDEK\r\n<\/pre>\n<pre class=\"lang:default decode:true \">[Logical-1] SQL&gt; select table_name from dba_tables where owner='TEST';\r\n\r\nTABLE_NAME\r\n------------------------------\r\nREGIONS_YEDEK\r\nEMPLOYEES_YEDEK\r\nLOCATIONS_YEDEK\r\nDEPARTMENTS_YEDEK<\/pre>\n<p>8. The configuration is enabled and it is seen that all changes are back to the settings before the configuration was disabled.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_50895\" class=\"pvc_stats all  \" data-element-id=\"50895\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s article we will learn to Changing Data Protection Mode From SQLPLUS. 1. We learn whether Data Guard Broker is used or not. DGMGRL&gt; show configuration Configuration &#8211; Broker_Configuration Protection Mode: MaxAvailability Databases: primary &#8211; Primary database standby &#8211; Physical standby database logical &#8211; Logical standby database Fast-Start Failover: DISABLED Configuration Status: SUCCESS 2. &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_50895\" class=\"pvc_stats all  \" data-element-id=\"50895\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":484,"featured_media":50896,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-50895","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-mssql"],"aioseo_notices":[],"a3_pvc":{"activated":true,"total_views":61,"today_views":0},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Changing Data Protection Mode From SQLPLUS - Database Tutorials<\/title>\n<meta name=\"description\" content=\"In today&#039;s article we will learn to Change Data Protection Mode From SQLPLUS.1. We learn whether Data Guard Broker is used or not.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changing Data Protection Mode From SQLPLUS - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"In today&#039;s article we will learn to Change Data Protection Mode From SQLPLUS.1. We learn whether Data Guard Broker is used or not.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-20T18:27:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-20T18:36:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png\" \/>\n\t<meta property=\"og:image:width\" content=\"682\" \/>\n\t<meta property=\"og:image:height\" content=\"373\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Onur ARDAHANLI\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Onur ARDAHANLI\" \/>\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:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/\"},\"author\":{\"name\":\"Onur ARDAHANLI\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/7fcd466cd0d347ec64aaa48f18f780c6\"},\"headline\":\"Changing Data Protection Mode From SQLPLUS\",\"datePublished\":\"2022-06-20T18:27:04+00:00\",\"dateModified\":\"2022-06-20T18:36:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/\"},\"wordCount\":180,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png\",\"articleSection\":[\"MSSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/\",\"name\":\"Changing Data Protection Mode From SQLPLUS - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png\",\"datePublished\":\"2022-06-20T18:27:04+00:00\",\"dateModified\":\"2022-06-20T18:36:58+00:00\",\"description\":\"In today's article we will learn to Change Data Protection Mode From SQLPLUS.1. We learn whether Data Guard Broker is used or not.\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png\",\"width\":682,\"height\":373},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Changing Data Protection Mode From SQLPLUS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/7fcd466cd0d347ec64aaa48f18f780c6\",\"name\":\"Onur ARDAHANLI\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ecd20c3e1374ced4e1aefc82101cce4cd437be8fd957d1be3d106668b8a1b990?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ecd20c3e1374ced4e1aefc82101cce4cd437be8fd957d1be3d106668b8a1b990?s=96&d=mm&r=g\",\"caption\":\"Onur ARDAHANLI\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/onurardahanli\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Changing Data Protection Mode From SQLPLUS - Database Tutorials","description":"In today's article we will learn to Change Data Protection Mode From SQLPLUS.1. We learn whether Data Guard Broker is used or not.","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:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/","og_locale":"en_US","og_type":"article","og_title":"Changing Data Protection Mode From SQLPLUS - Database Tutorials","og_description":"In today's article we will learn to Change Data Protection Mode From SQLPLUS.1. We learn whether Data Guard Broker is used or not.","og_url":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/","og_site_name":"Database Tutorials","article_published_time":"2022-06-20T18:27:04+00:00","article_modified_time":"2022-06-20T18:36:58+00:00","og_image":[{"width":682,"height":373,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png","type":"image\/png"}],"author":"Onur ARDAHANLI","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Onur ARDAHANLI","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/"},"author":{"name":"Onur ARDAHANLI","@id":"https:\/\/dbtut.com\/#\/schema\/person\/7fcd466cd0d347ec64aaa48f18f780c6"},"headline":"Changing Data Protection Mode From SQLPLUS","datePublished":"2022-06-20T18:27:04+00:00","dateModified":"2022-06-20T18:36:58+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/"},"wordCount":180,"commentCount":0,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png","articleSection":["MSSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/","url":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/","name":"Changing Data Protection Mode From SQLPLUS - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png","datePublished":"2022-06-20T18:27:04+00:00","dateModified":"2022-06-20T18:36:58+00:00","description":"In today's article we will learn to Change Data Protection Mode From SQLPLUS.1. We learn whether Data Guard Broker is used or not.","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2022\/06\/Ekran-goruntusu-2022-06-20-212507.png","width":682,"height":373},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2022\/06\/20\/change-data-protection-mode-from-sqlplus\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"Changing Data Protection Mode From SQLPLUS"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/7fcd466cd0d347ec64aaa48f18f780c6","name":"Onur ARDAHANLI","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ecd20c3e1374ced4e1aefc82101cce4cd437be8fd957d1be3d106668b8a1b990?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ecd20c3e1374ced4e1aefc82101cce4cd437be8fd957d1be3d106668b8a1b990?s=96&d=mm&r=g","caption":"Onur ARDAHANLI"},"url":"https:\/\/dbtut.com\/index.php\/author\/onurardahanli\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/50895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/484"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=50895"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/50895\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/50896"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=50895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=50895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=50895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}