Re: Anything I can do to speed up this query?

Поиск
Список
Период
Сортировка
От Jan de Visser
Тема Re: Anything I can do to speed up this query?
Дата
Msg-id 200612051602.42755.jdevisser@digitalfairway.com
обсуждение исходный текст
Ответ на Anything I can do to speed up this query?  (Wei Weng <wweng@kencast.com>)
Ответы Re: Anything I can do to speed up this query?  (Wei Weng <wweng@kencast.com>)
Список pgsql-general
On Tuesday 05 December 2006 3:56 pm, Wei Weng wrote:
> I have a table that has roughly 200,000 entries and many columns.
>
> The query is very simple:
>
> SELECT Field1, Field2, Field3... FieldN FROM TargetTable;
>
> TargetTable has an index that is Field1.
>
> The thing is on this machine with 1Gig Ram, the above query still takes
> about 20 seconds to finish. And I need it to run faster, ideally around
> 5 seconds.

I suspect it's the time needed to ship the data over the wire. Don't forget
you're asking for an awful lot of data...

>
> Wei
>

jan

--
--------------------------------------------------------------
Jan de Visser                     jdevisser@digitalfairway.com

                Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------

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

Предыдущее
От: Glen Parker
Дата:
Сообщение: Re: HELP: Urgent, Vacuum problem
Следующее
От: Wei Weng
Дата:
Сообщение: Re: Anything I can do to speed up this query?