Re: postgresql and openmosix migration - Mailing list pgsql-performance

From Joe Conway
Subject Re: postgresql and openmosix migration
Date
Msg-id 40D8DBFC.2090208@joeconway.com
Whole thread Raw
In response to Re: postgresql and openmosix migration  ("Bill" <bill@math.uchicago.edu>)
List pgsql-performance
Bill wrote:
> Ok, so maybe someone on this group will have a better idea.  We have a
> database of financial information, and this has literally millions of
> entries.  I have installed indicies, but for the rather computationally
> demanding processes we like to use, like a select query to find the
> commodity with the highest monthly or annual returns, the computer generally
> runs unacceptably slow.  So, other than clustring, how could I achieve a
> speed increase in these complex queries?  Is this better in mysql or
> postgresql?

If the bottleneck is really computational, not I/O, you might try PL/R
in conjunction with the rpvm R package. rpvm allows R to make use of pvm
to split its load among a cluster. See:

R:
   http://www.r-project.org/

PL/R:
   http://www.joeconway.com/plr/

rpvm:
   http://cran.r-project.org/src/contrib/Descriptions/rpvm.html
   http://cran.r-project.org/doc/packages/rpvm.pdf

I haven't had a chance to play with this myself yet, but I hope to
relatively soon.

HTH,

Joe

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: after using pg_resetxlog, db lost
Next
From: Andrew Hammond
Date:
Subject: Re: postgresql and openmosix migration