I have one additional question. You say the following:
"MySQL's query cache makes its performance better. This can be demonstrated by restarting MySQL, then visiting the home page of the site and seeing the query time in devel's output. However this is not as marked as what PostgreSQL takes."
Could you explain/clarify that statement?
With query cache not yet caching any queries
Page execution time was 92.74 ms. Executed 98 queries in 30.04 milliseconds.
With page's queries cached in the query cache
Page execution time was 63.61 ms. Executed 98 queries in 10.38 milliseconds.Still, 93 ms is faster than PostgreSQL's 130 ms.