Re: table sysdistrib inconsistent



On Nov 20, 7:38 am, "S. Wolschke" <hektor1...@xxxxxxxxx> wrote:
Hey,

nice problem in one of our databases.
The update statistics doesnt work.

The update statistics crahs with the following error

Cannot Update statistics for table: scott;
SQLCODE = -211, ISAM = -172, POS = 67

ok, try to kick the statistics

update statistics low for table scott drop distributions;

211: Cannot read system catalog (sysdistrib).
172: ISAM error: Unexpected internal error

An unload on table scott works fine, the problem is in the sysdistrib
table.

select * from sysdistrib where tabid=127 (127=table scott)

243: Could not position within a table (informix.sysdistrib).
103: ISAM error: illegal key descriptor (too many parts or too
long).

To drop and recreate the database is the last option for me. The
customer works 24/7 on this database.
Maybe i can drop and recreate the table scott, but the sysdistrib has
an problem, so im not sure.
It's possible to delete the table scott in sysdistrib?
Anyone a good idea?

SLES8, IFX 9.40UC3

Sebastian

You can safely delete rows from sysdistrib. Its contents are only
looked at by UPDATE STATISTICS and the optimizer, however, that may
not be the problem. There may be some corruption on the table's
partition page.
If UPDATE STATISTICS... DROP DISTRIBUTIONS is not working then the
manual delete will likely fail as well. I'd take Superboer's advice
and start with tech support.

Art S. Kagel
.



Relevant Pages

  • Re: table sysdistrib inconsistent
    ... The update statistics doesnt work. ... scott; ... An unload on table scott works fine, the problem is in the sysdistrib ... To drop and recreate the database is the last option for me. ...
    (comp.databases.informix)
  • table sysdistrib inconsistent
    ... The update statistics doesnt work. ... scott; ... An unload on table scott works fine, the problem is in the sysdistrib ... To drop and recreate the database is the last option for me. ...
    (comp.databases.informix)
  • Re: Regarding INFORMIX Basic Details
    ... Please provide me a clarification regarding UPDATE STATISTICS ... The database contains only 3 tables, each table having less than 4 columns ... I ran the following command at my INFORMIX 9.4 using HP-UX 5.3 (is the ... medium and high ...
    (comp.databases.informix)
  • Re: Mysterious update statistics
    ... The UPDATE STATISTICS commands do not operate ONLY on the changes to the table but on the entire table. ... Basically you do not run the database wide or even the table wide commands but run sets of columns as required. ... Dostats is contained in the package utils2_ak available for download from the IIUG Software Repository or from the Oninit web site. ...
    (comp.databases.informix)
  • grep help
    ... server Error: 1608, Severity: 18, State: 3 ... or a network error was encountered. ... statistics for all indexes of object 1755153298 in database 4. ...
    (comp.unix.shell)