pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jackson, DeJuan <djackson@cpsgroup.com>
To: Herouth Maoz <herouth@oumail.openu.ac.il>
To: Federico Passaro <fede@link.it>
Cc: pgsql-sql@postgreSQL.org
Subject: RE: [SQL] Re: Autoincrement
Date: Wed, 22 Jul 1998 15:51:30 -0500
Message-ID: <F10BB1FAF801D111829B0060971D839F34C191@cpsmail> (raw)

> 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



view thread (11+ messages)  latest in thread

Message-ID: <F10BB1FAF801D111829B0060971D839F34C191@cpsmail>
Permalink:  ../F10BB1FAF801D111829B0060971D839F34C191@cpsmail/
Also on:    postgresql.org/message-id/F10BB1FAF801D111829B0060971D839F34C191@cpsmail

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: djackson@cpsgroup.com, herouth@oumail.openu.ac.il, fede@link.it
  Subject: RE: [SQL] Re: Autoincrement
  In-Reply-To: <F10BB1FAF801D111829B0060971D839F34C191@cpsmail>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox