pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Bill <bill@math.uchicago.edu>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: postgresql and openmosix migration
Date: Tue, 22 Jun 2004 18:25:16 -0700
Message-ID: <40D8DBFC.2090208@joeconway.com> (raw)
In-Reply-To: <008201c4587e$b8856510$dfc58780@billnotebook>
References: <004001c45865$59cc9f20$dfc58780@billnotebook>
	<200406220931.23780.josh@agliodbs.com>
	<008201c4587e$b8856510$dfc58780@billnotebook>

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



view thread (13+ messages)  latest in thread

Message-ID: <40D8DBFC.2090208@joeconway.com>
Permalink:  ../40D8DBFC.2090208@joeconway.com/
Also on:    postgresql.org/message-id/40D8DBFC.2090208@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mail@joeconway.com, bill@math.uchicago.edu, josh@agliodbs.com
  Subject: Re: postgresql and openmosix migration
  In-Reply-To: <40D8DBFC.2090208@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox