alter table ... add rowids
Posted in 2003
Topics: Storage & Space Management, Error Codes & Troubleshooting
When I try to
execute the following command : "alter table mytable add
rowids" on a fragmented table, Informix gives me the error message :
261: Cannot create file for table (pps.mytable).
131: ISAM error: no free disk space
The table have a size off 7 Go, fragmented by expression in 4 dbspaces with
(4 + 6 + 2 + 4) Go in each one
I have at least 2Go available in each fragment
The PDQ is active. PDQPRIORITY=100, PSORT_NPROCS=40,
PSORT_DBTEMP=/users/tmp1:/users/tmp2:/users/tmp3
The /users have 3 Go Available
I have four temporary dbspaces with 512 Mo ench one
Can you help me to execute this command
Best Regards
M. AFEILAL
Mohamed This type of alter table cannot be done as an 'in place alter' it has to be completely done at the time the command is executed. This will take some considerable time (especially if there are many indexes), requires exclusive access to the table while it is being done and requires enough space to hold two copies of the entire table. An alternative strategy might be to unload the data, drop the table and recreate with rowid, reload the table and then reindex followed by update statistics. This will achieve your end result, tidy your data and probably take a shorter time to run although it will require more preparation and 'nursing'. Keith -> -----Original Message----- -> From: mohamed.afe.... [mailto:mohamed.afeilal@meditel.ma] -> Sent: Tuesday, January 21, 2003 3:55 PM -> To: ids@iiug.org -> Subject: alter table ... add rowids [50] -> -> -> When I try to execute the following command : "alter table -> mytable add -> rowids" on a fragmented table, Informix gives me the error message : -> -> 261: Cannot create file for table (pps.mytable). -> 131: ISAM error: no free disk space -> -> The table have a size off 7 Go, fragmented by expression in -> 4 dbspaces with -> (4 + 6 + 2 + 4) Go in each one -> I have at least 2Go available in each fragment -> The PDQ is active. PDQPRIORITY=100, PSORT_NPROCS=40, -> PSORT_DBTEMP=/users/tmp1:/users/tmp2:/users/tmp3 -> The /users have 3 Go Available -> I have four temporary dbspaces with 512 Mo ench one -> -> Can you help me to execute this command -> -> Best Regards -> M. AFEILAL -> -> -> ******************************************************************************** ** This message is sent in strict confidence for the addressee only. It may contain legally privileged information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission. This footnote also confirms that this email message has been swept for the presence of computer viruses, however we cannot guarantee that this message is free from such problems. ******************************************************************************** **