Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2895

Re: [-9205]: System error: AK Catalog information not found / CONSTRAINT

$
0
0

Hello Thorsten,

 

as you already supposed:

 

1.

> check catalog with update

Statement 'check catalog with update' successfully executed in 398 ms

 

> check catalog

Statement 'check catalog' successfully executed in 378 ms

 

But the loader still reports the same error.

 

2.

a)

select * from domain.tables where tableid = x'000000000003F5F5'

Returns the table that is shown in the loader.log

 

b)

I'm afraid I cannot access any primary or foreign key contraints on any table.

 

If I try to open "Definition" in Database Studio for any table with a primary key,

I get an error. To verify this I created a demo table with primary key and on without.

The table with the key cannot be displayed. The definition of the other one is shown

without problems.

 

Additionally I wrote a small jdbc-Programm that tries to execute

metadata.getPrimaryKeys(null, schema, table);

and

metadata.getImportedKeys(null, schema, table)

 

They both lead to SQL-Errors for every table:

 

com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [-9205]: System error: AK Catalog information not found:000000000003F5F5000A000F

    at ...

    at com.sap.dbtech.jdbc.DatabaseMetaDataMaxDB.getPrimaryKeys(DatabaseMetaDataMaxDB.java:298)

    at com.sap.dbtech.jdbc.trace.DatabaseMetaData.getPrimaryKeys(DatabaseMetaData.java:582)

 

All of the messages contain the same number - what seems to be a tableid.

So all the problems seem to have the same source.

 

Domains were not used in the table definition, but lots of check-constraints, one foreign key

and of course the primary key. A number of fields were added and 2 deleted a few weeks ago.

 

I now decided to export all the data of that table.

 

Dropped the table and recreated it.

 

I just started the test program and everything seems fine now!

 

Thanks a lot.

 

Regards,

Bernhard


Viewing all articles
Browse latest Browse all 2895

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>