pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Mike Sofen <msofen@runbox.com>
To: pgsql-performance@postgresql.org
Subject: Re: Slow query with big tables
Date: Fri, 26 Aug 2016 23:11:30 -0500
Message-ID: <1b6396d4-ca7d-05a1-51c7-3b1d71c6cd55@BlueTreble.com> (raw)
In-Reply-To: <00e601d1ffd8$2beb8850$83c298f0$@runbox.com>
References: <CAOLG3nrKEuAe2NEQK-z65X5H_i22Vg3tDpB=KYJ9ai07dYxNGA@mail.gmail.com>
	<CAFwQ8rfgqxg0As4DvK9sku2o-7SKGhMp0hS_YU6h_REHOPdXjg@mail.gmail.com>
	<CAOLG3nq-KjLF1S-5Hq3pnE96y6itXi-Sq0_SXJYpeOfxebvLdA@mail.gmail.com>
	<00e601d1ffd8$2beb8850$83c298f0$@runbox.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On 8/26/16 3:26 PM, Mike Sofen wrote:
> Is there way to keep query time constant as the database size grows.

No. More data == more time. Unless you find a way to break the laws of 
physics.

> Should I use partitioning or partial indexes?

Neither technique is a magic bullet. I doubt either would help here.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461


-- 
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 (13+ messages)  latest in thread

Message-ID: <1b6396d4-ca7d-05a1-51c7-3b1d71c6cd55@BlueTreble.com>
Permalink:  ../1b6396d4-ca7d-05a1-51c7-3b1d71c6cd55@BlueTreble.com/
Also on:    postgresql.org/message-id/1b6396d4-ca7d-05a1-51c7-3b1d71c6cd55@BlueTreble.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: Jim.Nasby@BlueTreble.com, msofen@runbox.com
  Subject: Re: Slow query with big tables
  In-Reply-To: <1b6396d4-ca7d-05a1-51c7-3b1d71c6cd55@BlueTreble.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