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

  1. Path: sparky!uunet!oracle!pyramid!infmx!davek
  2. From: davek@informix.com (David Kosenko)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: Informix logs read-only queries? can't handle 'not-exists'?
  5. Message-ID: <1992Nov13.170508.6980@informix.com>
  6. Date: 13 Nov 92 17:05:08 GMT
  7. References: <1992Nov11.184142.4749@cs.wisc.edu> <1992Nov12.161943.21876@informix.com> <1992Nov12.210641.7143@cs.wisc.edu>
  8. Sender: news@informix.com (Usenet News)
  9. Organization: Informix Software, Inc.
  10. Lines: 27
  11.  
  12. Ron Choi writes:
  13. >>I agree wholeheartedly that a query should not corrupt the database.  What
  14. >>exactly become corrupted and how?
  15. >
  16. >after i ran the query above the system could not restart (or recover).  that
  17. >is, i tried to restart it using tbmonitor/mode/startup, but it spent over
  18. >5 hours printing out "recovering. please wait...." message.  i had to restore
  19. >the database from the tape.  i don't know what exactly got corrupted.  i 
  20.  
  21. While you could argue the definition of "corrupted", in this case your
  22. database was not corrupted; your logs were full, thus the system being
  23. stuck in recovery mode. 
  24.  
  25. Now, unless this happened due to a long transaction (LTX), you should be 
  26. able to get around this by running a tbtape while the system is in
  27. recovery mode (this works).  That will free up any logs possible and
  28. allow recovery to continue, hopefully to completion.  If, however, an
  29. active transaction spans all the logs, then recovery from tape is the
  30. only alternative.
  31.  
  32. Dave
  33.  
  34. -- 
  35. Disclaimer: These opinions are not those of Informix Software, Inc.
  36. **************************************************************************
  37. "I look back with some satisfaction on what an idiot I was when I was 25,
  38.  but when I do that, I'm assuming I'm no longer an idiot." - Andy Rooney
  39.