Re: PostgreSQL Gotchas --- count()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Gregory S(dot) Williamson" <gsw(at)globexplorer(dot)com>
Cc: Jeffrey Melloy <jmelloy(at)visualdistortion(dot)org>, Neil Conway <neilc(at)samurai(dot)com>, "Aly S(dot)P Dharshi" <aly(dot)dharshi(at)telus(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL Gotchas --- count()
Date: 2005-10-07 02:14:40
Message-ID: 200510070214.j972Eej26805@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gregory S. Williamson wrote:
> On Informix however it is blindingly fast, and can also be instantly
> conjured with the dbaccess tool (Info/Table/Status). They might be
> stashing this count somewhere, but it is not available when the table
> is locked, as during a load. However they do it, performance does not
> seem to suffer, and having this rapidly available is certainly nice.
> Especially when people are used to it.
>

Informix locks rows during modification so they don't have the MVCC
visibility problem we have (some rows are visible to only some
backends).

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2005-10-07 02:30:32 Re: PostgreSQL 8.1 vs. MySQL 5.0?
Previous Message Gregory S. Williamson 2005-10-07 00:40:41 Re: PostgreSQL Gotchas --- count()