Is performance a meaningful way for you? Because there are a huge number of cases where ms sql is much faster than postgres.
Edit: Sorry, I didn't intend to sound snarky. I was seriously asking whether raw performance was a significant metric. The existence of programming languages such as Ruby show that usability and velocity are more important than performance in a lot of cases.
A lot of them stem from SQL Server having optional MVCC whereas it's the only mode in Postgres. If you have a covering index which sees writes frequently enough that Postgres's visibility map can't be used (you write to pages after auto-vacuum) Postgres is forced to do a heap lookup to see whether each tuple is visible in the current transaction. In the most degenerate case SELECT COUNT(1) FROM table is O(1) in SQL Server and a full table scan in Postgres.
On the other hand having MVCC turned off gives a huge performance penalty for concurrent read/write loads and I would advice people to run SQL Server with MVCC tuned on, unless they really know what they are doing.
0
u/[deleted] Mar 08 '16
[deleted]