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
|
4
(3) |
5
(1) |
6
(1) |
7
|
8
|
9
|
10
(2) |
11
|
12
(1) |
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
(1) |
24
(1) |
25
|
26
(3) |
27
|
28
(2) |
29
|
30
|
31
|
|
|
|
|
|
From: Ashutosh B. <ash...@us...> - 2012-12-12 13:32:43
|
Project "Postgres-XC". The branch, master has been updated via 71cac949e1847e479a0d6fff1361f7a5b05e6950 (commit) from 07e15efd88e29673064585cb5aeaf5043273ddcd (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=71cac949e1847e479a0d6fff1361f7a5b05e6950 commit 71cac949e1847e479a0d6fff1361f7a5b05e6950 Author: Ashutosh Bapat <ash...@en...> Date: Wed Dec 12 16:31:51 2012 +0400 Delegate sorting/ordering operation to Datanode/s by pushing down the ORDER BY clause to Datanode/s while planning in standard_planner(). Leveraged the already existing merge sort mechanism for RemoteQuery but now it is executed outside RemoteQuery using Sort plans. For a Sort plan check if all the expressions on which the result needs to be sorted are shippable and that the underlying tree allows to push ORDER BY to the Datanodes. If so, include the ORDER BY clause in the query to be sent to the Datanodes. If the number of Datanodes which participate in RemoteQuery is not 1, add a covering Sort node to merge the results from the Datanodes, otherwise, there is no need for covering Sort plan. The merge sort mechanism treats every Datanode as a tape and prefetches the results from the Datanode corresponding to a dwindling tape. This is enabled by setting the node from where to pull the next row before calling ExecProcNode on RemoteQueryState. The same mechanism is being used for Sort plan node under Group or Agg nodes. Added test xc_sort.sql for testing this functionality. Added GUC enable_remotesort to enable/disable the optimization along-with the documentation. Removed the now useless members sort and tuplesortstate from RemoteQuery and RemoteQueryState resp. M doc-xc/src/sgml/config.sgmlin M src/backend/executor/nodeSort.c M src/backend/nodes/copyfuncs.c M src/backend/optimizer/path/costsize.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/pgxc/pool/execRemote.c M src/backend/utils/misc/guc.c M src/backend/utils/misc/postgresql.conf.sample M src/backend/utils/sort/tuplesort.c M src/include/nodes/plannodes.h M src/include/optimizer/cost.h M src/include/optimizer/pgxcplan.h M src/include/optimizer/planmain.h M src/include/pgxc/execRemote.h M src/test/regress/expected/create_index.out M src/test/regress/expected/join.out M src/test/regress/expected/rangefuncs.out M src/test/regress/expected/rangefuncs_1.out M src/test/regress/expected/xc_FQS.out M src/test/regress/expected/xc_FQS_join.out M src/test/regress/expected/xc_groupby.out M src/test/regress/expected/xc_having.out M src/test/regress/expected/xc_limit.out A src/test/regress/expected/xc_sort.out M src/test/regress/parallel_schedule M src/test/regress/serial_schedule A src/test/regress/sql/xc_sort.sql ----------------------------------------------------------------------- Summary of changes: doc-xc/src/sgml/config.sgmlin | 16 + src/backend/executor/nodeSort.c | 46 +++ src/backend/nodes/copyfuncs.c | 1 - src/backend/optimizer/path/costsize.c | 1 + src/backend/optimizer/plan/pgxcplan.c | 258 ++++++++++++--- src/backend/optimizer/plan/planner.c | 5 + src/backend/optimizer/plan/setrefs.c | 51 +++- src/backend/parser/analyze.c | 1 - src/backend/pgxc/pool/execRemote.c | 226 ++++++++----- src/backend/utils/misc/guc.c | 9 + src/backend/utils/misc/postgresql.conf.sample | 1 + src/backend/utils/sort/tuplesort.c | 143 +------- src/include/nodes/plannodes.h | 6 + src/include/optimizer/cost.h | 1 + src/include/optimizer/pgxcplan.h | 1 - src/include/optimizer/planmain.h | 1 + src/include/pgxc/execRemote.h | 19 +- src/test/regress/expected/create_index.out | 18 +- src/test/regress/expected/join.out | 8 +- src/test/regress/expected/rangefuncs.out | 1 + src/test/regress/expected/rangefuncs_1.out | 3 +- src/test/regress/expected/xc_FQS.out | 56 ++-- src/test/regress/expected/xc_FQS_join.out | 13 +- src/test/regress/expected/xc_groupby.out | 449 +++++++++++++++---------- src/test/regress/expected/xc_having.out | 93 ++++-- src/test/regress/expected/xc_limit.out | 23 +- src/test/regress/expected/xc_sort.out | 395 ++++++++++++++++++++++ src/test/regress/parallel_schedule | 2 +- src/test/regress/serial_schedule | 1 + src/test/regress/sql/xc_sort.sql | 69 ++++ 30 files changed, 1381 insertions(+), 536 deletions(-) create mode 100644 src/test/regress/expected/xc_sort.out create mode 100644 src/test/regress/sql/xc_sort.sql hooks/post-receive -- Postgres-XC |