[aprssig] High speed datbase inserts (CGI)

Gerry Creager N5JXS gerry.creager at tamu.edu
Tue Mar 1 10:23:12 EST 2005


I can't afford Oracle Spatial!

scott at opentrac.org wrote:
> 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
> completed.
> 
> Scott
> N1VG
> 
> -----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
> searched.
> 
> 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.
> 
> 73,
> 
> 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
> https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> aprssig mailing list
> aprssig at lists.tapr.org
> https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig

-- 
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University	
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843




More information about the aprssig mailing list