Re: MUMPS in lisp?



On Sun, 20 Jan 2008 05:45:03 +0000, vanekl <vanek@xxxxxxx> wrote:

George Neuner wrote:
On Fri, 18 Jan 2008 16:52:05 -0800 (PST), gavino <gavcomedy@xxxxxxxxx>
wrote:
...
Lisp already has implementations of and interfaces to virtually every
type of database that exists. Though I can't find a hierarchical
database (as in MUMPS) searching just now, I'm sure that one or more
exist somewhere.

George
--
for email reply remove "/" from address

postgresql allows for hierarchical table structures, and lisp has an interface
(i think it's called pg, IIRC).

Postgres's hierarchical tables aren't quite the same. In MUMPS the
table itself is a 2 dimensional linked list structure:

tables
|- table1
|------- col1 - col2 - ... - coln
| | | |
|- rec1 - <data 1,1> - <data 1,2> - ... - <data 1,n>
| | | |
|- rec2 - <data 2,1> - <data 2,2> - ... - <data 2,n>
| | | |
|- :
| | | |
|- recm - <data m,1> - <data m,2> - ... - <data m,n>

A record is a linked list of disk pages containing field data. Each
data item is also linked into a separate list headed by attribute.
Several fields may share a page so the links between them are of the
form page#:offset rather than a more typical file offset to the item.

MUMPS is really a network database (in the DB topology meaning of
"network" ... not the LAN/WAN meaning) which happens to impose a
hierarchical organization rather than allow a more general graph
structure.

George
--
for email reply remove "/" from address
.



Relevant Pages

  • Re: Mumps/VA/Dod/intercommunication
    ... of a totally W3C-compliant Native XML Database ... Since mumps globals are coneptually tree-like its certainly plausible that XML features can be added on without suffering "structure" clash. ... Your blurb an extc makes a big deal about keeping the Dom "persistent". ... database engine, then MUMPS is definitely something to check out. ...
    (comp.lang.mumps)
  • Re: Mumps/VA/Dod/intercommunication
    ... You may believe those reasons or not. ... or not believe that areas I specialise in such as Native XML databases ... and that I believe MUMPS is an ideal vehicle for such a product. ... database engine, then MUMPS is definitely something to check out. ...
    (comp.lang.mumps)
  • Re: MUMPS - Java/Oracle
    ... when the pressure to replace Mumps will be overwhelming. ... You aren't a MUMPS programmer, ... database is the existence of transactions and the so called ACID ... A many-to-many relation would be something like "students to classes". ...
    (comp.lang.mumps)
  • Re: schemaless and hierarchical databases
    ... My personal apologies for not having responded sooner. ... While I am simply an applications programmer, ... plain MUMPS. ... What I have learned from the above is that a relational database is ...
    (comp.lang.mumps)
  • Re: Mumps/VA/Dod/intercommunication
    ... Are there any for Mumps? ... plus it's excellent string handling and its interpreted language ... Therefore to suggest that MUMPS has no place in modern, ... database engine, then MUMPS is definitely something to check out. ...
    (comp.lang.mumps)