暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
Pgxc_ctl_primer.pdf
79
56页
0次
2022-12-18
免费下载
PGXC_CTL Primer
Configuring and operating Postgres-XC database cluster
May 7th, 2014
Koichi Suzuki
1. Introduction
ThisdocumentisanoutlineofPostgresXCdatabaseclusterconfigurationandoperation
usingpgxc_ctl.Pgxc_ctlwillbefoundinthecontribmoduleofpostgresxcdistribution.
ThismodulehelpstoconfigureandoperateyourPostgresXCdatabaseclustereasily.This
savesmuchofthesmallbutimportantthings.
2. Plannings you Postgres-XC cluster
2.1 Postgres-XC overview
BeforegoingintoPostgresXCconfiguration,pleasetakeabittoconsiderifPostgresXC
clusterisusefultoyourapplication.UnlikeanyotherPostgreSQLreplicationcluster,
PostgresXCiswritescalablePostgreSQLcluster.Moreserversyouhave,more
throughputyouget,bothinreadandwrite.Ofcourse,youcanhandlebiggerdatabsaeif
youhavemoreserversandstorages.
Toachievethis,youshouldconsidereachtabletobedistributed(sharded)orreplicated.If
tablesareupdatedveryfrequently,youshouldconsiderthemtobedistributed.Iftheyare
relativelystaticandarereferedbydistributedtableorotherreplicatedtables,youshould
considerthemtobereplicated.Thismixturewillmakemostoftheupdatelocaltooneofthe
datanode.Becauseeachdatanodeoperatesinparalle,youcangetbothreadandwrite
scalability.
Youcanconnecttoanyofthecoordinators ,eachofwhichprovidesfulltransactionACID
1
capabiliyandtransparentviewtothedatabase.Thatis,anyupdateyoumakeatany
coordinatorisvisibletoanyotherapplicationsconnectedtoanycoordinatorswithoutdelay.
Itbehavesjustlikesingledatabase.
Fromyourapplication,PostgresXCclusterwillbeseenasshowninFigure1.
1
Coordinatorisacomponentyourapplicationshouldconnectto.XChasseveralothercomponent
suchasdatanode,GTMandGTMproxy.Theywillbedescribedsomemoreindatailinthenext
section.
-1/56 -
Figure1.HowPostgresXCisseenfromyourapplication.
WhileconventionalPostgresSQLhotstandbyconfigurationwillbeseenasinFigure2.
Figure2.PostgreSQLHotStandby
-2/56 -
of 56
免费下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜