Re: Horizontal Write Scaling

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Horizontal Write Scaling
Дата
Msg-id AANLkTikCYE-FkQ97Vw7sS_mQe17hKhpVZHe4Y9UjnqGQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Horizontal Write Scaling  (Koichi Suzuki <koichi.szk@gmail.com>)
Ответы Re: Horizontal Write Scaling  (Eliot Gable <egable+pgsql-hackers@gmail.com>)
Список pgsql-hackers
On Thu, Nov 25, 2010 at 4:45 AM, Koichi Suzuki <koichi.szk@gmail.com> wrote:
>>> plus the
>>> communication protocol overhead and latency. However, it occurs to me
>>> that if you had a shared disk system via either iSCSI, Fiber Channel,
>>> NFS, or whatever (which also had higher I/O capabilities than a single
>>> server could utilize), if you used a file system that supported locks on
>>> a particular section (extent) of a file, it should theoretically be
>>> possible for multiple Postgres instances on multiple systems sharing the
>>> database to read and write to the database without causing corruption.
>>
>> Possible, yes. Worthwile to do, probably not.
>
> We may be suffered from synchronizing cache on each database.

That's putting it mildly.  You have to worry about the database buffer
cache, the shared invalidation queue, the control file data, the
ProcArray, the lock manager, the LWLock tables, and probably some
other things I'm forgetting about.  Everything in shared memory, in
short.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: reporting reason for certain locks
Следующее
От: Robert Haas
Дата:
Сообщение: Re: reporting reason for certain locks