Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Informix Topics / November 2007

Tip: Looking for answers? Try searching our database.

table sysdistrib inconsistent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
S. Wolschke - 20 Nov 2007 12:38 GMT
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
Superboer - 20 Nov 2007 13:17 GMT
phone Tech support, they need to hack your partition page.

DON'T touch the catalog.

Superboer.

way fast=http://www.clipjes.nl/clip/nederlands/n/normaal_-
_oerend_hard.html

> Hey,
>
[quoted text clipped - 32 lines]
>
> Sebastian
Art S. Kagel - 20 Nov 2007 19:51 GMT
> Hey,
>
[quoted text clipped - 32 lines]
>
> 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
S. Wolschke - 21 Nov 2007 14:37 GMT
Hi,

the Tech Support try to solve the problem.
Thanks for help.

P.S. Maybe, when the Tech Support cant solve the problem, i try to
recreate the sysdistrib table ;-)
stefan@weideneder.de - 22 Nov 2007 16:54 GMT
> Hi,
>
[quoted text clipped - 3 lines]
> P.S. Maybe, when the Tech Support cant solve the problem, i try to
> recreate the sysdistrib table ;-)
Hi

Index information in sysindices and partition page information are
"normally" redundant.  I guess there is nothing to do with sysdistrib
but either with sysindices or the partition page;-)

Best regards,

Stefan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.