Re: BUG #15609: synchronous_commit=off insert performance regression with secondary indexes

From: "Saul, Jean Paolo" <paolo(dot)saul(at)verizonconnect(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15609: synchronous_commit=off insert performance regression with secondary indexes
Date: 2019-01-29 22:05:02
Message-ID: CA+73ANdxnLbZ_b=2R-fdH=NVu_V_BmaUK4Od-aFvf-i4x+8bmA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Jeff,

Insert SQL:
INSERT INTO test_indexes (bool_data , int_data , text_data ) VALUES (
(RANDOM() * 10)::INT % 2 = 0, RANDOM() * 10000, MD5((RANDOM() *
1000)::TEXT) );

pg_bench:
/usr/pgsql-11/bin/pgbench -Upostgres -f ${SQL} -n -c 60 -j 60 -T120 -p
${PORT}

Before each test run, I drop and recreate the table and indexes.

Cheers,

Paolo

On Wed, 30 Jan 2019 at 07:37, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:

> On Tue, Jan 29, 2019 at 12:46 AM PG Bug reporting form <
> noreply(at)postgresql(dot)org> wrote:
>
>> The following bug has been logged on the website:
>>
>> Bug reference: 15609
>> Logged by: Jean Paolo Saul
>> Email address: paolo(dot)saul(at)verizonconnect(dot)com
>> PostgreSQL version: 11.1
>> Operating system: CentOS Linux release 7.6.1810 (Core)
>> Description:
>>
>> Summary:
>> We are considering upgrading to PG11 and during performance testing we
>> have found that
>> PostgreSQL 11 inserts are around 25% slower than inserts in PostgreSQL
>> 9.5.
>>
>> Tools Used:
>> pgbench (11.1)
>>
>
> Can you show the actual pgbench command line used, and the contents of the
> file specified by -f ?
>
> Cheers,
>
> Jeff
>

--------------------------------------------------------------------------------------------------------------------------------------------
PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL

VERIZON CONNECT CONFIDENTIALITY NOTICE
This message is intended for the addressee only and may contain confidential and/or privileged material. Any review, re-transmission, dissemination, reliance upon or other use of this information by persons or entities other than the addressee is prohibited. If you receive this in error, please contact the sender and delete this message. Thank you.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2019-01-29 23:02:14 Re: psql and readline comments
Previous Message Jeff Janes 2019-01-29 18:42:03 Re: BUG #15610: Performance problem of PostgreSQL 11.1 Windows version (EDB created version)