{"id":660,"date":"2023-11-22T00:36:36","date_gmt":"2023-11-22T00:36:36","guid":{"rendered":"https:\/\/test.samplewebsitelink.com\/ordba\/?p=660"},"modified":"2023-11-22T00:36:37","modified_gmt":"2023-11-22T00:36:37","slug":"tutorial-configure-replication-between-two-fully-connected-servers-transactional","status":"publish","type":"post","link":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/","title":{"rendered":"Tutorial: Configure replication between two fully connected servers (transactional)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Applies to:<\/strong>&nbsp;SQL Server (all supported versions)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Transactional replication is a good solution to the problem of moving data between continuously connected servers. By using the Replication Wizard, you can easily configure and administer a replication topology.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This tutorial shows you how to configure a transactional replication topology for continuously connected servers. For more information about how transactional replication works, see the&nbsp; overview of transactional replication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What you will learn<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This tutorial teaches you to publish data from one database to another by using transactional replication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this tutorial, you will learn how to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a publisher via transactional replication.<\/li>\n\n\n\n<li>Create a subscriber for the transactional publisher.<\/li>\n\n\n\n<li>Validate the subscription and measure latency.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prerequisites<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This tutorial is for users who are familiar with basic database operations, but who have limited experience with replication. Before you start this tutorial, you must complete&nbsp;Tutorial: Prepare SQL Server for replication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To complete this tutorial, you need SQL Server, SQL Server Management Studio (SSMS), and an AdventureWorks database:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>At the publisher server (source), install:\n<ul class=\"wp-block-list\">\n<li>Any edition of SQL Server, except SQL Server Express or SQL Server Compact. These editions cannot be replication publishers.<\/li>\n\n\n\n<li>&nbsp;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>At the subscriber server (destination), install any edition of SQL Server, except SQL Server Compact. SQL Server Compact cannot be a subscriber in transactional replication.<\/li>\n\n\n\n<li>SQL Server Management Studio.<\/li>\n\n\n\n<li>SQL Server 2017 Developer edition.<\/li>\n\n\n\n<li>Download the&nbsp;AdventureWorks sample database. For instructions on restoring a database in SSMS, see&nbsp;Restoring a database.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&nbsp;Note<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Replication is not supported on SQL Server instances that are more than two versions apart. For more information, see&nbsp;<strong>Supported SQL Server Versions in Replication Topology.<\/strong><\/li>\n\n\n\n<li>In SQL Server Management Studio, you must connect to the publisher and subscriber by using a login that is a member of the&nbsp;<strong>sysadmin<\/strong>&nbsp;fixed server role. For more information on this role, see&nbsp;<strong>Server-level roles.<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Estimated time to complete this tutorial: 60 minutes<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Configure the publisher for transactional replication<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this section, you create a transactional publication by using SQL Server Management Studio to publish a filtered subset of the&nbsp;<strong>Product<\/strong>&nbsp;table in the&nbsp;<strong>AdventureWorks2012<\/strong>&nbsp;sample database. You also add the SQL Server login used by the Distribution Agent to the publication access list (PAL).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Create a publication and define articles<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect to the publisher in SQL Server Management Studio, and then expand the server node.<\/li>\n\n\n\n<li>Expand the&nbsp;<strong>Replication<\/strong>&nbsp;folder, right-click the&nbsp;<strong>Local Publications<\/strong>&nbsp;folder, and select&nbsp;<strong>New Publication<\/strong>. This step starts the New Publication Wizard:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Link to PDF :&nbsp;<a href=\"https:\/\/ordba.net\/pdf\/configure-transactional-replication-between-two-fully-connected-servers.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Diagnose and resolve latch contention on SQL Server<\/a><\/strong>&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Applies to:&nbsp;SQL Server (all supported versions) Transactional replication is a good solution to the problem of moving data between continuously connected servers. By using the Replication Wizard, you can easily configure and administer a replication topology. This tutorial shows you how to configure a transactional replication topology for continuously connected servers. For more information about &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/\"> <span class=\"screen-reader-text\">Tutorial: Configure replication between two fully connected servers (transactional)<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":661,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[11],"tags":[],"class_list":["post-660","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sql-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tutorial: Configure replication between two fully connected servers (transactional) - Ordba<\/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:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tutorial: Configure replication between two fully connected servers (transactional) - Ordba\" \/>\n<meta property=\"og:description\" content=\"Applies to:&nbsp;SQL Server (all supported versions) Transactional replication is a good solution to the problem of moving data between continuously connected servers. By using the Replication Wizard, you can easily configure and administer a replication topology. This tutorial shows you how to configure a transactional replication topology for continuously connected servers. For more information about &hellip; Tutorial: Configure replication between two fully connected servers (transactional) Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/\" \/>\n<meta property=\"og:site_name\" content=\"Ordba\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-22T00:36:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-22T00:36:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/test.samplewebsitelink.com\/ordba\/wp-content\/uploads\/2023\/11\/server-mobile-clients-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"815\" \/>\n\t<meta property=\"og:image:height\" content=\"508\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"ordba\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ordba\" \/>\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:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/\",\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/\",\"name\":\"Tutorial: Configure replication between two fully connected servers (transactional) - Ordba\",\"isPartOf\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#website\"},\"datePublished\":\"2023-11-22T00:36:36+00:00\",\"dateModified\":\"2023-11-22T00:36:37+00:00\",\"author\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f\"},\"breadcrumb\":{\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.samplewebsitelink.com\/ordba\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorial: Configure replication between two fully connected servers (transactional)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#website\",\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/\",\"name\":\"Ordba\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.samplewebsitelink.com\/ordba\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f\",\"name\":\"ordba\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g\",\"caption\":\"ordba\"},\"sameAs\":[\"https:\/\/test.samplewebsitelink.com\/ordba\"],\"url\":\"https:\/\/test.samplewebsitelink.com\/ordba\/author\/ordba\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tutorial: Configure replication between two fully connected servers (transactional) - Ordba","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:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/","og_locale":"en_US","og_type":"article","og_title":"Tutorial: Configure replication between two fully connected servers (transactional) - Ordba","og_description":"Applies to:&nbsp;SQL Server (all supported versions) Transactional replication is a good solution to the problem of moving data between continuously connected servers. By using the Replication Wizard, you can easily configure and administer a replication topology. This tutorial shows you how to configure a transactional replication topology for continuously connected servers. For more information about &hellip; Tutorial: Configure replication between two fully connected servers (transactional) Read More &raquo;","og_url":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/","og_site_name":"Ordba","article_published_time":"2023-11-22T00:36:36+00:00","article_modified_time":"2023-11-22T00:36:37+00:00","og_image":[{"width":815,"height":508,"url":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-content\/uploads\/2023\/11\/server-mobile-clients-1.jpg","type":"image\/jpeg"}],"author":"ordba","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ordba","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/","url":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/","name":"Tutorial: Configure replication between two fully connected servers (transactional) - Ordba","isPartOf":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#website"},"datePublished":"2023-11-22T00:36:36+00:00","dateModified":"2023-11-22T00:36:37+00:00","author":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f"},"breadcrumb":{"@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/2023\/11\/22\/tutorial-configure-replication-between-two-fully-connected-servers-transactional\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.samplewebsitelink.com\/ordba\/"},{"@type":"ListItem","position":2,"name":"Tutorial: Configure replication between two fully connected servers (transactional)"}]},{"@type":"WebSite","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#website","url":"https:\/\/test.samplewebsitelink.com\/ordba\/","name":"Ordba","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.samplewebsitelink.com\/ordba\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/7365beabb32b7aa77cf0e890ee90ea0f","name":"ordba","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.samplewebsitelink.com\/ordba\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dd4335bb4e225c36ce7c56a0aff84bb202ebb523ebdc5d1e1a11cc3f3e6085f3?s=96&d=mm&r=g","caption":"ordba"},"sameAs":["https:\/\/test.samplewebsitelink.com\/ordba"],"url":"https:\/\/test.samplewebsitelink.com\/ordba\/author\/ordba\/"}]}},"_links":{"self":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/comments?post=660"}],"version-history":[{"count":1,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/660\/revisions"}],"predecessor-version":[{"id":662,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/posts\/660\/revisions\/662"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/media\/661"}],"wp:attachment":[{"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/media?parent=660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/categories?post=660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.samplewebsitelink.com\/ordba\/wp-json\/wp\/v2\/tags?post=660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}