Re: Slow query with big tables

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Mike Sofen <msofen(at)runbox(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Slow query with big tables
Date: 2016-08-27 04:11:30
Message-ID: 1b6396d4-ca7d-05a1-51c7-3b1d71c6cd55@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Pavel Stehule 2016-08-27 04:55:48 Re: Slow query with big tables
Previous Message Mike Sofen 2016-08-26 20:26:46 Re: Slow query with big tables