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

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!rutgers!uwvax!thylacine.cs.wisc.edu!rchoi
  2. From: rchoi@thylacine.cs.wisc.edu (Ron Choi)
  3. Newsgroups: comp.databases.informix
  4. Subject: Informix logs read-only queries? can't handle 'not-exists'?
  5. Message-ID: <1992Nov11.184142.4749@cs.wisc.edu>
  6. Date: 11 Nov 92 18:41:42 GMT
  7. Sender: news@cs.wisc.edu (The News)
  8. Organization: University of Wisconsin, Madison -- Computer Sciences Dept.
  9. Lines: 27
  10.  
  11. i'm running Online 5.0 and seemed to have discovered a bug (or bugs).
  12. i ran the following query overnight:
  13.  
  14. select count(*)
  15. from relA
  16. where (relA.x10A = 0 or relA.x10A = 5) and not exists (
  17.     select relB.evenAcct
  18.     from relB
  19.     where (relB.x100B = 0 or relB.x100B = 49) and
  20.     relB.evenAcct = relA.acct
  21.     );
  22.  
  23. and got hundreds of "Logical Log Files are Full -- Backup is Needed".
  24. the worst thing is that this corrupted the database.  first of all, the above
  25. query is read-only, so it should not create log records (unless informix
  26. is doing something weird and supporting cascade aborts).  secondly, 
  27. the database had logging turned off (with 'tbtape -N databasename'), but 
  28. it still logs anyway!  and a query sure shoudn't corrupt the database.  
  29. has anyone seen this before?  i can reproduce it; i ran this twice already 
  30. with the same result.  and yes, i was the only person accessing the database 
  31. that night.
  32.  
  33. -- 
  34. ---------------------------------------------------------------------------
  35. ron choi                 \\  #include <disclaimer.h>
  36. university of wisconsin, madison    \\
  37.     "when i was your age, i walked ten miles to school, unarmed."
  38.