random_page_cost for tablespace

Поиск
Список
Период
Сортировка
От Laszlo Nagy
Тема random_page_cost for tablespace
Дата
Msg-id 4AF81207.4050008@shopzeus.com
обсуждение исходный текст
Ответы Re: random_page_cost for tablespace  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-performance
  Hi All,

We have a bigger table with some million rows. Number of index scans is
high, number of seq reads is low. This table if often joined with
others... so we want to buy a new SSD drive, create a tablespace on it
and put this big table on it. Random read speed on SSD is identical to
seq read. However, I need to tell the optimizer that random_page_cost is
less for the new tablespace. Is there a way to do it?

Thanks,

   Laszlo



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: CREATE TABLE slowing down significantly over time
Следующее
От: Robert Haas
Дата:
Сообщение: Re: random_page_cost for tablespace