Re: Cache invalidation after authentication (on-the-fly role creation)

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Cache invalidation after authentication (on-the-fly role creation)
Date: 2018-07-04 04:35:23
Message-ID: 20180704043523.GF1672@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jul 04, 2018 at 04:25:18PM +1200, Thomas Munro wrote:
> Yeah, using "pgbench -c 8 -j 8 -T 60 --connect -S -M prepared
> postgres" I wasn't able to measure a significant difference on my
> laptop. The performance was equally terrible, at around 940 TPS +/-
> 10 including connection time. Adding to open commitfest.

I wanted to comment on that this morning but forgot as my mind was
driven away by another problem. What if you used the Julien-Rouhaud's
method of a custom script with only ";" used as query and -c? This
won't run any queries, and will stress authentication.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-07-04 04:35:57 Re: Cache invalidation after authentication (on-the-fly role creation)
Previous Message Thomas Munro 2018-07-04 04:25:18 Re: Cache invalidation after authentication (on-the-fly role creation)