Re: [HACKERS] sort on huge table

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] sort on huge table
Дата
Msg-id 199911011913.OAA27394@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] sort on huge table  ("Aaron J. Seigo" <aaron@gtv.ca>)
Список pgsql-hackers
> hi...
> 
> > Look what I found. I downloaded Linux kernel source for 2.2.0, and
> > started looking for the word 'ahead' in the file system files.  I found
> > that read-ahead seems to be controlled by f_reada, and look where I
> > found it being turned off?  Seems like any seek turns off read-ahead on
> > Linux.
> 
> the current kernel is 2.2.13... =)

I need to know what kernel the tester is using.  I doubt it is the most
current one.

> that said, the fs/ext2/file.c is the same in 2.2.13 as it is in 2.2.0 (just
> checked).. i'm going to put this out on the linux kernel mailing list and see
> what comes back, though, as this seems to be an issue that should be
> resolved if accurate....

I am not sure I am accurate either, but I think I am.

It would be nice to get the kernel fixed, though a fix for that is
rarely trivial.

Let us know what your find out.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: "Aaron J. Seigo"
Дата:
Сообщение: Re: [HACKERS] sort on huge table
Следующее
От: Oleg Bartunov
Дата:
Сообщение: using indices in ORDER BY ... DESC