pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Dolgin <alex@dolgin.dp.ua>
Cc: pgsql-performance@postgresql.org
Subject: Re: 200 times slower then MSSQL??
Date: Tue, 25 Jan 2005 13:02:23 -0500
Message-ID: <5223.1106676143@sss.pgh.pa.us> (raw)
In-Reply-To: <E1Ct8wq-0008En-00@lata.dp.ua>
References: <E1Ct8wq-0008En-00@lata.dp.ua>

"Alexander Dolgin" <alex@dolgin.dp.ua> writes:
> Does anybody have idea about reasons of such results?

Try converting the MAX() functions to queries that will use indexes.
See FAQ entry 4.7 "My queries are slow or don't make use of the
indexes. Why?"

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <5223.1106676143@sss.pgh.pa.us>
Permalink:  ../5223.1106676143@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5223.1106676143@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, alex@dolgin.dp.ua
  Subject: Re: 200 times slower then MSSQL??
  In-Reply-To: <5223.1106676143@sss.pgh.pa.us>

* 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