MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Databases (was Re: Commercial-use Restrictions on Code Bases)
Charles Hughes wrote:
>
>At the risk of being slapped by a mackerel, who here really thinks they
>can do a better database design than those afforded by the likes of the
>free or commercial databases? [I'll ask those here who've actually
>worked on these databases not to chime in. :)]
>
>It seems to me that segregating the database issues and then simply using
>a database is far better than creating a new one. This would change
>the "databases/memory management" division above into two divisions -
>database usage, memory management.
>
>Yes? No?
It depends on what you mean by "database". If you mean relational
databases (RDBMSs), then yes we can and do a lot better in terms of
performance in implementing our own mud databases. RDMSs work
better with batch-access patterns or operations on "sets" of data, or
as Alexander Popeil stated, "large grain transactions".
For instance many existing muds' database access patterns are already
optimized for the constructs:
select * from MUD_DB where id = "#162";
update MUD_DB set name = "troll" where id = "#162";
insert object_data into MUD_DB;
and will almost always outperform an RDMS (barring some really
shoddy construction).
On the other hand set operations like,
select * from MUD_DB where type = "sword";
update MUD_DB set damage = "2d6"
where type = "sword" and material = "steel";
will be done very well in an RDMS. However set operations like this
are not often done in existing mud designs.
I agree generally with your comments about partitioning a server.
However, I view database and memory management as a single
sub-system, rather than making an arbitrary distinction between where
the data or objects reside. I suppose it depends on how one chooses
to implement persistence.
--
--* Jon A. Lambert - TychoMUD Email: jlsysinc#nospam,ix.netcom.com *--
--* Mud Server Developer's Page <http://jlsysinc.home.netcom.com> *--
--* "No Free man shall ever be debarred the use of arms." Thomas Jefferson *--
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- Re: [MUD-Dev] Re: Databases, (continued)
- [MUD-Dev] Databases (was Re: Commercial-use Restrictions on Code Bases),
Charles Hughes charles.hughes#bigfoot,com, Sun 16 Jan 2000, 01:56 GMT
- <Possible follow-up(s)>
- Re: [MUD-Dev] Databases (was Re: Commercial-use Restrictions on Code Bases),
cg cg#ami-cg,GraySage.Edmonton.AB.CA, Sun 16 Jan 2000, 18:59 GMT
- Re: [MUD-Dev] Databases (was Re: Commercial-use Restrictions on Code Bases),
Jon A. Lambert jlsysinc#ix,netcom.com, Mon 17 Jan 2000, 19:52 GMT
- Re: [MUD-Dev] Databases (was Re: Commercial-use Restrictions on Code Bases),
Jon A. Lambert jlsysinc#ix,netcom.com, Mon 17 Jan 2000, 22:02 GMT
- [MUD-Dev] Re: Commercial-use Restrictions on Code Bases (was: help me find 100% fre (fwd),
J C Lawrence claw#kanga,nu, Sat 15 Jan 2000, 04:29 GMT
- [MUD-Dev] Community Relations,
Dundee SkeptAck#antisocial,com, Fri 14 Jan 2000, 18:39 GMT
[ Other Periods
| Other mailing lists
| Search
]