Skip to content

Commit 2f16df8

Browse files
authored
Merge pull request #1118 from EnterpriseDB/release/2021-03-24
Production Release 2021-03-24 Former-commit-id: e0ff728
2 parents 10bd9c8 + 3e696e4 commit 2f16df8

File tree

93 files changed

+807
-475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+807
-475
lines changed

gatsby-config.js

-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ module.exports = {
156156
},
157157
},
158158
},
159-
// 'gatsby-plugin-remove-fingerprints', // speeds up Netlify, see https://github.com/narative/gatsby-plugin-remove-fingerprints
160159
'gatsby-plugin-sitemap',
161160
{
162161
resolve: `gatsby-plugin-manifest`,

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"gatsby-plugin-nginx-redirect": "^0.0.11",
4545
"gatsby-plugin-react-helmet": "^4.0.0",
4646
"gatsby-plugin-react-svg": "^3.0.0",
47-
"gatsby-plugin-remove-fingerprints": "^0.0.2",
4847
"gatsby-plugin-sass": "^4.0.2",
4948
"gatsby-plugin-sharp": "^3.0.1",
5049
"gatsby-plugin-sitemap": "^3.0.0",

product_docs/docs/bart/2.6.2/bart_inst/04_upgrading_bart.mdx

+3-39
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ legacyRedirectsGenerated:
1010

1111
This section outlines the process of upgrading BART from an existing version to the latest version.
1212

13-
- [Upgrading from BART 2.0](#upgrading-from-bart-20) describes the upgrade process from BART 2.0 to the latest version.
14-
- [Upgrading from Older Versions of BART (except 2.0)](#upgrading_from_older_versions_except_2_0_to_latest_versions_of_bart) describes the upgrade process from previous BART versions (except 2.0) to the latest version.
15-
1613
**Upgrade Restrictions**
1714

1815
The following restrictions apply with regard to previous BART versions.
@@ -22,9 +19,9 @@ The following restrictions apply with regard to previous BART versions.
2219

2320
<div id="upgrading_from_older_versions_except_2_0_to_latest_versions_of_bart" class="registered_link"></div>
2421

25-
## Upgrading from Older Versions of BART (except 2.0)
22+
## Upgrading from Older Versions of BART
2623

27-
Perform the following steps to upgrade from older versions of BART (except 2.0) to the latest version:
24+
Perform the following steps to upgrade from older versions of BART to the latest version:
2825

2926
**Step 1:** Assume the identity of the BART user account and invoke the following command to stop the BART WAL scanner program (`bart-scanner`):
3027

@@ -62,37 +59,4 @@ The `PATH` setting should be the same as set for BART 2.6.2 since all versions u
6259
!!! Note
6360
After upgrading to the latest BART version, you must take a new full backup of your system before performing an incremental backup.
6461

65-
<div id="upgrading_from_bart_2_0" class="registered_link"></div>
66-
67-
## Upgrading from BART 2.0
68-
69-
Perform the following steps to upgrade BART 2.0 to the latest version of BART:
70-
71-
**Step 1:** Install the latest version of BART. For information about how to install, see [installing BART](02_installing_bart/#installing-bart).
72-
73-
**Step 2:** Save a copy of your BART 2.0 configuration file. The default location of the BART 2.0 configuration file is `/usr/edb/bart2.0/etc/bart.cfg`.
74-
75-
**Step 3:** Invoke the following command to remove BART 2.0:
76-
77-
On CentOS 7:
78-
79-
```text
80-
yum remove edb-bart20
81-
```
82-
83-
**Step 4:** Place the BART 2.0 configuration file (`bart.cfg`) that you saved in Step 2 in the newly created `/usr/edb/bart/etc` directory. You can use many of the same configuration parameters for BART 2.6.2, but note that you must use a new directory for the BART backup catalog. A new set of full backups and incremental backups taken using BART 2.6.2 must be stored in a new BART backup catalog.
84-
85-
To specify an alternative configuration file name or location, use the `-c` option with BART subcommands. For more information about the `-c` option, see the EDB Backup and Recovery Us available at the [EDB website](/bart/latest/bart_user/).
86-
87-
!!! Note
88-
The `bart.cfg` configuration file is only required on the BART 2.6.2 host from which you will invoke BART subcommands. BART does not require the `bart.cfg` file on hosts on which an incremental backup will be restored.
89-
90-
**Step 5:** Adjust the setting of the `PATH` environment variable to include the location of the BART 2.6.2 executable (the `bin` subdirectory) in the `~/.bashrc` or `~/.bash_profile` files for the following user accounts:
91-
92-
- The BART user account on the BART host.
93-
- The user account on the remote host to which incremental backups will be restored. For details, see the EDB Backup and Recovery User Guide available at the [EDB website](/bart/latest/bart_user/).
94-
95-
**Step 6:** Perform the BART 2.6.2 installation and BART 2.0 removal process on each remote host on which an incremental backup was restored using BART 2.0.
96-
97-
!!! Note
98-
After upgrading to the latest BART version, you must take a new full backup of your system before performing an incremental backup.
62+
<div id="upgrading_from_bart_2_0" class="registered_link"></div>

product_docs/docs/efm/3.5/index.mdx

-12
This file was deleted.

product_docs/docs/eprs/6.2/01_introduction/01_whats_new.mdx

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ title: "What’s New"
66

77
The following features have been added to xDB Replication Server version 6.1 to create xDB Replication Server version 6.2:
88

9-
> - Registering your xDB Replication Server product with an EnterpriseDB product license key is no longer required. Thus, all components related to registering the product have been removed. The following are the removed components: 1) the Product Registration dialog box accessed from the xDB Replication Console Help menu, 2) the `license_key` parameter located in the xDB Replication Configuration file, and 3) the xDB Replication Server CLI `registerkey` command.
9+
> - Registering your xDB Replication Server product with an EnterpriseDB product license key is no longer required. Thus, all components related to registering the product have been removed. The following are the removed components:
10+
- The Product Registration dialog box accessed from the xDB Replication Console Help menu
11+
- The `license_key` parameter located in the xDB Replication Configuration file
12+
- The xDB Replication Server CLI `registerkey` command.
1013
> - Partitioned tables created using the declarative partitioning feature of PostgreSQL and Advanced Server version 10 and later can now be replicated in a log-based single-master or multi-master replication system. For more information, see [Replicating Postgres Partitioned Tables](../07_common_operations/10_replicating_postgres_partitioned_tables/#replicating_postgres_partitioned_tables).
1114
> - In a single-master replication system, removal of a table from a publication that has one or more existing subscriptions is now permitted as long as the table to be removed is not the parent referenced in a foreign key constraint from a child table that is not being removed as well. Previously, no tables from a publication in a single-master replication system could be removed if there are existing subscriptions. For more information, see [Removing Tables from a Publication](../07_common_operations/06_managing_publication/03_updating_pub/#remove_tables_from_pub).
1215
> - Versions 11 and 12 of PostgreSQL and Advanced Server are now supported.

product_docs/docs/eprs/6.2/01_introduction/index.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: "Introduction"
33
---
44

5-
<div id="introduction" class="registered_link"></div>
6-
75
This document describes the installation, configuration, architecture, and operation of the <span class="title-ref">EDB xDB Replication Server</span>. EDB xDB (cross database) Replication Server (referred to hereafter as <span class="title-ref">xDB Replication Server</span>) is an asynchronous replication system available for PostgreSQL and for EDB Postgres Advanced Server. The latter will be referred to simply as <span class="title-ref">Advanced Server</span>.
86

97
xDB Replication Server can be used to implement replication systems based on either of two different replication models – single-master (primary-to-secondary) replication or multi-master replication.
@@ -32,10 +30,12 @@ For multi-master replication, xDB Replication Server supports the following conf
3230

3331
- Between PostgreSQL database servers
3432
- Between PostgreSQL database servers and Advanced Servers in PostgreSQL compatible mode
33+
- Between Advanced Servers in PostgreSQL compatible mode
34+
- Between Advanced Servers in Oracle compatible mode
3535

3636
The reader is assumed to have basic SQL knowledge and basic Oracle, SQL Server, or PostgreSQL database administration skills (whichever are applicable) so that databases, users, schemas, and tables can be created and database object privileges assigned.
3737

38-
- The remainder of Chapter 1 describes conventions used throughout this user’s guide along with suggested sections to read based upon your purpose for using this guide.
38+
- The remainder of Chapter [Introduction](../01_introduction/#introduction) describes conventions used throughout this user’s guide along with suggested sections to read based upon your purpose for using this guide.
3939
- Chapter [Overview](../02_overview/#overview) provides an overview of xDB Replication Server including basic replication concepts and definitions, architecture and components of xDB Replication Server, and design guidelines for setting up a replication system.
4040
- Chapter [Installation and Uninstallation](../03_installation/#installation) gives instructions for installing and uninstalling xDB Replication Server.
4141
- Chapter [Introduction to the xDB Replication Console](../04_intro_xdb_console/#intro_xdb_console) provides an overview of the xDB Replication Console, the graphical user interface for using xDB Replication Server.

product_docs/docs/eprs/6.2/02_overview/01_why_replication/01_offloading_reporting_and_bi_queries.mdx

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: "Offloading Reporting and Business Intelligence Queries"
33
---
44

5-
<div id="offloading_reporting_and_bi_queries" class="registered_link"></div>
6-
75
In this use case, users take all or just a subset of data from a production OLTP system and replicate it to another database whose sole purpose is to support reporting queries. This can have multiple benefits:
86

97
1. Reporting loads are removed from the OLTP system, improving transaction processing performance.

product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/01_smr_mmr_comparison.mdx

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
title: "Comparison of Single-Master and Multi-Master Replication"
33
---
44

5-
<div id="smr_mmr_comparison" class="registered_link"></div>
6-
7-
In write-intensive applications, multi-master replication allows you to utilize multiple database servers on separate hosts to process write transactions independently of each other on their own primary databases. Changes can then be reconciled across primary databases according to your chosen schedule.
8-
95
There are two models of replication systems supported by xDB Replication Server:
106

117
- **Single-Master Replication (SMR).** Changes (inserts, updates, and deletions) to table rows are allowed to occur in a designated primary database. These changes are replicated to tables in one or more secondary databases. The replicated tables in the secondary databases are not permitted to accept any changes except from its designated primary database. (This is also known as primary-to-secondary replication.)

product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/02_publications_and_subscriptions.mdx

+17-5
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,28 @@ The preceding diagram illustrates that a table that has been created as a member
3333

3434
The following diagram illustrates a multi-master replication system with three primary nodes.
3535

36-
![Publications in one database replicating to subscriptions in another database](/../../images/image3.png)
36+
![Publications in one database replicating to subscriptions in another database](../../images/image3.png)
3737

38-
![Publications replicating to two subscription databases](/../../images/image4.png)
38+
**Publications in one database replicating to subscriptions in another database**
3939

40-
![*Publications in two databases replicating to one subscription database*](/../../images/image5.png)
4140

42-
![*Cascading Replication: Tables used in both a subscription and a publication*](/../../images/image6.png)
41+
42+
![Publications replicating to two subscription databases](../../images/image4.png)
43+
44+
**Publications replicating to two subscription databases**
45+
46+
![*Publications in two databases replicating to one subscription database*](../../images/image5.png)
47+
48+
**Publications in two databases replicating to one subscription database**
49+
50+
![*Cascading Replication: Tables used in both a subscription and a publication*](../../images/image6.png)
51+
52+
**Cascading Replication: Tables used in both a subscription and a publication**
4353

4454
The preceding diagram illustrates that a table that has been created as a member of a subscription can be used in a publication replicating to another subscription. This scenario is called cascading replication.
4555

4656
The following diagram illustrates a multi-master replication system with three primary nodes.
4757

48-
![*Multi-master replication system*](/../../images/image7.png)
58+
![*Multi-master replication system*](../../images/image7.png)
59+
60+
**Multi-master replication system**

product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/03_smr_replication.mdx

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ Generally, changes must not be made to the definitions of the publication tables
1010

1111
Changes must not be made to the rows of the subscription tables. If such changes are made, they are not propagated back to the publication. If changes are made to the subscription table rows, it is fairly likely that the rows will no longer match their publication counterparts. There is also a risk that future replication attempts may fail.
1212

13-
![Single-Master (Primary-to-secondary) replication](/../../images/image8.png)
13+
![Single-Master (Primary-to-secondary) replication](../../images/image8.png)
14+
15+
**Single-Master (Primary-to-secondary) replication**

product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/04_mmr_replication.mdx

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ Once the multi-master replication system is defined, changes (inserts, updates,
2323

2424
Generally, changes must not be made to the table definitions in any of the primary nodes including the primary definition node. If such changes are made, they are not propagated to other nodes in the multi-master replication system unless they are made using the DDL change replication feature described in [Replicating DDL Changes](../../07_common_operations/08_replicating_ddl_changes/#replicating_ddl_changes). If changes are made to tables without using the DDL change replication feature, there is a risk that future replication attempts may fail.
2525

26-
![In a multi-master replication system, table rows can be updated at any primary node](/../../images/image9.png)
26+
![In a multi-master replication system, table rows can be updated at any primary node](../../images/image9.png)
27+
28+
**In a multi-master replication system, table rows can be updated at any primary node**

product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/09_sync_replication_trigger_based.mdx

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ title: "Synchronization Replication with the Trigger-Based Method"
66

77
If a publication in a single-master replication system is created that will be used in synchronization replications with the trigger-based method, the publication server installs an insert trigger, an update trigger, and a delete trigger on each publication table. In a multi-master replication system, each replicated table in each primary node employing the trigger-based method has an insert trigger, an update trigger, and a delete trigger.
88

9-
The publication server also creates a shadow table for each source table on which triggers have been created. A shadow table is a table used by xDB Replication Server to record the changes (inserts, updates, and deletions) made to a given source table. A shadow table records three types of record ../../images: For each row inserted into the source table, the shadow table records the image of the inserted row. For each existing row that is updated in the source table, the shadow table records the after image of the updated row. For each row deleted from the source table, the shadow table records the primary key value of the deleted row.
9+
The publication server also creates a shadow table for each source table on which triggers have been created. A shadow table is a table used by xDB Replication Server to record the changes (inserts, updates, and deletions) made to a given source table. A shadow table records three types of record images:
10+
11+
- For each row inserted into the source table, the shadow table records the image of the inserted row.
12+
13+
- For each existing row that is updated in the source table, the shadow table records the after image of the updated row.
14+
15+
- For each row deleted from the source table, the shadow table records the primary key value of the deleted row.
1016

1117
!!! Note
1218
In a multi-master replication system, the before image of an updated row is also stored in the shadow table in order to perform update conflict detection. See [Conflict Resolution](../../06_mmr_operation/06_conflict_resolution/#conflict_resolution) for information on conflict detection in a multi-master replication system.

product_docs/docs/eprs/6.2/02_overview/02_replication_concepts_and_definitions/10_sync_replication_log_based/04_replication_origin.mdx

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,17 @@ The total number of primary nodes is six. Multiply the number of primary node da
4040
4141
The following table shows the required, minimum settings for `max_replication_slots` as well as `max_wal_senders`.
4242
43+
**Table 2-1: Replication Origin Configuration Parameter Settings**
44+
4345
| | | |
4446
| ---------------------------------------------------------- | ------------------- | -------------------------------- |
4547
| **Postgres Database Server** | **max_wal_senders** | **max_replication_slots** |
4648
| <br /><br /><br />Cluster #1 (3 primary nodes)<br /><br /> | 3 | <br /><br /><br />18<br /><br /> |
4749
| <br /><br /><br />Cluster #2 (2 primary nodes)<br /><br /> | 2 | <br /><br /><br />12<br /><br /> |
4850
| <br /><br /><br />Cluster #3 (1 primary node)<br /><br /> | 1 | <br /><br /><br />6<br /><br /> |
4951
50-
**Replication Origin Configuration Parameter Settings**
52+
53+
5154

5255
If the `max_replication_slots` parameter is not set to a high enough value, synchronization replication still succeeds, but without the replication origin performance advantage.
5356

0 commit comments

Comments
 (0)