Rickard =?iso-8859-1?b?U2r2c3Ry9m0=?= <rickard.sjostrom@xxxxxxxxxxxxxx> writes: > I have a view that is really slow and I ca easily work around the slowness by bypassing the view and query the real table directly. Let's see the exact definition of the view and EXPLAIN ANALYZE results for doing it both ways. Also, what PG version is this? regards, tom lane