If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Alternative to bcheck

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-23-02, 05:30
Hamza Hamza is offline
Registered User
 
Join Date: Aug 2002
Posts: 2
Alternative to bcheck

Does anyone know and alternative to bcheck to check the validity of the database??

I have changed the hardware on the machine several times and have also changed unix on it putting all the new patches but system tables still go corrupt.

any ideas any one??

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 08-23-02, 05:34
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Are you using C-Isam or SE?
What version?
These are very simple databases. I don't think there 's an alternative.

I thought C-Isam used bcheck only to check the index structures.

Did you try to unload/load the table?
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 08-23-02, 07:55
Hamza Hamza is offline
Registered User
 
Join Date: Aug 2002
Posts: 2
Using informix 5 SE
have unloaded dropped, recreated and reloaded the data but then corruption moves on to different tanbles then eventually to a system table.

ohh well
Reply With Quote
  #4 (permalink)  
Old 08-23-02, 08:19
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
5 is very old!
We are now at 7.25 for SE.
Is your database big? Could you try to unload the whole database and reload it? You can use a script to do that:

UNLOAD TO dbunload.sql DELIMITER ';'
SELECT "UNLOAD to " || trim(tabname) || ".sql SELECT * FROM " || trim(tabname)
FROM SYSTABLES
WHERE tabid > 99
AND tabtype = 'T'

Create a new database and reload it.

Do you get error messages? Which ones?
Which system table gets corrupted?
Is it maybe a disk problem?
__________________
rws
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On