Re: huge price database question.. - Mailing list pgsql-general

From John R Pierce
Subject Re: huge price database question..
Date
Msg-id 4F694391.2030900@hogranch.com
Whole thread Raw
In response to Re: huge price database question..  (Jim Green <student.northwestern@gmail.com>)
Responses Re: huge price database question..  (Jim Green <student.northwestern@gmail.com>)
List pgsql-general
On 03/20/12 7:49 PM, Jim Green wrote:
> yes its possible but I would more likely grab the data to R and get
> the avg in R..

avg() in the database is going to be a lot faster than copying the data
into memory for an application to process.

Also, you know there's a plR for postgres that lets you embed R
functions in the database server and invoke them in SQL statements??





--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


pgsql-general by date:

Previous
From: Jim Green
Date:
Subject: Re: huge price database question..
Next
From: Andy Colson
Date:
Subject: Re: huge price database question..