Re: Time to move table to new tablespace

From: Ondrej Ivanič <ondrej(dot)ivanic(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Time to move table to new tablespace
Date: 2012-01-09 23:57:07
Message-ID: CAM6mieKwhWfxE-20DNvURxCF=9Q3VhA38a=++FCXedmQJz=BPw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On 10 January 2012 06:10, Jason Buberel <jason(at)altosresearch(dot)com> wrote:
> "Select median price for every zip code as of 2012-01-06" (customer exports)
> "Select median price for 94086 from 2005-01-01 through 2012-01-06" (charting
> apps)
>
> So by partitioning in one dimension we impact queries in the other.

I do not see any issue here; if all your queries contain date range
then you should partition by date.

--
Ondrej Ivanic
(ondrej(dot)ivanic(at)gmail(dot)com)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-01-09 23:58:16 Re: How do you change the size of the WAL files?
Previous Message John R Pierce 2012-01-09 23:56:18 Re: How do you change the size of the WAL files?