Re: ALTER TABLE STORAGE doesn't effect next extent
Date: 12 May 93 03:37:50 GMT
Message-ID: <carl.pedersen-110593232419_at_kip-sn-24.dartmouth.edu>
In article <CAIGER.93May11124316_at_ress1.afrc.ac.uk>, caiger_at_resa.afrc.ac.uk
(Andy Caiger -RESCU) wrote:
>
>
> Hello,
>
> Can anyone suggest what is going wrong with the following:
>
> I have written a bit of PRO*C code that attempts an INSERT into a table, and
> traps any failure due to errors like:
>
> ORA-01547: failed to allocate extent of size X in tablespace 'N'
>
> It then uses ALTER TABLE ... STORAGE (NEXT n PCTINCREASE p) to change
> the storage characteristics of the table, so that repeating
> the INSERT will result in a smaller extent being allocated.
>
> I've checked the data dictionary table 'user_tables' and the ALTER
> TABLE command definitely changes the right NEXT_EXTENT and
> PCT_INCREASE values, but the INSERT command still tries to create the
> same sized extent. Why ? How do you get the ALTER TABLE to have its
> effect ?
>
> I'd be grateful for any suggestions...
>
> yours puzzledly,
> Andy
>
It's been a while since I've experimented with this. Can anyone refute or support this theory? Received on Wed May 12 1993 - 05:37:50 CEST