database connections and presenting data on the web

From: Geoffrey <lists(at)serioustechnology(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: database connections and presenting data on the web
Date: 2010-03-18 13:19:07
Message-ID: 4BA2284B.8050008@serioustechnology.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We are trying to determine the best solution for a web based
application. We have 13 databases (separate postmaster for each
database) that we need to retrieve data from in order to produce the web
page. This data is changing on a regular basis. Question is:

1. Do we:

for database in 1-13;do
connect database
retrieve data
disconnect database
done
display data

2. Or, do we have a common table for all databases that a daemon keeps
updated and simply pull the data from that table?

The data that's being retrieved is changing literally by the minute.

The cgi code is perl.

--
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yeb Havinga 2010-03-18 13:25:58 Re: database connections and presenting data on the web
Previous Message Ehsan Haq 2010-03-18 12:13:43 definitions of regexp functions required