Skip to content
Advertisement

Tag: database

How do I compare two SQL queries to run on Postgres

I need to compare two queries that will run in my Postgres database. How do I know the execution time and any other statistics of them so I can produce a reliable benchmark between them? Answer I can think of two interesting data points to collect and compare: The execution time. For that, simply execute the query using psql connected

Advertisement