pgbenchってみれば? https://rio.st/2005/10/18/pgbench%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8c%e3%81%b0%ef%bc%9f/