pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ruslan A. Bondar <fsat@list.ru>
To: Silvio Brandani <silvio.brandani@tech.sdb.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: database not using indexes
Date: Wed, 9 Nov 2011 19:58:38 +0400
Message-ID: <20111109195838.237a4470@list.ru> (raw)
In-Reply-To: <4EBA9AAC.9030900@tech.sdb.it>
References: <4EBA9AAC.9030900@tech.sdb.it>


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.brandani@tech.sdb.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. --
> 




view thread (6+ messages)  latest in thread

Message-ID: <20111109195838.237a4470@list.ru>
Permalink:  ../20111109195838.237a4470@list.ru/
Also on:    postgresql.org/message-id/20111109195838.237a4470@list.ru

 · 

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-admin@postgresql.org
  Cc: fsat@list.ru, silvio.brandani@tech.sdb.it
  Subject: Re: database not using indexes
  In-Reply-To: <20111109195838.237a4470@list.ru>

* 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