Order Tray | Contact Us | Home | SIG Lists

[aprssig] High speed datbase inserts (CGI)

scott at opentrac.org scott at opentrac.org
Tue Mar 1 14:45:13 UTC 2005

I never looked at the JavAPRSSrv database interface before - has anyone
tried to use with Oracle?  In particular, Oracle with the Spatial
extensions?  I wrote my own database interface service in Windows a while
back, but the underlying APRS parsing library got abandoned before it was


-----Original Message-----
From: aprssig-bounces at lists.tapr.org
[mailto:aprssig-bounces at lists.tapr.org]On Behalf Of AE5PL Lists
Sent: Tuesday, March 01, 2005 4:27 AM
To: TAPR APRS Mailing List
Subject: RE: [aprssig] High speed datbase inserts (CGI)

I agree, Ken.  Even on an "underpowered" system (I am populating a MS
SQL database on a mirrored drive configuration with a 2.4 GHz CPU which
is, IMO, underpowered for this application), insertion directly into the
database is probably the best route.

A couple of caveats:

Use minimal indexes.  Indexes are more performance problematic than most
other factors for databases which are mostly added to instead of

Bulk backups for large databases can lock out the updating program for
extended periods of time.  This could be an issue, depending on buffer
depths in the socket connection and the database driver.  Also
timestamps can be off unless you timestamp the data upon receipt instead
of at time of row insertion.

We have people using javAPRSSrvr's database interface to populate mySQL,
PostgreSQL, and MS SQL Server databases from the APRS-IS feed with
relatively good performance.  This interface uses the Java database
drivers (JDBC) and appears to work fairly well under load.  It is my
understanding that there are similar drivers for Perl.


Pete Loveall AE5PL
mailto:pete at ae5pl.net 

> -----Original Message-----
> From: Ken Linder
> Posted At: Tuesday, March 01, 2005 1:21 AM
> Subject: Re: [aprssig] High speed datbase inserts (CGI)
> I might not be a findu expert but I manage my share of data 
> (> 3 TB) at work.  I would say that it would probably be 
> easier to just shove the data into mySQL.
> UNLESS...  Your mySQL server is quite underpowered.  Then, it 
> might be better to use the temporary files and let the mySQL 
> engine 'breate'.

aprssig mailing list
aprssig at lists.tapr.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3080 bytes
Desc: not available
Url : http://www.tapr.org/pipermail/aprssig/attachments/20050301/333ee06c/attachment.bin 

More information about the aprssig mailing list