Questions about indexes

From: Renaud Thonnart <thonnart(at)amwdb(dot)u-strasbg(dot)fr>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Questions about indexes
Date: 2001-05-09 08:31:27
Message-ID: 3AF9005F.7D8E5861@amwdb.u-strasbg.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi everyone !

I have some little questions about indexes :

Does PostgreSQL create an index when a table is created?
Does it create index even if there is no PK for this table?
If yes, why?
I know that indexes increase performance for SELECT but it is the
contrary when INSERT because the index must be actualised every time,
isn't it?
How can I see all the index that PostgreSQL have implicitly create?
How can I delete them in keeping integrity in the database?

If someone could answer these questions, I thank him in advance.

Sincerly, Renaud THONNART

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gary 2001-05-09 08:58:10 Postgresql newbie username/password question
Previous Message feng xue 2001-05-09 06:42:04 Re: DB Getting Slower and Slower and Slower....