Re: [HACKERS] Low Performance

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] Low Performance
Дата
Msg-id 3721CC65.7ABCE800@trust.ee
обсуждение исходный текст
Ответ на Low Performance  (pourreza <pourreza@linux.ce.sharif.ac.ir>)
Список pgsql-hackers
pourreza wrote:
> 
> Hi to all
> I have a problem to join a table and a view. My table and view each has
> 150000
> records. When I join these it takes about 30sec. How can improve
> performance.

1. Use EXPLAIN on the join and add indexes where appropriate
2. Use a join that returns less rows
3. Use a faster computer or increase buffer size
4. Redesign your tables.
5. Tell us more about your setup and tables/views

----------------
Hannu


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Can't start postmaster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: ERROR: index_rescan: invalid amrescan regproc ???