RE: [SQL] Re: Autoincrement

From: "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com>
To: Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il>, Federico Passaro <fede(at)link(dot)it>
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: RE: [SQL] Re: Autoincrement
Date: 1998-07-22 20:51:30
Message-ID: F10BB1FAF801D111829B0060971D839F34C191@cpsmail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-sql by date

  From Date Subject
Next Message Lorenzo Huerta 1998-07-23 16:55:53 help with uniq index
Previous Message rog 1998-07-22 16:35:27 Views