pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix incorrect tps number calculation in "excluding connections e
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix incorrect tps number calculation in "excluding connections e
@ 2015-09-30 01:54 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tatsuo Ishii @ 2015-09-30 01:54 UTC (permalink / raw)
  To: pgsql-committers

Fix incorrect tps number calculation in "excluding connections establishing".

The tolerance (larger than actual tps number) increases as the number
of threads decreases.  The bug has been there since the thread support
was introduced in 9.0. Because back patching introduces incompatible
behavior changes regarding the tps number, the fix is committed to
master and 9.5 stable branches only.

Problem spotted by me and fix proposed by Fabien COELHO. Note that his
original patch included more than fixes (a code re-factoring) which is
not related to the problem and I omitted the part.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a16db3a07da9c47a5ef5b1d18f9c45bdb893b243

Modified Files
--------------
src/bin/pgbench/pgbench.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix incorrect tps number calculation in "excluding connections e
@ 2015-09-30 01:54 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tatsuo Ishii @ 2015-09-30 01:54 UTC (permalink / raw)
  To: pgsql-committers

Fix incorrect tps number calculation in "excluding connections establishing".

The tolerance (larger than actual tps number) increases as the number
of threads decreases.  The bug has been there since the thread support
was introduced in 9.0. Because back patching introduces incompatible
behavior changes regarding the tps number, the fix is committed to
master and 9.5 stable branches only.

Problem spotted by me and fix proposed by Fabien COELHO. Note that his
original patch included more than fixes (a code re-factoring) which is
not related to the problem and I omitted the part.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3c4c5acc40720a178e06da6258ce20d3c6e025ab

Modified Files
--------------
src/bin/pgbench/pgbench.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-09-30 01:54 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-09-30 01:54 pgsql: Fix incorrect tps number calculation in "excluding connections e Tatsuo Ishii <ishii@postgresql.org>
2015-09-30 01:54 pgsql: Fix incorrect tps number calculation in "excluding connections e Tatsuo Ishii <ishii@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