{"id":1135,"date":"2007-11-05T19:45:16","date_gmt":"2007-11-05T19:45:16","guid":{"rendered":"\/blogs\/paul\/post\/Conference-Questions-Pot-Pourri-2-Database-mirroring.aspx"},"modified":"2017-07-17T08:50:00","modified_gmt":"2017-07-17T15:50:00","slug":"conference-questions-pot-pourri-2-database-mirroring","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/","title":{"rendered":"Conference Questions Pot-Pourri #2: Database mirroring"},"content":{"rendered":"<p style=\"text-align: justify;\">Sitting here in our Disaster Recovery class at SQL Connections and Kimberly&#8217;s on till lunch so I&#8217;m banging out a quick blog post covering the database mirroring (DBM) specific questions.<\/p>\n<p><strong>Q1) Can I use IP addresses instead of server names when using the DBM Monitor?<\/strong><\/p>\n<p><strong>A1)<\/strong> Unfortunately not.<\/p>\n<p style=\"text-align: justify;\"><strong>Q2) Is there any in-built throttling mechanism in DBM to allow the mirror to catch-up when synchronizing a synchronous mirroring session?<\/strong><\/p>\n<p style=\"text-align: justify;\"><strong>A2)<\/strong> Yes, if there&#8217;s more than 1MB of transaction log on the principal that hasn&#8217;t been sent to the mirror, the mirroring session state will be switched from <em>SYNCHRONIZED<\/em> to <em>SYNCHRONIZING<\/em> and the principal itself will start adding a few milliseconds delay to transaction commits until the amount of unsent log drops below 1MB<\/p>\n<p><strong>Q3) Are there any tips when setting up a mirroring session using backups?<\/strong><\/p>\n<p style=\"text-align: justify;\"><strong>A3)<\/strong> Yes, make sure that all the backups are restored <em>WITH NORECOVERY<\/em> on the mirror. The database has to be unrecovered otherwise the mirroring session cannot start and you&#8217;re back to square one with restoring the mirror database.<\/p>\n<p style=\"text-align: justify;\"><strong>Q4) What are the performance considerations with DBM &#8211; both in terms of the impact on the application workload and on DBM itself?<\/strong><\/p>\n<p><strong>A4) <\/strong>Here are some links to resources that discuss this:<\/p>\n<ul>\n<li>Whitepaper: <a href=\"https:\/\/technet.microsoft.com\/library\/Cc917681\" target=\"new\">Database Mirroring: Best Practices and Performance Considerations<\/a><\/li>\n<li>Whitepaper: <a href=\"https:\/\/technet.microsoft.com\/library\/Cc966392\" target=\"new\">Database Mirroring: Alerting on Database Mirroring Events<\/a><\/li>\n<li>MSDN webcast &#8211; look at Sessions 8 and 9: <a href=\"http:\/\/www.sqlskills.com\/blogs\/kimberly\/technet-webcast-series-for-the-itpro-series-links\/\">TechNet Webcast Series for the ITPro &#8211; Series Links<\/a><\/li>\n<\/ul>\n<p><strong>Q5) Any other resources?<\/strong><\/p>\n<p><strong>A5) <\/strong>Blog posts&#8230;<\/p>\n<ul>\n<li><a href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-automatic-page-repair-with-database-mirroring\/\">SQL Server 2008: Automatic Page Repair with Database Mirroring<\/a><\/li>\n<li><a href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/search-engine-qa-2-moving-a-database-while-database-mirroring-is-running\/\">Search Engine Q&amp;A #2: Moving a database while Database Mirroring is running<\/a><\/li>\n<li><a href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-new-performance-counters-for-database-mirroring\/\">SQL Server 2008: New Performance Counters for Database Mirroring<\/a><\/li>\n<li><a href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/search-engine-qa-3-database-mirroring-failover-types-and-partner-timeouts\/\">Search Engine Q&amp;A #3: Database mirroring failover types and partner timeouts<\/a><\/li>\n<li><a href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-performance-boost-for-database-mirroring\/\">SQL Server 2008: Performance boost for Database Mirroring<\/a><\/li>\n<li><a href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/more-on-database-mirroring-performance-and-index-maintenance\/\">More on Database Mirroring performance and index maintenance<\/a><\/li>\n<li><a href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/search-engine-qa-8-how-can-defragging-an-index-break-synchronous-mirroring-and-what-happens\/\">Search Engine Q&amp;A #8: How can defragging an index break synchronous mirroring? And what happens?<\/a><\/li>\n<\/ul>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sitting here in our Disaster Recovery class at SQL Connections and Kimberly&#8217;s on till lunch so I&#8217;m banging out a quick blog post covering the database mirroring (DBM) specific questions. Q1) Can I use IP addresses instead of server names when using the DBM Monitor? A1) Unfortunately not. Q2) Is there any in-built throttling mechanism [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,32],"tags":[],"class_list":["post-1135","post","type-post","status-publish","format-standard","hentry","category-conference-questions-pot-pourri","category-database-mirroring"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Conference Questions Pot-Pourri #2: Database mirroring - Paul S. Randal<\/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.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Conference Questions Pot-Pourri #2: Database mirroring - Paul S. Randal\" \/>\n<meta property=\"og:description\" content=\"Sitting here in our Disaster Recovery class at SQL Connections and Kimberly&#8217;s on till lunch so I&#8217;m banging out a quick blog post covering the database mirroring (DBM) specific questions. Q1) Can I use IP addresses instead of server names when using the DBM Monitor? A1) Unfortunately not. Q2) Is there any in-built throttling mechanism [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/\" \/>\n<meta property=\"og:site_name\" content=\"Paul S. Randal\" \/>\n<meta property=\"article:published_time\" content=\"2007-11-05T19:45:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-07-17T15:50:00+00:00\" \/>\n<meta name=\"author\" content=\"Paul Randal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Randal\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/\",\"name\":\"Conference Questions Pot-Pourri #2: Database mirroring - Paul S. Randal\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\"},\"datePublished\":\"2007-11-05T19:45:16+00:00\",\"dateModified\":\"2017-07-17T15:50:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Conference Questions Pot-Pourri #2: Database mirroring\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\",\"name\":\"Paul S. Randal\",\"description\":\"In Recovery...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\",\"name\":\"Paul Randal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"caption\":\"Paul Randal\"},\"sameAs\":[\"http:\/\/3.209.169.194\/blogs\/paul\"],\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Conference Questions Pot-Pourri #2: Database mirroring - Paul S. Randal","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.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/","og_locale":"en_US","og_type":"article","og_title":"Conference Questions Pot-Pourri #2: Database mirroring - Paul S. Randal","og_description":"Sitting here in our Disaster Recovery class at SQL Connections and Kimberly&#8217;s on till lunch so I&#8217;m banging out a quick blog post covering the database mirroring (DBM) specific questions. Q1) Can I use IP addresses instead of server names when using the DBM Monitor? A1) Unfortunately not. Q2) Is there any in-built throttling mechanism [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/","og_site_name":"Paul S. Randal","article_published_time":"2007-11-05T19:45:16+00:00","article_modified_time":"2017-07-17T15:50:00+00:00","author":"Paul Randal","twitter_misc":{"Written by":"Paul Randal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/","name":"Conference Questions Pot-Pourri #2: Database mirroring - Paul S. Randal","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website"},"datePublished":"2007-11-05T19:45:16+00:00","dateModified":"2017-07-17T15:50:00+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/conference-questions-pot-pourri-2-database-mirroring\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/paul\/"},{"@type":"ListItem","position":2,"name":"Conference Questions Pot-Pourri #2: Database mirroring"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/","name":"Paul S. Randal","description":"In Recovery...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce","name":"Paul Randal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","caption":"Paul Randal"},"sameAs":["http:\/\/3.209.169.194\/blogs\/paul"],"url":"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/1135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/comments?post=1135"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/1135\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/media?parent=1135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/categories?post=1135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/tags?post=1135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}