Re: createing indexes on large tables and int8

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: createing indexes on large tables and int8
Дата
Msg-id 469E4FB3.4010201@cox.net
обсуждение исходный текст
Ответ на Re: createing indexes on large tables and int8  (mljv@planwerk6.de)
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/17/07 17:12, mljv@planwerk6.de wrote:
> On Tuesday 17 July 2007 17:47:01 Tom Lane wrote:
>> mljv@planwerk6.de writes:
>>> i think i got it fixed as i saw that i pushed my maintenance_work_mem too
>>> high. It was higher than physical ram :-(
>> Ooops, that will definitely cause problems.
>
> yes it did! I ran it again. And now it takes 10 minutes per index instead of
> 10 hours (still 8.1). maybe something postgres should complain about if
> setting maintance_work_mem too high.

Unless it does some really OS-specific calls, *can* PostgreSQL know
how much *physical* RAM is in a box?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGnk+zS9HxQb37XmcRAsDtAKCCadB0CF8ATeHCtO79wcTD3lER7wCgttoF
E9Rndryd/IhZEP2FY7yIr/A=
=bDSf
-----END PGP SIGNATURE-----

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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: multirow insert
Следующее
От: Erik Peterson
Дата:
Сообщение: Re: Update of table lags execution of statement by >1 minute?