Performance Issues

Поиск
Список
Период
Сортировка
От Ravi T Ramachandra
Тема Performance Issues
Дата
Msg-id 4223A04BF7D1B941A25246ADD0462FF5CD7C15@blr-m3-msg.wipro.com
обсуждение исходный текст
Ответы Re: Performance Issues  (Nathan <postgresql@phreaker.net>)
Re: Performance Issues  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-admin
Hi,
 
I recently setup postgres on a Linux box with 4GB Ram and 2.5 GHz processor.   We have created a database with 1.5 million rows in a table.  When we try to select rows from the table, it is taking enormous time with the default configuration.   It takes 2 to 3 seconds to select 1 row that has been selected with indexed columns.
 
SELECT * FROM TABLE A WHERE COL1 = 1 AND COL2 = 'ABC'.  
 
We have created index definition as follows
 
CREATE INDEX IDX ON A(COL1, COL2);
 
Explain on the above statement shows it is sequential scan.   The process size for the postmaster shows as 4MB (is this normal ?)
 
Thanks for your help in advance,
 
Regards,
Ravi
**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individualor entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

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

Предыдущее
От: "Ramesh PAtel "
Дата:
Сообщение: Problem about Backup
Следующее
От: Vasilis Ventirozos
Дата:
Сообщение: Are 50 million rows a problem for postgres ?