Re: database not using indexes

From: "Ruslan A(dot) Bondar" <fsat(at)list(dot)ru>
To: Silvio Brandani <silvio(dot)brandani(at)tech(dot)sdb(dot)it>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: database not using indexes
Date: 2011-11-09 15:58:38
Message-ID: 20111109195838.237a4470@list.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Why have you decided it isn't using indexes?
If index exists - postgres will use it.
To write a script for this I need at least database version.

On Wed, 09 Nov 2011 16:22:20 +0100
Silvio Brandani <silvio(dot)brandani(at)tech(dot)sdb(dot)it> wrote:

> Our database seems not using index anymore, please help with, is a
> production database.
>
> is there a script to check missing index on foreign key ??
>
> thanks a lot
>
> ---
>
>
>
>
>
>
> Utilizziamo i dati personali che la riguardano esclusivamente per
> nostre finalità amministrative e contabili, anche quando li
> comunichiamo a terzi. Informazioni dettagliate, anche in ordine al
> Suo diritto di accesso e agli altri Suoi diritti, sono riportate alla
> pagina http://www.savinodelbene.com/privacy.html Se avete ricevuto
> questo messaggio per errore Vi preghiamo di ritornarlo al mittente
> eliminandolo assieme agli eventuali allegati, ai sensi art. 616
> codice penale
> http://www.savinodelbene.com/privacy/codice_penale_616.html L'Azienda
> non si assume alcuna responsabilità giuridica qualora pervengano da
> questo indirizzo messaggi estranei all'attività lavorativa o contrari
> a norme. --
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2011-11-09 16:47:40 Re: setting timezone
Previous Message Kevin Grittner 2011-11-09 15:57:37 Re: How to deal with corrupted database?