home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / informix / 2344 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.9 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!olivea!gossip.pyramid.com!pyramid!infmx!aland
  2. From: aland@informix.com (Colonel Panic)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: Running SE with log files linked to /dev/null
  5. Message-ID: <1992Nov8.023958.23330@informix.com>
  6. Date: 8 Nov 92 02:39:58 GMT
  7. References: <Bwswvq.FFn@mail.boi.hp.com> <1992Oct28.145152.6980@infonode.ingr.com> <1992Oct29.153901.22495@informix.com>
  8. Sender: news@informix.com (Usenet News)
  9. Organization: Helen Keller Bondurant's Performance Driving School for the Blind
  10. Lines: 37
  11.  
  12. In article <1992Oct29.153901.22495@informix.com> davek@informix.com (David Kosenko) writes:
  13. >Jack G. Jolly writes:
  14. >[ some details deleted]
  15. >>
  16. >>If we first link the log file to /dev/null, then load the graphics files,
  17. >>we don;t have to worry about the log file getting so big that it uses all
  18. >>the disk.
  19. >
  20. >At this point, I have to ask why you are using a log in the first place?
  21. >It provides no functionality, and in fact is only serving to
  22. >slow down processing (due to writing log records out).  You have no
  23. >capability to rollback your work.  Why not just turn logging off?
  24.  
  25. Keep in mind, Dave, that there IS NO DOCUMENTED WAY to turn off logging
  26. in SE; perhaps this is the source of Jack's problem.
  27.  
  28. FYI: to turn off logging in an SE database, do the following as user
  29. "informix":
  30.  
  31.    1) set environment
  32.    2) isql - - 
  33.        database <dbname> exclusive;
  34.        begin work;
  35.        delete from systables where tabid = 0;
  36.                              should respond: "1 row(s) deleted."
  37.        commit work;      (you can rollback instead if you changed your mind)
  38.        close database;
  39.  
  40. The database logging is now turned "off".
  41.  
  42. >Dave
  43.  
  44.  
  45. --
  46. Alan Denney      aland@informix.com      {pyramid|uunet}!infmx!aland
  47.  
  48.   Smith and Wesson: the Ultimate Point-and-Click User Interface.
  49.