Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-sql by date

Next:From: Lorenzo HuertaDate: 1998-07-23 16:55:53
Subject: help with uniq index
Previous:From: rogDate: 1998-07-22 16:35:27
Subject: Views

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group