| From: | Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com> |
|---|---|
| To: | Claudio Freire <klaussfreire(at)gmail(dot)com> |
| Cc: | Peter Geoghegan <pg(at)bowt(dot)ie>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Simon Riggs <simon(dot)riggs(at)2ndquadrant(dot)com> |
| Subject: | Re: Faster inserts with mostly-monotonically increasing values |
| Date: | 2018-03-14 05:44:24 |
| Message-ID: | CABOikdNo1aR7U0gv_GOC-X69kta48-b+HLCnBL+-deE5PQag8Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Mar 14, 2018 at 10:58 AM, Claudio Freire <klaussfreire(at)gmail(dot)com>
wrote:
>
>
> I'm thinking there could be contention on some lock somewhere.
>
> Can you attach the benchmark script you're using so I can try to reproduce
> it?
>
I am using a very ad-hoc script.. But here it is.. It assumes a presence of
a branch named "btree_rightmost" with the patched code.
You will need to make necessary adjustments of course.
Thanks,
Pavan
--
Pavan Deolasee http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| Attachment | Content-Type | Size |
|---|---|---|
| pg_btree_insert_benchmark.sh | text/x-sh | 1.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2018-03-14 05:47:38 | Re: remove pg_class.relhaspkey |
| Previous Message | Tom Lane | 2018-03-14 05:43:37 | Re: add queryEnv to ExplainOneQuery_hook |