FW: Re: Advice Sought
Posted in 2003
Hello again,
Sorry guys if this is a case of "physician; heal thyself", but after sending
this I thought...
Then found the archdb.sql within the .edb directory, using vi did a global
replacement, from rootdbs to dbs1. Then I dropped the archdb again, ran the
dbimport again, specifying dbs1.
Now, as before, I see archdb in dbs1.
Now, unlike before, I run oncheck and it shows the indexes are in dbs1 too.
Does this mean everything is OK now?
And for the benefit of others who may want to know, was there an easier way?
Regards,
Malcolm.
-----Original Message-----
From: Malcolm Garbett
Sent: 21 January 2003 08:10
To: Ids (E-mail)
Subject: FW: Re: Advice Sought
Hi,
I seem to have been a little premature here.
After I sent my thanks to all I continued running checks to see that all was
well. When running oncheck I saw that it was validating indexes, stating
"Index fragment in Dbspace rootdbs".
Fearing that I had done something completely wrong I went through the
process again.
Dbexport.
Dropped the archdb.
Dbimport - specifying dbs1.
Same result. Onmonitor - Databases - shows the archdb now in dbs1
Running oncheck finds index fragments in rootdbs, where the dB originally
resided.
My questions are:
Do I need to fix this?
If yes - How?
Regards,
Malcolm.
-----Original Message-----
From: Malcolm Garbett
Sent: 20 January 2003 12:47
To: Ids (E-mail)
Subject: Re: Advice Sought
Many thanks to all who contributed.
You were unanimous that I should drop archdb and recreate elsewhere.
Particular thanks to Malcolm W and Darren Jacobs who reminded me of the
dbexport/dbimport option. (Darren thanks for the exact syntax - a big help
for those of us who have a lot of other duties beside Informix. I drop and
recreate databases once in a blue moon.)
I thoroughly checked our set up before doing anything. The people who set
up our system created rootdbs with one chunk, and dbs1 with two chunks.
They then put archdb and one called training in rootdbs. (In answer to
another contributor's question, "no there probably wasn't much thought."
Though to be fair most of their customers never use the two databases they
put in rootdbs, so I suspect, at the end of a long day, the guy just forgot
to enter "dbs1", so they went to rootdbs by default.
After I moved the databases out I'm left with two questions, one specific,
one general:
1. The two databases I moved now have "Informix" as the owner. I'd
like to change this to the name of the database for uniformity, as "live" is
owned by "live". So, what's the quickest way to change the owner?
2. And the general question is on chunks. As dbs1 has two chunks, the
first of which has 20582 pages free, and the second is empty, if the first
chunk ever actually fills does the DBA have to do anything, or will dbs1
just start to use the second chunk?
Thanks again to all who helped.
Regards,
Malcolm Garbett
IT Manager
"This e-mail and any files transmitted with it is confidential. If you are
not the intended recipient, you should not use, copy or disclose its
contents, but should immediately notify the sender and delete the e-mail.
The statements and opinions expressed here may not represent those of the
company. Whilst we run anti-virus software on all e -mails we are not
liable for any loss or damage and the recipient is advised to run their own
anti-virus software".
Newall Measurement Systems Ltd.