Re: same question little different test MSSQL vrs Postgres

From: Greg Stark <gsstark(at)mit(dot)edu>
To: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
Cc: <gsstark(at)mit(dot)edu>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: same question little different test MSSQL vrs Postgres
Date: 2005-01-26 16:20:18
Message-ID: 873bwo17st.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Joel Fradkin" <jfradkin(at)wazagua(dot)com> writes:

> QUERY PLAN
> "Seq Scan on tblcase (cost=0.00..30066.21 rows=37401 width=996) (actual
> time=0.344..962.260 rows=22636 loops=1)"
> " Filter: ((clientnum)::text = 'SAKS'::text)"
> "Total runtime: 1034.434 ms"

Well that says it only took 1s. So it seems this is highly dependent on
whether the data is in cache. Perhaps it was in cache on MSSQL when you
profiled it there and not on postgres?

You could put an index on clientnum, but if the data is usually in cache like
this it might not even be necessary.

--
greg

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2005-01-26 16:27:29 Re: same question little different test MSSQL vrs Postgres
Previous Message Joel Fradkin 2005-01-26 16:02:43 Re: same question little different test MSSQL vrs Postgres