Re: Anyone for SSDs?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Anyone for SSDs?
Дата
Msg-id 23278.1291994845@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Anyone for SSDs?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Dec 10, 2010 at 1:39 AM, Vaibhav Kaushal
> <vaibhavkaushal123@gmail.com> wrote:
>> Most of you already know I am new to this list and newer to any OSS
>> development. However, while browsing the source code (of 9.0.1) I find
>> that there is only one way to store relations on disk - the magnetic
>> disk.

> But as far as the code goes, there doesn't seem to be any reason why
> SSDs would require any changes to md.c, or an alternate
> implementation.  The interface the operating system presents is the
> same.

The fact that it's called md.c is a hangover from the '80s.  These days,
the logic that the Berkeley guys envisioned being at that code level
is generally in kernel device drivers.  md.c can drive anything that
behaves as a block device + filesystem, which is pretty much everything
of interest.
        regards, tom lane


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

Предыдущее
От: "BRUSSER Michael"
Дата:
Сообщение: Re: initdb failure with Postgres 8.4.4
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Extensions, patch v16