Re: pgbench - add minimal stats on initialization

2019-07-15 Thread Thomas Munro
On Fri, Apr 12, 2019 at 12:44 AM Ibrar Ahmed wrote: > The following review has been posted through the commitfest application: > make installcheck-world: tested, passed > Implements feature: tested, passed > Spec compliant: tested, passed > Documentation:not tested > >

Re: pgbench - add minimal stats on initialization

2019-04-11 Thread Ibrar Ahmed
The following review has been posted through the commitfest application: make installcheck-world: tested, passed Implements feature: tested, passed Spec compliant: tested, passed Documentation:not tested Patch works fine on my machine. The new status of this patch is:

Re: pgbench - add minimal stats on initialization

2019-04-10 Thread Fabien COELHO
Hello, Thanks for the feedback. I have one minor observation that in case of initDropTables you log 'drop' and in case of initCreateTables you log 'create table'. We need to be consistent. The "drop tables" and "create tables" are the best fit here. Ok. Attached version does that, plus avoi

Re: pgbench - add minimal stats on initialization

2019-04-10 Thread Ibrar Ahmed
Hi Fabien, I have one minor observation that in case of initDropTables you log 'drop' and in case of initCreateTables you log 'create table'. We need to be consistent. The "drop tables" and "create tables" are the best fit here. Otherwise, the patch is good. On Wed, Apr 10, 2019 at 2:18 PM Ibrar

Re: pgbench - add minimal stats on initialization

2019-04-10 Thread Ibrar Ahmed
The following review has been posted through the commitfest application: make installcheck-world: tested, passed Implements feature: tested, passed Spec compliant: tested, passed Documentation:not tested Please ignore the last email. Patch works perfectly and the code

Re: pgbench - add minimal stats on initialization

2019-04-10 Thread Ibrar Ahmed
The following review has been posted through the commitfest application: make installcheck-world: tested, failed Implements feature: tested, failed Spec compliant: tested, failed Documentation:not tested Patch works perfectly and the code is well-written. I have one mi

Re: pgbench - add minimal stats on initialization

2019-04-07 Thread Fabien COELHO
done in 0.68 s (drop 0.06 s, create table 0.02 s, generate 0.34 s, vacuum 0.13 s, primary keys 0.13 s). See the durations on the last line. It's even better with working TAP tests. -- Fabien.diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index 99529de52a..76a5b87fe8 100

pgbench - add minimal stats on initialization

2019-04-06 Thread Fabien COELHO
Hello devs, The attached patch adds minimal stats during the initialization phase. Such a feature was already submitted by Doug Rady two years ago, https://commitfest.postgresql.org/15/1308/ but it needed to be adapted to the -I custom initialization approach developed in the same C