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
(10) |
2
(18) |
3
(1) |
4
|
5
(15) |
6
(16) |
7
(11) |
8
(17) |
9
(7) |
10
(6) |
11
(1) |
12
(6) |
13
(4) |
14
(8) |
15
(3) |
16
(3) |
17
|
18
|
19
(8) |
20
(10) |
21
(12) |
22
(5) |
23
(3) |
24
|
25
|
26
(2) |
27
(2) |
28
(1) |
29
(2) |
30
(5) |
31
(1) |
From: Ashutosh B. <ash...@en...> - 2013-08-23 06:38:52
|
Hi All, Consider the following query, select * from (select avg(val2), val from tab1) a join (select avg(val2), val from tab2) b using (val); where tab1 and tab2 are tables distributed on column val. The query gets shipped completely using FQS. But not through standard planner. The standard planner, as of now, doesn't have ability to ship subquery RTEs. I am trying a fix for the same. If the subquery is shippable completely i.e. corresponding rel has subplan with RemoteQuery as top plan which doesn't have any coordinator quals and does not require projection (doesn't have any unshippable expressions in the targetlist), it can be used in the same fashion as a table on datanodes, except that fetching data requires firing query, which should be same as the query constructed in the RemoteQuery node. While constructing this query, if there are any aggregates in the query, those need to be finalised on the datanode (remember, we get transitioned results for aggregates from the datanodes by default.) In order to specify that the datanode should finalise the aggregates, we add finalisation function to the aggregate. This is done during deparsing phase, using flag fianalise_aggs. This flag was earlier in Query, then moved to RemoteQuery to avoid changes to PostgreSQL structures. But having it in RemoteQuery implies that the whole query in that node should have aggregates finalised. That may not be true once we start reducing subquery relations, since in such cases, you may not want to finalise aggregates in the top query but do want to do that for a subquery. Thus it fits to have this switch to be in Query structure. Now, that we have seen one back and forth of this flag, I would like to discuss some more options for getting finalised results from the datanode and have some poll of which one is best. (This discussion assumes that readers know that we construct a Query structure for the query to be passed to the datanode, and then deparse it) 1. Use the finalise_aggs flag in Query and while deparsing the query add finalisation function. Less impact on PG code. 2. Add final function node on the top of aggregate nodes in the Query to be sent to the datanode and deparse this Query structure. No change in PG code, but we need to add final function nodes on each aggregate node by pulling those from everywhere in the query, so some coding involved. Deparsing is expected to take care of properly constructing the query automatically. 3. Add an aggregate directive like "finalise" in line with other directives like "order by", etc. This requires syntax change in PG, which can be invasive. Any other ideas? -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Postgres Database Company |
From: Nikhil S. <ni...@st...> - 2013-08-23 04:12:40
|
> Accumulating such fixes are very valuable to the project. > > Yes indeed. Focusing on performance along with emphasis on stability is indeed important. And I can see that you have already committed Andrei's memory leak patch. Sorry about that. For some reason my GIT tree was reporting up-to-date but did not contain any updates from August! I did a fresh clone from github and can see all commits properly now. Regards, Nikhils Regards; > --- > Koichi Suzuki > > On 2013/08/22, at 20:31, Nikhil Sontakke <ni...@st...> wrote: > > Hi, > > PFA, patch which applies against PGXC head, rel11, and rel10. > > The node_name which gets added via GTM_RegisterPGXCNode does not get freed > up. > > Btw, Andrei's memleak patch should also be committed soon. > > Regards, > Nikhils > -- > StormDB - http://www.stormdb.com > The Database Cloud <small_memleak_gtm.patch> > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk_______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > > -- StormDB - http://www.stormdb.com The Database Cloud |
From: 鈴木 幸市 <ko...@in...> - 2013-08-23 00:56:51
|
Thanks Nikhil. Accumulating such fixes are very valuable to the project. Regards; --- Koichi Suzuki On 2013/08/22, at 20:31, Nikhil Sontakke <ni...@st...<mailto:ni...@st...>> wrote: Hi, PFA, patch which applies against PGXC head, rel11, and rel10. The node_name which gets added via GTM_RegisterPGXCNode does not get freed up. Btw, Andrei's memleak patch should also be committed soon. Regards, Nikhils -- StormDB - http://www.stormdb.com<http://www.stormdb.com/> The Database Cloud <small_memleak_gtm.patch>------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk_______________________________________________ Postgres-xc-developers mailing list Pos...@li... https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers |