query optimization - mysql vs postgresql

Поиск
Список
Период
Сортировка
От Warren Little
Тема query optimization - mysql vs postgresql
Дата
Msg-id 1147968355.29462.15.camel@rearden1.reardeninc.local
обсуждение исходный текст
Список pgsql-admin
Hello,
my team is in the process of migrating some data from a mysql (5.0) database to our core postgres (8.1.3) database.
We are running into some performance issues with the postgres versions of the queries.
MySQL takes about 150ms to run the query where postgres is taking 2500ms.
The servers for the two database clusters are identical (dual amd 64bit dual core opteron 4GB ram scsi raid array Suse 9.x)

The table schemas have not changed (to the best of my knowledge) and the indexes were created to mimic the mysql versions as well.

I have attached one particular query along with the explain output.
Does anyone see anything in the explain that might help in diagnosing the problem.

thx


Warren J. Little
CTO
Meridias Capital
1018 West Atherton Dr
Salt Lake City, UT 84123
Ph 866.369.7763


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

Предыдущее
От: Jeff Frost
Дата:
Сообщение: Re: does wal archiving block the current client connection?
Следующее
От: "Tomeh, Husam"
Дата:
Сообщение: Re: query optimization - mysql vs postgresql