{"id":1596,"date":"2016-03-31T14:21:20","date_gmt":"2016-03-31T18:21:20","guid":{"rendered":"https:\/\/virtual-dba.com\/?page_id=1596"},"modified":"2021-04-28T12:55:51","modified_gmt":"2021-04-28T19:55:51","slug":"replication","status":"publish","type":"page","link":"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/","title":{"rendered":"PostgreSQL Replication Service"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; custom_padding_last_edited=&#8221;on|desktop&#8221; disabled_on=&#8221;off|off|off&#8221; admin_label=&#8221;health check banner&#8221; _builder_version=&#8221;3.22&#8243; background_image=&#8221;https:\/\/virtual-dba.com\/wp-content\/uploads\/vdba-platform-banner-3.jpg&#8221; custom_padding=&#8221;||20px|&#8221; custom_padding_tablet=&#8221;50px|0|50px|0&#8243; padding_mobile=&#8221;off&#8221;][et_pb_row padding_mobile=&#8221;off&#8221; column_padding_mobile=&#8221;on&#8221; admin_label=&#8221;row&#8221; module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;89%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;on|desktop&#8221; max_width=&#8221;89%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; custom_padding=&#8221;40px|0px|0px|0px&#8221; make_fullwidth=&#8221;on&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;h1 text and metablurb&#8221; _builder_version=&#8221;3.27.4&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; background_layout=&#8221;dark&#8221;]<\/p>\n<h1>PostgreSQL Replication Services<\/h1>\n<p>\n<span class=\"h2\">Protect your database with state-of-the-art PostgreSQL Replication.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row padding_mobile=&#8221;off&#8221; column_padding_mobile=&#8221;on&#8221; admin_label=&#8221;row&#8221; module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;89%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;on|desktop&#8221; max_width=&#8221;89%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; custom_padding=&#8221;15px|0px|0px|0px&#8221; make_fullwidth=&#8221;on&#8221; column_structure=&#8221;1_2,1_2&#8243;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.25&#8243; background_position=&#8221;top_left&#8221; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_divider show_divider=&#8221;off&#8221; disabled_on=&#8221;on|on|off&#8221; _builder_version=&#8221;3.23.4&#8243; height=&#8221;20px&#8221;][\/et_pb_divider][et_pb_button button_url=&#8221;#talk&#8221; button_text=&#8221;Talk with an experienced leader today!&#8221; button_alignment=&#8221;left&#8221; admin_label=&#8221;cta button&#8221; _builder_version=&#8221;3.16&#8243; custom_button=&#8221;on&#8221; background_layout=&#8221;dark&#8221; button_text_color_hover=&#8221;#ffffff&#8221; button_bg_color_hover=&#8221;rgba(255,255,255,0.57)&#8221; button_text_size__hover_enabled=&#8221;off&#8221; button_one_text_size__hover_enabled=&#8221;off&#8221; button_two_text_size__hover_enabled=&#8221;off&#8221; button_text_color__hover_enabled=&#8221;on&#8221; button_text_color__hover=&#8221;#ffffff&#8221; button_one_text_color__hover_enabled=&#8221;off&#8221; button_two_text_color__hover_enabled=&#8221;off&#8221; button_border_width__hover_enabled=&#8221;off&#8221; button_one_border_width__hover_enabled=&#8221;off&#8221; button_two_border_width__hover_enabled=&#8221;off&#8221; button_border_color__hover_enabled=&#8221;off&#8221; button_one_border_color__hover_enabled=&#8221;off&#8221; button_two_border_color__hover_enabled=&#8221;off&#8221; button_border_radius__hover_enabled=&#8221;off&#8221; button_one_border_radius__hover_enabled=&#8221;off&#8221; button_two_border_radius__hover_enabled=&#8221;off&#8221; button_letter_spacing__hover_enabled=&#8221;off&#8221; button_one_letter_spacing__hover_enabled=&#8221;off&#8221; button_two_letter_spacing__hover_enabled=&#8221;off&#8221; button_bg_color__hover_enabled=&#8221;on&#8221; button_bg_color__hover=&#8221;rgba(255,255,255,0.57)&#8221; button_one_bg_color__hover_enabled=&#8221;off&#8221; button_two_bg_color__hover_enabled=&#8221;off&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.25&#8243; background_position=&#8221;top_left&#8221; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/virtual-dba.com\/wp-content\/uploads\/PostgreSQL-REP.png&#8221; align=&#8221;right&#8221; align_tablet=&#8221;center&#8221; align_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;3.23&#8243; max_width=&#8221;250px&#8221; animation_style=&#8221;slide&#8221; animation_direction=&#8221;left&#8221; animation_duration=&#8221;500ms&#8221; animation_intensity_slide=&#8221;10%&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;3.22&#8243;][et_pb_row module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;89%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;on|desktop&#8221; max_width=&#8221;89%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; make_fullwidth=&#8221;on&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;business problem&#8221; _builder_version=&#8221;3.27.4&#8243;]<\/p>\n<p><span class=\"intro\">Modern replication is almost a standard now&mdash;don&rsquo;t be left behind in case of disaster, and ensure the security of your database investment. Implement an expert-level PostgreSQL replication solution that only XTIVIA can provide.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;89%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;on|desktop&#8221; max_width=&#8221;89%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; make_fullwidth=&#8221;on&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;h2 and text&#8221; _builder_version=&#8221;3.27.4&#8243; border_style=&#8221;solid&#8221;]<\/p>\n<h2>What is PostgreSQL Replication?<\/h2>\n<p>Replication is the duplication of data from one place to another. Data is transported by programs to another location, and then loaded. A more efficient alternative to basic replication is to extract only the changes since the last processing cycle and transport\/apply those to the receiving location. In most cases, replication must not interfere with existing applications and have minimal impact on production systems. Thus, replication processes must be managed and monitored.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;89%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;on|desktop&#8221; max_width=&#8221;89%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; make_fullwidth=&#8221;on&#8221; column_structure=&#8221;1_2,1_2&#8243;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;3.27.4&#8243;]<\/p>\n<p><span class=\"h2blue\">What We Provide<\/span><\/p>\n<p>XTIVIA\u2019s PostgreSQL DBAs start by connecting with your business to develop a PostgreSQL replication strategy. Whatever your organizational objectives, our staff comes equipped to confidently handle a full spectrum of replication server activities.\u00a0<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;3.27.4&#8243;]<\/p>\n<p>These functions are designed to help you implement and maintain a solution that works best for your company.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;3.27.4&#8243; background_color=&#8221;#3955a5&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; background_layout=&#8221;dark&#8221; custom_margin=&#8221;|60px||&#8221; custom_padding=&#8221;35px|25px|25px|25px&#8221;]<\/p>\n<p><span class=\"h2\"><strong><em>Our services include:<\/em><\/strong><\/span><\/p>\n<ul>\n<li><em>Initial assessments and requirements review<\/em><\/li>\n<li><em>Replication system design<\/em><\/li>\n<li><em>Approach and plan definition<\/em><\/li>\n<li><em>Schedule and cost estimations<\/em><\/li>\n<li><em>Installation<\/em><\/li>\n<li><em>Testing and validation<\/em><\/li>\n<li><em>Training to administer replication server<\/em><\/li>\n<li><em>Replication server monitoring using Virtual-DBA when requested<\/em><\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;3.22&#8243; background_color=&#8221;#3955a5&#8243;][et_pb_row padding_mobile=&#8221;off&#8221; column_padding_mobile=&#8221;on&#8221; admin_label=&#8221;row&#8221; module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;89%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;on|desktop&#8221; max_width=&#8221;89%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; custom_padding=&#8221;0px|0px|0px|0px&#8221; make_fullwidth=&#8221;on&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; background_position=&#8221;top_left&#8221; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_cta title=&#8221;Assess your PostgreSQL replication&#8221; button_url=&#8221;#talk&#8221; button_text=&#8221;Start Your Review Today!&#8221; admin_label=&#8221;CTA&#8221; _builder_version=&#8221;3.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#ffffff&#8221; button_border_width=&#8221;2px&#8221; button_border_radius=&#8221;5px&#8221; button_letter_spacing=&#8221;1px&#8221; button_icon=&#8221;9&#8243; button_icon_color=&#8221;#3955a5&#8243; button_text_color_hover=&#8221;#3955a5&#8243; button_bg_color_hover=&#8221;rgba(255,255,255,0.83)&#8221; button_text_size__hover_enabled=&#8221;off&#8221; button_one_text_size__hover_enabled=&#8221;off&#8221; button_two_text_size__hover_enabled=&#8221;off&#8221; button_text_color__hover_enabled=&#8221;on&#8221; button_text_color__hover=&#8221;#3955a5&#8243; button_one_text_color__hover_enabled=&#8221;off&#8221; button_two_text_color__hover_enabled=&#8221;off&#8221; button_border_width__hover_enabled=&#8221;off&#8221; button_one_border_width__hover_enabled=&#8221;off&#8221; button_two_border_width__hover_enabled=&#8221;off&#8221; button_border_color__hover_enabled=&#8221;off&#8221; button_one_border_color__hover_enabled=&#8221;off&#8221; button_two_border_color__hover_enabled=&#8221;off&#8221; button_border_radius__hover_enabled=&#8221;off&#8221; button_one_border_radius__hover_enabled=&#8221;off&#8221; button_two_border_radius__hover_enabled=&#8221;off&#8221; button_letter_spacing__hover_enabled=&#8221;off&#8221; button_one_letter_spacing__hover_enabled=&#8221;off&#8221; button_two_letter_spacing__hover_enabled=&#8221;off&#8221; button_bg_color__hover_enabled=&#8221;on&#8221; button_bg_color__hover=&#8221;rgba(255,255,255,0.83)&#8221; button_one_bg_color__hover_enabled=&#8221;off&#8221; button_two_bg_color__hover_enabled=&#8221;off&#8221;]<strong>We provide value to your business with assessment and assistance for your PostgreSQL database and DBA team.<\/strong><br \/>\n[\/et_pb_cta][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;3.22&#8243;][et_pb_row module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;89%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;on|desktop&#8221; max_width=&#8221;89%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; make_fullwidth=&#8221;on&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; background_position=&#8221;top_left&#8221; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;3.27.4&#8243;]<span class=\"h2blue\">Types of Replication <\/span><br \/>\n[\/et_pb_text][et_pb_toggle title=&#8221;Shared Disk Failover&#8221; icon_color=&#8221;#3955a5&#8243; admin_label=&#8221;Shared disk Toggle&#8221; _builder_version=&#8221;3.0.51&#8243; title_font=&#8221;|on|||&#8221;]This method allows for rapid failover without data loss, while still having only one copy of the database. This method avoids any synchronization overhead by sharing a common disk between all database servers. If the main server fails, the standby server accesses the shared disk as though it was recovering from a database crash. The main point of failure is the shared disk array; if it becomes corrupt or unavailable, primary and standby are non functional. Also, only the primary server should have access to the storage while it is active.<br \/>\n[\/et_pb_toggle][et_pb_toggle title=&#8221;File System Replication&#8221; icon_color=&#8221;#3955a5&#8243; admin_label=&#8221;File System Replication Toggle&#8221; _builder_version=&#8221;3.0.51&#8243; title_font=&#8221;|on|||&#8221;]In this type of replication, hardware is shared, and all changes to the file system need to be mirrored on another server. The main challenge here is that primary file system mirroring is needed to guarantee the standby has a consistent copy of the file system. Writes to the file system need to be done in exactly the same order on the standby as they were on the primary.<br \/>\n[\/et_pb_toggle][et_pb_toggle title=&#8221;Hot\/Warm Standby Using \u201cPoint In Time Recovery\u201d (PITR)&#8221; icon_color=&#8221;#3955a5&#8243; admin_label=&#8221;(PITR) Toggle&#8221; _builder_version=&#8221;3.0.51&#8243; title_font=&#8221;|on|||&#8221;]Logs from the primary server are applied to the warm standby server. The standby can be made the new primary and would contain all the changes from the logs transferred before the failure. This method is asynchronous and can only be performed against the complete primary server.<br \/>\n[\/et_pb_toggle][et_pb_toggle title=&#8221;Master-Slave Replication&#8221; icon_color=&#8221;#3955a5&#8243; admin_label=&#8221;master slave Toggle&#8221; _builder_version=&#8221;3.0.51&#8243; title_font=&#8221;|on|||&#8221;]All queries that modify data are sent from the master asynchronously to the slave. In this setup, the slave is available for read only queries while the master is running.<br \/>\n[\/et_pb_toggle][et_pb_toggle title=&#8221;Statement-Based Replication Middleware&#8221; icon_color=&#8221;#3955a5&#8243; admin_label=&#8221;Statement-Based Middleware Toggle&#8221; _builder_version=&#8221;3.0.51&#8243; title_font=&#8221;|on|||&#8221;]Each server operates independently, while a middleware program captures each SQL query and forwards it to all or just one of the servers. Read-only queries can be sent to just a single server, allowing for a distributed workload. Read\/write queries are sent to all servers. Extreme caution should be used to make sure all transactions commit or abort on all servers. Also any application or middleware should be written in a manner so as to not use unmodified functions or sequences that could potentially return different values depending on which server was used.<br \/>\n[\/et_pb_toggle][et_pb_toggle title=&#8221;Asynchronous Multimaster Replication&#8221; icon_color=&#8221;#3955a5&#8243; admin_label=&#8221;Asynchronous Multimaster Toggle&#8221; _builder_version=&#8221;3.0.51&#8243; title_font=&#8221;|on|||&#8221;]Each server works on its own, communicating with the other servers to identify conflicting transactions. Rules are defined or users can resolve any conflicts. This works well in an environment where servers maintaining a constant connection is a challenge.<br \/>\n[\/et_pb_toggle][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;3.22&#8243;][et_pb_row column_padding_mobile=&#8221;on&#8221; disabled_on=&#8221;off|on|off&#8221; module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;89%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;on|desktop&#8221; max_width=&#8221;89%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; custom_padding=&#8221;40px||40px|&#8221; make_fullwidth=&#8221;on&#8221; column_structure=&#8221;1_2,1_2&#8243;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_blurb title=&#8221;PostgreSQL Remote Database Services&#8221; url=&#8221;\/platforms\/postgresql\/&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;%%149%%&#8221; admin_label=&#8221;postgresql main platform main link&#8221; _builder_version=&#8221;3.0.74&#8243; header_font=&#8221;|on|||&#8221; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; text_orientation=&#8221;center&#8221;][\/et_pb_blurb][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_blurb title=&#8221;PostgreSQL Health Check and Performance Tuning&#8221; url=&#8221;\/platforms\/postgresql\/postgresql-health-check\/&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;%%75%%&#8221; admin_label=&#8221;PostgreSQL Replication link&#8221; _builder_version=&#8221;3.0.74&#8243; header_font=&#8221;|on|||&#8221; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; text_orientation=&#8221;center&#8221;][\/et_pb_blurb][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; custom_padding_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;section&#8221; _builder_version=&#8221;3.22&#8243; background_color=&#8221;#d0d0ce&#8221; custom_padding_tablet=&#8221;50px|0|50px|0&#8243; padding_mobile=&#8221;off&#8221;][et_pb_row padding_mobile=&#8221;off&#8221; column_padding_mobile=&#8221;on&#8221; admin_label=&#8221;row&#8221; module_class=&#8221; et_pb_row_fullwidth&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;89%&#8221; width_tablet=&#8221;80%&#8221; width_last_edited=&#8221;on|desktop&#8221; max_width=&#8221;89%&#8221; max_width_tablet=&#8221;80%&#8221; max_width_last_edited=&#8221;on|desktop&#8221; custom_padding=&#8221;0px|0px|40px|0px&#8221; make_fullwidth=&#8221;on&#8221; column_structure=&#8221;1_2,1_2&#8243;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_code saved_tabs=&#8221;all&#8221;]<a name=\"talk\"><\/a>[\/et_pb_code][et_pb_code saved_tabs=&#8221;all&#8221;]<a name=\"talk\"><\/a>[\/et_pb_code][et_pb_blurb title=&#8221;What&#8217;s Next?&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;w&#8221; icon_placement=&#8221;left&#8221; admin_label=&#8221;what&#8217;s next Blurb&#8221; _builder_version=&#8221;3.0.74&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; text_orientation=&#8221;center&#8221; animation=&#8221;off&#8221;]<\/p>\n<p style=\"text-align: left;\">We would love to help you with your database project or manage your environment, call us 888.685.3101 Ext. 2 or complete the form and start a conversation with Virtual-DBA today!<\/p>\n<p>[\/et_pb_blurb][et_pb_image src=&#8221;https:\/\/virtual-dba.com\/wp-content\/uploads\/postgresql-03.png&#8221; alt=&#8221;postgresql replication&#8221; align=&#8221;center&#8221; align_tablet=&#8221;center&#8221; align_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;postgresql Image&#8221; _builder_version=&#8221;3.23&#8243; custom_margin=&#8221;|||15px&#8221; animation_style=&#8221;slide&#8221; animation_direction=&#8221;left&#8221; animation_duration=&#8221;500ms&#8221; animation_intensity_slide=&#8221;10%&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;form&#8221; _builder_version=&#8221;3.27.4&#8243; text_font_size=&#8221;1&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;0px|||&#8221; custom_padding=&#8221;0px|||&#8221;]<\/p>\n<p><!--[if lte IE 8]>\n<script charset=\"utf-8\" type=\"text\/javascript\" src=\"\/\/js.hsforms.net\/forms\/v2-legacy.js\"><\/script>\n<![endif]--><br \/>\n<script charset=\"utf-8\" type=\"text\/javascript\" src=\"\/\/js.hsforms.net\/forms\/v2.js\"><\/script><br \/>\n<script>\n  hbspt.forms.create({ \n    portalId: '182354',\n    formId: 'b220a381-e991-4738-8637-4b9805f42068'\n  });\n<\/script><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;3.22&#8243;][et_pb_row disabled_on=&#8221;on|on|on&#8221; _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; disabled=&#8221;on&#8221; column_structure=&#8221;3_4,1_4&#8243;][et_pb_column type=&#8221;3_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;3.27.4&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;]<\/p>\n<h1>What We Provide<\/h1>\n<p>XTIVIA\u2019s PostgreSQL DBAs will provide recommendations and strategies to set up PostgreSQL replication to meet your organizational objectives. XTIVIA also provides the Virtual-DBA service to monitor your replication server activities. Our services include:<\/p>\n<ul>\n<li>Initial assessments and requirements review<\/li>\n<li>Replication system design<\/li>\n<li>Approach and plan definition<\/li>\n<li>Schedule and cost estimations<\/li>\n<li>Installation<\/li>\n<li>Testing and validation<\/li>\n<li>Training to administer replication server<\/li>\n<li>Replication server monitoring using Virtual-DBA when requested<\/li>\n<\/ul>\n<p>We understand these new and existing functionalities and can help you implement and maintain the solution that works best for your company.<\/p>\n<h2>What is PostgreSQL Replication?<\/h2>\n<p>Replication is the copying of data from one place to another. Data can be extracted by programs, transported to some other location, and then loaded at the receiving location. A more efficient alternative is to extract only the changes since the last processing cycle and transport\/apply those to the receiving location. Data may be filtered and transformed during replication. There may be other requirements for replication, such as time constraints. In most cases, replication must not interfere with existing applications and have minimal impact on production systems. The replication processes need to be managed and monitored.<\/p>\n<p>Types of PostgreSQL High Availability, Load Balancing, and Replication, depending on the release you are working with.<\/p>\n<ul>\n<li>Shared Disk Failover\n<ul>\n<li>This method allows for rapid failover without data loss while having only 1 copy of the database avoids any synchronization overhead. Sharing a common disk between all the DB servers, if the main server fails, the standby server access the shared disk as though it was recovering from a database crash. The main point of failure is the shared disk array, if it becomes corrupt or unavailable primary and standby are non functional. Also, only the primary server should have access to the storage while it is active.<\/li>\n<\/ul>\n<\/li>\n<li>File System Replication\n<ul>\n<li>Another form of replication sharing hardware, all changes to the file system need to be mirrored to another server. They main area for contention is that the mirroring of the primary file system needs to be performed to guarantee the standby has a consistent copy of the file system. Writes to the file system need to be done in exactly the same order on the standby as they were on the primary.<\/li>\n<\/ul>\n<\/li>\n<li>Hot\/Warm Standby Using Point In Time Recovery (PITR)\n<ul>\n<li>The logs from the primary server are sent and applies on the warm standby server. The standby can be made the new primary and would contain all the changes from the logs which were transferred before the failure.. This method is asynchronous and can only be performed against the complete primary server.<\/li>\n<\/ul>\n<\/li>\n<li>Master-Slave Replication\n<ul>\n<li>All queries that modify data are sent from the master asynchronously to the slave. In this setup, the slave is available for read only queries while the master is running.<\/li>\n<\/ul>\n<\/li>\n<li>Statement-Based Replication Middleware\n<ul>\n<li>Each server operating independently, a middleware program captures each SQL query and forward is to all or just one of the servers. Read only queries can be sent to just a single server, allowing for a distributed workload. Read\/write queries are sent to all servers. Extreme caution should be used to make sure all transactions commit or abort on all servers. Also any application or middleware should be written in a manner so as to not use unmodified functions or sequences that could potentially return different values depending on which server was used.<\/li>\n<\/ul>\n<\/li>\n<li>Asynchronous Multimaster Replication\n<ul>\n<li>Each server works on it\u2019s own, communicating with the other servers to identify conflicting transactions. Rules are defined or users can resolve any conflicts. This works well in an environment where servers maintaining a constant connection is a challenge.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_sidebar orientation=&#8221;right&#8221; area=&#8221;et_pb_widget_area_6&#8243; _builder_version=&#8221;3.0.74&#8243;][\/et_pb_sidebar][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PostgreSQL Replication Services Protect your database with state-of-the-art PostgreSQL Replication. Modern replication is almost a standard now&mdash;don&rsquo;t be left behind in case of disaster, and ensure the security of your database investment. Implement an expert-level PostgreSQL replication solution that only XTIVIA can provide. What is PostgreSQL Replication? Replication is the duplication of data from one [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":28646,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","content-type":"","footnotes":""},"class_list":["post-1596","page","type-page","status-publish","hentry"],"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>PostgreSQL Replication Support From Certified DBA Experts<\/title>\n<meta name=\"description\" content=\"Get PostgreSQL Replication Support and Services From Top Certified DBA Professionals and PostgreSQL Partner. Learn More and Get Free Quote!\" \/>\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\/platforms\/postgresql-old\/replication\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PostgreSQL Replication Service\" \/>\n<meta property=\"og:description\" content=\"Get PostgreSQL Replication Support and Services From Top Certified DBA Professionals and PostgreSQL Partner. Learn More and Get Free Quote!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-28T19:55:51+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/\",\"url\":\"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/\",\"name\":\"PostgreSQL Replication Support From Certified DBA Experts\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"datePublished\":\"2016-03-31T18:21:20+00:00\",\"dateModified\":\"2021-04-28T19:55:51+00:00\",\"description\":\"Get PostgreSQL Replication Support and Services From Top Certified DBA Professionals and PostgreSQL Partner. Learn More and Get Free Quote!\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Platforms\",\"item\":\"https:\/\/virtual-dba.com\/platforms\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PostgreSQL Remote DBA Services &#038; Solutions\",\"item\":\"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"PostgreSQL Replication Service\"}]},{\"@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\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PostgreSQL Replication Support From Certified DBA Experts","description":"Get PostgreSQL Replication Support and Services From Top Certified DBA Professionals and PostgreSQL Partner. Learn More and Get Free Quote!","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\/platforms\/postgresql-old\/replication\/","og_locale":"en_US","og_type":"article","og_title":"PostgreSQL Replication Service","og_description":"Get PostgreSQL Replication Support and Services From Top Certified DBA Professionals and PostgreSQL Partner. Learn More and Get Free Quote!","og_url":"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_modified_time":"2021-04-28T19:55:51+00:00","twitter_card":"summary_large_image","twitter_site":"@virtual_dba","twitter_misc":{"Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/","url":"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/","name":"PostgreSQL Replication Support From Certified DBA Experts","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"datePublished":"2016-03-31T18:21:20+00:00","dateModified":"2021-04-28T19:55:51+00:00","description":"Get PostgreSQL Replication Support and Services From Top Certified DBA Professionals and PostgreSQL Partner. Learn More and Get Free Quote!","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/replication\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"Platforms","item":"https:\/\/virtual-dba.com\/platforms\/"},{"@type":"ListItem","position":3,"name":"PostgreSQL Remote DBA Services &#038; Solutions","item":"https:\/\/virtual-dba.com\/platforms\/postgresql-old\/"},{"@type":"ListItem","position":4,"name":"PostgreSQL Replication Service"}]},{"@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"}}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/pages\/1596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/types\/page"}],"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=1596"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/pages\/1596\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/pages\/28646"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=1596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}