RE: [SQL] Re: Autoincrement - Mailing list pgsql-sql

From Jackson, DeJuan
Subject RE: [SQL] Re: Autoincrement
Date
Msg-id F10BB1FAF801D111829B0060971D839F34C191@cpsmail
Whole thread Raw
List pgsql-sql
> At 11:06 +0300 on 20/7/98, Federico Passaro wrote:
>
>
> > When I have to pay this penalty: on insert / update / query ?
>
> Query, I think.
>
I would think you would have to pay this penalty for all accesses to
that column.  Meaning in any WHERE|ORDER BY|GROUP BY clause that the
column is accessed.  Which could be for INSERT, UPDATE, and SELECT,
DELETE.
    INSERT because if indexes
    UPDATE because of WHERE, if not indexed
   SELECT because of WHERE/ORDER BY/GROUP BY
   DELETE because of WHERE, if not indexed

    -DEJ

pgsql-sql by date:

Previous
From: rog
Date:
Subject: Views
Next
From: Lorenzo Huerta
Date:
Subject: help with uniq index