Re: optimizing Postgres queries

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: optimizing Postgres queries
Дата
Msg-id 200401060525.i065PW915257@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: optimizing Postgres queries  (David Teran <david.teran@cluster9.com>)
Список pgsql-performance
David Teran wrote:
> Index?Scan?using?key_value_meta_data__id_value__fk_index,?key_value_meta
> _data__id_value__fk_index?on?"KEY_VALUE_META_DATA"?t0??(cost=0.00..19.94
> ?rows=14?width=75)?(actual?time=0.112..0.296?rows=25?loops=1)
> ??Index?Cond:?(("ID_VALUE"?=?21094)?OR?("ID_VALUE"?=?21103))
> Total runtime: 0.429 ms
>
> Much better. So i think i will first read more about this optimization
> stuff and regular maintenance things. This is something i like very
> much from FrontBase: no need for such things, simply start and run. But
> other things were not so fine ;-).
>
> Is there any hint where to start to understand more about this
> optimization problem?

Read the FAQ.  There is an item about slow queries and indexes.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: Select max(foo) and select count(*) optimization
Следующее
От: Shridhar Daithankar
Дата:
Сообщение: Re: Select max(foo) and select count(*) optimization