pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Include information on buffer usage during planning phase, in EX
18+ messages / 5 participants
[nested] [flat]
Commits from this thread:
2020-04-03 c0885c4c30 Improve stability of explain regression test.
* pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 02:28 Fujii Masao <fujii@postgresql.org>
0 siblings, 1 reply; 18+ messages in thread
From: Fujii Masao @ 2020-04-03 02:28 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Include information on buffer usage during planning phase, in EXPLAIN output.
When BUFFERS option is enabled, EXPLAIN command includes the information
on buffer usage during each plan node, in its output. In addition to that,
this commit makes EXPLAIN command include also the information on
buffer usage during planning phase, in its output. This feature makes it
easier to discern the cases where lots of buffer access happen during
planning.
Author: Julien Rouhaud, slightly revised by Fujii Masao
Reviewed-by: Justin Pryzby
Discussion: https://postgr.es/m/16109-26a1a88651e90608@postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ed7a5095716ee498ecc406e1b8d5ab92c7662d10
Modified Files
--------------
src/backend/commands/explain.c | 32 ++++++++++++++++++--
src/backend/commands/prepare.c | 13 ++++++++-
src/include/commands/explain.h | 3 +-
src/test/regress/expected/explain.out | 55 ++++++++++++++++++++++++++++++++---
4 files changed, 95 insertions(+), 8 deletions(-)
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 02:58 Michael Paquier <michael@paquier.xyz>
parent: Fujii Masao <fujii@postgresql.org>
0 siblings, 1 reply; 18+ messages in thread
From: Michael Paquier @ 2020-04-03 02:58 UTC (permalink / raw)
To: Fujii Masao <fujii@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org
Hi Fujii-san,
On Fri, Apr 03, 2020 at 02:28:27AM +0000, Fujii Masao wrote:
> Include information on buffer usage during planning phase, in EXPLAIN output.
>
> When BUFFERS option is enabled, EXPLAIN command includes the information
> on buffer usage during each plan node, in its output. In addition to that,
> this commit makes EXPLAIN command include also the information on
> buffer usage during planning phase, in its output. This feature makes it
> easier to discern the cases where lots of buffer access happen during
> planning.
prion did not like that:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2020-04-03%2002%3A33%3A13
Here is the diff from test explain:
@@ -73,8 +73,9 @@
Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) (actual time=N.N..N.N rows=N loops=N)
Buffers: shared [read]
Planning Time: N.N ms
+ Buffers: shared [read]
Execution Time: N.N ms
-(4 rows)
+(5 rows)
Note that this animal uses -DRELCACHE_FORCE_RELEASE and
-DCATCACHE_FORCE_RELEASE.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 03:26 Fujii Masao <masao.fujii@oss.nttdata.com>
parent: Michael Paquier <michael@paquier.xyz>
0 siblings, 1 reply; 18+ messages in thread
From: Fujii Masao @ 2020-04-03 03:26 UTC (permalink / raw)
To: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org
On 2020/04/03 11:58, Michael Paquier wrote:
> Hi Fujii-san,
>
> On Fri, Apr 03, 2020 at 02:28:27AM +0000, Fujii Masao wrote:
>> Include information on buffer usage during planning phase, in EXPLAIN output.
>>
>> When BUFFERS option is enabled, EXPLAIN command includes the information
>> on buffer usage during each plan node, in its output. In addition to that,
>> this commit makes EXPLAIN command include also the information on
>> buffer usage during planning phase, in its output. This feature makes it
>> easier to discern the cases where lots of buffer access happen during
>> planning.
>
> prion did not like that:
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2020-04-03%2002%3A33%3A13
>
> Here is the diff from test explain:
> @@ -73,8 +73,9 @@
> Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) (actual time=N.N..N.N rows=N loops=N)
> Buffers: shared [read]
> Planning Time: N.N ms
> + Buffers: shared [read]
> Execution Time: N.N ms
> -(4 rows)
> +(5 rows)
>
> Note that this animal uses -DRELCACHE_FORCE_RELEASE and
> -DCATCACHE_FORCE_RELEASE.
Thanks for reporting that!
Since we're now developing very heavily because of the last CF,
it's not good to keep the buildfarm red for a long time. So I just
reverted the commit. Then I will consider how to address the issue.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 03:30 Tom Lane <tgl@sss.pgh.pa.us>
parent: Fujii Masao <masao.fujii@oss.nttdata.com>
0 siblings, 1 reply; 18+ messages in thread
From: Tom Lane @ 2020-04-03 03:30 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@oss.nttdata.com>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> On 2020/04/03 11:58, Michael Paquier wrote:
>> prion did not like that:
>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2020-04-03%2002%3A33%3A13
dory failed as well. The problem is that in text mode, a Buffers line
won't appear at all if there were zero buffer accesses. I don't think
we really want to change that, so probably the thing to do is adapt
the filter functions in explain.sql so that they suppress Buffers lines
altogether in text output. Kind of annoying, but ...
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 06:24 Fujii Masao <masao.fujii@oss.nttdata.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 2 replies; 18+ messages in thread
From: Fujii Masao @ 2020-04-03 06:24 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On 2020/04/03 12:30, Tom Lane wrote:
> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>> On 2020/04/03 11:58, Michael Paquier wrote:
>>> prion did not like that:
>>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2020-04-03%2002%3A33%3A13
>
> dory failed as well. The problem is that in text mode, a Buffers line
> won't appear at all if there were zero buffer accesses. I don't think
> we really want to change that,
Yes.
> so probably the thing to do is adapt
> the filter functions in explain.sql so that they suppress Buffers lines
> altogether in text output. Kind of annoying, but ...
I'm thinking to suppress only Buffers line just after Planning Time line,
by applying something like the following changes to explain_filter().
Thought?
declare
ln text;
+ ignore_output boolean;
begin
for ln in execute $1
loop
+ IF ignore_output THEN
+ ignore_output := false;
+ CONTINUE WHEN (ln ~~ ' Buffers: %');
+ END IF;
+ ignore_output := ln ~~ 'Planning Time: %';
-- Replace any numeric word with just 'N'
ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
-- In sort output, the above won't match units-suffixed numbers
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 07:43 Julien Rouhaud <rjuju123@gmail.com>
parent: Fujii Masao <masao.fujii@oss.nttdata.com>
1 sibling, 1 reply; 18+ messages in thread
From: Julien Rouhaud @ 2020-04-03 07:43 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@oss.nttdata.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On Fri, Apr 03, 2020 at 03:24:41PM +0900, Fujii Masao wrote:
>
>
> On 2020/04/03 12:30, Tom Lane wrote:
> > Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> > > On 2020/04/03 11:58, Michael Paquier wrote:
> > > > prion did not like that:
> > > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2020-04-03%2002%3A33%3A13
> >
> > dory failed as well. The problem is that in text mode, a Buffers line
> > won't appear at all if there were zero buffer accesses. I don't think
> > we really want to change that,
>
> Yes.
>
> > so probably the thing to do is adapt
> > the filter functions in explain.sql so that they suppress Buffers lines
> > altogether in text output. Kind of annoying, but ...
>
> I'm thinking to suppress only Buffers line just after Planning Time line,
> by applying something like the following changes to explain_filter().
> Thought?
+1, that's a better workaround.
>
> declare
> ln text;
> + ignore_output boolean;
> begin
> for ln in execute $1
> loop
> + IF ignore_output THEN
> + ignore_output := false;
> + CONTINUE WHEN (ln ~~ ' Buffers: %');
> + END IF;
> + ignore_output := ln ~~ 'Planning Time: %';
> -- Replace any numeric word with just 'N'
> ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
> -- In sort output, the above won't match units-suffixed numbers
I'm not sure of what's plpgsql behavior here, but it's probably better to
initialize ignore_output to false. Nitpicking, but I think that
planning_time_found, or something similar, would be better here.
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 12:27 Fujii Masao <masao.fujii@oss.nttdata.com>
parent: Julien Rouhaud <rjuju123@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Fujii Masao @ 2020-04-03 12:27 UTC (permalink / raw)
To: Julien Rouhaud <rjuju123@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On 2020/04/03 16:43, Julien Rouhaud wrote:
> On Fri, Apr 03, 2020 at 03:24:41PM +0900, Fujii Masao wrote:
>>
>>
>> On 2020/04/03 12:30, Tom Lane wrote:
>>> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>>>> On 2020/04/03 11:58, Michael Paquier wrote:
>>>>> prion did not like that:
>>>>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2020-04-03%2002%3A33%3A13
>>>
>>> dory failed as well. The problem is that in text mode, a Buffers line
>>> won't appear at all if there were zero buffer accesses. I don't think
>>> we really want to change that,
>>
>> Yes.
>>
>>> so probably the thing to do is adapt
>>> the filter functions in explain.sql so that they suppress Buffers lines
>>> altogether in text output. Kind of annoying, but ...
>>
>> I'm thinking to suppress only Buffers line just after Planning Time line,
>> by applying something like the following changes to explain_filter().
>> Thought?
>
>
> +1, that's a better workaround.
>
>
>>
>> declare
>> ln text;
>> + ignore_output boolean;
>> begin
>> for ln in execute $1
>> loop
>> + IF ignore_output THEN
>> + ignore_output := false;
>> + CONTINUE WHEN (ln ~~ ' Buffers: %');
>> + END IF;
>> + ignore_output := ln ~~ 'Planning Time: %';
>> -- Replace any numeric word with just 'N'
>> ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
>> -- In sort output, the above won't match units-suffixed numbers
>
>
> I'm not sure of what's plpgsql behavior here, but it's probably better to
> initialize ignore_output to false.
Thanks for the review! Yes, that's necessary.
> Nitpicking, but I think that
> planning_time_found, or something similar, would be better here.
Yeah, that sounds better.
Attached is the updated version of the patch.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
Attachments:
show_planning_buffers-v6.patch (text/plain, 10.8K) download
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c
index ee0e638f33..81a18abbeb 100644
--- a/src/backend/commands/explain.c
+++ b/src/backend/commands/explain.c
@@ -372,7 +372,11 @@ ExplainOneQuery(Query *query, int cursorOptions,
PlannedStmt *plan;
instr_time planstart,
planduration;
+ BufferUsage bufusage_start,
+ bufusage;
+ if (es->buffers)
+ bufusage_start = pgBufferUsage;
INSTR_TIME_SET_CURRENT(planstart);
/* plan the query */
@@ -381,9 +385,16 @@ ExplainOneQuery(Query *query, int cursorOptions,
INSTR_TIME_SET_CURRENT(planduration);
INSTR_TIME_SUBTRACT(planduration, planstart);
+ /* calc differences of buffer counters. */
+ if (es->buffers)
+ {
+ memset(&bufusage, 0, sizeof(BufferUsage));
+ BufferUsageAccumDiff(&bufusage, &pgBufferUsage, &bufusage_start);
+ }
+
/* run it (if needed) and produce output */
ExplainOnePlan(plan, into, es, queryString, params, queryEnv,
- &planduration);
+ &planduration, (es->buffers ? &bufusage : NULL));
}
}
@@ -476,7 +487,8 @@ ExplainOneUtility(Node *utilityStmt, IntoClause *into, ExplainState *es,
void
ExplainOnePlan(PlannedStmt *plannedstmt, IntoClause *into, ExplainState *es,
const char *queryString, ParamListInfo params,
- QueryEnvironment *queryEnv, const instr_time *planduration)
+ QueryEnvironment *queryEnv, const instr_time *planduration,
+ const BufferUsage *bufusage)
{
DestReceiver *dest;
QueryDesc *queryDesc;
@@ -560,6 +572,9 @@ ExplainOnePlan(PlannedStmt *plannedstmt, IntoClause *into, ExplainState *es,
/* Create textual dump of plan tree */
ExplainPrintPlan(es, queryDesc);
+ if (es->summary && (planduration || bufusage))
+ ExplainOpenGroup("Planning", "Planning", true, es);
+
if (es->summary && planduration)
{
double plantime = INSTR_TIME_GET_DOUBLE(*planduration);
@@ -567,6 +582,19 @@ ExplainOnePlan(PlannedStmt *plannedstmt, IntoClause *into, ExplainState *es,
ExplainPropertyFloat("Planning Time", "ms", 1000.0 * plantime, 3, es);
}
+ /* Show buffer usage */
+ if (es->summary && bufusage)
+ {
+ if (es->format == EXPLAIN_FORMAT_TEXT)
+ es->indent++;
+ show_buffer_usage(es, bufusage);
+ if (es->format == EXPLAIN_FORMAT_TEXT)
+ es->indent--;
+ }
+
+ if (es->summary && (planduration || bufusage))
+ ExplainCloseGroup("Planning", "Planning", true, es);
+
/* Print info about runtime of triggers */
if (es->analyze)
ExplainPrintTriggers(es, queryDesc);
diff --git a/src/backend/commands/prepare.c b/src/backend/commands/prepare.c
index 284a5bfbec..80d6df8ac1 100644
--- a/src/backend/commands/prepare.c
+++ b/src/backend/commands/prepare.c
@@ -616,7 +616,11 @@ ExplainExecuteQuery(ExecuteStmt *execstmt, IntoClause *into, ExplainState *es,
EState *estate = NULL;
instr_time planstart;
instr_time planduration;
+ BufferUsage bufusage_start,
+ bufusage;
+ if (es->buffers)
+ bufusage_start = pgBufferUsage;
INSTR_TIME_SET_CURRENT(planstart);
/* Look it up in the hash table */
@@ -654,6 +658,13 @@ ExplainExecuteQuery(ExecuteStmt *execstmt, IntoClause *into, ExplainState *es,
INSTR_TIME_SET_CURRENT(planduration);
INSTR_TIME_SUBTRACT(planduration, planstart);
+ /* calc differences of buffer counters. */
+ if (es->buffers)
+ {
+ memset(&bufusage, 0, sizeof(BufferUsage));
+ BufferUsageAccumDiff(&bufusage, &pgBufferUsage, &bufusage_start);
+ }
+
plan_list = cplan->stmt_list;
/* Explain each query */
@@ -663,7 +674,7 @@ ExplainExecuteQuery(ExecuteStmt *execstmt, IntoClause *into, ExplainState *es,
if (pstmt->commandType != CMD_UTILITY)
ExplainOnePlan(pstmt, into, es, query_string, paramLI, queryEnv,
- &planduration);
+ &planduration, (es->buffers ? &bufusage : NULL));
else
ExplainOneUtility(pstmt->utilityStmt, into, es, query_string,
paramLI, queryEnv);
diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h
index 54f6240e5e..739c1d0b42 100644
--- a/src/include/commands/explain.h
+++ b/src/include/commands/explain.h
@@ -89,7 +89,8 @@ extern void ExplainOneUtility(Node *utilityStmt, IntoClause *into,
extern void ExplainOnePlan(PlannedStmt *plannedstmt, IntoClause *into,
ExplainState *es, const char *queryString,
ParamListInfo params, QueryEnvironment *queryEnv,
- const instr_time *planduration);
+ const instr_time *planduration,
+ const BufferUsage *bufusage);
extern void ExplainPrintPlan(ExplainState *es, QueryDesc *queryDesc);
extern void ExplainPrintTriggers(ExplainState *es, QueryDesc *queryDesc);
diff --git a/src/test/regress/expected/explain.out b/src/test/regress/expected/explain.out
index 8f31c308c6..a95196b41d 100644
--- a/src/test/regress/expected/explain.out
+++ b/src/test/regress/expected/explain.out
@@ -13,9 +13,21 @@ language plpgsql as
$$
declare
ln text;
+ planning_time_found boolean := false;
begin
for ln in execute $1
loop
+ -- Filter out the buffers output for the planning to make regression
+ -- test output stable. This is necessary because whether text-mode
+ -- buffers output for the planning appears or not varies depending
+ -- on the compile option. It appears if the server is built with
+ -- -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE,
+ -- but not otherwise.
+ IF planning_time_found THEN
+ planning_time_found := false;
+ CONTINUE WHEN (ln ~~ ' Buffers: %');
+ END IF;
+ planning_time_found := ln ~~ 'Planning Time: %';
-- Replace any numeric word with just 'N'
ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
-- In sort output, the above won't match units-suffixed numbers
@@ -105,7 +117,19 @@ select explain_filter('explain (analyze, buffers, format json) select * from int
"Temp Read Blocks": N, +
"Temp Written Blocks": N +
}, +
- "Planning Time": N.N, +
+ "Planning": { +
+ "Planning Time": N.N, +
+ "Shared Hit Blocks": N, +
+ "Shared Read Blocks": N, +
+ "Shared Dirtied Blocks": N, +
+ "Shared Written Blocks": N, +
+ "Local Hit Blocks": N, +
+ "Local Read Blocks": N, +
+ "Local Dirtied Blocks": N, +
+ "Local Written Blocks": N, +
+ "Temp Read Blocks": N, +
+ "Temp Written Blocks": N +
+ }, +
"Triggers": [ +
], +
"Execution Time": N.N +
@@ -142,7 +166,19 @@ select explain_filter('explain (analyze, buffers, format xml) select * from int8
<Temp-Read-Blocks>N</Temp-Read-Blocks> +
<Temp-Written-Blocks>N</Temp-Written-Blocks> +
</Plan> +
- <Planning-Time>N.N</Planning-Time> +
+ <Planning> +
+ <Planning-Time>N.N</Planning-Time> +
+ <Shared-Hit-Blocks>N</Shared-Hit-Blocks> +
+ <Shared-Read-Blocks>N</Shared-Read-Blocks> +
+ <Shared-Dirtied-Blocks>N</Shared-Dirtied-Blocks>+
+ <Shared-Written-Blocks>N</Shared-Written-Blocks>+
+ <Local-Hit-Blocks>N</Local-Hit-Blocks> +
+ <Local-Read-Blocks>N</Local-Read-Blocks> +
+ <Local-Dirtied-Blocks>N</Local-Dirtied-Blocks> +
+ <Local-Written-Blocks>N</Local-Written-Blocks> +
+ <Temp-Read-Blocks>N</Temp-Read-Blocks> +
+ <Temp-Written-Blocks>N</Temp-Written-Blocks> +
+ </Planning> +
<Triggers> +
</Triggers> +
<Execution-Time>N.N</Execution-Time> +
@@ -176,7 +212,18 @@ select explain_filter('explain (analyze, buffers, format yaml) select * from int
Local Written Blocks: N +
Temp Read Blocks: N +
Temp Written Blocks: N +
- Planning Time: N.N +
+ Planning: +
+ Planning Time: N.N +
+ Shared Hit Blocks: N +
+ Shared Read Blocks: N +
+ Shared Dirtied Blocks: N +
+ Shared Written Blocks: N +
+ Local Hit Blocks: N +
+ Local Read Blocks: N +
+ Local Dirtied Blocks: N +
+ Local Written Blocks: N +
+ Temp Read Blocks: N +
+ Temp Written Blocks: N +
Triggers: +
Execution Time: N.N
(1 row)
@@ -366,9 +413,21 @@ select jsonb_pretty(
"Shared Dirtied Blocks": 0, +
"Shared Written Blocks": 0 +
}, +
+ "Planning": { +
+ "Planning Time": 0.0, +
+ "Local Hit Blocks": 0, +
+ "Temp Read Blocks": 0, +
+ "Local Read Blocks": 0, +
+ "Shared Hit Blocks": 0, +
+ "Shared Read Blocks": 0, +
+ "Temp Written Blocks": 0, +
+ "Local Dirtied Blocks": 0, +
+ "Local Written Blocks": 0, +
+ "Shared Dirtied Blocks": 0, +
+ "Shared Written Blocks": 0 +
+ }, +
"Triggers": [ +
], +
- "Planning Time": 0.0, +
"Execution Time": 0.0 +
} +
]
diff --git a/src/test/regress/sql/explain.sql b/src/test/regress/sql/explain.sql
index e09371f97b..4c608f2c84 100644
--- a/src/test/regress/sql/explain.sql
+++ b/src/test/regress/sql/explain.sql
@@ -15,9 +15,21 @@ language plpgsql as
$$
declare
ln text;
+ planning_time_found boolean := false;
begin
for ln in execute $1
loop
+ -- Filter out the buffers output for the planning to make regression
+ -- test output stable. This is necessary because whether text-mode
+ -- buffers output for the planning appears or not varies depending
+ -- on the compile option. It appears if the server is built with
+ -- -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE,
+ -- but not otherwise.
+ IF planning_time_found THEN
+ planning_time_found := false;
+ CONTINUE WHEN (ln ~~ ' Buffers: %');
+ END IF;
+ planning_time_found := ln ~~ 'Planning Time: %';
-- Replace any numeric word with just 'N'
ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
-- In sort output, the above won't match units-suffixed numbers
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 12:49 Julien Rouhaud <rjuju123@gmail.com>
parent: Fujii Masao <masao.fujii@oss.nttdata.com>
0 siblings, 0 replies; 18+ messages in thread
From: Julien Rouhaud @ 2020-04-03 12:49 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@oss.nttdata.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On Fri, Apr 03, 2020 at 09:27:38PM +0900, Fujii Masao wrote:
>
>
> On 2020/04/03 16:43, Julien Rouhaud wrote:
> > On Fri, Apr 03, 2020 at 03:24:41PM +0900, Fujii Masao wrote:
> > >
> > >
> > > On 2020/04/03 12:30, Tom Lane wrote:
> > > > Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> > > > > On 2020/04/03 11:58, Michael Paquier wrote:
> > > > > > prion did not like that:
> > > > > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2020-04-03%2002%3A33%3A13
> > > >
> > > > dory failed as well. The problem is that in text mode, a Buffers line
> > > > won't appear at all if there were zero buffer accesses. I don't think
> > > > we really want to change that,
> > >
> > > Yes.
> > >
> > > > so probably the thing to do is adapt
> > > > the filter functions in explain.sql so that they suppress Buffers lines
> > > > altogether in text output. Kind of annoying, but ...
> > >
> > > I'm thinking to suppress only Buffers line just after Planning Time line,
> > > by applying something like the following changes to explain_filter().
> > > Thought?
> >
> >
> > +1, that's a better workaround.
> >
> >
> > >
> > > declare
> > > ln text;
> > > + ignore_output boolean;
> > > begin
> > > for ln in execute $1
> > > loop
> > > + IF ignore_output THEN
> > > + ignore_output := false;
> > > + CONTINUE WHEN (ln ~~ ' Buffers: %');
> > > + END IF;
> > > + ignore_output := ln ~~ 'Planning Time: %';
> > > -- Replace any numeric word with just 'N'
> > > ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
> > > -- In sort output, the above won't match units-suffixed numbers
> >
> >
> > I'm not sure of what's plpgsql behavior here, but it's probably better to
> > initialize ignore_output to false.
>
> Thanks for the review! Yes, that's necessary.
>
> > Nitpicking, but I think that
> > planning_time_found, or something similar, would be better here.
>
> Yeah, that sounds better.
>
> Attached is the updated version of the patch.
Thanks Fuji-san! Just to be extra safe I locally added an extra
RAISE notice '%', ln;
before the continue and I confirm that this is only filtering the intended
lines.
Minor thinko:
+ -- test output stable. This is necessary because whether text-mode
+ -- buffers output for the planning appears or not varies depending
+ -- on the compile option. It appears if the server is built with
+ -- -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE,
+ -- but not otherwise.
those lines begin with a leading tabulation while the rest of the sql file only
contains space indentation. Other than that it all looks good to me.
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 13:35 Tom Lane <tgl@sss.pgh.pa.us>
parent: Fujii Masao <masao.fujii@oss.nttdata.com>
1 sibling, 1 reply; 18+ messages in thread
From: Tom Lane @ 2020-04-03 13:35 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@oss.nttdata.com>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> On 2020/04/03 12:30, Tom Lane wrote:
>> so probably the thing to do is adapt
>> the filter functions in explain.sql so that they suppress Buffers lines
>> altogether in text output. Kind of annoying, but ...
> I'm thinking to suppress only Buffers line just after Planning Time line,
> by applying something like the following changes to explain_filter().
> Thought?
I think this is a bad idea. It's overcomplicated, and more to the
point: now that we've seen the problem we should realize that we're
eventually going to have failures for *any* Buffers line in text-mode
output. We're already filtering them so hard as to be nearly useless
(see a couple lines further down). I think we should just drop them
in text mode and be content with checking for them in non-text modes.
Robert's muttered about possibly introducing some EXPLAIN option
that would make the output a bit less variable. Perhaps we should
do that. I'm not quite sure I like the idea on theoretical grounds:
testing a different behavior from what you do in production seems
like the wrong thing. But it'd allow undoing decisions like this one.
It's too late to consider such a thing for v13, though --- four days
before feature freeze is no time to be designing new features.
So for now, we have to make the output stable with the tools we have,
and text-mode Buffers output is unstable by design.
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 14:28 Fujii Masao <masao.fujii@oss.nttdata.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 18+ messages in thread
From: Fujii Masao @ 2020-04-03 14:28 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On 2020/04/03 22:35, Tom Lane wrote:
> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>> On 2020/04/03 12:30, Tom Lane wrote:
>>> so probably the thing to do is adapt
>>> the filter functions in explain.sql so that they suppress Buffers lines
>>> altogether in text output. Kind of annoying, but ...
>
>> I'm thinking to suppress only Buffers line just after Planning Time line,
>> by applying something like the following changes to explain_filter().
>> Thought?
>
> I think this is a bad idea. It's overcomplicated, and more to the
> point: now that we've seen the problem we should realize that we're
> eventually going to have failures for *any* Buffers line in text-mode
> output. We're already filtering them so hard as to be nearly useless
> (see a couple lines further down). I think we should just drop them
> in text mode and be content with checking for them in non-text modes.
Yeah, I'm fine with the idea. The regression test for EXPLAIN has
the following four similar tests. The first one fails in regression test
because of buffers output for the planning. Your idea seems to be
equal to removal of this first test. Because there are already
the same tests with other format. Is my understanding right?
select explain_filter('explain (analyze, buffers, format text) select * from int8_tbl i8');
select explain_filter('explain (analyze, buffers, format json) select * from int8_tbl i8');
select explain_filter('explain (analyze, buffers, format xml) select * from int8_tbl i8');
select explain_filter('explain (analyze, buffers, format yaml) select * from int8_tbl i8');
Or another idea is to specify "summary off" in the above first
EXPLAIN command, to suppress the summary output including
the buffers output for the planning. This seems simple and enough.
Thought?
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 14:55 Tom Lane <tgl@sss.pgh.pa.us>
parent: Fujii Masao <masao.fujii@oss.nttdata.com>
0 siblings, 1 reply; 18+ messages in thread
From: Tom Lane @ 2020-04-03 14:55 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@oss.nttdata.com>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> On 2020/04/03 22:35, Tom Lane wrote:
>> I think this is a bad idea. It's overcomplicated, and more to the
>> point: now that we've seen the problem we should realize that we're
>> eventually going to have failures for *any* Buffers line in text-mode
>> output. We're already filtering them so hard as to be nearly useless
>> (see a couple lines further down). I think we should just drop them
>> in text mode and be content with checking for them in non-text modes.
> Yeah, I'm fine with the idea. The regression test for EXPLAIN has
> the following four similar tests. The first one fails in regression test
> because of buffers output for the planning. Your idea seems to be
> equal to removal of this first test. Because there are already
> the same tests with other format. Is my understanding right?
Well, there are at least three ways you could interpret my suggestion:
* don't do the test with format = text at all
* do it, but remove the buffers option
* keep test the same, make explain_filter() drop Buffers lines
But I had the last one in mind. Even if we can't *see* the output,
there is some value in making the backend run through the code ---
it'd at least catch core-dumping bugs there.
> Or another idea is to specify "summary off" in the above first
> EXPLAIN command, to suppress the summary output including
> the buffers output for the planning. This seems simple and enough.
That's still assuming that only the summary Buffers line is problematic,
which I think is wrong. Keep in mind that the explain.sql test is
barely two months old; it has never seen the field, and there is no
good reason to trust that it's rock solid stable. Now that we've
seen this failure, I'm quite afraid that the existing test case
Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) (actual time=N.N..N.N rows=N loops=N)
Buffers: shared [read]
Planning Time: N.N ms
can be made to fall over, eg by running with high enough shared_buffers.
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 15:25 Fujii Masao <masao.fujii@oss.nttdata.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 18+ messages in thread
From: Fujii Masao @ 2020-04-03 15:25 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On 2020/04/03 23:55, Tom Lane wrote:
> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>> On 2020/04/03 22:35, Tom Lane wrote:
>>> I think this is a bad idea. It's overcomplicated, and more to the
>>> point: now that we've seen the problem we should realize that we're
>>> eventually going to have failures for *any* Buffers line in text-mode
>>> output. We're already filtering them so hard as to be nearly useless
>>> (see a couple lines further down). I think we should just drop them
>>> in text mode and be content with checking for them in non-text modes.
>
>> Yeah, I'm fine with the idea. The regression test for EXPLAIN has
>> the following four similar tests. The first one fails in regression test
>> because of buffers output for the planning. Your idea seems to be
>> equal to removal of this first test. Because there are already
>> the same tests with other format. Is my understanding right?
>
> Well, there are at least three ways you could interpret my suggestion:
>
> * don't do the test with format = text at all
>
> * do it, but remove the buffers option
>
> * keep test the same, make explain_filter() drop Buffers lines
>
> But I had the last one in mind. Even if we can't *see* the output,
> there is some value in making the backend run through the code ---
> it'd at least catch core-dumping bugs there.
Yes, this makes sense. Thanks for clarifying that!
>> Or another idea is to specify "summary off" in the above first
>> EXPLAIN command, to suppress the summary output including
>> the buffers output for the planning. This seems simple and enough.
>
> That's still assuming that only the summary Buffers line is problematic,
> which I think is wrong. Keep in mind that the explain.sql test is
> barely two months old; it has never seen the field, and there is no
> good reason to trust that it's rock solid stable. Now that we've
> seen this failure, I'm quite afraid that the existing test case
>
> Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) (actual time=N.N..N.N rows=N loops=N)
> Buffers: shared [read]
> Planning Time: N.N ms
>
> can be made to fall over, eg by running with high enough shared_buffers.
Yeah, so I'm feeling that it's better to firstly make the explain test
more stable, separately from the patch for the planning buffers output.
Attached is the patch that changes explain.c as follows (i.e., removes
Buffers lines at all) to make it more stable.
ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
-- In sort output, the above won't match units-suffixed numbers
ln := regexp_replace(ln, '\m\d+kB', 'NkB', 'g');
- -- Text-mode buffers output varies depending on the system state
- ln := regexp_replace(ln, '^( +Buffers: shared)( hit=N)?( read=N)?', '\1 [read]');
+ -- Ignore text-mode buffers output because it varies depending
+ -- on the system state
+ CONTINUE WHEN (ln ~ ' +Buffers: .*');
return next ln;
end loop;
end;
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
Attachments:
make_explain_test_more_stable.patch (text/plain, 2.1K) download
diff --git a/src/test/regress/expected/explain.out b/src/test/regress/expected/explain.out
index 8f31c308c6..3ec66ceda3 100644
--- a/src/test/regress/expected/explain.out
+++ b/src/test/regress/expected/explain.out
@@ -20,8 +20,9 @@ begin
ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
-- In sort output, the above won't match units-suffixed numbers
ln := regexp_replace(ln, '\m\d+kB', 'NkB', 'g');
- -- Text-mode buffers output varies depending on the system state
- ln := regexp_replace(ln, '^( +Buffers: shared)( hit=N)?( read=N)?', '\1 [read]');
+ -- Ignore text-mode buffers output because it varies depending
+ -- on the system state
+ CONTINUE WHEN (ln ~ ' +Buffers: .*');
return next ln;
end loop;
end;
@@ -71,10 +72,9 @@ select explain_filter('explain (analyze, buffers, format text) select * from int
explain_filter
-----------------------------------------------------------------------------------------------
Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) (actual time=N.N..N.N rows=N loops=N)
- Buffers: shared [read]
Planning Time: N.N ms
Execution Time: N.N ms
-(4 rows)
+(3 rows)
select explain_filter('explain (analyze, buffers, format json) select * from int8_tbl i8');
explain_filter
diff --git a/src/test/regress/sql/explain.sql b/src/test/regress/sql/explain.sql
index e09371f97b..dce2a34207 100644
--- a/src/test/regress/sql/explain.sql
+++ b/src/test/regress/sql/explain.sql
@@ -22,8 +22,9 @@ begin
ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
-- In sort output, the above won't match units-suffixed numbers
ln := regexp_replace(ln, '\m\d+kB', 'NkB', 'g');
- -- Text-mode buffers output varies depending on the system state
- ln := regexp_replace(ln, '^( +Buffers: shared)( hit=N)?( read=N)?', '\1 [read]');
+ -- Ignore text-mode buffers output because it varies depending
+ -- on the system state
+ CONTINUE WHEN (ln ~ ' +Buffers: .*');
return next ln;
end loop;
end;
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 15:34 Tom Lane <tgl@sss.pgh.pa.us>
parent: Fujii Masao <masao.fujii@oss.nttdata.com>
0 siblings, 1 reply; 18+ messages in thread
From: Tom Lane @ 2020-04-03 15:34 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@oss.nttdata.com>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> Attached is the patch that changes explain.c as follows (i.e., removes
> Buffers lines at all) to make it more stable.
> ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
> -- In sort output, the above won't match units-suffixed numbers
> ln := regexp_replace(ln, '\m\d+kB', 'NkB', 'g');
> - -- Text-mode buffers output varies depending on the system state
> - ln := regexp_replace(ln, '^( +Buffers: shared)( hit=N)?( read=N)?', '\1 [read]');
> + -- Ignore text-mode buffers output because it varies depending
> + -- on the system state
> + CONTINUE WHEN (ln ~ ' +Buffers: .*');
> return next ln;
> end loop;
> end;
Works for me.
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 16:28 Fujii Masao <masao.fujii@oss.nttdata.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 18+ messages in thread
From: Fujii Masao @ 2020-04-03 16:28 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On 2020/04/04 0:34, Tom Lane wrote:
> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>> Attached is the patch that changes explain.c as follows (i.e., removes
>> Buffers lines at all) to make it more stable.
>
>> ln := regexp_replace(ln, '\m\d+\M', 'N', 'g');
>> -- In sort output, the above won't match units-suffixed numbers
>> ln := regexp_replace(ln, '\m\d+kB', 'NkB', 'g');
>> - -- Text-mode buffers output varies depending on the system state
>> - ln := regexp_replace(ln, '^( +Buffers: shared)( hit=N)?( read=N)?', '\1 [read]');
>> + -- Ignore text-mode buffers output because it varies depending
>> + -- on the system state
>> + CONTINUE WHEN (ln ~ ' +Buffers: .*');
>> return next ln;
>> end loop;
>> end;
>
> Works for me.
Many thanks! Pushed.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 17:46 Tom Lane <tgl@sss.pgh.pa.us>
parent: Fujii Masao <masao.fujii@oss.nttdata.com>
0 siblings, 1 reply; 18+ messages in thread
From: Tom Lane @ 2020-04-03 17:46 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@oss.nttdata.com>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> Many thanks! Pushed.
Looks like you didn't un-revert the main patch?
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 18:14 Fujii Masao <fujii@postgresql.org>
0 siblings, 0 replies; 18+ messages in thread
From: Fujii Masao @ 2020-04-03 18:14 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Include information on buffer usage during planning phase, in EXPLAIN output, take two.
When BUFFERS option is enabled, EXPLAIN command includes the information
on buffer usage during each plan node, in its output. In addition to that,
this commit makes EXPLAIN command include also the information on
buffer usage during planning phase, in its output. This feature makes it
easier to discern the cases where lots of buffer access happen during
planning.
This commit revives the original commit ed7a509571 that was reverted by
commit 19db23bcbd. The original commit had to be reverted because
it caused the regression test failure on the buildfarm members prion and
dory. But since commit c0885c4c30 got rid of the caues of the test failure,
the original commit can be safely introduced again.
Author: Julien Rouhaud, slightly revised by Fujii Masao
Reviewed-by: Justin Pryzby
Discussion: https://postgr.es/m/16109-26a1a88651e90608@postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ce77abe63cfc85fb0bc236deb2cc34ae35cb5324
Modified Files
--------------
src/backend/commands/explain.c | 32 ++++++++++++++++++--
src/backend/commands/prepare.c | 13 ++++++++-
src/include/commands/explain.h | 3 +-
src/test/regress/expected/explain.out | 55 ++++++++++++++++++++++++++++++++---
4 files changed, 95 insertions(+), 8 deletions(-)
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 18:16 Fujii Masao <masao.fujii@oss.nttdata.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 18+ messages in thread
From: Fujii Masao @ 2020-04-03 18:16 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On 2020/04/04 2:46, Tom Lane wrote:
> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>> Many thanks! Pushed.
>
> Looks like you didn't un-revert the main patch?
Right now, pushed! I was waiting for my test to finish
without errors before commit. Anyway thanks!
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: pgsql: Include information on buffer usage during planning phase, in EX
@ 2020-04-03 18:37 Julien Rouhaud <rjuju123@gmail.com>
parent: Fujii Masao <masao.fujii@oss.nttdata.com>
0 siblings, 0 replies; 18+ messages in thread
From: Julien Rouhaud @ 2020-04-03 18:37 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@oss.nttdata.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Michael Paquier <michael@paquier.xyz>; Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On Fri, Apr 3, 2020 at 8:16 PM Fujii Masao <masao.fujii@oss.nttdata.com> wrote:
>
> On 2020/04/04 2:46, Tom Lane wrote:
> > Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> >> Many thanks! Pushed.
> >
> > Looks like you didn't un-revert the main patch?
>
> Right now, pushed! I was waiting for my test to finish
> without errors before commit. Anyway thanks!
Thanks a lot!
^ permalink raw reply [nested|flat] 18+ messages in thread
end of thread, other threads:[~2020-04-03 18:37 UTC | newest]
Thread overview: 18+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-04-03 02:28 pgsql: Include information on buffer usage during planning phase, in EX Fujii Masao <fujii@postgresql.org>
2020-04-03 02:58 ` Michael Paquier <michael@paquier.xyz>
2020-04-03 03:26 ` Fujii Masao <masao.fujii@oss.nttdata.com>
2020-04-03 03:30 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-04-03 06:24 ` Fujii Masao <masao.fujii@oss.nttdata.com>
2020-04-03 07:43 ` Julien Rouhaud <rjuju123@gmail.com>
2020-04-03 12:27 ` Fujii Masao <masao.fujii@oss.nttdata.com>
2020-04-03 12:49 ` Julien Rouhaud <rjuju123@gmail.com>
2020-04-03 13:35 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-04-03 14:28 ` Fujii Masao <masao.fujii@oss.nttdata.com>
2020-04-03 14:55 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-04-03 15:25 ` Fujii Masao <masao.fujii@oss.nttdata.com>
2020-04-03 15:34 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-04-03 16:28 ` Fujii Masao <masao.fujii@oss.nttdata.com>
2020-04-03 17:46 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-04-03 18:16 ` Fujii Masao <masao.fujii@oss.nttdata.com>
2020-04-03 18:37 ` Julien Rouhaud <rjuju123@gmail.com>
2020-04-03 18:14 pgsql: Include information on buffer usage during planning phase, in EX Fujii Masao <fujii@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox