{"id":10248,"date":"2017-06-15T15:15:16","date_gmt":"2017-06-15T13:15:16","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/"},"modified":"2017-06-15T15:15:16","modified_gmt":"2017-06-15T13:15:16","slug":"12c-nssn-process-for-data-guard-sync-transport","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/","title":{"rendered":"12c NSSn process for Data Guard SYNC transport"},"content":{"rendered":"<h2>By Franck Pachot<\/h2>\n<p>.<br \/>\nIn a previous post <a href=\"https:\/\/www.dbi-services.com\/blog\/dataguard-wait-events-have-changed-in-12c\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.dbi-services.com\/blog\/dataguard-wait-events-have-changed-in-12c\/<\/a> I mentioned the new processes NSA for ASYNC transport and NSS for SYNC transport. I&#8217;m answering a bit late to a comment about the number of processes: yes there is one NSSn process per LOG_ARCHIVE_DEST_n destination in SYNC and the numbers match.<br \/>\n<!--more--><\/p>\n<p>Here is my configuration with two physical standby:<\/p>\n<pre><code>DGMGRL&gt; show configuration\n&nbsp;\nConfiguration - orcl\n&nbsp;\n  Protection Mode: MaxPerformance\n  Members:\n  orcla - Primary database\n    orclb - Physical standby database\n    orclc - Physical standby database\n&nbsp;\nFast-Start Failover: DISABLED\n&nbsp;\nConfiguration Status:\nSUCCESS   (status updated 56 seconds ago)<\/code><\/pre>\n<p>Both are in SYNC:<\/p>\n<pre><code>DGMGRL&gt; show database orclb logxptmode;\n  LogXptMode = 'sync'\nDGMGRL&gt; show database orclc logxptmode;\n  LogXptMode = 'sync'<\/code><\/pre>\n<p>I can see two NSS processes:<\/p>\n<pre><code>DGMGRL&gt; host ps -edf | grep --color=auto ora_nss[0-9]\nExecuting operating system command(s):\" ps -edf | grep --color=auto ora_nss[0-9]\"\noracle    4952     1  0 16:05 ?        00:00:00 ora_nss3_ORCLA\noracle    5322     1  0 16:17 ?        00:00:00 ora_nss2_ORCLA<\/code><\/pre>\n<p>Here are the two log archive dest:<\/p>\n<pre><code>SQL&gt; select name,value from v$parameter where regexp_like(name,'^log_archive_dest_[23]$');\nNAME                VALUE                                                                                                                                                                     \n----                -----\nlog_archive_dest_2  service=\"ORCLB\", SYNC AFFIRM delay=0 optional compression=disable max_failure=0 max_connections=1 reopen=300 db_unique_name=\"orclb\" net_timeout=30, valid_for=(online_logfile,all_roles)\nlog_archive_dest_3  service=\"ORCLC\", SYNC AFFIRM delay=0 optional compression=disable max_failure=0 max_connections=1 reopen=300 db_unique_name=\"orclc\" net_timeout=30, valid_for=(online_logfile,all_roles)<\/code><\/pre>\n<p>I set the 3rd one in ASYNC:<\/p>\n<pre><code>DGMGRL&gt; edit database orclc set property logxptmode=ASYNC;\nProperty \"logxptmode\" updated<\/code><\/pre>\n<p>The NSS3 has stopped:<\/p>\n<pre><code>DGMGRL&gt; host ps -edf | grep --color=auto ora_nss[0-9]\nExecuting operating system command(s):\" ps -edf | grep --color=auto ora_nss[0-9]\"\noracle    5322     1  0 16:17 ?        00:00:00 ora_nss2_ORCLA<\/code><\/pre>\n<p>I set the 2nd destination to ASYNC:<\/p>\n<pre><code>DGMGRL&gt; edit database orclb set property logxptmode=ASYNC;\nProperty \"logxptmode\" updated<\/code><\/pre>\n<p>The NSS2 has stopped:<\/p>\n<pre><code>DGMGRL&gt; host ps -edf | grep --color=auto ora_nss[0-9]\nExecuting operating system command(s):\" ps -edf | grep --color=auto ora_nss[0-9]\"<\/code><\/pre>\n<p>Now starting the 3rd destination first:<\/p>\n<pre><code>DGMGRL&gt; edit database orclc set property logxptmode=SYNC;\nProperty \"logxptmode\" updated<\/code><\/pre>\n<p>I can see that nss3 has started as it is the log_archive_dest_3  which is in SYNC now:<\/p>\n<pre><code>DGMGRL&gt; host ps -edf | grep --color=auto ora_nss[0-9]\nExecuting operating system command(s):\" ps -edf | grep --color=auto ora_nss[0-9]\"\noracle    5368     1  0 16:20 ?        00:00:00 ora_nss3_ORCLA<\/code><\/pre>\n<p>Then starting the second one:<\/p>\n<pre><code>DGMGRL&gt; edit database orclb set property logxptmode=SYNC;\nProperty \"logxptmode\" updated<\/code><\/pre>\n<p>Here are the two processes:<\/p>\n<pre><code>\nDGMGRL&gt; host ps -edf | grep --color=auto ora_nss[0-9]\nExecuting operating system command(s):\" ps -edf | grep --color=auto ora_nss[0-9]\"\noracle    5368     1  0 16:20 ?        00:00:00 ora_nss3_ORCLA\noracle    5393     1  0 16:20 ?        00:00:00 ora_nss2_ORCLA<\/code><\/pre>\n<p>So if you see some SYNC Remote Write events in ASH, look at the program name to know which destination it is.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Franck Pachot . In a previous post https:\/\/www.dbi-services.com\/blog\/dataguard-wait-events-have-changed-in-12c\/ I mentioned the new processes NSA for ASYNC transport and NSS for SYNC transport. I&#8217;m answering a bit late to a comment about the number of processes: yes there is one NSSn process per LOG_ARCHIVE_DEST_n destination in SYNC and the numbers match.<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[198],"tags":[1122,221,96,209],"type_dbi":[],"class_list":["post-10248","post","type-post","status-publish","format-standard","hentry","category-database-management","tag-data-gard","tag-data-guard","tag-oracle","tag-oracle-12c"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>12c NSSn process for Data Guard SYNC transport - 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\/12c-nssn-process-for-data-guard-sync-transport\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"12c NSSn process for Data Guard SYNC transport\" \/>\n<meta property=\"og:description\" content=\"By Franck Pachot . In a previous post https:\/\/www.dbi-services.com\/blog\/dataguard-wait-events-have-changed-in-12c\/ I mentioned the new processes NSA for ASYNC transport and NSS for SYNC transport. I&#8217;m answering a bit late to a comment about the number of processes: yes there is one NSSn process per LOG_ARCHIVE_DEST_n destination in SYNC and the numbers match.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-15T13:15:16+00:00\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 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\/12c-nssn-process-for-data-guard-sync-transport\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"12c NSSn process for Data Guard SYNC transport\",\"datePublished\":\"2017-06-15T13:15:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/\"},\"wordCount\":172,\"commentCount\":0,\"keywords\":[\"Data Gard\",\"Data Guard\",\"Oracle\",\"Oracle 12c\"],\"articleSection\":[\"Database management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/\",\"name\":\"12c NSSn process for Data Guard SYNC transport - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2017-06-15T13:15:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"12c NSSn process for Data Guard SYNC transport\"}]},{\"@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\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"12c NSSn process for Data Guard SYNC transport - 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\/12c-nssn-process-for-data-guard-sync-transport\/","og_locale":"en_US","og_type":"article","og_title":"12c NSSn process for Data Guard SYNC transport","og_description":"By Franck Pachot . In a previous post https:\/\/www.dbi-services.com\/blog\/dataguard-wait-events-have-changed-in-12c\/ I mentioned the new processes NSA for ASYNC transport and NSS for SYNC transport. I&#8217;m answering a bit late to a comment about the number of processes: yes there is one NSSn process per LOG_ARCHIVE_DEST_n destination in SYNC and the numbers match.","og_url":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/","og_site_name":"dbi Blog","article_published_time":"2017-06-15T13:15:16+00:00","author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"12c NSSn process for Data Guard SYNC transport","datePublished":"2017-06-15T13:15:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/"},"wordCount":172,"commentCount":0,"keywords":["Data Gard","Data Guard","Oracle","Oracle 12c"],"articleSection":["Database management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/","url":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/","name":"12c NSSn process for Data Guard SYNC transport - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2017-06-15T13:15:16+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/12c-nssn-process-for-data-guard-sync-transport\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"12c NSSn process for Data Guard SYNC transport"}]},{"@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\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/10248","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\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=10248"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/10248\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=10248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=10248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=10248"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=10248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}