Pgbench
pgbench is postgresql’s built-in benchmark testing tool. It runs the same SQLssimultaneously in different sessions many times and generate statistics.By default, it performs TPC-B based tests including select, update andinsert operations. But it can also run external SQL and make benchmark tests. -i (initialize): Initialize option. It creates 4 tables with row numbers below. If … Pgbench