home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / database / ingres / 2143 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!think.com!ames!purdue!yuma!daveb
  3. From: daveb@NREL.ColoState.EDU (Dave Bigelow 491-5574)
  4. Subject: Optimizer question
  5. Sender: news@yuma.ACNS.ColoState.EDU (News Account)
  6. Message-ID: <Dec28.232159.59717@yuma.ACNS.ColoState.EDU>
  7. Date: Mon, 28 Dec 1992 23:21:59 GMT
  8. Nntp-Posting-Host: panicum.nrel.colostate.edu
  9. Organization: Natural Resource Ecology Lab, Colo. State Univ.
  10. Lines: 20
  11.  
  12. Using INGRES SunOS Version 6.4/02 (su4.u42/00) on a 670MP I get
  13. the following message when I try to do a count by on a data field
  14. (field_name). This also happens in Report_Writer when a conditional
  15. on the field is specified.
  16.  
  17.    'the histogram for [field_name] is not monotonically increasing.'
  18.  
  19. In poking around I discovered that the table was re-optimized but
  20. the second time without the inclusion of the offending field.  My
  21. question is does the optimizer clear stale statistics each time it
  22. is invoked or do I have to do another modify to clear the
  23. statistics? Is this the likely cause of the problem?
  24.  
  25. Thanks for your reply.
  26.  
  27. -- 
  28. Dave Bigelow                        
  29. Natural Resource Ecology Laboratory  internet:  daveb@panicum.nrel.colostate.edu
  30. Colorado State University            telephone: 303-491-5574      
  31. Fort Collins, CO 80523               FAX:       303-491-1965
  32.