Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Informix > Re: orphan cdr_...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 14266 of 15119
Post > Topic >>

Re: orphan cdr_deltab... tables

by Madison Pruet <mpruet1@[EMAIL PROTECTED] > Jul 2, 2008 at 02:01 PM

Pete wrote:
> We had to "brute force" kill ER tables and rebuild awhile back (per
> Informix sup****t).
> 
> I see that there are some "orphan" cdr_deltab_xxxx tables left around
> that actually "hang" dbschema when it is run on them.
> 
> My question is... can these tables be manually deleted without
> cra****ng either the engine or ER?

Yes - if you do it very carefully.....

In the syscdr database, you need to examine the deltabdef table.  The 
tabname, owner, and dbname are the names of the table that the delete 
table is a shadow of.  The deltabid is the number ****tion of the delete 
tabe id.  (the # part of cdr_deltab_######).  The orphans can be 
identified by comparing the number part of cdr_del_###### with the 
deltabid within the deltabdef table.   If the number is not found in the 
deltabdef column, then it is an orphan and can (or rather should) be 
dropped.

N.B.  If you manually delete the syscdr database, then you must manually 
drop the shadow delete tables as well.  If this is not done, then you 
can run into a 57 error when trying to add replicates later on.


> 
> Running version "Informix Dynamic Server 2000 Version 9.21.UC5XF" on
> AIX 5.2. Yes, I KNOW, old version of Informix, Vendor is in process of
> upgrading to ver 10.
> 
> Pete
 




 6 Posts in Topic:
orphan cdr_deltab... tables
Pete <pete.dickson.ats  2008-07-02 06:36:23 
Re: orphan cdr_deltab... tables
dcruncher4@[EMAIL PROTECT  2008-07-02 06:54:03 
Re: orphan cdr_deltab... tables
Pete <pete.dickson.ats  2008-07-02 06:59:12 
Re: orphan cdr_deltab... tables
Madison Pruet <mpruet1  2008-07-02 14:01:25 
Re: orphan cdr_deltab... tables
Madison Pruet <mpruet1  2008-07-02 14:04:24 
Re: orphan cdr_deltab... tables
Pete <pete.dickson.ats  2008-07-02 07:49:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 0:04:16 CST 2008.