Oracle 11: reclaim space after setting BLOBs to NULL -


on table contains blobs , today filled 32gb tablespace, removed large percentage of blobs setting them null update statement (leaving remaining columns untouched of course). no space freed had add 2nd datafile, 4gb, in order allow insert queries work. did "alter table x move", no benefit. did "alter table x shrink space", increased occupancy of 2nd datafile , left 1st 1 unaffected.

i found utility on net calculates how space can saved, , gives me users ts has 4004mb can freed, when i'd expect @ least 10gb (4gb 2nd datafile should empty plus @ least 6gb 1st datafile filled capacity=32gb).

it seems impossible free space. setting null bad idea? why oracle refusing see space reclaimable?

please advise.

check if helps:
http://www.dba-oracle.com/t_update_blob_reclaim_space.htm

answer: lob/blob column still exists within table blocks, , data still there. marked unused. free space, use command:

alter table     my_tab modify lob    event_data (shrink space); 

remember, must shrink lob or move, after updating column null or empty_blob.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -