"set primary keys..." is missing when using hight values for transactions / scaling factor with pgbench

From: Elvir Kurić <elvirkuric(at)gmail(dot)com>
To: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: "set primary keys..." is missing when using hight values for transactions / scaling factor with pgbench
Date: 2018-06-26 12:21:00
Message-ID: CACmNJCHz0Pr0bCGoVX9Qa+J2Q7Qo2pKkj1kbxviYdQCTN6NZEA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I have strange issue with pgbench where it fails to execute step to create
primary keys when I specify scaling factor / transactions to some
reasonable high value - eg. 8k.

I am doing

$ pgbench -i -s 8000 sampledb

$ pgbench -c 10 -j 2 -t 8000 sampledb

when I fails I see

=====
vacuum...
starting vacuum...end.
====

and good case

vacuum...
set primary keys...
done.
starting vacuum...end.

Only see this with a bit reasonable values for transactions / scaling
factor ( eg. 4k,8k )

I suspected that there could be issue with memory/disk allocated to
machine, but for above case it will generate cca 150 GB of data and I have
disk with 350 GB of free space, and allocating 30GB of memory for
postgresql machine ( tried with even more resources )
I am using pgbench (PostgreSQL) 9.6.5 .
If you have any idea, please share , thank you
Elvir

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message David Rowley 2018-06-26 12:41:31 Re: "set primary keys..." is missing when using hight values for transactions / scaling factor with pgbench
Previous Message Roman Kushnir 2018-06-25 19:39:32 Re: Slow join