Fwd: Summaries on SSD usage?

Поиск
Список
Период
Сортировка
От Stefan Keller
Тема Fwd: Summaries on SSD usage?
Дата
Msg-id CAFcOn28=4frEHbaOz4y5ptYpMbxjCaZjRLKvZ9AP00BfOSoxow@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Summaries on SSD usage?  (Stefan Keller <sfkeller@gmail.com>)
Ответы Re: Fwd: Summaries on SSD usage?
Список pgsql-performance
Shaun,

2011/9/2 Shaun Thomas <sthomas@peak6.com>:
> Ironically, this is actually the topic of my presentation at Postgres Open.>

Do you think my problem would now be solved with NVRAM PCI card?

Stefan

---------- Forwarded message ----------
From: Stefan Keller <sfkeller@gmail.com>
Date: 2011/9/3
Subject: Re: [PERFORM] Summaries on SSD usage?
To: Jesper Krogh <jesper@krogh.cc>
Cc: pgsql-performance@postgresql.org


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 по дате отправления:

Предыдущее
От: "Tomas Vondra"
Дата:
Сообщение: Re: Sudden drop in DBb performance
Следующее
От: Shaun Thomas
Дата:
Сообщение: Re: Fwd: Summaries on SSD usage?