From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | jhood(at)hmcon(dot)com (Jeffrey Hood) |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Query Performance... |
Date: | 2002-07-18 14:08:29 |
Message-ID: | 5125.1027001309@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
jhood(at)hmcon(dot)com (Jeffrey Hood) writes:
> We have recently converted from MS SQLServer 7 to Postgres 7.1... The
> following query runs perfectly fine in SQL Server with any where
> clause attached, but in Postgres runs fine until you put a where
> clause that has *no* criteria for Patients... then it runs forever...
Define "runs forever". AFAICT this query is going to give 750K rows of
output, if there's no WHERE clause. How long do you expect that to
take? How long does it actually take? Is SQL Server really any faster
given the same query with no WHERE?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-07-18 14:11:49 | Re: ERROR: bt_fixroot: not valid old root page |
Previous Message | Tom Lane | 2002-07-18 14:02:20 | Re: \d [index_name] bug? |