Re: Why should such a simple query over indexed columns be so slow?

Поиск
Список
Период
Сортировка
Искать
От
Alessandro Gagliardi
Тема
Re: Why should such a simple query over indexed columns be so slow?
Дата
Msg-id
CAAB3BB+HOQmdTkL0gSYtFOWtP7q=Qtr10R6yHU+idFEpHi5kVA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Why should such a simple query over indexed columns be so slow? Alessandro Gagliardi <alessandro@path.com>
Re: Why should such a simple query over indexed columns be so slow? Claudio Freire <klaussfreire@gmail.com>
Re: Why should such a simple query over indexed columns be so slow? Alessandro Gagliardi <alessandro@path.com>
Re: Why should such a simple query over indexed columns be so slow? Claudio Freire <klaussfreire@gmail.com>
Re: Why should such a simple query over indexed columns be so slow? Alessandro Gagliardi <alessandro@path.com>
Re: Why should such a simple query over indexed columns be so slow? Claudio Freire <klaussfreire@gmail.com>
Re: Why should such a simple query over indexed columns be so slow? Josh Berkus <josh@agliodbs.com>
Re: Why should such a simple query over indexed columns be so slow? Alessandro Gagliardi <alessandro@path.com>
Re: Why should such a simple query over indexed columns be so slow? Josh Berkus <josh@agliodbs.com>
Re: Why should such a simple query over indexed columns be so slow? Scott Marlowe <scott.marlowe@gmail.com>
Re: Why should such a simple query over indexed columns be so slow? Alessandro Gagliardi <alessandro@path.com>
Re: Why should such a simple query over indexed columns be so slow? Scott Marlowe <scott.marlowe@gmail.com>
Re: Why should such a simple query over indexed columns be so slow? Scott Marlowe <scott.marlowe@gmail.com>
Re: Why should such a simple query over indexed columns be so slow? Alessandro Gagliardi <alessandro@path.com>
Re: Why should such a simple query over indexed columns be so slow? Fernando Hevia <fhevia@gmail.com>
Re: Why should such a simple query over indexed columns be so slow? Alessandro Gagliardi <alessandro@path.com>
Got it (with a little bit of klutzing around). :) Thanks!

On Mon, Jan 30, 2012 at 2:24 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
On Mon, Jan 30, 2012 at 3:19 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> On Mon, Jan 30, 2012 at 2:55 PM, Alessandro Gagliardi
> <alessandro@path.com> wrote:
>> I set random_page_cost to 2 (with enable_seqscan on) and get the same
>> performance I got with enable_seqscan off.
>> So far so good. Now I just need to figure out how to set it globally. :-/
>
> alter database set random_page_cost=2.0;

That should be:

alter database dbnamegoeshere set random_page_cost=2.0;



--
To understand recursion, one must first understand recursion.

В списке pgsql-performance по дате отправления
От: Scott Marlowe
Дата:
От: Carlo Stonebanks
Дата:
FAQ