1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Databases: was Re: skill system -->
<!--X-From-R13: X Q Znjerapr <pynjNhaqre.rate.ftv.pbz> -->
<!--X-Date: Tue, 16 Jun 1998 11:44:53 &#45;0700 -->
<!--X-Message-Id: 199806161840.LAA04880#under,engr.sgi.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.PMDF.3.95.980616135405.541109168A&#45;100000#nova,wright.edu -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Databases: was Re: skill system</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:claw#under,engr.sgi.com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg01080.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01082.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg01075.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01152.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#01081">Author</A>
&nbsp;|&nbsp;<A HREF="#01081">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#01081">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Databases: was Re: skill system</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: Databases: was Re: skill system </LI>
<LI><em>From</em>: J C Lawrence &lt;<A HREF="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</A>&gt;</LI>
<LI><em>Date</em>: Tue, 16 Jun 1998 11:40:37 -0700</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Tue, 16 Jun 1998 13:58:35 -0400 (EDT) 
s001gmu &lt;s001gmu#nova,wright.edu&gt; wrote:

&gt; On Tue, 16 Jun 1998, J C Lawrence wrote:

&gt;&gt; On Tue, 16 Jun 1998 10:46:20 -0400 (EDT) s001gmu
&gt;&gt; &lt;s001gmu#nova,wright.edu&gt; wrote:
&gt;&gt; 
&gt;&gt; &gt; We're working on using either CQL++ (if they will ever get back
&gt;&gt; to &gt; me!  grumble) or mSQL for our DB back end.
&gt;&gt; 
&gt;&gt; I haven't confirmed this, but I've read several reports that both
&gt;&gt; MySQL and mSQL both have performance/scalability problems with
&gt;&gt; large databases.  You may want to investigate this area.

&gt; Can you point me at any particular sites/sources?  

The only one that comes to mind is a recent comment to that effect on
the ICGnu list I host at Kanga.Nu.  I'm about to regen the archive
there for the new WebGlimpse support (should take less than an hour
including code changes).  Suggest you do a search there and chase up
with the poster.

NB If you get in before I get the regen done -- my apologies for the
endless JavaScript errors.  Count it up to MHonArc learning curve.

&gt;&gt; &gt; Did they write anything about the MUSH DB expiriement, btw?  I'd
&gt;&gt; &gt; love to get my hands on any documents they produced.
&gt;&gt; 
&gt;&gt; I've only read references to it.  I suspect that all the real
&gt;&gt; discussion occurred on Marcus Ranum's Wizard list, which was in
&gt;&gt; many ways the equivalent of MUD-Dev 10 years ago (and sadly seems
&gt;&gt; to be last as far as archives are concerned).
&gt;   ^^^^ - lost?  fooey

Yep, lost.  Agreed.  &lt;sob&gt;  

Anyone got a current email address for Ranum?  I'd like to chase up
this area with him.
 
&gt;&gt;&gt; JC uses an OO DB, but not a pre-packaged one, if I recall.  There
&gt;&gt;&gt; has been a lot of discussion about OO DBs in the past, and some 
&gt;&gt;&gt; minor discussion about RDBs.
&gt;&gt; 
&gt;&gt; My current implementation uses a linear TDBM descendant.  In moving
&gt;&gt; towards more of a persistent store model I've gone towards
&gt;&gt; Persist++ and Texas munged into my prior TDBM-like model (and have
&gt;&gt; ended up with a right load of bollocks, if a set of interesting
&gt;&gt; proof cases).

&gt; *blink blink* auf english, bitte?  my DB terminology stops right
&gt; about where I stopped writing in my post... ;)

Okay, in words of few syallables (well, less than
superantidisestablishmentarianialistic):

  I currently use a home-grown hack on TDBM.  TDMB is a pretty
standard (well, clean and logical) extension to the old Berkely DBM.
The DBM library which uses simple hash keys to a variable length
record DB.  Whazzat all mean?  Think "associative arrays" and then put
them on disk.  You can look up a DB record using an index like "Fred",
and store another record with an index entry like #98234.  DB files
tend to grow large quickly, but performance tends to be reasonable as
long as they don't get too large.

  X uses DBM for its colour table lookups BTW.

  TDBM is sweet, fast, and rather sexy.  They have some very good
discoursory material in the tar ball (or was that the FTP site?)
giving performance metrics, design considerations etc.  Very optimised
in some ways.

  However, for minor unkinked reasons I wanted to move towards a
persistent store type model.  Whazza "Persistent Store"?  At the
simplest level, consider the case of being able to add a tag to your
C++ (or other OO language) class declarations to have those instances
automagically stored on disk such that when your program runs again
later, those class instances are automagically re-initialised back to
the old state without your having to touch a single bit of code.
Rmember: This works for any class, encluding pointers to other class
instances, nested classes, etc.  Everything is virtualised on disk
such that it can be later restored to memory.  Note: The Texas
Persistent Store has a number of postscript documents which discuss
this area fairly well.

  I wanted that sort of transparent support for backing data
structures onto disk without having to write data-structure-specific
code.

  Persist++ is a C++ library that does some of this.

  The Texas Persistent Store is another library that offers a
persistent store.

Soo, I took my TDBM-like implemenation and hacked some persistent
store type semantics into it.  I ended up with something that worked
well enough for me to be comfortable that I both understood the area
and had a sense of the metrics involved.  I also ended up with a rats
nets of spaghetti entrails for the code.  It compiles and runs, but
little else good can be said for it.

-- 
J C Lawrence                               Internet: claw#null,net
(Contractor)                               Internet: coder#ibm,net
---------(*)                     Internet: claw#under,engr.sgi.com
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="01075" HREF="msg01075.html">[MUD-Dev] Re: Databases: was Re: skill system</A></STRONG>
<UL><LI><EM>From:</EM> s001gmu#nova,wright.edu</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg01080.html">[MUD-Dev] Re: The great crusade....</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg01082.html">[MUD-Dev] Re: Levelless MUDs</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg01075.html">[MUD-Dev] Re: Databases: was Re: skill system</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01152.html">[MUD-Dev] Re: Databases: was Re: skill system</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#01081"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#01081"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>[MUD-Dev] Re: Databases: was Re: skill system</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00978" HREF="msg00978.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
T. Alexander Popiel <a href="mailto:popiel#beldin,snugharbor.com">popiel#beldin,snugharbor.com</a>, Thu 11 Jun 1998, 21:46 GMT
<UL>
<LI><strong><A NAME="01070" HREF="msg01070.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Tue 16 Jun 1998, 14:49 GMT
<UL>
<LI><strong><A NAME="01074" HREF="msg01074.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 16 Jun 1998, 17:25 GMT
<UL>
<LI><strong><A NAME="01075" HREF="msg01075.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Tue 16 Jun 1998, 18:02 GMT
<UL>
<LI><strong><A NAME="01081" HREF="msg01081.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 16 Jun 1998, 18:44 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="01152" HREF="msg01152.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sat 20 Jun 1998, 08:20 GMT
<UL>
<LI><strong><A NAME="01153" HREF="msg01153.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Sat 20 Jun 1998, 13:41 GMT
<UL>
<LI><strong><A NAME="01200" HREF="msg01200.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Thu 25 Jun 1998, 05:52 GMT
<UL>
<LI><strong><A NAME="01212" HREF="msg01212.html">[MUD-Dev] Re: Databases: was Re: skill system</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Fri 26 Jun 1998, 06:45 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>