Re: poor performance in migrated database

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: poor performance in migrated database
Дата
Msg-id 1099782015.1310.39.camel@localhost.localdomain
обсуждение исходный текст
Ответ на poor performance in migrated database  (Carlos Lopez <chlopezl@yahoo.com>)
Список pgsql-performance
On Sat, 2004-11-06 at 12:52, Carlos Lopez wrote:
> I have migrated a database from MS SQL to a
> postgresSQL database, but when running it, the results
> are very slow (and unusable) which is the only reason
> we don't entirely move to postgresSQL.
> The problem is that there are many nested views which
> normally join tables by using two fields, one
> character and other integer.

If you are joining on different type fields, you might find the query
planner encouraged to use the indexes if you cast one field to the other
field's type.  If that's possible.




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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: poor performance in migrated database
Следующее
От: Ang Chin Han
Дата:
Сообщение: DISTINCT and GROUP BY: possible performance enhancement?