× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is a good topic.

First the advantage of journals are:

1. They can be setup to automatically be maintained by the OS.

2. There is no programming involved in trapping the history.

3. They open up the possibility of commitment control and ease data
recovery.

Disadvantage of journals:

1. They are hard to report off from.

2. You cannot perform ad hoc queries without first extracting to some sort
of data base.

3. They log all changes regardless of the need.

The advantage of triggers:

1. They can be written to capture only the changes needed thus reducing
storage requirements.

2. They can be written to write to a data base file that can be ad hoc
queried.

Disadvantage of triggers:

1. You must write procedures to purge/archive the audit files.

2. When the business needs change, you may not have captured the required
data, therefore have no history.


I was also thinking along the line of triggers can hand off additional
process to batch/server jobs, thus removing the processing from interactive
jobs, but so can journals.  You can send/receive journal entries in a near
real time fashion.


Does any one else have any thing else to add?

Christopher K. Bipes    mailto:ChrisB@Cross-Check.com
Sr. Programmer/Analyst  mailto:Chris_Bipes@Yahoo.com
CrossCheck, Inc.        http://www.cross-check.com
6119 State Farm Drive   Phone: 707 586-0551 x 1102
Rohnert Park CA  94928  Fax: 707 586-1884





-----Original Message-----
From: BillsVilla@aol.com [mailto:BillsVilla@aol.com]
Sent: Wednesday, March 28, 2001 7:07 PM
To: RPG400-L@midrange.com
Subject: Triggers or Journals?


I would like to here some opinions which is best to use for keeping an audit

log of changes that take place to a file. I am curious which way would be 
best and would like to some pros and cons. 

Thanks, 

Bill 
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.