pgpool-ii - streaming replication
TRANSCRIPT
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 1/41
Ucsthrf]TI miustfrs usknhstrfd`knh rfpikmdtkcn dnl
phpcci-KK]WD C]], Knm. Odpdn \dtsuc Ksakk
Ac tc `dndhf d afrlc! fifpadnts"
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 2/41
# $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
D+cut `f◃ $d`f !rc` \c %c, Odpdn◃ Ucsthrf]TI mc``kttfr◃ Crkhkndi dutacr c! phpcci-KK◃ cr knh !cr ]WD C]] !cr )(
%fdrs
t. /u5k, sunsft dnl 4ncsak`d-
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 3/41
7 $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
D+cut ]WD C]], Knm. Odpdn◃ Cnf c! taf cilfst Ucsthrf]TI mc`pdnkfs kn taf cril◃ =cknh Ucsthrf]TI dnl ctafr C]] rfidtfl +usknfss !cr )( %fdrs◃ dkn +usknfss ks suppcrt. Ads c<fr *(( suppcrt mcntrdmts◃ Cur mcntrk+utkcns tc Ucsthrf]TI knmiulf"
◃ uitk +%tf suppcrt◃ ph+fnma, phstdttupif◃ Wfmursk<f 6ufrkfs & K\A W4$2W]K84'◃ *1 +kt idrhf c+5fmts
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 4/41
1 $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
D afrl c! Ucsthrf]TI◃ Dn fifpadnt ks pc fr!ui◃ Ac f<fr, d afrl c!
fifpadnts ks f<fn `crfpc fr!ui;
◃ Urc+if` ks
, ac tc `dndhftaf afrl c! fifpadnts?
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 5/41
: $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
Urc+if`s c! taf afrl c! fifpadnts knmiulf"◃ Kt nffls d ifdlfr &d prk`dr% sfr<fr'◃ K! taf ifdlfr rftkrfs, d nf ifdlfr `ust td f c<fr kts rcif &!dki c<fr, prc`ctf'◃ Ctafr fifpadnts `ust !ciic taf nf ifdlfr◃ K! d ncn ifdlfr fifpadnt mdnnct mcntknuf tc cr , kt `ust rftkrf dnl ifd<f t
afrl &stdnl+% !dki c<fr'◃ K! d nf fifpadnt dnts tc 5ckn taf afrl, kt sacuil +f dmmfptfl ktacut
lkstur+knh taf afrl◃ 4ifpadnts sacuil afip fdma ctafr tc pfr!cr` d tds kn dn f!!kmkfnt d% &i
+didnmknh'◃ \afrf drf tds s akma mdn cni% +f pfr!cr`fl +% taf ifdlfr & rktf 6ufrkfs
nffls 6ufr% lkspdtmaknh'
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 6/41
*$cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
]ci<knh taf prc+if`s +% usknhphpcci-KK
◃ 0% usknh phpcci-KK, d strfd`knh rfpikmdtkcnUcsthrf]TI miustfr di`cst icc s ik f d sknhifUcsthrf]TI sfr<fr
◃ 2sfr suppikfl >!dki c<fr smrkpt3mcuil lf!knfakma stdnl+% sfr<fr sacuil td f c<fr afn
taf prk`dr% sfr<fr hcfs lc n◃ 2sfr suppikfl >!ciic `dstfr mc``dnl3
diic ctafr stdnl+%s !ciic taf nf prk`dr%sfr<fr
◃
K! d stdnl+% sfr<fr hcfs lc n, kt ks rf`c<fl!rc` taf miustfr lf!knktkcn dnl mikfnts mdnmcntknuf tc usf taf miustfr
◃ phpcci-KK fEd`knfs fdma 6ufr%. K! taf 6ufr%ks d rfdl cni% cnf cr nct. K! nct, kt ks!cr drlfl tc cnf c! sfr<frs &icdl +didnmknh'.
◃ K! d 6ufr% ks d rktf 6ufr%, kt kii +f!cr drlfl tc taf prk`dr% sfr<fr
phpcci-KK
Dic+
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 7/41
$cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
Tufr% lkspdtmaknhGrcutknhWfdl dnl rktf 6ufrkfs
rktfGrfdl6ufrkfs
Wfdl6ufrkfsUrk`dr%
]tdnl+% ]tdnl+%
]tdnl+%
knk`kMf `clk!kmdtkcnstc fEkstknh sknhif Ucsthrf]TIdppikmdtkcns
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 8/41
L$cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
Icdl +didnmknh
Wfdl 6ufrkfs
(F c!rfdl 6ufrkfs)((F c!
rktf 6ufrkfs
Wfdl6ufrkfsUrk`dr%
]tdnl+% ]tdnl+%
]tdnl+%
1( F c! rfdl 6ufrkfs
7( F c! rfdl 6ufrkfs
7( F c! rfdl 6ufrkfs
Kt ks pcslkspdtmasfr<fr +%nd`f cr ldnd`f.
\af prk`dr%mcnmfntrdtfcn rktf;
&pfr!cr`dnmf+fnf!kt'
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 9/41
B$cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
afn taf stdnl+% sfr<fr hcfs lc n
Urk`dr%
]tdnl+%
H
K! d stdnl+% hcfs lc n, kt kssk`pi% tcc c!! !rc` taf miustfrdnl usfr mdn mcntknuf tc usftaf sfr<kmf usknh ctafr sfr<frs
4Ekstknh sfsskcn nffl tc rfstdrt,ac f<fr.
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 10/41
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 11/41
))$cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
Dllknh nf sfr<fr
Urk`dr%
]tdnl+%
Dllknh nf sfr<fr ks fdphpcci-KK mcpkfs taf!rc` taf prk`dr% tc taf stdnl+% sfr<fr ktaculkstur+knh ctafr sfr<fr
\af sd`f prcmflurf mdndppikfl afn rf-s%nm +rc fn stdnl+%.
f ̀ f`+
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 12/41
)# $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
dtmalch" +ukit-kn Akha D<dkid+kiktphpcci-KK
Urk`dr%
]tdnl+%
K! dmtk<f phpccistdnl+% phpcci-Ksc tadt kt +fmc`fsphpcci-KK.
Dmtk<f phpcci H \d f c<fr
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 13/41
)7 $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
Kn-`f`cr% 6ufr% mdmaf◃ Uhpcci-KK mdn rfusfs 6ufr% rfsuits usknh
>6ufr% mdmaf3◃ ]knmf taf 6ufr% mdmaf ks pidmfl cn
`f`cr%, kt s fEtrf`fi% !dst◃ c dmmfss tc Ucsthrf]TI◃ \af mdmaf stcrdhf mdn +f pidmfl cn
fktafr taf sadrfl `f`cr%, cr `f`mdmafl◃ afn d td+if ks upldtfl, dii c! rfidtfl
mdmaf fntrkfs drf kn<dikldtfl◃ Disc tk`f-+dsfl kn<dikldtkcn ks pcssk+if
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 14/41
)1 $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
]uppcrt pcikm%◃ Uhpcci-KK akrf >`d5cr rfifdsfs3 dnl >`kncr rfifdsfs3 `ftacl ik f Ucsthrf]TI
◃
7.E.% 9 E" `d5cr <frskcn, %" `kncr <frskcn ” fEd`pif" >7.1.73" >7.13 ks taf `d5cr <frskcn, >73 ks taf `kncr <frskcn◃ ) `d5cr rfifdsf pfr %fdr◃ 7-1 `kncr rfifdsfs pfr %fdr◃ 4dma `kncr rfifdsfs ffp mc`pdtk+kikt%◃ 4dma `d5cr rfifdsfs madnhf DUKGusdhf &`d% nct knmc`pdtk+if tc fdrikfr <frskcns'
◃ ffp cn prc<klknh +dm pdtmafs !cr !k<f %fdrs d!tfr knktkdi rfifdsf◃ 0fmdusf tafrf s cnf `d5cr rfifdsf fdma %fdr, f ffp cn suppcrtknh idst : tc *
<frskcns◃ K! %cu nffl icnhfr suppcrt pfrkcl, pifdsf mcntdmt tc mc``frmkdi suppcrt prc<k
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 15/41
): $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
\af idtfst <frskcn"phpcci-KK 7.: 5ust ads +ffn rfifdsfl;
◃
K`prc<fl pfr!cr`dnmf◃ K`prc<fl dtmalch◃ Wfdl% !cr Ucsthrf]TI B.:◃ 4nadnmfl pmp mc``dnls◃ dnl `crf
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 16/41
)* $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
K`prc<fl pfr!cr`dnmf
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 17/41
) $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
K`prc<knh fEtfnlfl 6ufr% pfr!cr`dnmf◃ 2sknh fEtfnlfl prctcmci &t%pkmdii% usfl kn Od<d' kn p
ks sic &ds sic ds adi! c! sk`pif prctcmci'◃ $urrfnt k`pif`fntdtkcn c! phpcci-KK !cr fEtfnlfl prctcmci
nct sc hrfdt" kt rf6ukrfs dllktkcndi !iusa `fssdhfs, dnl takks taf scurmf c! pccr pfr!cr`dnmf
◃ C , sc ac taf fEtfnlfl prctcmci ks adnlifl?
]c`f lftdkis drf c`kttfl
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 18/41
)L $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
$ikfnt
sk`pif prctcmci
6ufr%
]fr<fr
rfsuit
$ikfnt
fEtfnlfl prctcmci
Udrsf
]fr<fr
rfsuit
0knl
4Efmutf
]%nm
$ikfnt
fEtfnlfl prctcmcikta phpcci-KK
Udrsf
]fr
Wfsuit
/iusa
4Efmutf
/iusa
0knl
]%nm
>]%nm3rf6ufsts
sfnltaf rfsuit
!rc` sfr<fr
]c f lftdkis drf c kttfl
rfsuit
rfsuit
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 19/41
)B $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
$ikfnt
Udrsf
rfsuit
0knl
4Efmutf
s%nm
fnadnmfl;
Kn strfd`knh rfpikmdtkcnf mcuil c`kt sc`f c!
/iusa `fssdhfs
\cc `dn% /iusa
`fssdhfs
$ikfnt
fEtfnlfl prctcmcikta phpcci-KK
Udrsf
]fr<fr
Wfsuit
]%nm
4Efmutf
/iusa
0knl
]%nm
rfsuit
rfsuit
fEtfnlfl prctcmcikta phpcci-KK kn
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 20/41
#( $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
0fnma`dr knh 4Etfnlfl prctcmci 6ufr%pfr!cr`dnmf
4 7 < 1 42 =7 2< 471 7625
7,555
<,555
2,555
1,555
45,555
47,555
phpcci-KK =.6phpcci-KK =.<
Nu`gfr cb mikfnts
\ U
phpcci-K #(F tc # !dstfr taphpcci-K
D ] `1.idrhf $fntC] *Ucsthrf]TI B&strfd`knh rph+fnma -]
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 21/41
#) $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
C<frmc`knh \aunlfrknh afrl prc+if`◃ adt ks >taf taunlfrknh afrl prc+if`3?
◃ >\af taunlfrknh afrl prc+if` cmmurs afn d idrhf nu`+frc! prcmfssfs dktknh !cr dn f<fnt drf d c fn afn tadtf<fnt cmmurs, +ut cni% cnf prcmfss ks d+if tc prcmffl dt dtk`f. D!tfr taf prcmfssfs d f up, taf% dii lf`dnl tafrfscurmf dnl d lfmkskcn `ust +f `dlf ds tc akma prcmfssmdn mcntknuf. D!tfr taf lfmkskcn ks `dlf, taf rf`dknknhprcmfssfs drf put +dm tc siffp, cni% tc dii d f up dhdkn tcrf6ufst dmmfss tc taf rfscurmf.3/rc` k kpflkd
◃ phpcci-KK !cr s c!! `dn% makil prcmfss dnl taf% drf dktknh !cr mcnnfmtkcn rf6umikfnts
◃ K! d mcnnfmtkcn rf6ufst drrk<fs, dii c! taf makil prcmfss drf d c fn +ut cni% cnf cks diic fl tc dmmfpt taf rf6ufst
◃ Ctafr makil prcmfss stdrt siffpknh dhdkn, tc dkt !cr nfEt mcnnfmtkcn rf6ufst◃ \aks ifdls tc dn fEmfssk<f mcntfEt s ktmaknh dnl rfsuits kn pccr pfr!cr`dnmf
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 22/41
## $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
C<frmc`knh \aunlfrknh afrl prc+if`
siffpknhphpcci-KK makil
siffpknhphpcci-KK makil
siffpknhphpcci-KK makil
d d fphpcci-KK makil
d d fphpcci-KK makil
d d fphpcci-KK makil
siffpknhphpcci-KK makil
prcmfssknhphpcci-KK makil
siffpknhphpcci-KK makil
phpcci-KK 7.1
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 23/41
#7 $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
C<frmc`knh \aunlfrknh afrl prc+if`
siffpknhphpcci-KK makil
siffpknhphpcci-KK makil
siffpknhphpcci-KK makil
phpcci-KK makild d f
phpcci-KK makil phpcci-KK makil
siffpknhphpcci-KK makil
prcmfssknhphpcci-KK makil
siffpknhphpcci-KK makil
phpcci-KK 7.:
siffpknh siffpknh
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 24/41
#1 $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
) # 1 L )* 7# *1 )#L #:* 7BL(
:((
),(((
),:((
#,(((
#,:((
7,(((
Ucsthrf !"phpcci-KK =.6phpcci-KK =.<
Nu`gfr cb mikfnts
\ U
C<frmc`knh \aunlfrknh afrl prc+if`K! mcnmurrfndrf !f fr tadn c! phpcci makphpcci-KK 7. 1(F tc ):(F !dstfr tadn ph
ctf $CW 2+uUcst&strph+f
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 25/41
#: $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
]fttknhs tc d<ckl taf taunlfrknh afrl prc+if`kn phpcci-KK 7.:
◃ sft >sfrkdikMf dmmfpt3 tc cn◃ sft >makil ik!f tk`f3 tc (◃ K! mcnmurrfnt mcnnfmtkcns drf rcuhai% f6udi tc
nu` knkt makilrfn, taks !unmtkcn lcfs nct lc taf +fst &sprf<kcus siklf'
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 26/41
#* $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
K`prc<knh dtmalch
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 27/41
# $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
adt ks > dtmalch3?◃ 0fmdusf phpcci-KK cr s ds d prcE%,
phpcci-KK mcuil +f ]knhif pcknt c!!dkiurf &]UC/'
◃ > dtmalch3 ks d +ukit-kn AkhaD<dkid+kikt% &AD' !fdturf c! phpcci-KK
◃ \ c cr `crf phpcci-KK knstdnmfs`cnktcrs fdma ctafr. K! >Dmtk<f3phpcci-KK hcfs lc n, >]tdnl+%3phpcci-KK td fs c<fr dnl +fmc`fs nfdmtk<f phpcci-KK
◃ Dmtk<f phpcci-KK acils 8krtudi KU &8KU'.$ikfnt mcnnfmts tc taf 8KU dnl drf nct
crrkfl d+cut akma ks phpcci-KK ks dik<f
phpcci-KK
Ucsthrf]TI
8KU
Dmtk<f
f d l h 4 d f
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 28/41
#L $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
f dtmalch 4nadnmfsWc+ustnfss dhdknst ]pikt-+rdkn
◃ ]pikt-+rdkn s%nlrc`f◃ Kt mdn t +f lfmklfl akma phpcci-KK sacuil +f fifmtfl ds taf `dstfr afn taf nft c
pdrtkmkpdtfl◃ Tucru` suppcrt
” $afm k! `crf tadn adi! c! nclfs drf +ficnh tc taf hrcup akma icmdi phpcci-KK ks +fic ” u`+fr c! phpcci-KK nclfs `ust +f cll tc `d f 6ucru` cr knh &kn ctafr mdsf %cu mdn
>trustfl sfr<frs3'
phpcci-KK
phpcci-KK
phpcci-KK
phpc
phpccnft r,
pdrtktk nknh
dstfr ks fifmtfl !rc`taks hrcup
f d l h f d f
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 29/41
#B $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
f dtmalch fnadnmfskntfr-prcmfss mc``unkmdtkcn
◃ $adnhf kn kntfr-prcmfss mc``unkmdtkcn `ftacl kta kn dtmal◃
2 KH lc`dkn scm ft @ O]C !cr`dt ldtd◃ \aks diic s phpcci-KK tc cr kta takrl-pdrt% tccis
◃ fE' afdita-mafm +% d takrl pdrt% tcci. 4tm.
phpcci-KK
ik!fmafmUdm ft sfnl
$iustfr `hrUdm ft rfm<
prf<kcus
]adrfl`f`cr%
madnhf
phpcci-KK
Ik!f-mafm
$iust
f <frskcn
7 rl pdr
O]C
d l h f d f`f
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 30/41
7( $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
dtmalch fnadnmf`fntctafrs
◃ 8frk!kfs taf mcnskstfnm% c! k`pcrtdnt mcn!khurdtkcn pdrd`f
d`cnh dii nclfs◃ `d f surf taf% drf mcnskstfnt d`cnh dii nclfs◃ afip tc fik`kndtf prc+if`s mdusfl +% ii-mcn!khurfl phpcci-KK
◃ dtmalch nclfs mdn ad<f prkcrktkfs◃
dtmalch nclfs mdn +f dsskhnfl kta lk!!frfnt prkcrktkfs◃ clfs kta akhafr dtmalch kii hft d prf!frfnmf afn taf mius
ks fifmtknh kts nf ifdlfr nclf.
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 31/41
7) $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
Wfdl% !cr Ucsthrf]TI B.:
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 32/41
7# $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
K`pcrtknh Ucsthrf]TI B.: pdrsfr
◃ Udrsfr c! Ucsthrf]TI B.: ks pcrtfl kntc phpcci-KK 7.:◃ Urf<kcus pdrsfr ds k`pcrtfl !rc` Ucsthrf]TI B.1
◃ Icdl-+didnmknh dnl 6ufr%-mdmaf suppcrts taf nf sfifmts%ntdE.◃ JWC2UK J ]4\, $204, WCII2U,◃
\D0I4]D UI4◃ Tufr%-rf rktknh kn taf ndtk<f rfpikmdtkcn `clf suppcrts t
nf knsfrtGupldtf s%ntdE.◃ K ]4W\ N C $C /IK$\◃ 2U=D\4 td+ ]4\ &mci),mci#,...' &]4I4$\ ...', ...
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 33/41
77 $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
K`prc<f`fnts kn phpcci-KK 7ctafrs
Afdita mafm dnl rfpikmdtkcn lfid% mafm
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 34/41
71 $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
Afdita mafm dnl rfpikmdtkcn lfid% mafmtdrhft ldtd+dsf
◃ Kn sc`f s%stf`s &!cr fEd`pif, Afrc u' lc nct diic tc
mcnnfmt tc >pcsthrfs3 cr >tf`pidtf)3 ldtd+dsf◃ phpcci-KK kssufs 6ufr% tc tacsf ldtd+dsfs !cr afdita maf
dnl strfd`knh rfpikmdtkcn lfid%◃ phpcci-KK diic s tc usf pdrtkmuidr ldtd+dsf knstfdl c! t
ldtd+dsfs◃ afdita mafm ldtd+dsf◃ sr mafm ldtd+dsf
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 35/41
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 36/41
7* $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
]ac knh ]4I4$\ mcunt◃ >sac pcci nclfs3 mc``dnl nc sac s taf nu`+fr c!
]4I4$\s +fknh kssufl tc fdma =0 nclf
tfst0# sacw pcciSnclfs: nclfSkl | acstnd`f | pcrt | stdtus | igSwfkhat | rcif | sfifmtSmnt---------+----------+-------+--------+-----------+---------+------------ 5 | /t`p | 44557 | 7 | 5. 55555 | prk`dr! | "" 7"5
4 | /t`p | 4455" | 7 | 5. 55555 | stdnlg! | 4$"%"%&7 rcws'
f ;
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 37/41
7 $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
$aknfsf trdnsidtkcns;◃ Uhpcci-KK lcmu`fntdtkcn◃ phpcciDl`kn `fssdhf mdtdich
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 38/41
7L $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
$dutkcn;◃ >Udrdiifi `clf3 ks rf`c<fl
◃ \cc `dn% rfstrkmtkcns◃ 8krtudii% ( usfr◃ $c`pifEkt% c! mclf
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 39/41
7B $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
/uturf pidns◃ Uhpcci-KK 7.* ks fEpfmtfl cut idtf taks %fdr
◃ kii !cmus cn std+kikt% dnl usd+kikt%◃ /ciic knhs drf nf !fdturfs kn lksmusskcn"
” crf mc`prfafnsk<f tfst mdsfs ” ]4\ mc``dnl ” K`prc<fl lcmu`fntdtkcn &]J I?' ”
knk`kMf usfrs sfsskcn lksmcnnfmtkcns kn mdsf c! !dki c<fr
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 40/41
1( $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
afrf tc hft phpcci-KK?◃ phpcci-KK c!!kmkdi sktf
◃
attp"GG .phpcci.nft◃ ]WD C]]
◃ attp"GG .srdcss.mc.5p◃ $c``frmkdi suppcrt ks d<dkid+if
\adn %cu;
8/17/2019 pgpool-II - streaming replication
http://slidepdf.com/reader/full/pgpool-ii-streaming-replication 41/41
1) $cp%rkhat&m' #()* ]WD C]], Knm. Odpdn
\adn %cu;UTW]\VR;