Re: Asking advice on speeding up a big table

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Asking advice on speeding up a big table
Дата
Msg-id cone.1145111486.252779.47312.1000@zoraida.natserv.net
обсуждение исходный текст
Ответ на Asking advice on speeding up a big table  (felix@crowfix.com)
Ответы Re: Asking advice on speeding up a big table  (felix-accts-pgsql@crowfix.com)
Список pgsql-general
felix@crowfix.com writes:

> Usage is to match data from the key and val tables to fetch the data
> value from the sid table.

What is the relation between key and val tables?
Will key.id and val.id be equal?


I have never quite/fully understand the outputs of analyze, but I wonder why
you have:

>              ->  Nested Loop  (cost=0.00..4467.01 rows=1001 width=20) (actual time=0.205..28.304 rows=1000 loops=1)

Why 1000 rows?
Does any of your conditions in the select returns many records?

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

Предыдущее
От: "chris smith"
Дата:
Сообщение: Re: Comparing text field
Следующее
От: Francisco Reyes
Дата:
Сообщение: Re: Hardware related question: 3ware 9500S