Re: postgresql vs mysql

From: Jack Orenstein <jorenstein(at)archivas(dot)com>
To: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: gustavo halperin <ggh(dot)develop(at)gmail(dot)com>, pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql vs mysql
Date: 2007-02-21 16:12:13
Message-ID: 45DC6F5D.6070500@archivas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe wrote:
> You can't change a table in any way without rewriting the whole thing,
> resulting in a very long wait and a complete table lock on any alter
> table action on big tables. Don't forget that if you've got a really
> big table, you need that much space free on the drive to alter the table
> for the rewrite that's going to take place.

Forgive a dumb question: What does postgresql do with ALTER TABLE?
What sort of modifications do not require time proportional to the
number of rows in the table?

Jack Orenstein

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lincoln Yeoh 2007-02-21 16:16:24 Re: postgresql vs mysql
Previous Message Scott Marlowe 2007-02-21 16:02:04 Re: postgresql vs mysql