Re: Summaries on SSD usage?

Поиск
Список
Период
Сортировка
От Stefan Keller
Тема Re: Summaries on SSD usage?
Дата
Msg-id CAFcOn28FqOXKzgBmt5cmCQ=UA4+2Zwqs800Dnw1k9xvgn0J2tQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Summaries on SSD usage?  (Jesper Krogh <jesper@krogh.cc>)
Ответы Fwd: Summaries on SSD usage?  (Stefan Keller <sfkeller@gmail.com>)
Список pgsql-performance
2011/9/3 Jesper Krogh <jesper@krogh.cc>:
> On 2011-09-03 00:04, Stefan Keller wrote:
> It's not that hard to figure out.. take some of your "typical" queries.
> say the one above..  Change the search-term to something "you'd expect
> the user to enter in a minute, but hasn't been run". (could be "museum"
> instead
> of "zoo".. then you run it with \timing  and twice.. if the two queries are
> "close" to each other in timing, then you only hit memory anyway and
> neither SSD, NVRAM or more RAM will buy you anything. Faster memory
> and faster CPU-cores will..  if you have a significant speedup to the
> second run, then more RAM, NVRAM, SSD is a good fix.
>
> Typically I have slow-query-logging turned on, permanently set to around
> 250ms.
> If I find queries in the log that "i didnt expect" to take above 250ms then
> I'd start to investigate if query-plans are correct .. and so on..
>
> The above numbers are "raw-data" size and now how PG uses them.. or?
> And you havent told anything about the size of your current system.

Its definitely the case that the second query run is much faster
(first ones go up to 30 seconds and more...).

PG uses the raw data for Switzerlad like this: 10 GB total disk space
based on 2 GB raw XML input. Table osm_point is one of the four big
tables and uses 984 MB for table and 1321 MB for indexes (where hstore
is the biggest from id, name and geometry).

Stefan

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

Предыдущее
От: Jesper Krogh
Дата:
Сообщение: Re: Summaries on SSD usage?
Следующее
От: Venkat Balaji
Дата:
Сообщение: Re: Re: How to track number of connections and hosts to Postgres cluster