pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: twoflower <standa.kurik@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re:  Re: Query > 1000× slowdown after adding datetime comparison
Date: Mon, 31 Aug 2015 13:30:41 -0700 (MST)
Message-ID: <1441053041230-5864101.post@n5.nabble.com> (raw)
In-Reply-To: <CAFcOn2-u8QE-0vwkUuEQ7b1m9+YfH=vjLAaJrhAh=zU4n9Hu1w@mail.gmail.com>
References: <1441037351126-5864045.post@n5.nabble.com>
	<55E47E97.1090202@2ndquadrant.com>
	<1441047830983-5864075.post@n5.nabble.com>
	<1441048763332-5864080.post@n5.nabble.com>
	<CAKFQuwbUZLWuhoaAF7mWdmRr-6LG9NdMfsyPasXo1ZY82YVRzA@mail.gmail.com>
	<1441050416677-5864088.post@n5.nabble.com>
	<CAFcOn2-u8QE-0vwkUuEQ7b1m9+YfH=vjLAaJrhAh=zU4n9Hu1w@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

I did not. I wanted to compare this query to the one I tried before, having
*documenttype = 4* as the sole condition. That one was very fast and the
*documenttype* was not indexed either. 

But this query, using the new temporary column, still runs, after 48
minutes...



--
View this message in context: http://postgresql.nabble.com/Query-1-000-000-slowdown-after-adding-datetime-comparison-tp5864045p586...
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (15+ messages)  latest in thread

Message-ID: <1441053041230-5864101.post@n5.nabble.com>
Permalink:  ../1441053041230-5864101.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1441053041230-5864101.post@n5.nabble.com

 · 

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: standa.kurik@gmail.com
  Subject: Re:  Re: Query > 1000× slowdown after adding datetime comparison
  In-Reply-To: <1441053041230-5864101.post@n5.nabble.com>

* 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