Skip site navigation (1) Skip section navigation (2)

Re: BUG #1286: indices not used after a pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Federico Di Gregorio" <fog(at)initd(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1286: indices not used after a pg_restore
Date: 2004-10-14 10:54:55
Message-ID: 27959.1097751295@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> After a pg_dump/pg_restore (using the tar format) queries that were using 
> the indices don't use them anymore until the indices are dropped and 
> recreated. After that the indices are used the correct way. 

I do not believe that you remembered to ANALYZE after restore.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Federico Di GregorioDate: 2004-10-14 11:06:39
Subject: Re: BUG #1286: indices not used after a pg_restore
Previous:From: PostgreSQL Bugs ListDate: 2004-10-14 09:26:00
Subject: BUG #1286: indices not used after a pg_restore

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group