
{"id":5537,"date":"2024-03-27T09:02:24","date_gmt":"2024-03-27T09:02:24","guid":{"rendered":"https:\/\/test.opensource-db.in\/wp1\/?p=5537"},"modified":"2024-03-27T09:02:26","modified_gmt":"2024-03-27T09:02:26","slug":"unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql","status":"publish","type":"post","link":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/","title":{"rendered":"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">PostgreSQL&#8217;s logical replication is handled through publications and subscriptions. Publications define what data to replicate, while subscriptions specify which server receives the updates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Initial synchronization ensures the subscriber has all the data. Common methods include:<\/p>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><em><strong>Snapshot<\/strong>: Copies all data at once. Simple but slow for large datasets.<br><strong>Base Backup and Continuous Archiving<\/strong>: Makes a base copy and then tracks changes. More suitable for large datasets.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, when dealing with massive databases in RDS PostgreSQL, such as those in the terabyte range, using pg_basebackup for base backup might not work due to security restrictions on file systems. pg_basebackup requires deep file system access, which is limited in RDS for security reasons. In such cases, replication needs to be set up using the pg_dump utility instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Before proceeding, ensure the following configuration parameters are set and restart the cluster:<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-code\"><code>max_replication_slots: 10\nmax_wal_senders: 10\ntrack_commit_timestamp: on\nwal_level: logical\n<\/code><\/pre>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Next, create a publication and add tables to it in the source database:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE PUBLICATION lsr_sync_01;\nALTER PUBLICATION lsr_sync_01 ADD TABLE sales_data;\nALTER PUBLICATION lsr_sync_01 ADD TABLE customer_info;\nALTER PUBLICATION lsr_sync_01 ADD TABLE transactions;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Create a replication slot:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To create a replication connection to the database and establish a replication slot, follow these steps:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open a separate terminal session.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep the session active, preferably using a screen session.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Run the following command:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;postgres@primary ~]$ psql -h primary -U repmgr \"dbname=osdb_lsr replication=database\"\npsql (10.23, server 14.10)\nWARNING: psql major version 10, server major version 14.\n         Some psql features might not work.\nType \"help\" for help.\n\nosdb_lsr=# CREATE_REPLICATION_SLOT lsr_sync_01 LOGICAL pgoutput;\n  slot_name  | consistent_point |    snapshot_name    | output_plugin\n-------------+------------------+---------------------+---------------\n lsr_sync_01 | 0\/C000110        | 00000003-00000002-1 | pgoutput\n(1 row)\n\nNow let's proceed with backing up the database using pg_dump.\n\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>pg_dump -h primary -U repmgr -t sales_data -t customer_info -t transactions -Fd -f osdb_lsr_intial_sync -j 2 --no-publications --no-subscriptions --snapshot=00000003-00000002-1 --compress=0 -v osdb_lsr<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Restore the backup on the target for LSR:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pg_restore -h standby -U repmgr -Fd -j 2 -v -d osdb_lsr osdb_lsr_intial_sync<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Create a subscription:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create the subscription on the standby server, referring to the primary database, but keep it in a disabled state.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE SUBSCRIPTION lsr_sync_sub_01 CONNECTION 'host=primary port=5432 dbname=osdb_lsr user=repmgr password=*****' PUBLICATION lsr_sync_01\nWITH (\n  copy_data = false,\n  create_slot = false,\n  enabled = false,\n  connect = true,\n  slot_name = 'lsr_sync_01'\n);\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Advance the replication origin:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Retrieve the external ID from the pg_subscription table and use it to advance the replay position to the consistent point captured during replication slot creation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>standby=# SELECT 'pg_'||oid::text AS \"external_id\" FROM pg_subscription WHERE subname = 'lsr_sync_sub_01';\n external_id\n-------------\n pg_32119\n(1 row)\n\nTake the position of the LSN from the replication slot creation and make it advance to start the replication\n\nstandby=# SELECT pg_replication_origin_advance('pg_32119', '0\/C000110') ;\n pg_replication_origin_advance\n-------------------------------\n \n(1 row)\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Enable the subscription:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ALTER SUBSCRIPTION lsr_sync_sub_01 ENABLE;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Check the replication status:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SELECT * FROM pg_stat_replication;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This series of steps helps to establish logical replication in PostgreSQL, ensuring data synchronization between databases efficiently.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PostgreSQL&#8217;s logical replication is handled through publications and subscriptions. Publications define what data to replicate, while subscriptions specify which server [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":5540,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","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":"default","ast-page-background-enabled":"default","ast-page-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-opacity":"","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-opacity":"","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-opacity":"","overlay-gradient":""}},"ast-content-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-opacity":"","overlay-gradient":""},"tablet":{"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-opacity":"","overlay-gradient":""},"mobile":{"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-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[52,1],"tags":[34,26],"class_list":["post-5537","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customer-success","category-others","tag-dba","tag-postgresql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL - OpenSource DB<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL - OpenSource DB\" \/>\n<meta property=\"og:description\" content=\"PostgreSQL&#8217;s logical replication is handled through publications and subscriptions. Publications define what data to replicate, while subscriptions specify which server [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/\" \/>\n<meta property=\"og:site_name\" content=\"OpenSource DB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/people\/OpenSource-DB\/100072970755470\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-27T09:02:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T09:02:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"945\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Taraka Vuyyuru\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@opensource_db\" \/>\n<meta name=\"twitter:site\" content=\"@opensource_db\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Taraka Vuyyuru\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/\"},\"author\":{\"name\":\"Taraka Vuyyuru\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/55546e9ca9552218b9376d4ecc8447a5\"},\"headline\":\"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL\",\"datePublished\":\"2024-03-27T09:02:24+00:00\",\"dateModified\":\"2024-03-27T09:02:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/\"},\"wordCount\":287,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#organization\"},\"image\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png\",\"keywords\":[\"dba\",\"postgresql\"],\"articleSection\":[\"Customer Success\",\"Others\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/\",\"name\":\"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL - OpenSource DB\",\"isPartOf\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png\",\"datePublished\":\"2024-03-27T09:02:24+00:00\",\"dateModified\":\"2024-03-27T09:02:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#primaryimage\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png\",\"contentUrl\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png\",\"width\":1800,\"height\":945},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.opensource-db.in\/wp1\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#website\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/\",\"name\":\"OpenSource DB\",\"description\":\"Your Trusted OpenSource Databases partner\",\"publisher\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.opensource-db.in\/wp1\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#organization\",\"name\":\"OPENSOURCE DB PRIVATE LIMITED\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2021\/10\/osdb-logo-tm-2.png\",\"contentUrl\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2021\/10\/osdb-logo-tm-2.png\",\"width\":368,\"height\":120,\"caption\":\"OPENSOURCE DB PRIVATE LIMITED\"},\"image\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/people\/OpenSource-DB\/100072970755470\/\",\"https:\/\/x.com\/opensource_db\",\"https:\/\/www.youtube.com\/channel\/UCmTI5h\",\"https:\/\/www.linkedin.com\/company\/opensource-db\",\"https:\/\/www.instagram.com\/opensource_db\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/55546e9ca9552218b9376d4ecc8447a5\",\"name\":\"Taraka Vuyyuru\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/54256c344d6c1f7dbb87fa257d6e318d1ddcd0a29320b642116bfa20e693616b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/54256c344d6c1f7dbb87fa257d6e318d1ddcd0a29320b642116bfa20e693616b?s=96&d=mm&r=g\",\"caption\":\"Taraka Vuyyuru\"},\"url\":\"https:\/\/test.opensource-db.in\/wp1\/author\/taraka\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL - OpenSource DB","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL - OpenSource DB","og_description":"PostgreSQL&#8217;s logical replication is handled through publications and subscriptions. Publications define what data to replicate, while subscriptions specify which server [&hellip;]","og_url":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/","og_site_name":"OpenSource DB","article_publisher":"https:\/\/www.facebook.com\/people\/OpenSource-DB\/100072970755470\/","article_published_time":"2024-03-27T09:02:24+00:00","article_modified_time":"2024-03-27T09:02:26+00:00","og_image":[{"width":1800,"height":945,"url":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png","type":"image\/png"}],"author":"Taraka Vuyyuru","twitter_card":"summary_large_image","twitter_creator":"@opensource_db","twitter_site":"@opensource_db","twitter_misc":{"Written by":"Taraka Vuyyuru","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#article","isPartOf":{"@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/"},"author":{"name":"Taraka Vuyyuru","@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/55546e9ca9552218b9376d4ecc8447a5"},"headline":"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL","datePublished":"2024-03-27T09:02:24+00:00","dateModified":"2024-03-27T09:02:26+00:00","mainEntityOfPage":{"@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/"},"wordCount":287,"commentCount":0,"publisher":{"@id":"https:\/\/test.opensource-db.in\/wp1\/#organization"},"image":{"@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#primaryimage"},"thumbnailUrl":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png","keywords":["dba","postgresql"],"articleSection":["Customer Success","Others"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/","url":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/","name":"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL - OpenSource DB","isPartOf":{"@id":"https:\/\/test.opensource-db.in\/wp1\/#website"},"primaryImageOfPage":{"@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#primaryimage"},"image":{"@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#primaryimage"},"thumbnailUrl":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png","datePublished":"2024-03-27T09:02:24+00:00","dateModified":"2024-03-27T09:02:26+00:00","breadcrumb":{"@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#primaryimage","url":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png","contentUrl":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png","width":1800,"height":945},{"@type":"BreadcrumbList","@id":"https:\/\/test.opensource-db.in\/wp1\/unlocking-initial-sync-for-logical-replication-in-aws-rds-for-postgresql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.opensource-db.in\/wp1\/"},{"@type":"ListItem","position":2,"name":"Unlocking Initial Sync for Logical Replication in AWS RDS for PostgreSQL"}]},{"@type":"WebSite","@id":"https:\/\/test.opensource-db.in\/wp1\/#website","url":"https:\/\/test.opensource-db.in\/wp1\/","name":"OpenSource DB","description":"Your Trusted OpenSource Databases partner","publisher":{"@id":"https:\/\/test.opensource-db.in\/wp1\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.opensource-db.in\/wp1\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/test.opensource-db.in\/wp1\/#organization","name":"OPENSOURCE DB PRIVATE LIMITED","url":"https:\/\/test.opensource-db.in\/wp1\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/logo\/image\/","url":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2021\/10\/osdb-logo-tm-2.png","contentUrl":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2021\/10\/osdb-logo-tm-2.png","width":368,"height":120,"caption":"OPENSOURCE DB PRIVATE LIMITED"},"image":{"@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/people\/OpenSource-DB\/100072970755470\/","https:\/\/x.com\/opensource_db","https:\/\/www.youtube.com\/channel\/UCmTI5h","https:\/\/www.linkedin.com\/company\/opensource-db","https:\/\/www.instagram.com\/opensource_db\/"]},{"@type":"Person","@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/55546e9ca9552218b9376d4ecc8447a5","name":"Taraka Vuyyuru","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/54256c344d6c1f7dbb87fa257d6e318d1ddcd0a29320b642116bfa20e693616b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/54256c344d6c1f7dbb87fa257d6e318d1ddcd0a29320b642116bfa20e693616b?s=96&d=mm&r=g","caption":"Taraka Vuyyuru"},"url":"https:\/\/test.opensource-db.in\/wp1\/author\/taraka\/"}]}},"rttpg_featured_image_url":{"full":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png",1800,945,false],"landscape":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png",1800,945,false],"portraits":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png",1800,945,false],"thumbnail":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4-150x150.png",150,150,true],"medium":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4-300x158.png",300,158,true],"large":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4-1024x538.png",1024,538,true],"1536x1536":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4-1536x806.png",1536,806,true],"2048x2048":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png",1800,945,false],"ultp_layout_landscape_large":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png",1200,630,false],"ultp_layout_landscape":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png",870,457,false],"ultp_layout_portrait":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png",600,315,false],"ultp_layout_square":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2024\/03\/image-4.png",600,315,false]},"rttpg_author":{"display_name":"Taraka Vuyyuru","author_link":"https:\/\/test.opensource-db.in\/wp1\/author\/taraka\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/test.opensource-db.in\/wp1\/category\/business\/customer-success\/\" rel=\"category tag\">Customer Success<\/a> <a href=\"https:\/\/test.opensource-db.in\/wp1\/category\/business\/others\/\" rel=\"category tag\">Others<\/a>","rttpg_excerpt":"PostgreSQL&#8217;s logical replication is handled through publications and subscriptions. Publications define what data to replicate, while subscriptions specify which server [&hellip;]","_links":{"self":[{"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/posts\/5537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/comments?post=5537"}],"version-history":[{"count":6,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/posts\/5537\/revisions"}],"predecessor-version":[{"id":5544,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/posts\/5537\/revisions\/5544"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/media\/5540"}],"wp:attachment":[{"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/media?parent=5537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/categories?post=5537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/tags?post=5537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}