Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> This seems somehow problematic: a DB trying to meet modern performance requirements by relying on how it was done over 12 years and 2 major kernel versions ago.

A newly developed product made today would use threads but we're not talking about a new product. Once the effort has been expended to make processes and shared memory work, especially for a product with a fairly constrained scope like a DB server, the argument becomes about whether it would be worthwhile re-writing today to target threads. So far for PG the answer is : no.

I think you are making assumptions on the basis that "threads == progress == better" that are not necessarily valid. For example do you have benchmark evidence that in-process locking would deliver significantly better performance for PG under workloads of interest vs the current XP locking scheme? It might, but I doubt it.

Here's a discussion on the topic that's only 16 years old:

http://grokbase.com/t/postgresql/pgsql-general/997f59hcqx/mu...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: