pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Silvio Brandani <silvio.brandani@tech.sdb.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: database not using indexes, yet
Date: Fri, 18 Nov 2011 10:20:19 -0500
Message-ID: <16254.1321629619@sss.pgh.pa.us> (raw)
In-Reply-To: <4EC673DE.40201@tech.sdb.it>
References: <4EBA9AAC.9030900@tech.sdb.it>
	<4EC66726.6060800@tech.sdb.it>
	<15583.1321627876@sss.pgh.pa.us>
	<4EC673DE.40201@tech.sdb.it>

Silvio Brandani <silvio.brandani@tech.sdb.it> writes:
> Il 18/11/2011 15.51, Tom Lane ha scritto:
>> There's nothing here to suggest that this query shouldn't use an index,
>> so the problem is in something you didn't show us.  Maybe you have
>> enable_indexscan turned off, or maybe that index isn't really on that
>> table, or something else.

> this is not the case,  to be sure I have recreated the index and still 
> not work. moreover the copy of the table  with the same ttpe of index is 
> using it.

Well, the rest of us can't see what you're doing, but I think this is
highly likely to be user error.  Have you got more than one table named
aida_references?

			regards, tom lane



view thread (6+ messages)

Message-ID: <16254.1321629619@sss.pgh.pa.us>
Permalink:  ../16254.1321629619@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16254.1321629619@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, silvio.brandani@tech.sdb.it
  Subject: Re: database not using indexes, yet
  In-Reply-To: <16254.1321629619@sss.pgh.pa.us>

* 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