Re: Scalability in postgres

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: david(at)lang(dot)hm, Scott Carey <scott(at)richrelevance(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Dimitri <dimitrik(dot)fr(at)gmail(dot)com>, Flavio Henrique Araque Gurgel <flavio(at)4linux(dot)com(dot)br>, Fabrix <fabrixio1(at)gmail(dot)com>, James Mansion <james(at)mansionfamily(dot)plus(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Scalability in postgres
Date: 2009-06-05 04:13:34
Message-ID: alpine.GSO.2.01.0906042328470.11895@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, 4 Jun 2009, Robert Haas wrote:

> That's because this thread has altogether too much theory and
> altogether too little gprof.

But running benchmarks and profiling is actual work; that's so much less
fun than just speculating about what's going on!

This thread reminds me of Jignesh's "Proposal of tunable fix for
scalability of 8.4" thread from March, except with only a fraction of the
real-world detail. There are multiple high-profile locks causing
scalability concerns at quadruple digit high user counts in the PostgreSQL
code base, finding them is easy. Shoot, I know exactly where a couple
are, and I didn't have to think about it at all--just talked with Jignesh
a couple of times, led me right to them. Fixing them without causing
regressions in low client count cases, now that's the hard part. No
amount of theoretical discussion advances that any until you're at least
staring at a very specific locking problem you've already characterized
extensively via profiling. And even then, profiling trumps theory every
time. This is why I stay out of these discussions and work on boring
benchmark tools instead.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message david 2009-06-05 04:29:29 Re: Scalability in postgres
Previous Message Mark Mielke 2009-06-05 03:37:01 Re: Scalability in postgres