Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > what worked: pe...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 3971 of 4424
Post > Topic >>

what worked: performance improvements for geo-spatial searching on

by mark@[EMAIL PROTECTED] (Mark Stosberg) Apr 7, 2008 at 02:35 PM

The http://www.1-800-save-a-pet.com
site is hosted with FreeBSD and
PostgreSQL and as a geo-spatial search as a central feature.

One thing that made a substantial performance improvement was switching
from the "geo_distance()" search in the earthdistance contrib, to use
the "cube" based geo-spatial calculations, also in available in contrib/
In our case, the slight loss of precision between the two methods didn't
matter.

The other things that made a noticeable performance improvement was
upgrading our servers from FreeBSD 4.x or 5.x (old, I know!) to FreeBSD
6.2 or later. We also upgrade these systems from PostgreSQL 8.1 to 8.2
at the same time.  I assume the upgrade to 8.2 must be responsible at
least in part for the performance gains.

The result of these two rounds of updates is that our overall CPU
capacity in the cluster seems to be double or triple what it was before.

As the site grows we continue to be very happy with the performance,
features and stability of PostgreSQL.

    Mark


-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 4 Posts in Topic:
what worked: performance improvements for geo-spatial searching
mark@[EMAIL PROTECTED] (  2008-04-07 14:35:14 
Re: what worked: performance improvements for geo-spatial
oleg@[EMAIL PROTECTED] (  2008-04-07 22:47:58 
Re: what worked: performance improvements for geo-spatial sear
mark@[EMAIL PROTECTED] (  2008-04-08 09:45:07 
Re: Re: what worked: performance improvements for geo-spatial
oleg@[EMAIL PROTECTED] (  2008-04-08 21:38:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 7:41:10 CST 2008.