Re: WIP: Avoid creation of the free space map for small tables

From: John Naylor <john(dot)naylor(at)2ndquadrant(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP: Avoid creation of the free space map for small tables
Date: 2019-01-29 14:42:37
Message-ID: CACPNZCtemd=ctF9+9P_WV33yXE9WOPu2EJcqgXrY4YwHoeVpuw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 29, 2019 at 11:56 AM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:

> You can find this change in attached patch. Then, I ran the make
> check in src/bin/pgbench multiple times using test_conc_insert.sh.
> You can vary the number of times the test should run, if you are not
> able to reproduce it with this.
>
> The attached patch (clear_local_map_if_exists_1.patch) atop the main
> patch fixes the issue for me. Kindly verify the same.

I got one failure in 50 runs. With the new patch, I didn't get any
failures in 300 runs.

--
John Naylor https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-01-29 15:10:21 Re: pgsql: Build src/port files as a library with -fPIC, and use that in li
Previous Message Tomas Vondra 2019-01-29 14:25:59 Re: COPY FROM WHEN condition