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
(1) |
2
(1) |
3
|
4
|
5
|
6
|
7
(5) |
8
(11) |
9
(5) |
10
|
11
(5) |
12
(1) |
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
(4) |
23
|
24
|
25
(3) |
26
|
27
|
28
|
29
|
30
(2) |
From: Mason <ma...@us...> - 2012-06-09 17:08:08
|
On Sat, Jun 9, 2012 at 5:40 AM, Michael Paquier <mic...@gm...> wrote: > Hi, > > I found an article while browsing the web comparing pgpool-ii, XC and > postgres. OK, that's mostly pgpool but the latest paragraph is what caught > my attention. > It would be nice to get in touch with this guy, it doesn't look that he > heard about the latest news of the project: release of 1.0. > http://www.varnernet.com/~bryan/2012/05/29/i-love-postgresql-but-pgpool-ii-is-another-story/ > > At least the comment on pgpool-ii is kind of... interesting. > I let see it yourself. > > Someone knows who this guy is? I replied about a week ago, but he either deleted my response or is moderating comments. Mason > -- > Michael Paquier > http://michael.otacoo.com > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > |
From: Michael P. <mic...@gm...> - 2012-06-09 09:40:38
|
Hi, I found an article while browsing the web comparing pgpool-ii, XC and postgres. OK, that's mostly pgpool but the latest paragraph is what caught my attention. It would be nice to get in touch with this guy, it doesn't look that he heard about the latest news of the project: release of 1.0. http://www.varnernet.com/~bryan/2012/05/29/i-love-postgresql-but-pgpool-ii-is-another-story/ At least the comment on pgpool-ii is kind of... interesting. I let see it yourself. Someone knows who this guy is? -- Michael Paquier http://michael.otacoo.com |
From: Michael P. <mic...@gm...> - 2012-06-09 08:34:32
|
On Sat, Jun 9, 2012 at 10:29 AM, Michael Vitale <mic...@ar...> wrote: > Thanks for the responses. I'd like to pursue the jdbc driver issue for > Postgres-xc a bit more... > > Regarding the jdbc driver for Postgresql, it would be neat if we could > take a current cut of the postgresql jdbc driver and customize it for > postgres-xc, so that the input connection string could contain an array of > coordinator addresses, just like oracleRAC, so we could have "automatic > failover" at the coordinator node level embedded right into the jdbc > driver. Consider new jdbc pseudo code: > I think jdbc driver has already some failover functionalities already included in it, but honestly not sure. So it might be that there is already some code in that would help to support multiple connections to cluster nodes. However I am not really updated on the development so perhaps such a feature is not implemented, but I am sure that JDBC guys might be interested in such a feature to redirect read-only queries to slave nodes for example just for vanilla postgres. Btw, the functionality you propose would be helpful for both projects. You should have a look here to get in touch with the latest development: http://github.com/pgjdbc/pgjdbc. > > If sql connect error encountered, see if the connection string contains > another coordinator address and if so, connect to that coordinator and set > its handle globally to replace the original connection handle so other > threads will use it as well for future IO requests to the database. > > Now of course this doesn't handle failover at the data node level, but is > seems like it would sure do the trick at the coordinator node level. > Yes that would be helpful. But be sure to check if there is not already some infrastructure in jdbc itself. Even if automatic failover on Datanodes is a core feature, there are already some ways to check if a Datanode is alive or not from a Coordinator, so you could also know when a Datanode is down and promote a slave attached to it. There is a functionality called EXECUTE DIRECT whose doc is here: http://postgres-xc.sourceforge.net/docs/1_0/sql-executedirect.html This SQL specific to XC allows to launch a query directly to a remote node, Coordinator or Datanode when connected on a Coordinator. For example, let's imagine that your driver is connected to Coordinator called node_coord1, and you have Datanodes called node_dn1, node_dn2, ... node_dnN. You can simply check if the node (here node_dn2) is alive by launching something like: EXECUTE DIRECT ON NODE node_dn2 'SELECT 1'; If the node is offline for a reason or another pooler will complain telling that it cannot get a connection to remote node. You can also use that from a Coordinator to check if a remote Coordinator is down. > > Now let me compare this new postgres-xc jdbc driver to HA failover already > embedded in JBOSS AS 7. It would be much better, because while JBOSS would > allow you to input multiple jdbc connection strings (using the vertical bar > separator), it does not break down bad connections and automatically > reconnect those clients to the other one. Instead it will just make sure > that future connection handle requests are directed to the other one. > Already connected users would have to manually logoff from their > applications and log on again. But if we embed multiple coordinators into > a new Postgres-xc jdbc driver, then the driver will break down the bad > connections and automatically connect those users to the other cordinators > without the users having to do anything! > > Although I'm calling this a new jdbc driver for postgres-xc, the concept > would work the same for postgresql and postgres-xc: jdbc driver allows > specification of multiple database connection parameters. > > What you all think? And if you all know where this would be useful to a > postgresql jdbc community email address, please forward this. > So it would be nice. Your module should be pluggable on top of jdbc, or even directly included in jdbc if you consider the case of normal postgreSQL with master and slave nodes (slave nodes are read-only) for read-query balancing. -- Michael Paquier http://michael.otacoo.com |
From: Koichi S. <koi...@gm...> - 2012-06-09 02:17:44
|
We have discussed this issue inside some of the core members. Your proposal looks very nice to XC. I'm interested in how this can be maintained in a long run. Do you have any idea? Regards; ---------- Koichi Suzuki 2012/6/9 Michael Vitale <mic...@ar...>: > Thanks for the responses. I'd like to pursue the jdbc driver issue for Postgres-xc a bit more... > > Regarding the jdbc driver for Postgresql, it would be neat if we could take a current cut of the postgresql jdbc driver and customize it for postgres-xc, so that the input connection string could contain an array of coordinator addresses, just like oracleRAC, so we could have "automatic failover" at the coordinator node level embedded right into the jdbc driver. Consider new jdbc pseudo code: > > If sql connect error encountered, see if the connection string contains another coordinator address and if so, connect to that coordinator and set its handle globally to replace the original connection handle so other threads will use it as well for future IO requests to the database. > > Now of course this doesnt handle failover at the data node level, but is seems like it would sure do the trick at the coordinator node level. > > Now let me compare this new postgres-xc jdbc driver to HA failover already embedded in JBOSS AS 7. It would be much better, because while JBOSS would allow you to input multiple jdbc connection strings (using the vertical bar separator), it does not break down bad connections and automatically reconnect those clients to the other one. Instead it will just make sure that future connection handle requests are directed to the other one. Already connected users would have to manually logoff from their applications and log on again. But if we embed multiple coordinators into a new Postgres-xc jdbc driver, then the driver will break down the bad connections and automatically connect those users to the other cordinators without the users having to do anything! > > Although I'm calling this a new jdbc driver for postgres-xc, the concept would work the same for postgresql and postgres-xc: jdbc driver allows specification of multiple database connection parameters. > > What you all think? And if you all know where this would be useful to a postgresql jdbc community email address, please forward this. > > Respectfully Yours, > Michael Vitale > > ________________________________________ > From: Michael Paquier [mic...@gm...] > Sent: Friday, June 08, 2012 8:30 AM > To: Michael Vitale > Cc: Postgres-XC mailing list > Subject: Re: [Postgres-xc-general] An article about XC at PgCon > > On 2012/06/08, at 20:19, Michael Vitale <mic...@ar...> wrote: > >> How do you undo an initdb? In the case where I want to redefine the initdb differently. Also, I did the gmake uninstall, but it didn't remove any binary installed files. > Let's take the problems one-by-one. > For initdb, you need to delete the data folder and then recreate it. I don't think Postgres can redefine a data folder with initdb and just returns an error telling that existing data folder is not empty. > gmaje uninstall should work. At least in the environments used here it does. >> >> Also, does postgres-xc work well as a High Availability solution, i.e., automatic failover? > You will need to plug in yourself slave nodes to your master nodes and having a monitoring engine that performs failover. You got the same problems with Postgres. Its core features cannot perform a failover themselves and you always need to kick something to perform a failover in case of a node failure. >> >> I come from an oracle RAC world, and I am playing with postgres-xc 1.0.0 on 2 centos 6, 64 bit boxes. >> >> Oracle has failover embedded in its listener configuration and in its jdbc driver. For instance, the oracle jdbc driver for our jboss server is something like this: >> >> <connection-url>jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=off)(address=(protocol=tcp)(host=odb0-vip.arin.net)(port=1521))(address=(protocol=tcp)(host=odb1-vip.arin.net)(port=1521)))(connect_data=(service_name=pjpn.arin.net)(failover_mode=(type=select)(method=basic))))</connection-url> >> >> Note that 2 oracle nodes are specified right within the oracle jdbc driver. For normal PostgreSQL, the driver would look something like this: >> <connection-url>jdbc:postgresql://dbproto1.arin.net:5432/pjpn</connection-url> >> >> So, I'm wondering if there is already a way to specify more than one cordinator in the jdbc connection string for connecting to postgres-xc? > I am not a specialist of jdbc, but I don't think you can specify multiple connection points in. >> >> If not, then I reckon its up to me to implement a vip switched node that would automatically point to another cordinator if the first vip went down. > Yep think so. The core features of xc should be sufficient for a correct failover. >> >> Comments, suggestions? >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |
From: Michael V. <mic...@ar...> - 2012-06-09 01:30:02
|
Thanks for the responses. I'd like to pursue the jdbc driver issue for Postgres-xc a bit more... Regarding the jdbc driver for Postgresql, it would be neat if we could take a current cut of the postgresql jdbc driver and customize it for postgres-xc, so that the input connection string could contain an array of coordinator addresses, just like oracleRAC, so we could have "automatic failover" at the coordinator node level embedded right into the jdbc driver. Consider new jdbc pseudo code: If sql connect error encountered, see if the connection string contains another coordinator address and if so, connect to that coordinator and set its handle globally to replace the original connection handle so other threads will use it as well for future IO requests to the database. Now of course this doesnt handle failover at the data node level, but is seems like it would sure do the trick at the coordinator node level. Now let me compare this new postgres-xc jdbc driver to HA failover already embedded in JBOSS AS 7. It would be much better, because while JBOSS would allow you to input multiple jdbc connection strings (using the vertical bar separator), it does not break down bad connections and automatically reconnect those clients to the other one. Instead it will just make sure that future connection handle requests are directed to the other one. Already connected users would have to manually logoff from their applications and log on again. But if we embed multiple coordinators into a new Postgres-xc jdbc driver, then the driver will break down the bad connections and automatically connect those users to the other cordinators without the users having to do anything! Although I'm calling this a new jdbc driver for postgres-xc, the concept would work the same for postgresql and postgres-xc: jdbc driver allows specification of multiple database connection parameters. What you all think? And if you all know where this would be useful to a postgresql jdbc community email address, please forward this. Respectfully Yours, Michael Vitale ________________________________________ From: Michael Paquier [mic...@gm...] Sent: Friday, June 08, 2012 8:30 AM To: Michael Vitale Cc: Postgres-XC mailing list Subject: Re: [Postgres-xc-general] An article about XC at PgCon On 2012/06/08, at 20:19, Michael Vitale <mic...@ar...> wrote: > How do you undo an initdb? In the case where I want to redefine the initdb differently. Also, I did the gmake uninstall, but it didn't remove any binary installed files. Let's take the problems one-by-one. For initdb, you need to delete the data folder and then recreate it. I don't think Postgres can redefine a data folder with initdb and just returns an error telling that existing data folder is not empty. gmaje uninstall should work. At least in the environments used here it does. > > Also, does postgres-xc work well as a High Availability solution, i.e., automatic failover? You will need to plug in yourself slave nodes to your master nodes and having a monitoring engine that performs failover. You got the same problems with Postgres. Its core features cannot perform a failover themselves and you always need to kick something to perform a failover in case of a node failure. > > I come from an oracle RAC world, and I am playing with postgres-xc 1.0.0 on 2 centos 6, 64 bit boxes. > > Oracle has failover embedded in its listener configuration and in its jdbc driver. For instance, the oracle jdbc driver for our jboss server is something like this: > > <connection-url>jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=off)(address=(protocol=tcp)(host=odb0-vip.arin.net)(port=1521))(address=(protocol=tcp)(host=odb1-vip.arin.net)(port=1521)))(connect_data=(service_name=pjpn.arin.net)(failover_mode=(type=select)(method=basic))))</connection-url> > > Note that 2 oracle nodes are specified right within the oracle jdbc driver. For normal PostgreSQL, the driver would look something like this: > <connection-url>jdbc:postgresql://dbproto1.arin.net:5432/pjpn</connection-url> > > So, I'm wondering if there is already a way to specify more than one cordinator in the jdbc connection string for connecting to postgres-xc? I am not a specialist of jdbc, but I don't think you can specify multiple connection points in. > > If not, then I reckon its up to me to implement a vip switched node that would automatically point to another cordinator if the first vip went down. Yep think so. The core features of xc should be sufficient for a correct failover. > > Comments, suggestions? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |