by matthewnourse · 15y ago · 0 comments
[re reasonableness PostgreSQL being 20-40x slower] Yes, but only at some things. In the first bakeoff (http://www.rseventeen.com/blog/bakeoff_part_1_mysql_postgres...) PostgreSQL was clearly "better" than MySQL. And r17 can't do transactions and is useless for anything "on line", which is where PostgreSQL really shines. (As commented below) next up I'll be baking off against Hadoop, which is a more apples<->apples comparison.
[re misconfiguration] is there a specific configuration that you would prefer that I use? I'm also happy to show the EXPLAIN output if that would help.
Here are guides for the respective db configs.
http://www.revsys.com/writings/postgresql-performance.html
http://www.mysqlperformanceblog.com/2006/09/29/what-to-tune-...
MAINTENANCE_WORK_MEM and WORK_MEM could also help. Maybe. Thats a big dataset.
On SSD, random_page_cost may need tuned closer to sequential_page_cost.