From: Scott Marlowe <smarlowe@qwest.net>
To: Carlos Lopez <chlopezl@yahoo.com>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [PERFORM] poor performance in migrated database
Date: Sat, 06 Nov 2004 16:00:15 -0700
Message-ID: <1099782015.1310.39.camel@localhost.localdomain> (raw)
In-Reply-To: <20041106195215.91282.qmail@web52706.mail.yahoo.com>
References: <20041106195215.91282.qmail@web52706.mail.yahoo.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: smarlowe@qwest.net, chlopezl@yahoo.com, pgsql-admin@postgresql.org
Subject: Re: [PERFORM] poor performance in migrated database
In-Reply-To: <1099782015.1310.39.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox