Re: [HACKERS] \dt and disk access
| От | Bruce Momjian |
|---|---|
| Тема | Re: [HACKERS] \dt and disk access |
| Дата | |
| Msg-id | cfb4a652085b30b572ee4ae2b3ed3584 обсуждение исходный текст |
| Ответ на | [HACKERS] \dt and disk access (Bruce Momjian <maillist@candle.pha.pa.us>) |
| Список | pgsql-hackers |
> > It looks like psort()'s use of disk files to do the sorting is causing > > the slowdown, with the multiple create's and unlink's. I am going to > > modify psort() to use memory buffers instead of disk files for sorting > > small SELECT results. psort() is only called by ExecSort, which is used > > by ORDER BY's. > > > > Permission to put this in 6.1p1? > > Can you make the size of the result set above which diskfiles will be used > configurable? That way ppl with loads of RAM can use huge buffers, and ppl > with little RAM can keep that RAM free for other processes. If I need a configuration value, I will either determine the amount of RAM portably, or base the value on the number of shared buffers requested with -B. - -- Bruce Momjian maillist@candle.pha.pa.us ------------------------------
В списке pgsql-hackers по дате отправления: