{"id":35115,"date":"2018-10-09T09:25:19","date_gmt":"2018-10-09T16:25:19","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=35115"},"modified":"2023-08-11T09:56:02","modified_gmt":"2023-08-11T16:56:02","slug":"how-to-for-replication","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/","title":{"rendered":"How To for Replication"},"content":{"rendered":"<p>Replication is a great way to copy tables\/data from one server to another so you can do reporting on the second server. Within replication tables, stored procedure, functions, views, and indexed views are called articles but in this blog tables and articles mean the same thing. SQL Server Standard edition will work with most features of replication. Refer to Microsoft editions and supported features to determine which edition is required to fit your needs. With transactional replication, you can create separate indexes on the destination table that do not exist on the primary table. Indexes that exist on the primary table do not have to be replicated to the destination.<\/p>\n<p>However, there may be a time where you need to deploy new code to your environment that is running transactional or snapshot replication. You will be required to do certain steps before deploying your code\/table changes. If you use the designer within SSMS, in order to perform those changes against tables that are being replicated, you need to stop replicating those tables, make your change, then add them back. If you do not do this, replication will stop working and the data in those tables will no longer be sent to the destination server. If you use the alter table statements, those changes will replicate over with no additional steps on your part. You may be wondering why would I bother taking an article out of replication if my schema changes will replicate over as well as all of my data changes. If you change millions and millions of records after making the schema change, you might think about removing that table then adding it back. All those updates will be pushed to the subscriber and replication could break due to the amount of data that is being sent. Sometimes the server that holds the distribution database or the subscriber database can&#8217;t handle the amount of records that were sent, due to millions and millions of records being updated. When you look at the replication monitor, the estimated time to apply these commands, based on past performance in the undistributed commands tab for the subscriber may never change or keep increasing as the number of commands increase. The only way to fix this is to find the table that was changed, remove it out of replication then add it back or re-do the whole publication\/subscription.<\/p>\n<p>These steps can be followed for both snapshot and transactional (push or pull) replication. With snapshot replication, it can be set up as a manual process or scheduled job. If it is a manual process, you will have to kick off the job that replicates the snapshot to the destination. If it is a scheduled job, you can still kick off that job in order to see those changes right away or you will have to wait until the job kicks off during its normal schedule.<\/p>\n<h2>How to Stop Replication on select article(s)<\/h2>\n<p>If you want to stop replication on certain articles follow these steps.<\/p>\n<ol>\n<li>Open <strong>SSMS<\/strong>, connect to the instance that is running the publication (source) that you want to remove articles from replication.<\/li>\n<li>Expand <strong>Replication<\/strong>, then <strong>Local Publications<\/strong>. Look for the publication you want to stop replicating those articles. Right click on the publication and click <strong>Properties<\/strong>.<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-1.jpg\" alt=\"How TO for replication\" width=\"400\" height=\"702\" class=\"alignnone size-full wp-image-35117\"><\/p>\n<li>Click on <strong>Articles<\/strong> and check <strong>Show only checked articles in the list.<\/strong><\/li>\n<ul>\n<li>Uncheck the article(s) you no longer want to replicate.<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-2.jpg\" alt=\"How TO for replication\" width=\"988\" height=\"265\" class=\"alignnone size-full wp-image-35118\"><\/p>\n<li>If a warning pops up, click Yes.<\/li>\n<p>&#8211;<strong>Please Note<\/strong> this will cause your snapshot to be invalid. So a new one will have to be created and this can cause the article to be locked until the data is BCP&#8217;ed out (copied to a file on the drive). This does not take that long. However, the re-loading of those articles into the subscription may take time since the new article(s) will have to be reloaded.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-3.jpg\" alt=\"How TO for replication\" width=\"615\" height=\"161\" class=\"alignnone size-full wp-image-35119\"><\/p>\n<li>If you see this pop-up, click <strong>Mark For Reinitialization.<\/strong><\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-4.jpg\" alt=\"How TO for replication\" width=\"564\" height=\"230\" class=\"alignnone size-full wp-image-35120\"><\/p>\n<p>-This will cause the subscriber to be reinitialized.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-5.jpg\" alt=\"How TO for replication\" width=\"598\" height=\"275\" class=\"alignnone size-full wp-image-35121\"><\/p>\n<li>Click <strong>OK<\/strong>.<\/li>\n<li>This does NOT delete the article from the subscriber (destination). So, any new records that are added to the source table do NOT get replicated to the subscriber.<\/li>\n<\/ul>\n<li>Verify changes.<\/li>\n<\/ol>\n<h2>How to Restart Replication on articles after a schema change<\/h2>\n<p>If you stop replication (remove the article from the publication) for a table you want to make schema changes to and then you want to add it back into replication, follow these steps. Again if Alter table is used this is not necessary but if you are modifying millions of records it might be a better approach to do this then add it back.<\/p>\n<ol>\n<li>Open <strong>SSMS<\/strong>, connect to the instance that is running the publication (source) and the source where you made schema changes to.<\/li>\n<li>Add the article back into replication.<\/li>\n<li>If the article(s) existed on the subscriber, no need to delete these article(s) first.<\/li>\n<li>Expand <strong>Replication<\/strong>, then <strong>Local Publications<\/strong>. Look for the publication from which you want to stop replicating those articles. Right click on the publication and click <strong>Properties<\/strong>.<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-6.jpg\" alt=\"How TO for replication\" width=\"400\" height=\"702\" class=\"alignnone size-full wp-image-35122\"><\/p>\n<li>Click on <strong>Articles<\/strong> and <em>uncheck<\/em> <strong>Show only checked articles in the list.<\/strong><\/li>\n<ul>\n<li>If you see a red circle with a line through it, that means the article does NOT have a primary key and you need to add one. Close the window and create a new primary key.<\/li>\n<p>-Example: <code>alter table Table_1 add primary key (Test)<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-7.jpg\" alt=\"How TO for replication\" width=\"993\" height=\"295\" class=\"alignnone size-full wp-image-35123\"><\/p>\n<li>Go back into the properties for the publication (steps 3-4 from above)<\/li>\n<p>-Check the article(s) you want to add to replication.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-8.jpg\" alt=\"How TO for replication\" width=\"992\" height=\"263\" class=\"alignnone size-full wp-image-35124\"><\/p>\n<p>-Click OK.<\/ul>\n<li>Right click on the publication you want to push the new article(s) you just added to the publication. Click on <strong>View Snapshot Agent Status.<\/strong><\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-9.jpg\" alt=\"How TO for replication\" width=\"342\" height=\"336\" class=\"alignnone size-full wp-image-35125\"><\/p>\n<li>Click on <strong>Start<\/strong> to start the snapshot.<\/li>\n<ul>\n<li><strong>Please Note<\/strong> a new snapshot will have to be created and this can cause article(s) to be locked until the data is BCP\u2019ed out (copied to a file on the drive). This does not take that long.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-10.jpg\" alt=\"How TO for replication\" width=\"595\" height=\"284\" class=\"alignnone size-full wp-image-35126\"><\/p>\n<li>After a short time, the new article(s) will be synced to the subscriber without initializing all previously synched articles with transactional replication. With snapshot replication, all tables will be refreshed so the create date(s) will be the same.<\/li>\n<li>Verify changes.<\/li>\n<\/ol>\n<h2>How to add a new article to the existing Publication<\/h2>\n<p>If you create a new table and want to add it to the existing publication, follow these steps:<\/p>\n<ol>\n<li>Open <strong>SSMS<\/strong>, connect to the instance that is running the publication (source) that you want to add article(s) to replication.<\/li>\n<li>Verify that the table you want to add exists with a Primary Key.<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-12.jpg\" alt=\"img\" width=\"252\" height=\"325\" class=\"alignnone size-full wp-image-35130\"><\/p>\n<li>Expand <strong>Replication<\/strong>, then <strong>Local Publications<\/strong>. Look for the publication you want to add those articles to replication. Right click on the publication and click <strong>Properties<\/strong>.<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-13.jpg\" alt=\"How TO for replication\" width=\"400\" height=\"702\" class=\"alignnone size-full wp-image-35131\"><\/p>\n<li>Click on <strong>Articles<\/strong> and <em>uncheck<\/em> <strong>Show only checked articles in the list.<\/strong><\/li>\n<ul>\n<li>If you see a red circle with a line through it, that means the table does NOT have a primary key and you need to add one. Close the window and create a new primary key.<\/li>\n<p>-Example: <code>alter table Table_1 add primary key (Test)<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-14.jpg\" alt=\"How TO for replication\" width=\"993\" height=\"295\" class=\"alignnone size-full wp-image-35132\"><\/p>\n<li>Go back into the properties for the publication (steps 3-4 from above).<\/li>\n<p>-Check the new article(s) you want to add to replication.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-15.jpg\" alt=\"How TO for replication\" width=\"992\" height=\"268\" class=\"alignnone size-full wp-image-35133\"><\/p>\n<p>-Click OK.<\/ul>\n<li>Right click on the publication you want to push the new article(s) you just added to the publication. Click on <strong>View Snapshot Agent Status.<\/strong><\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-16.jpg\" alt=\"How TO for replication\" width=\"342\" height=\"336\" class=\"alignnone size-full wp-image-35134\"><\/p>\n<li>Click on <strong>Start<\/strong> to start the snapshot.<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-17.jpg\" alt=\"How TO for replication\" width=\"597\" height=\"289\" class=\"alignnone size-full wp-image-35135\"><\/p>\n<li>After a short time, the new article(s) will be synced to the subscriber without initializing all previously synched articles.<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-TO-for-replication-18.jpg\" alt=\"How TO for replication\" width=\"580\" height=\"197\" class=\"alignnone size-full wp-image-35136\"><\/p>\n<li>Verify changes.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Replication is a great way to copy tables\/data from one server to another so you can do reporting on the second server. Within replication tables, stored procedure, functions, views, and indexed views are called articles but in this blog tables and articles mean the same thing. SQL Server Standard edition will work with most features [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":35150,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","content-type":"","footnotes":""},"categories":[4166,55],"tags":[4145,3914],"class_list":["post-35115","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-sql-server","tag-sql-server-replication","tag-transnational"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How To for Replication - Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts<\/title>\n<meta name=\"description\" content=\"How To Manage Replication in SQL Server: Learn the steps for stopping and restarting replication on specific articles, adding new articles to an existing publication, and syncing changes with snapshot replication.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To for Replication\" \/>\n<meta property=\"og:description\" content=\"How To Manage Replication in SQL Server: Learn the steps for stopping and restarting replication on specific articles, adding new articles to an existing publication, and syncing changes with snapshot replication.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-09T16:25:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-11T16:56:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"557\" \/>\n\t<meta property=\"og:image:height\" content=\"291\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"XTIVIA\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:site\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"XTIVIA\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/\"},\"author\":{\"name\":\"XTIVIA\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\"},\"headline\":\"How To for Replication\",\"datePublished\":\"2018-10-09T16:25:19+00:00\",\"dateModified\":\"2023-08-11T16:56:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/\"},\"wordCount\":1245,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg\",\"keywords\":[\"sql server replication\",\"Transnational\"],\"articleSection\":[\"Blog\",\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/\",\"name\":\"How To for Replication - Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg\",\"datePublished\":\"2018-10-09T16:25:19+00:00\",\"dateModified\":\"2023-08-11T16:56:02+00:00\",\"description\":\"How To Manage Replication in SQL Server: Learn the steps for stopping and restarting replication on specific articles, adding new articles to an existing publication, and syncing changes with snapshot replication.\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg\",\"width\":557,\"height\":291,\"caption\":\"How To for Replication\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To for Replication\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/virtual-dba.com\/#website\",\"url\":\"https:\/\/virtual-dba.com\/\",\"name\":\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"description\":\"Remote Database Administration\",\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/virtual-dba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/virtual-dba.com\/#organization\",\"name\":\"Virtual-DBA: Remote DBA | Remote Database Administration\",\"alternateName\":\"Virtual-DBA powered by XTIVIA\",\"url\":\"https:\/\/virtual-dba.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"width\":557,\"height\":291,\"caption\":\"Virtual-DBA: Remote DBA | Remote Database Administration\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/virtual_dba\",\"https:\/\/www.linkedin.com\/showcase\/36220649\/\",\"https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg\"],\"description\":\"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.\",\"email\":\"info@xtivia.com\",\"telephone\":\"8886853101\",\"legalName\":\"XTIVIA, Inc\",\"foundingDate\":\"1992-05-01\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"201\",\"maxValue\":\"500\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\",\"name\":\"XTIVIA\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"caption\":\"XTIVIA\"},\"url\":\"https:\/\/virtual-dba.com\/author\/xtivia\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To for Replication - Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"How To Manage Replication in SQL Server: Learn the steps for stopping and restarting replication on specific articles, adding new articles to an existing publication, and syncing changes with snapshot replication.","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:\/\/virtual-dba.com\/blog\/how-to-for-replication\/","og_locale":"en_US","og_type":"article","og_title":"How To for Replication","og_description":"How To Manage Replication in SQL Server: Learn the steps for stopping and restarting replication on specific articles, adding new articles to an existing publication, and syncing changes with snapshot replication.","og_url":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2018-10-09T16:25:19+00:00","article_modified_time":"2023-08-11T16:56:02+00:00","og_image":[{"width":557,"height":291,"url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg","type":"image\/jpeg"}],"author":"XTIVIA","twitter_card":"summary_large_image","twitter_creator":"@virtual_dba","twitter_site":"@virtual_dba","twitter_misc":{"Written by":"XTIVIA","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/"},"author":{"name":"XTIVIA","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1"},"headline":"How To for Replication","datePublished":"2018-10-09T16:25:19+00:00","dateModified":"2023-08-11T16:56:02+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/"},"wordCount":1245,"commentCount":0,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg","keywords":["sql server replication","Transnational"],"articleSection":["Blog","SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/","url":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/","name":"How To for Replication - Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg","datePublished":"2018-10-09T16:25:19+00:00","dateModified":"2023-08-11T16:56:02+00:00","description":"How To Manage Replication in SQL Server: Learn the steps for stopping and restarting replication on specific articles, adding new articles to an existing publication, and syncing changes with snapshot replication.","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/How-To-for-Replication.jpg","width":557,"height":291,"caption":"How To for Replication"},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/how-to-for-replication\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"How To for Replication"}]},{"@type":"WebSite","@id":"https:\/\/virtual-dba.com\/#website","url":"https:\/\/virtual-dba.com\/","name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"Remote Database Administration","publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/virtual-dba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/virtual-dba.com\/#organization","name":"Virtual-DBA: Remote DBA | Remote Database Administration","alternateName":"Virtual-DBA powered by XTIVIA","url":"https:\/\/virtual-dba.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","width":557,"height":291,"caption":"Virtual-DBA: Remote DBA | Remote Database Administration"},"image":{"@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/virtual_dba","https:\/\/www.linkedin.com\/showcase\/36220649\/","https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg"],"description":"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.","email":"info@xtivia.com","telephone":"8886853101","legalName":"XTIVIA, Inc","foundingDate":"1992-05-01","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"201","maxValue":"500"}},{"@type":"Person","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1","name":"XTIVIA","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","caption":"XTIVIA"},"url":"https:\/\/virtual-dba.com\/author\/xtivia\/"}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/35115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/comments?post=35115"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/35115\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media\/35150"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=35115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=35115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=35115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}