🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #139

Database connections

#139
From: Lance Robaldo
Date: Fri, 20 Jul 2007 14:14
33 lines
2510 bytes
We have a product consisting of several hundered seperate applications, all 
of which access an Oracle database.
The main program is not much more than a simple menu that spawns all of the 
other programs.

The problem is that on some of our larger customers, they may have 50 or 
more people each running an average of 10 or so programs at a time from the 
menu.

Each program has a database connection, and up to 30 query components. 
Since this creates a seperate database connection for each program, some of 
our clients are starting to experience some serious performance issues on 
the database because of all the open Oracle connections.

Is there any way the main application can open a single connection to the 
database, and the spawned programs share that database connection component?

Datasnap kind-of allows us to do this with datasets, but it requires all of 
the datasets to reside on the application server.  In our case each program 
does something entirely different with the data, so putting all the datasets 
in an application server really won't work well for us.  Also, our product 
consists of literally hundreds of executable programs executing thousands of 
different queries on around 100 tables, it would be a nightmare to try to 
put all the necessary datasets in a single application server.

We really need to share the database connection, but have the datasets 
themselves in the individual executable programs.


Thanks for any ideas here.

Lance Robaldo
Lance@Robaldo.com
Technical Details
Message-ID: <46a0c33c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fcd2b,4456281313c742a2,start
X-Google-Attributes: gidfcd2b,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Lance Robaldo" <Lance@Robaldo.com>
From: "Lance Robaldo" <RRobaldo@wltsoftware.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Database connections
Date: Fri, 20 Jul 2007 10:14:15 -0400
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 65.97.158.130
Message-ID: <46a0c33c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1184940860 65.97.158.130 (20 Jul 2007 07:14:20 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 2369