You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(6) |
Sep
|
Oct
(19) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(12) |
Feb
(1) |
Mar
(4) |
Apr
(4) |
May
(32) |
Jun
(12) |
Jul
(11) |
Aug
(1) |
Sep
(6) |
Oct
(3) |
Nov
|
Dec
(10) |
2012 |
Jan
(11) |
Feb
(1) |
Mar
(3) |
Apr
(25) |
May
(53) |
Jun
(38) |
Jul
(103) |
Aug
(54) |
Sep
(31) |
Oct
(66) |
Nov
(77) |
Dec
(20) |
2013 |
Jan
(91) |
Feb
(86) |
Mar
(103) |
Apr
(107) |
May
(25) |
Jun
(37) |
Jul
(17) |
Aug
(59) |
Sep
(38) |
Oct
(78) |
Nov
(29) |
Dec
(15) |
2014 |
Jan
(23) |
Feb
(82) |
Mar
(118) |
Apr
(101) |
May
(103) |
Jun
(45) |
Jul
(6) |
Aug
(10) |
Sep
|
Oct
(32) |
Nov
|
Dec
(9) |
2015 |
Jan
(3) |
Feb
(5) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(9) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
1
(6) |
2
(3) |
3
(4) |
4
(4) |
5
(7) |
6
(3) |
7
(16) |
8
(4) |
9
(6) |
10
(3) |
11
|
12
|
13
|
14
(2) |
15
(2) |
16
(1) |
17
(14) |
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
(1) |
29
(2) |
30
|
31
|
|
|
From: admin <ad...@75...> - 2013-10-14 08:02:09
|
Hello, I'm a newbie and tring to evaluate pgxc for a project. I need to say pgxc is an interesting solution of cluster. In the evaluation I found some questions, if somebody can answer it I will be very glad. Environment: pgxc 1.1, centos 6 32bit in virtualbox ServerA: gtm coord_01 datanode_01 ServerB: datanode_02 Question: a. Is connection secure between coordinator with datanode, or coordinator with gtm? I tried if datanode only allow password authentication it will not accessable from coordinator, and gtm have no such config like pg_hda.conf b. What is the warning "Do not have a GTM snapshot available" mean? c. If gtm_proxy go after gtm, it will direct exit, is it a problem? Example if I'm going to write a loader, step cannot be gtm_ctl -Z gtm -D gtm start gtm_ctl -Z gtm_proxy -D gtm_proxy start but must be gtm_ctl -Z gtm -D gtm start [wait the port use by gtm open] gtm_ctl -Z gtm_proxy -D gtm_proxy start d. Check only one node is primary seems have a bug, example: select * from pgxc_node; "coord_01";"C";5432;"localhost";f;f;1975432854 "datanode_02";"D";15432;"192.168.8.184";f;f;-1414354208 "datanode_01";"D";15432;"192.168.8.183";t;t;-1746477557 select pgxc_pool_reload(); (success) alter node datanode_01 with (port=15433); ERROR: PGXC node datanode_01: two nodes cannot be primary alter node datanode_01 with (primary=true); ERROR: PGXC node datanode_01: two nodes cannot be primary alter node datanode_01 with (primary=false); (success) select pgxc_pool_reload(); (success) select * from pgxc_node; "coord_01";"C";5432;"localhost";f;f;1975432854 "datanode_02";"D";15432;"192.168.8.184";f;f;-1414354208 "datanode_01";"D";15432;"192.168.8.183";f;t;-1746477557 alter node datanode_01 with (primary=true); ERROR: PGXC node datanode_01: two nodes cannot be primary These command all done in the same session open from pgadmin. e. I cant set primary key to a table if remote node added, is it not supported yet? alter table test add primary key (id); ERROR: Cannot create index whose evaluation cannot be enforced to remote nodes f. I cant modify value of sequence, is it not supported yet? select setval('public.test_01_id_seq', 123, true); ERROR: GTM error, could not obtain sequence value g. I found some time field name and its type will exchange, like "name with type text" some time will trun to "text with type name", and type "name" is not valid. I have no reproduction way yet but is it a known bug? h. I found some time sequence from serial will broken then i can't insert any data, select nextval('public.test_01_id_seq'); ERROR: Status: XX00 I can upload database files if you need. i. Is there some way to get what nodes are using with the table? These command can manage nodes with table alter table tablename add node ... alter table tablename delete node ... alter table tablename to node ... but I dont known what command can list what nodes are using with the table. j. Is this project ready for production use? |
From: Yehezkel H. <hor...@ch...> - 2013-10-14 07:17:56
|
2nd try. Can you please answer my questions below? TIA Yehezkel Horowitz -----Original Message----- From: Yehezkel Horowitz Sent: Tuesday, October 08, 2013 2:30 PM To: 'Michael Paquier'; <pos...@li...> Subject: RE: [Postgres-xc-general] Some questions about postgres-XC >> My goal - I have an application that needs SQL DB and must always be >> up (I have a backup machine for this purpose). >Have you thought about PostgreSQL itself for your solution. Is there any reason you'd need XC? Do you have an amount of data that >forces you to use multi-master architecture or perhaps PG itself could handle it? I need multi-master capability, as clients might connect to both machines at the same time; Yes - my tables will be replicated. >Yep, this is doable. If all your data is replicated you would be able to do that. However you need to keep in mind that you will not be able to write new data to node B if node A is not accessible. If you data is replicated and you need to update a table, both nodes need to work. This is a surprise for me, this wasn't clear in the documentation I read nor at some PG-XC presentations I looked at in the internet. Isn't this point one of the conditions for High-Availability of DB - allowing work to continue even if one of the machines failed? >Or if you want B to be still writable, you could update the node information inside it, make it workable alone, and when server A is up again recreate a new XC node from scratch and add it again to the cluster. What is the correct procedure for doing that? Is there a pgxc_ctl commands for doing that? >> My questions: >> >> 1. In your docs, you always put the GTM in dedicated machine. >> a. Is this a requirement, just an easy to understand topology or best >> practice? >GTM consumes a certain amount of CPU and does not need much RAM, while for your nodes you might prioritize the opposite. >> b. In case of best practice, what is the expected penalty in case the >> GTM is deployed on the same machine with coordinator and datanode? >CPU resource consumption and reduction of performance if your queries need some CPU with for example internal sort operations among other things. O.K got it; For now I'm trying to make it work, afterwards I'll take care for make it work faster. >> 2. What should I do after Machine A is back to life if I want: >> a. Make it act as a new slave? >> b. Make it become the master again? >There is no principle of master/slave in XC like in Postgres (well you could create a slave node for an individual Coordinator/Datanode). >But basically in your configuration machine A and B have the same state. >Only GTM is a slave. Sorry, I meant in the context of GTM - how should I make MachineA a new GTM-slave or make it a GTM-master again? |