Re: test / live environment, major performance difference

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: test / live environment, major performance difference
Дата
Msg-id 20070612143033.GA8541@uio.no
обсуждение исходный текст
Ответ на Re: test / live environment, major performance difference  (Christo Du Preez <christo@mecola.com>)
Список pgsql-performance
On Tue, Jun 12, 2007 at 03:32:40PM +0200, Christo Du Preez wrote:
> As an example I took a table with about 650 rows, having a parentid
> field with an index on parentid.

Try a bigger table. Using an index for only 650 rows is almost always
suboptimal, so it's no wonder the planner doesn't use the index.

/* Steinar */
--
Homepage: http://www.sesse.net/

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

Предыдущее
От: "Dave Dutcher"
Дата:
Сообщение: Re: test / live environment, major performance difference
Следующее
От: Bill Moran
Дата:
Сообщение: Re: How much memory PostgreSQL is going to use?