Article View: net.database
Article #133Re: Unity
From: David St. Pierre
Date: Sun, 25 Aug 1985 19:17
Date: Sun, 25 Aug 1985 19:17
32 lines
2255 bytes
2255 bytes
I'm not sure I'd classify it as either a toy or a RDBMS
(where R stands for Real). Rather it's another tool which
can do reasonable work with minimum effort on files which
have a known number of fields.
The "data base" is a standard ASCII file, indices can be built
if desired. Joins, selections, projections are supported.
The DDL is a simple ASCII file in either the current directory
or the directory where the "data base" is stored - thereby
allowing a regular UNIX user access to files such as /etc/passwd
where they do not normally have write permission into /etc.
(Maybe you want to join the passwd file to something else)
We've found it useful for subsetting password-type files.
We also wanted to build/maintain some automatic cross-referencing
of IMS data, and the easiest way still (after 2 years no less)
seems to be to dump the data into UNIX and throw a dozen or so
tools at it. UNITY is the central tool in this instance.
UNITY also provides for field validation - after the fact. This has
proven useful because I often want to find out "what records aren't ...".
Again, an ASCII file defines the validation syntax.
Much of what UNITY does could be handled with awk/cut/sed/bs.
Then again, I suppose one could do the whole thing in C.
UNITY doesn't win any speed records, but neither does awk for that matter.
It *IS* moderately easy to master and use - and is appropriate when you
want to work on files which for one reason or another cannot permanently
be placed into one of the commercial DBMS'.
--
David St. Pierre {ihnp4,dual,qantel}!ptsfa!dsp
Technical Details
Message-ID:
<825@ptsfa.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!well!ptsfa!dspReferences:
<746@brl-tgr.ARPA>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ptsfa.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!well!ptsfa!dsp From: dsp@ptsfa.UUCP (David St. Pierre) Newsgroups: net.database Subject: Re: Unity Message-ID: <825@ptsfa.UUCP> Date: Sun, 25-Aug-85 15:17:14 EDT Article-I.D.: ptsfa.825 Posted: Sun Aug 25 15:17:14 1985 Date-Received: Wed, 28-Aug-85 21:11:50 EDT References: <746@brl-tgr.ARPA> Reply-To: dsp@ptsfa.UUCP (David St. Pierre-150) Distribution: net Organization: Pacific Bell, San Francisco Lines: 32