From: | Gregory Haase <haaseg(at)onefreevoice(dot)com> |
---|---|
To: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
Cc: | Dave Potts <dave(dot)potts(at)pinan(dot)co(dot)uk>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Partitioning V schema |
Date: | 2013-09-20 16:51:38 |
Message-ID: | CAHA6QFQ3QfMN1mUQQpDBc78cOzKw4TqxXB3o4j9NOCbYUqrcGQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I would look towards how PostGis handles the Tiger census data for
guidance. It's a similar, massive data set.
Greg Haase
On Sep 20, 2013 9:47 AM, "Jeff Janes" <jeff(dot)janes(at)gmail(dot)com> wrote:
> On Thu, Sep 19, 2013 at 12:02 AM, Dave Potts <dave(dot)potts(at)pinan(dot)co(dot)uk>wrote:
>
>> Hi List
>>
>> I am looking for some general advice about the best was of splitting a
>> large data table,I have 2 different choices, partitioning or different
>> schemas.
>>
>
>
> I don't think there is much of a choice there. If you put them in
> different schemas, then you are inherently partitioning the data. It just
> a question of how you name your partitions, which is more of a naming issue
> than a performance issue.
>
>
>>
>> The data table refers to the number of houses that can be include in a
>> city, as such there are large number of records.
>>
>>
>> I am wondering if decided to partition the table if the update
>> speed/access might be faster that just declaring a different schema per
>> city.
>>
>
> If you partition based on city, then there should be no meaningful
> difference. If you partition based on something else, you would have to
> describe what it is partitioned on, and what your access patterns are like.
>
> Cheers,
>
> Jeff
>
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Goess | 2013-09-20 23:46:50 | simple query with radically different plan after 9.0 -> 9.2 upgrade |
Previous Message | Marc Mamin | 2013-09-20 16:47:16 | Re: PostgreSQL SQL Tricks: faster urldecode |