Re: Is PostgreSQL an easy choice for a large CMS?

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Philip Hallstrom <postgresql(at)philip(dot)pjkh(dot)com>
Cc: Tony Lausin <tonylausin(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is PostgreSQL an easy choice for a large CMS?
Date: 2006-05-01 18:41:37
Message-ID: 1146508897.22037.23.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2006-05-01 at 13:37, Philip Hallstrom wrote:

>
> >> I would also read this about mysql's table locking:
> >>
> >> http://dev.mysql.com/doc/refman/4.1/en/table-locking.html
> >>
> >> Specifically, regarding myisam tables:
> >>
> >> "Table locking enables many threads to read from a table at the same time,
> >> but if a thread wants to write to a table, it must first get exclusive
> >> access. During the update, all other threads that want to access this
> >> particular table must wait until the update is done."
> >>
> >> It doesn't take very many writes before this *really* becomes a problem.
> >> We're implementing memcache at work to help with this issue...
> >
> > Yeah, table level locking doesn't really scale well.
>
> Which is ironic since the top of that page says: "For large tables, table
> locking is much better than row locking for most applications..."
>
> Which, just right off the bat, doesn't make much sense... oh well.

Yeah, much of the MySQL documentation used to be that way, what with the
whole "Foreign key relations are best maintained by application code"
kind of stuff it was once full of.

And from reading that page, one can see that InnoDB tables are still
considered to be kind of the "red headed step child" of table handlers
by the mysql crew. Sad, because it's the only table handler they have
than can truly handle any real concurrency of reads and writes mixed
together (it's a true MVCC modeled table handler).

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wes 2006-05-01 18:45:35 Re: Leading substrings - alternatives with 8.1.3?
Previous Message Philip Hallstrom 2006-05-01 18:37:25 Re: Is PostgreSQL an easy choice for a large CMS?