pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
Cc: PGSQL-Novice <pgsql-novice@postgresql.org>
Cc: PgSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: Using PgSQL in high volume and throughput problem
Date: Thu, 12 May 2005 10:14:38 -0500
Message-ID: <1115910878.3868.257.camel@state.g2switchworks.com> (raw)
In-Reply-To: <4282EAF2.3000305@ev.co.yu>
References: <4282EAF2.3000305@ev.co.yu>

On Thu, 2005-05-12 at 00:34, Nikola Milutinovic wrote:
> Hi all.
> 
> This might be OT, especiallz since I do not have the actual data for 
> volume and throughput, but can give only "bystander" impression.
> 
> I might get on-board a project that deals with a high volume and high 
> throughput data crunching task. It will involve data pattern recognition 
> and similar stuff. The project is meant to run in Java and use Berkeley 
> DB, probably Apache Lucene.
> 
> Now, this is the juicy part. Due to high volume and high throughput, 
> data is actually stored in ordinary files, while Berkeley DB is used 
> only for indexes to that data!
> 
> Like I've said, I don't have the figures, but I was told that that was 
> the only way to make it work, everything else failed to perform. My 
> question, in your oppinion, can PgSQL perform in such a scenario? Using 
> JDBC, of course.
> 
> I do realize that PgSQL gives a lot of good stuff, but here the speed is 
> of essence. The previous project has stripped Java code to the bare 
> bones, regarding data structures, just to make it faster.

This sounds like a batch processing job, and those are often handled
much more quickly by hand written perl / java / php / yourfavlanghere.

Is there a need for concurrent updates / selects on these data?  If not,
then batch processing and tossing the results into a database may well
be the best way to do it.



view thread (3+ messages)  latest in thread

Message-ID: <1115910878.3868.257.camel@state.g2switchworks.com>
Permalink:  ../1115910878.3868.257.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1115910878.3868.257.camel@state.g2switchworks.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: smarlowe@g2switchworks.com, Nikola.Milutinovic@ev.co.yu, pgsql-novice@postgresql.org
  Subject: Re: Using PgSQL in high volume and throughput problem
  In-Reply-To: <1115910878.3868.257.camel@state.g2switchworks.com>
  References: <4282EAF2.3000305@ev.co.yu> <1115910878.3868.257.camel@state.g2switchworks.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