Quote:
|
Originally Posted by artemka
I think that a load and unload of the records that you are going to update is actualy the best way to go
Please spcify what wersion you are on and what are you currently using for a backup procedure
|
I am on Informix Dynamic Server 9.3 and currently I don't have a back-up procedure that I know of. I mean the servers might be being backed up regularly as a back-up process but I am not quite concerned about that. I am concerned about the things I would be doing and if something goes wrong I would be able to get the table back to original state without asking out for help to our DBAs (though I keep that as a last option).
I think I would go ahead with a unload/load of the whole table that has about 10 million records.. and the restore the whole set back to it if something goes wrong.. but I just wished to confirm with this is the right way or are there any optimal solutions considering the bulk of records in the table.
Thanks for your response artemka.. as of now.. I plan to go ahead with unload/load..
One more peculiar thing that I faced was - When I do something like:
Code:
UNLOAD TO <filename>
SELECT * FROM <tablename>
And then I do:
Code:
LOAD FROM <filename>
INSERT INTO <tablename>
Once in a while it fails saying the number of columns in unload and table do not match or something like that..
Can I be sure that if I do an unload and do not alter the table schema and then delete all records and do a load back from the unload file.. I would not face this issue? What would be my possible ways out if this becomes an issue? Can I use the unload file to work-around this porblem.. In short what could be the possible causes of this and can it be worked around, how?
Thanks a lot for your response once again. Best regards.