dbTalk Databases Forums  

histogram error

comp.databases.ingres comp.databases.ingres


Discuss histogram error in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ajay_chadha@ttps.ntpc.co.in
 
Posts: n/a

Default histogram error - 01-05-2004 , 05:43 AM







INGRES REPORT Copyright (c) 1981, 1998 Computer Associates Intl, Inc.
Reading report specifications and preparing query . . .
E_OP03A2 consistency check
- histogram on mat_monthly attribute monthly_cb_qty is not
monotonically
increasing
(Mon Jan 5 16:46:25 2004)

E_RW1019 Either you had errors in the .QUERY command, or you didn't
specify either a .QUERY or .DATA command. Processing stops.

E_RW100A 1 error(s) have occurred in setting up the report. No report will
be written. Correct errors and rerun.


what would be the possible error as query is running fine through isql , pl
help
AJAY CHADHA
ENGINEER (IT)
IT DEPARTMENT ,NTPC TTPS
------------------------------------------------------------------------------
"Speed & Quality is essence of IT"



Reply With Quote
  #2  
Old   
Keane, James
 
Posts: n/a

Default RE: histogram error - 01-05-2004 , 06:08 AM







I got this before on OpenIngres 2.0 on AIX. The avoidance was to drop the
statistics on the
column.
James Keane
Irish Revenue


*****************************
This message has been delivered to the internet by the Revenue internet mail service.
*****************************


Reply With Quote
  #3  
Old   
Karl & Betty Schendel
 
Posts: n/a

Default Re: histogram error - 01-05-2004 , 08:33 AM



At 4:28 PM +0500 1/5/04, <ajay_chadha (AT) ttps (DOT) ntpc.co.in> wrote:
Quote:
INGRES REPORT Copyright (c) 1981, 1998 Computer Associates Intl, Inc.
Reading report specifications and preparing query . . .
E_OP03A2 consistency check
- histogram on mat_monthly attribute monthly_cb_qty is not
monotonically
increasing
(Mon Jan 5 16:46:25 2004)

Drop and re-create the statistics on that column. What version,
patch level, platform? This problem used to occur occasionally with
dates, but as far as I know it's been fixed for quite some time.

Karl


Reply With Quote
  #4  
Old   
anandopatel@yahoo.com
 
Posts: n/a

Default Re: histogram error - 01-05-2004 , 08:48 AM



Dear Sir,

I see your company motto is

"Speed & Quality is essence of IT"

perhaps you need to hire some Ingres professionals for this to mean something.

Best wishes
Anando Patel

Reply With Quote
  #5  
Old   
Ingres Forums
 
Posts: n/a

Default Re: histogram error - 03-24-2010 , 09:37 AM



Hi karl,

I am getting the same error on our person records, can you please send
me some ionstructions on how you would go about re-creating stats as i
am new to ingres and have very low knowledage on where to go and find
things. I can see it in VDBA just dont know how to re-create it.

thanks in advance
kam


--
kamini

Reply With Quote
  #6  
Old   
Karl Schendel
 
Posts: n/a

Default Re: [Info-Ingres] histogram error - 03-24-2010 , 10:06 AM



On Mar 24, 2010, at 11:37 AM, Ingres Forums wrote:

Quote:
I am getting the same error on our person records, can you please send
me some ionstructions on how you would go about re-creating stats as i
am new to ingres and have very low knowledage on where to go and find
things. I can see it in VDBA just dont know how to re-create it.
I don't know how to do anything in VDBA. I think there is a "drop
statistics" and "create statistics" menu item somewhere.

At the command line, what you woud do is

statdump -zdl databasename -rtablename -acolumn1 -acolumn2 ...

optimizedb -zv database -rtablename -acolumn1 -acolumn2

The statdump -zdl drops statistics. It's not really necessary, as
the optimizedb will overwrite any old histograms, but it is a
"feel good". The optimizedb command regenerates the
histograms. The -zv option simply tells optimizedb to output
a bit of info when it's done, and can be omitted.

Karl

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.