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

Re: Index usage for BYTEA column in OR/IN clause

From: David Garamond <lists(at)zara(dot)6(dot)isreserved(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruno Wolff III <bruno(at)wolff(dot)to>,pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Index usage for BYTEA column in OR/IN clause
Date: 2004-03-29 04:43:23
Message-ID: 4067A96B.4080204@zara.6.isreserved.com (view raw or flat)
Thread:
Lists: pgsql-general
Tom Lane wrote:
> This script is lacking a VACUUM or ANALYZE command, so the planner
> doesn't know how large the table is.  Note the ridiculously small
> cost estimates in EXPLAIN ...

I see, I never knew about having to VACUUM/ANALYZE first. Thanks.

-- 
dave


In response to

pgsql-general by date

Next:From: Mike NolanDate: 2004-03-29 04:45:24
Subject: Re: PG vs MySQL
Previous:From: Mike NolanDate: 2004-03-29 04:37:41
Subject: Re: PG vs MySQL

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