1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: Of disk swapping, database structure &#38; project management.. -->
<!--X-From-R13: ptNnzv&#45;pt.UenlEntr.Sqzbagba.OP.QO (Quevf Uenl) -->
<!--X-Date: from tacitus.globecomm.net [207.51.48.7] by mx01.ca.us.ibm.net id 860865362.201041&#45;1 Sat Apr 12 17:16:02 1997 -->
<!--X-Message-Id: 9704121416.7xgm@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: Of disk swapping, database structure &amp; project management.</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">
</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="msg00106.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00108.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00102.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00117.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00107">Author</A>
&nbsp;|&nbsp;<A HREF="#00107">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00107">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: Of disk swapping, database structure &amp; project management..</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: Of disk swapping, database structure &amp; project management..</LI>
<LI><em>From</em>: <A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A> (Chris Gray)</LI>
<LI><em>Date</em>: Sat, 12 Apr 97 07:16:20 MST</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
:Has anyone experimented with swapping unused parts of the mud database to
:disk, reading it back in when needed? What sort of format is it stored in
:(eg binary, ASCII, etc)?

Several of the systems represented here are disk based, i.e. information
moves back and forth between memory and disk. In mine, there are two
files used for the database. The index file contains a few header values,
then is simply an array of descriptors, which grows as needed. Each
descriptor describes a contiguous space in the main data file, either
in-use for something, or available for use. All MUD entities are stored
as a set of contiguous bytes in the main file, and are represented by
their 'db-id', which is just the number of the descriptor that points
at them. The data can move to a new slot, without the db-id changing.

In-memory, there is a cache of some subset of the on-disk database, store
in a somewhat similar fashion. The cache is mostly flushed on an LRU basis.

--
Chris Gray   cg#ami-cg,GraySage.Edmonton.AB.CA

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00106.html">Re: Unique id's</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00108.html">Ho hum</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00102.html">Re: Of disk swapping, database structure &amp; project management..</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00117.html">Re: Of disk swapping, database structure &amp; project management..</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00107"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00107"><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><A NAME="00097" HREF="msg00097.html">Using system time for ObjectIDs</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Sat 12 Apr 1997, 08:41 GMT
<LI><strong><A NAME="00086" HREF="msg00086.html">Of disk swapping, database structure &amp; project management..</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Sat 12 Apr 1997, 03:40 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00100" HREF="msg00100.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Sat 12 Apr 1997, 11:04 GMT
</LI>
<LI><strong><A NAME="00102" HREF="msg00102.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sat 12 Apr 1997, 12:57 GMT
</LI>
<LI><strong><A NAME="00107" HREF="msg00107.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 13 Apr 1997, 00:16 GMT
</LI>
<LI><strong><A NAME="00117" HREF="msg00117.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sun 13 Apr 1997, 23:55 GMT
</LI>
<LI><strong><A NAME="00121" HREF="msg00121.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Mon 14 Apr 1997, 02:45 GMT
</LI>
<LI><strong><A NAME="00129" HREF="msg00129.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Mon 14 Apr 1997, 23:16 GMT
</LI>
<LI><strong><A NAME="00132" HREF="msg00132.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Mon 14 Apr 1997, 23:27 GMT
</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>