Has anyone been able to find any benchmarks comparing PostgreSQL and MySQL performance when they are used by a system through Hibernate (or another comparable ORM) and the 2nd level cache (backed by Memcache, EhCache, etc) is enabled?
I've seen a lot of benchmarks comparing and MySQL performance (most of which are outdated but that's besides the point) but none of them ever seem to factor in a 2nd level cache. That makes the benchmark entirely irrelevant to me because any highly scalable system that relies on a relational database is going to need a 2nd level cache.
PS Let me know if this is not the site to ask this question and it belongs on one of the many other StackExchange sites instead. Please migrate the question as usual if that's the case, thanks.