home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / lisp / mcl / 1559 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.8 KB

  1. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!apple!apple!cambridge.apple.com!@RIVERSIDE.SCRC.Symbolics.COM:Kevin@SCANDIUM.MKS.DIALNET.SYMBOLICS.COM
  2. From: Kevin@SCANDIUM.mks.dialnet.symbolics.com (Kevin G. Joback)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Database Implementation Naivete
  5. Message-ID: <19921109063538.2.KEVIN@SCANDIUM.mks.dialnet.symbolics.com>
  6. Date: 9 Nov 92 06:35:00 GMT
  7. Sender: info-mcl-request@cambridge.apple.com
  8. Lines: 26
  9. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  10. Original-To: slug%ai.sri.com@riverside.scrc.symbolics.com
  11. Original-Cc: info-mcl%cambridge.apple.com@riverside.scrc.symbolics.com
  12.  
  13. I am considering implementing a database in lisp for managing
  14. information on chemicals. Till now I have been saving objects to files
  15. and then reloading them. With the number of chemicals now approaching
  16. 2000 this process takes too much time. Additionally I never take
  17. advantage of having all the information loaded.
  18.  
  19. My needs are quite minimal. No transaction restarts or SQL (yet).
  20.  
  21. I thought a file in a specified, fixed format could be used to store the
  22. information. The FILE-POSITION function would be used to move around the
  23. file. READ-CHAR, WRITE-CHAR, READ, WRITE, etc. used to retrieve and store
  24. information.
  25.  
  26. Being inexperienced in this area I have several questions:
  27.  
  28. 1) Is this approach likely to work? I know commercial databases offer
  29. numerous capabilities which probably make them very complex to implement
  30. but can one start small?
  31.  
  32. 2) Are there any references which discuss the implementation of simple
  33. databases? I have found countless books on database architecture and
  34. implementation issues but none on how to sit down and start coding.
  35.  
  36. I thank you in advance for any comments and advice.
  37.  
  38. Kevin G. Joback
  39.