You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(28) |
Jun
(12) |
Jul
(11) |
Aug
(12) |
Sep
(5) |
Oct
(19) |
Nov
(14) |
Dec
(12) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(18) |
Feb
(30) |
Mar
(115) |
Apr
(89) |
May
(50) |
Jun
(44) |
Jul
(22) |
Aug
(13) |
Sep
(11) |
Oct
(30) |
Nov
(28) |
Dec
(39) |
2012 |
Jan
(38) |
Feb
(18) |
Mar
(43) |
Apr
(91) |
May
(108) |
Jun
(46) |
Jul
(37) |
Aug
(44) |
Sep
(33) |
Oct
(29) |
Nov
(36) |
Dec
(15) |
2013 |
Jan
(35) |
Feb
(611) |
Mar
(5) |
Apr
(55) |
May
(30) |
Jun
(28) |
Jul
(458) |
Aug
(34) |
Sep
(9) |
Oct
(39) |
Nov
(22) |
Dec
(32) |
2014 |
Jan
(16) |
Feb
(16) |
Mar
(42) |
Apr
(179) |
May
(7) |
Jun
(6) |
Jul
(9) |
Aug
|
Sep
(4) |
Oct
|
Nov
(3) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
|
2
|
3
(3) |
4
(2) |
5
(2) |
6
|
7
|
8
|
9
|
10
|
11
(2) |
12
(5) |
13
|
14
|
15
(2) |
16
(1) |
17
|
18
|
19
|
20
|
21
|
22
(1) |
23
(2) |
24
(2) |
25
|
26
(2) |
27
|
28
|
29
|
30
(2) |
31
(3) |
|
|
|
From: Ashutosh B. <ash...@us...> - 2012-10-11 08:52:18
|
Project "Postgres-XC". The branch, master has been updated via 66c17a5a348a4ed09859be3c45c64e9a99cc2d49 (commit) from 7b633f16bf11ade60acef4520c614dc3dd5704b8 (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=66c17a5a348a4ed09859be3c45c64e9a99cc2d49 commit 66c17a5a348a4ed09859be3c45c64e9a99cc2d49 Author: Ashutosh Bapat <ash...@en...> Date: Thu Oct 11 14:18:14 2012 +0530 The commit has following changes. 1. If each group according to GROUP BY clause resides completely on a single datanode i.e. GROUP BY has distribution column in it for distributed underlying relation or the underlying relation is a replicated relation, finalise the aggregates on the datanodes. There is no need for a covering Group or Agg node in the standard planner. 2. All the optimizations related to GROUP BY and aggregation are now available even if the query has ORDER BY or DISTINCT clauses in it. (Earlier they were not.) Implementation details --------------------------------- We push aggregates to the datanodes to get transition results for each group and then apply combination and finalization phase at the coordinator. This is done by substituting Aggref nodes in RemoteQuery targetlist (representing results of the datanodes aggregation) as arguments to the Aggref nodes in Agg plans and letting set_plan_refs take care of Var substitution. But since this changed the Aggref nodes on Agg plan it was not possible for the nodes above Agg node to find matching Aggref nodes and thus set the plan references correctly. That's why we were not able to use these optimizations in the presence of ORDER BY or DISTINCT clauses which require nodes to be added on top of Agg node (if any). Hence, moved this logic of substitution to set_plan_refs() and is applied only for Agg node. M src/backend/nodes/copyfuncs.c M src/backend/nodes/outfuncs.c M src/backend/optimizer/plan/pgxcplan.c M src/backend/optimizer/plan/setrefs.c M src/backend/optimizer/util/pgxcship.c M src/include/optimizer/pgxcplan.h M src/include/optimizer/pgxcship.h M src/test/regress/expected/aggregates.out M src/test/regress/expected/aggregates_1.out M src/test/regress/expected/xc_FQS.out M src/test/regress/expected/xc_groupby.out M src/test/regress/expected/xc_having.out M src/test/regress/sql/xc_FQS.sql M src/test/regress/sql/xc_groupby.sql M src/test/regress/sql/xc_having.sql ----------------------------------------------------------------------- Summary of changes: src/backend/nodes/copyfuncs.c | 1 - src/backend/nodes/outfuncs.c | 1 - src/backend/optimizer/plan/pgxcplan.c | 563 +++++++------- src/backend/optimizer/plan/setrefs.c | 98 +++ src/backend/optimizer/util/pgxcship.c | 26 +- src/include/optimizer/pgxcplan.h | 1 - src/include/optimizer/pgxcship.h | 1 + src/test/regress/expected/aggregates.out | 38 +- src/test/regress/expected/aggregates_1.out | 36 +- src/test/regress/expected/xc_FQS.out | 12 +- src/test/regress/expected/xc_groupby.out | 1154 ++++++++++++---------------- src/test/regress/expected/xc_having.out | 274 +++---- src/test/regress/sql/xc_FQS.sql | 2 +- src/test/regress/sql/xc_groupby.sql | 275 ++++---- src/test/regress/sql/xc_having.sql | 24 +- 15 files changed, 1219 insertions(+), 1287 deletions(-) hooks/post-receive -- Postgres-XC |
From: Ashutosh B. <ash...@us...> - 2012-10-11 07:07:11
|
Project "Postgres-XC". The branch, master has been updated via 7b633f16bf11ade60acef4520c614dc3dd5704b8 (commit) from 5ccf23fc829af560f4ddb325e0a6f5eacfdfd10c (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=7b633f16bf11ade60acef4520c614dc3dd5704b8 commit 7b633f16bf11ade60acef4520c614dc3dd5704b8 Author: Ashutosh Bapat <ash...@en...> Date: Thu Oct 11 12:28:02 2012 +0530 Move Postgres-XC specific planner code to appropriate PostgreSQL directories. M src/backend/catalog/pg_proc.c M src/backend/commands/schemacmds.c M src/backend/nodes/copyfuncs.c M src/backend/nodes/outfuncs.c M src/backend/optimizer/path/pgxcpath.c M src/backend/optimizer/plan/pgxcplan.c M src/backend/optimizer/plan/planner.c M src/backend/optimizer/plan/setrefs.c M src/backend/parser/analyze.c M src/backend/parser/parse_utilcmd.c M src/backend/pgxc/Makefile D src/backend/pgxc/plan/Makefile D src/backend/pgxc/plan/planner.c M src/backend/tcop/postgres.c M src/backend/tcop/pquery.c M src/backend/tcop/utility.c M src/backend/utils/adt/ruleutils.c M src/backend/utils/misc/guc.c R091 src/include/pgxc/planner.h src/include/optimizer/pgxcplan.h M src/include/pgxc/execRemote.h ----------------------------------------------------------------------- Summary of changes: src/backend/catalog/pg_proc.c | 1 - src/backend/commands/schemacmds.c | 2 +- src/backend/nodes/copyfuncs.c | 2 +- src/backend/nodes/outfuncs.c | 2 +- src/backend/optimizer/path/pgxcpath.c | 2 +- src/backend/optimizer/plan/pgxcplan.c | 818 ++++++++++++++++++- src/backend/optimizer/plan/planner.c | 2 +- src/backend/optimizer/plan/setrefs.c | 2 +- src/backend/parser/analyze.c | 2 +- src/backend/parser/parse_utilcmd.c | 2 +- src/backend/pgxc/Makefile | 2 +- src/backend/pgxc/plan/Makefile | 19 - src/backend/pgxc/plan/planner.c | 884 -------------------- src/backend/tcop/postgres.c | 2 +- src/backend/tcop/pquery.c | 2 +- src/backend/tcop/utility.c | 2 +- src/backend/utils/adt/ruleutils.c | 2 +- src/backend/utils/misc/guc.c | 2 +- .../{pgxc/planner.h => optimizer/pgxcplan.h} | 13 +- src/include/pgxc/execRemote.h | 2 +- 20 files changed, 833 insertions(+), 932 deletions(-) delete mode 100644 src/backend/pgxc/plan/Makefile delete mode 100644 src/backend/pgxc/plan/planner.c rename src/include/{pgxc/planner.h => optimizer/pgxcplan.h} (91%) hooks/post-receive -- Postgres-XC |