An experienced database developer with help from "SET STATISTICS IO ON"[1] and query plans[2] can achieve incredible MSSQL query optimization results.
PostgreSQL has good query plan output via the EXPLAIN[2] statement - but I haven't (yet?) seen PostgreSQL produce per-query IO statistics.
[1] - https://docs.microsoft.com/en-us/sql/t-sql/statements/set-st...
[2] - https://docs.microsoft.com/en-us/sql/relational-databases/pe...
[3] - https://www.postgresql.org/docs/current/sql-explain.html