Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2.1 Explanation

Drawio
mVer2
simple0
zoom1simple0
inComment0custContentId3679945223
pageId3673391206
lboxcustContentId13679945223
diagramDisplayNamecsd-streaming-customer-v1
lbox1
contentVer45
revision45
baseUrlhttps://dbvisit.atlassian.net/wiki
diagramNamecsd-streaming-customer-v1
pCenter0
width1021
links
tbstyle
height1334.23

...

Below is a detailed explanation of how the DR cluster is created in the background.

Drawio
mVer2
simple0
zoom1simple0
inComment0custContentId3679846991
pageId3673391206
lboxcustContentId13679846991
diagramDisplayNamecsd-archive-customer-v1.drawio
lbox1
contentVer34
revision34
baseUrlhttps://dbvisit.atlassian.net/wiki
diagramNamecsd-archive-customer-v1.drawio
pCenter0
width1038.49999999999985
links
tbstyle
height877.1199999999999

...

This method of creating the standby is specific to Dbvisit. The wal files from the primary are copied to standby at regular intervals and applied on the standby.

Drawio
mVer2
simple0
zoom1
simple0
inComment0
custContentId3679880259
pageId3673391206
lboxcustContentId13679880259
diagramDisplayNamecsd-logshipping-customer-v1.drawio
lbox1
contentVer34
revision34
baseUrlhttps://dbvisit.atlassian.net/wiki
diagramNamecsd-logshipping-customer-v1.drawio
pCenter0
width1038.5
links
tbstyle
height1107.12

...

Code Block
-bash-4.2$ ls -lrt /u01
drwx------ (or drwxr-x---).  5 postgres postgres  4096 Aug 16 16:41 tablespace
drwx------ (or drwxr-x---). 20 postgres postgres  4096 Aug 26 12:06 PG5433-12
  1. The location of the configuration files (postgresql.conf, pg_hba.conf, and pg_indent.conf). This location can be different from the primary data directory, but the example below has these two in the same directory. Keeping the same as the primary is recommended, but this can also be different in the standby. postgresql.conf, pg_hba.conf, and pg_indent.conf need to be placed in the same folder.

  2. For this example, a Hot standby is created that can be accessible for reporting purposes as the databases in the cluster are in read only mode.

...