Re: Query Speed!!!

Поиск
Список
Период
Сортировка
От Hans-Juergen Schoenig
Тема Re: Query Speed!!!
Дата
Msg-id 3D29CCA8.3090402@cybertec.at
обсуждение исходный текст
Ответ на Query Speed!!!  (Thirumoorthy Bhuvneswari <tbhuvneswari@yahoo.com>)
Ответы Re: Query Speed!!!  (Chris Albertson <chrisalbertson90278@yahoo.com>)
Список pgsql-general
Thirumoorthy Bhuvneswari wrote:
> hi,
> I am using Postgresql-7.1.3 with RedHat Linux-7.1 and
> JDBC. I am having an indexed table with nearly 3,000
> records for a month. My machine is with 256 MB RAM,
> 600 MHz. I am having a report from the abovesaid
> table, which displays 1 month's records at a stretch
> using Swing components. If I run the query from the
> hard-disk
> it takes about 5 seconds to display all the 3,000
> records. If I connect 3 nodes to it and run the query
> from a node, it takes about 1.5 minutes. I don't know
> where I am wrong. Please do reply. thanks.
>
> bhuvana.
>


Did you define indexes? did you vacuum the database?
if that doesn't work try to give the optimizer some hints (see manual).

    HAns


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

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: Re: Survey on Freebsddiary
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WAL recycling, Linux 2.4.18