home *** CD-ROM | disk | FTP | other *** search
- 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
- From: rchoi@thylacine.cs.wisc.edu (Ron Choi)
- Newsgroups: comp.databases.informix
- Subject: Informix logs read-only queries? can't handle 'not-exists'?
- Message-ID: <1992Nov11.184142.4749@cs.wisc.edu>
- Date: 11 Nov 92 18:41:42 GMT
- Sender: news@cs.wisc.edu (The News)
- Organization: University of Wisconsin, Madison -- Computer Sciences Dept.
- Lines: 27
-
- i'm running Online 5.0 and seemed to have discovered a bug (or bugs).
- i ran the following query overnight:
-
- select count(*)
- from relA
- where (relA.x10A = 0 or relA.x10A = 5) and not exists (
- select relB.evenAcct
- from relB
- where (relB.x100B = 0 or relB.x100B = 49) and
- relB.evenAcct = relA.acct
- );
-
- and got hundreds of "Logical Log Files are Full -- Backup is Needed".
- the worst thing is that this corrupted the database. first of all, the above
- query is read-only, so it should not create log records (unless informix
- is doing something weird and supporting cascade aborts). secondly,
- the database had logging turned off (with 'tbtape -N databasename'), but
- it still logs anyway! and a query sure shoudn't corrupt the database.
- has anyone seen this before? i can reproduce it; i ran this twice already
- with the same result. and yes, i was the only person accessing the database
- that night.
-
- --
- ---------------------------------------------------------------------------
- ron choi \\ #include <disclaimer.h>
- university of wisconsin, madison \\
- "when i was your age, i walked ten miles to school, unarmed."
-