Re: Questions about indexes
| От | DaVinci |
|---|---|
| Тема | Re: Questions about indexes |
| Дата | |
| Msg-id | 20010509111041.A1574@fangorn.net обсуждение |
| Ответ на | Questions about indexes (Renaud Thonnart <thonnart@amwdb.u-strasbg.fr>) |
| Ответы |
Re: Questions about indexes
|
| Список | pgsql-general |
On Wed, May 09, 2001 at 10:31:27AM +0200, Renaud Thonnart wrote:
> Does PostgreSQL create an index when a table is created?
Yes, with PK.
> Does it create index even if there is no PK for this table?
No.
> 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?
Yes.
> How can I see all the index that PostgreSQL have implicitly create?
You can, from psql, do:
# \d table_name
This order shows all info about a table, including existing indexes.
> How can I delete them in keeping integrity in the database?
drop index?...
Greets.
David
В списке pgsql-general по дате отправления: