Search Postgresql Archives

Re: Setup for large database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 21, 2006 at 11:34:00AM -0400, Vivek Khera wrote:
> As for partitioning based on octet, you should look at your  
> distribution of addresses and decide if it scatters the data evenly  
> enough for you.

A much more important question: how will you be querying the data?

Partitioning is not a magic-bullet to performance, and when done
incorrectly it can end up hurting.

In this case, if the OP will be querying mostly on things that fit
within a class A, then partitioning on the first octet probably makes a
lot of sense. In fact, partitioning on the first two octets might make a
lot of sense, so long as there's very littly querying across partitions.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@xxxxxxxxxxxxx
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux