Re: [HACKERS] Fix for large file support (nonsegment mode support)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Fix for large file support (nonsegment mode support)
Дата
Msg-id 22898.1205252457@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Fix for large file support (nonsegment mode support)  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: [HACKERS] Fix for large file support (nonsegment mode support)  (Bruce Momjian <bruce@momjian.us>)
Re: [HACKERS] Fix for large file support (nonsegment mode support)  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-patches
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Tom Lane napsal(a):
>> These examples suggest that maybe what we want is not so much a "no
>> segments ever" mode as a segment size larger than 1GB.

> PS: ZFS is happy with 2^64bit size and UFS has 1TB file size limit
> (depends on solaris version)

So even on Solaris, "no segments ever" is actually a pretty awful idea.
As it stands, the code would fail on tables > 1TB.

I'm thinking we need to reconsider this patch.  Rather than disabling
segmentation altogether, we should see it as allowing use of segments
larger than 1GB.  I suggest that we ought to just flat rip out the "non
segmenting" code paths in md.c, and instead look into what segment sizes
are appropriate on different platforms.

            regards, tom lane

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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: [HACKERS] Fix for large file support (nonsegment mode support)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Fix for large file support (nonsegment mode support)