Re: Query performance question on a large table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query performance question on a large table
Дата
Msg-id 20785.1073504137@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Query performance question on a large table  (Együd Csaba <csegyud@vnet.hu>)
Список pgsql-general
=?iso-8859-2?Q?Egy=FCd_Csaba?= <csegyud@vnet.hu> writes:
> I found that:

> 1. explain select fomeazon from t_fome where lower(inuse) = 'igen'
>                       QUERY PLAN
> ------------------------------------------------------
>  Seq Scan on t_fome  (cost=0.00..1.80 rows=1 width=4)
>    Filter: (lower((inuse)::text) = 'igen'::text)

Sure looks like you have not VACUUM ANALYZED this table yet.

> 2. explain select  mertido, fomeazon, ertektipus, mertertek
>    from t_me30 where fomeazon in (select fomeazon from t_fome where
> lower(inuse) = 'igen') and
>    mertido like '2003-12-17%' and ertektipus in ('+MW') order by mertido,
> fomeazon, ertektipus;

Could we see EXPLAIN ANALYZE not just EXPLAIN output?

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Rich Hall
Дата:
Сообщение: Re: Reparse PL/pgSQL Function?
Следующее
От: Együd Csaba
Дата:
Сообщение: Re: Query performance question on a large table