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 > Not table to Delete Database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-08-04, 01:33
ssmohol ssmohol is offline
Registered User
 
Join Date: Sep 2004
Location: PUNE - INDIA
Posts: 7
Not table to Delete Database

Hello,

We have created 3 database on our server.
While doing test migration from IDS 7.31 to IDS 2000 Version 9.21 one of database got problem.
We are able to complete migration.

Since problematic database is not important so we want do drop that database.

Now if we try to delete that database system give following error.

211: Cannot read system catalog (systables).
103: ISAM error: illegal key descriptor (too many parts or too long).

If we try to execute any oncheck command then following error occurred.

$pwd
/userhome/informix
$
$ oncheck -pt baanpdm5
ISAM error: TBLspace does not exist

$

If we try to drop dbspace then following error occurred

$ onspaces -d pdmdbs
WARNING: Dropping a DBspace.
Do you really want to continue? (y/n)y
Cannot drop the Space.
ISAM error: DBspace is not empty
$
$

IS THERE ANY SUGGESTIONS FOR HOW TO DELETE THIS DATABASE

Thanks
Shekhar
Reply With Quote
  #2 (permalink)  
Old 09-10-04, 06:05
Big Kahuna Big Kahuna is offline
Registered User
 
Join Date: Jan 2003
Posts: 30
Corrupt db

Hmm,

Your db is corrupt.

You can delete the row for that db from the sysmaster:sysdatabases table.
This will allow you to recreate the db. (not supported)

But then you won't release all the space taken by the initial db.

Best is to dbexport all the db's you want to keep.

Reinitialize the instance and load the db's again.

best regards
Koen
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