You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
(10) |
May
(17) |
Jun
(3) |
Jul
|
Aug
|
Sep
(8) |
Oct
(18) |
Nov
(51) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(47) |
Feb
(44) |
Mar
(44) |
Apr
(102) |
May
(35) |
Jun
(25) |
Jul
(56) |
Aug
(69) |
Sep
(32) |
Oct
(37) |
Nov
(31) |
Dec
(16) |
2012 |
Jan
(34) |
Feb
(127) |
Mar
(218) |
Apr
(252) |
May
(80) |
Jun
(137) |
Jul
(205) |
Aug
(159) |
Sep
(35) |
Oct
(50) |
Nov
(82) |
Dec
(52) |
2013 |
Jan
(107) |
Feb
(159) |
Mar
(118) |
Apr
(163) |
May
(151) |
Jun
(89) |
Jul
(106) |
Aug
(177) |
Sep
(49) |
Oct
(63) |
Nov
(46) |
Dec
(7) |
2014 |
Jan
(65) |
Feb
(128) |
Mar
(40) |
Apr
(11) |
May
(4) |
Jun
(8) |
Jul
(16) |
Aug
(11) |
Sep
(4) |
Oct
(1) |
Nov
(5) |
Dec
(16) |
2015 |
Jan
(5) |
Feb
|
Mar
(2) |
Apr
(5) |
May
(4) |
Jun
(12) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
(1) |
2
|
3
(6) |
4
(8) |
5
(9) |
6
|
7
|
8
(6) |
9
(4) |
10
(5) |
11
(2) |
12
|
13
|
14
|
15
(1) |
16
(2) |
17
(5) |
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
(2) |
30
(7) |
31
(11) |
|
|
|
From: Koichi S. <koi...@gm...> - 2011-08-08 07:55:58
|
Year. I agree. ---------- Koichi Suzuki 2011/8/8 Ashutosh Bapat <ash...@en...>: > > > On Mon, Aug 8, 2011 at 11:31 AM, Koichi Suzuki <koi...@gm...> wrote: >> >> I understand it's a bit complicated in the case of replicated tables. >> To start with, I think we can leave all the side effect to user's >> responsibility. User's can issue DML which may lead to inconsistent >> replica status. Which will in tern lead to inconsistent result in >> future statements. > > In this case, we should at least be able to find out whether a DML is > harmful or not and given user a warning. Otherwise, it will be difficult for > users to know what caused the inconsistency in the data? > >> >> I think this is what we should compromise (although everybody wants to >> avoid). >> >> Any further inputs? >> ---------- >> Koichi Suzuki >> >> >> >> 2011/8/8 Michael Paquier <mic...@gm...>: >> > Hi all, >> > >> > I am having a look at triggers, and here is my thoughts as far. I >> > remember >> > that we decided to fire only triggers on Datanodes, but I really doubt >> > this >> > is enough. >> > Triggers are basically fired in two cases, for each row or for each >> > statement. >> > >> > About FOR EACH STATEMENT: >> > This is the default, this setting fires a trigger each time a statement >> > is >> > launched. >> > In XC architecture, a Coordinator master launches the query, so doesn't >> > this >> > implicitly means that this kind of trigger should be fired on >> > Coordinators? >> > Then Coordinator is in charge to transmit to Datanodes the order to fire >> > this trigger? >> > >> > About FOR EACH ROW: >> > This is the case when a trigger is fired each time something happens on >> > a >> > table row. >> > As Datanodes are the only nodes to hold table data, I suppose it is >> > enough >> > to fire triggers on Datanodes to check constraints. However, this is >> > more >> > complicated when triggers themselves do DML actions. >> > For example, if a trigger is fired on a replicated table, and let's >> > imagine >> > that this trigger updates a timestamp on an other replicated table after >> > a >> > DML event, I am afraid that the timestamp value updated will not be >> > consistent among the cluster if trigger is only fired on Datanodes. >> > This becomes even more complicated when a trigger does an insert on a >> > table >> > whose column uses a default value from a non-immutable function (@-@) >> > >> > For the time being, I am thinking that it may be enough to support >> > triggers >> > fired for each statements, and that those triggers will be fired on >> > Coordinators. >> > Moreover, it is necessary to think about a mechanism to activate >> > triggers >> > from a Coordinator to Datanodes (for both events before/after). >> > >> > Thoughts? >> > -- >> > Michael Paquier >> > http://michael.otacoo.com >> > >> > >> > ------------------------------------------------------------------------------ >> > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> > The must-attend event for mobile developers. Connect with experts. >> > Get tools for creating Super Apps. See the latest technologies. >> > Sessions, hands-on labs, demos & much more. Register early & save! >> > http://p.sf.net/sfu/rim-blackberry-1 >> > _______________________________________________ >> > Postgres-xc-developers mailing list >> > Pos...@li... >> > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers >> > >> > >> >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos & much more. Register early & save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> Postgres-xc-developers mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > > > -- > Best Wishes, > Ashutosh Bapat > EntepriseDB Corporation > The Enterprise Postgres Company > > |
From: Ashutosh B. <ash...@en...> - 2011-08-08 07:26:39
|
On Mon, Aug 8, 2011 at 11:31 AM, Koichi Suzuki <koi...@gm...> wrote: > I understand it's a bit complicated in the case of replicated tables. > To start with, I think we can leave all the side effect to user's > responsibility. User's can issue DML which may lead to inconsistent > replica status. Which will in tern lead to inconsistent result in > future statements. > In this case, we should at least be able to find out whether a DML is harmful or not and given user a warning. Otherwise, it will be difficult for users to know what caused the inconsistency in the data? > > I think this is what we should compromise (although everybody wants to > avoid). > > Any further inputs? > ---------- > Koichi Suzuki > > > > 2011/8/8 Michael Paquier <mic...@gm...>: > > Hi all, > > > > I am having a look at triggers, and here is my thoughts as far. I > remember > > that we decided to fire only triggers on Datanodes, but I really doubt > this > > is enough. > > Triggers are basically fired in two cases, for each row or for each > > statement. > > > > About FOR EACH STATEMENT: > > This is the default, this setting fires a trigger each time a statement > is > > launched. > > In XC architecture, a Coordinator master launches the query, so doesn't > this > > implicitly means that this kind of trigger should be fired on > Coordinators? > > Then Coordinator is in charge to transmit to Datanodes the order to fire > > this trigger? > > > > About FOR EACH ROW: > > This is the case when a trigger is fired each time something happens on a > > table row. > > As Datanodes are the only nodes to hold table data, I suppose it is > enough > > to fire triggers on Datanodes to check constraints. However, this is more > > complicated when triggers themselves do DML actions. > > For example, if a trigger is fired on a replicated table, and let's > imagine > > that this trigger updates a timestamp on an other replicated table after > a > > DML event, I am afraid that the timestamp value updated will not be > > consistent among the cluster if trigger is only fired on Datanodes. > > This becomes even more complicated when a trigger does an insert on a > table > > whose column uses a default value from a non-immutable function (@-@) > > > > For the time being, I am thinking that it may be enough to support > triggers > > fired for each statements, and that those triggers will be fired on > > Coordinators. > > Moreover, it is necessary to think about a mechanism to activate triggers > > from a Coordinator to Datanodes (for both events before/after). > > > > Thoughts? > > -- > > Michael Paquier > > http://michael.otacoo.com > > > > > ------------------------------------------------------------------------------ > > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > > The must-attend event for mobile developers. Connect with experts. > > Get tools for creating Super Apps. See the latest technologies. > > Sessions, hands-on labs, demos & much more. Register early & save! > > http://p.sf.net/sfu/rim-blackberry-1 > > _______________________________________________ > > Postgres-xc-developers mailing list > > Pos...@li... > > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > > > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Enterprise Postgres Company |
From: Ashutosh B. <ash...@en...> - 2011-08-08 06:58:51
|
Thanks a lot Michael. On Mon, Aug 8, 2011 at 5:32 AM, Michael Paquier <mic...@gm...>wrote: > Hi all, > > Please find attached a patch that fixes 90% of the code warnings. > There are still warnings in the code, that I cannot take out due to the > strong dependency between GTM and the rest of the code since GTM-Standby > implementation. > Any comments are welcome. > > Regards, > -- > Michael Paquier > http://michael.otacoo.com > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Enterprise Postgres Company |
From: Koichi S. <koi...@gm...> - 2011-08-08 06:01:24
|
I understand it's a bit complicated in the case of replicated tables. To start with, I think we can leave all the side effect to user's responsibility. User's can issue DML which may lead to inconsistent replica status. Which will in tern lead to inconsistent result in future statements. I think this is what we should compromise (although everybody wants to avoid). Any further inputs? ---------- Koichi Suzuki 2011/8/8 Michael Paquier <mic...@gm...>: > Hi all, > > I am having a look at triggers, and here is my thoughts as far. I remember > that we decided to fire only triggers on Datanodes, but I really doubt this > is enough. > Triggers are basically fired in two cases, for each row or for each > statement. > > About FOR EACH STATEMENT: > This is the default, this setting fires a trigger each time a statement is > launched. > In XC architecture, a Coordinator master launches the query, so doesn't this > implicitly means that this kind of trigger should be fired on Coordinators? > Then Coordinator is in charge to transmit to Datanodes the order to fire > this trigger? > > About FOR EACH ROW: > This is the case when a trigger is fired each time something happens on a > table row. > As Datanodes are the only nodes to hold table data, I suppose it is enough > to fire triggers on Datanodes to check constraints. However, this is more > complicated when triggers themselves do DML actions. > For example, if a trigger is fired on a replicated table, and let's imagine > that this trigger updates a timestamp on an other replicated table after a > DML event, I am afraid that the timestamp value updated will not be > consistent among the cluster if trigger is only fired on Datanodes. > This becomes even more complicated when a trigger does an insert on a table > whose column uses a default value from a non-immutable function (@-@) > > For the time being, I am thinking that it may be enough to support triggers > fired for each statements, and that those triggers will be fired on > Coordinators. > Moreover, it is necessary to think about a mechanism to activate triggers > from a Coordinator to Datanodes (for both events before/after). > > Thoughts? > -- > Michael Paquier > http://michael.otacoo.com > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > |
From: Michael P. <mic...@gm...> - 2011-08-08 02:08:10
|
Hi all, I am having a look at triggers, and here is my thoughts as far. I remember that we decided to fire only triggers on Datanodes, but I really doubt this is enough. Triggers are basically fired in two cases, for each row or for each statement. About FOR EACH STATEMENT: This is the default, this setting fires a trigger each time a statement is launched. In XC architecture, a Coordinator master launches the query, so doesn't this implicitly means that this kind of trigger should be fired on Coordinators? Then Coordinator is in charge to transmit to Datanodes the order to fire this trigger? About FOR EACH ROW: This is the case when a trigger is fired each time something happens on a table row. As Datanodes are the only nodes to hold table data, I suppose it is enough to fire triggers on Datanodes to check constraints. However, this is more complicated when triggers themselves do DML actions. For example, if a trigger is fired on a replicated table, and let's imagine that this trigger updates a timestamp on an other replicated table after a DML event, I am afraid that the timestamp value updated will not be consistent among the cluster if trigger is only fired on Datanodes. This becomes even more complicated when a trigger does an insert on a table whose column uses a default value from a non-immutable function (@-@) For the time being, I am thinking that it may be enough to support triggers fired for each statements, and that those triggers will be fired on Coordinators. Moreover, it is necessary to think about a mechanism to activate triggers from a Coordinator to Datanodes (for both events before/after). Thoughts? -- Michael Paquier http://michael.otacoo.com |
From: Michael P. <mic...@gm...> - 2011-08-08 00:02:35
|
Hi all, Please find attached a patch that fixes 90% of the code warnings. There are still warnings in the code, that I cannot take out due to the strong dependency between GTM and the rest of the code since GTM-Standby implementation. Any comments are welcome. Regards, -- Michael Paquier http://michael.otacoo.com |