From: Edoardo Ceccarelli <eddy@axa.it>
To: pgsql-jdbc@postgresql.org
To: pgsql-performance@postgresql.org
To: pgsql-admin@postgresql.org
Subject: is a good practice to create an index on the oid?
Date: Mon, 26 Apr 2004 18:38:00 +0200
Message-ID: <408D3AE8.5020006@axa.it> (raw)
I am using the oid of the table as the main key and I've found that is
not indexed (maybe because I have declared another primary key in the table)
it is a good practice to create an index like this on the oid of a table?
CREATE INDEX idoid annuncio400 USING btree (oid);
does it work as a normal index?
Thank you
Edoardo
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-performance@postgresql.org
Cc: eddy@axa.it, pgsql-jdbc@postgresql.org, pgsql-admin@postgresql.org
Subject: Re: is a good practice to create an index on the oid?
In-Reply-To: <408D3AE8.5020006@axa.it>
* 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