Re: postgresql vs mysql - Mailing list pgsql-general

From Jim Nasby
Subject Re: postgresql vs mysql
Date
Msg-id 8F7BDC6B-AA29-40AC-A594-911DA3BDA5A7@decibel.org
Whole thread Raw
In response to Re: postgresql vs mysql  (Scott Marlowe <smarlowe@g2switchworks.com>)
Responses Re: postgresql vs mysql  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
On Feb 21, 2007, at 10:26 AM, Scott Marlowe wrote:
> The only thing I can think of that rewrites a whole postgresql table
> would be reindexing it, or an update without a where clause (or a
> where
> clause that includes every row).  Normal operations, like create
> index,
> add column, drop column, etc do not need to rewrite the table and
> happen
> almost instantly.

Reindexing won't re-write a table; clustering will. Also some ALTER
TABLE commands will (such as changing the data type of a column, or
creating a new column that's NOT NULL).
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



pgsql-general by date:

Previous
From: Jim Nasby
Date:
Subject: Re: postgresql vs mysql
Next
From: Mark Walker
Date:
Subject: Re: php professional