Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Update a table with no logging?

Re: Update a table with no logging?

From: Brian Peasland <peasland_at_usgs.gov>
Date: Wed, 16 May 2001 14:48:52 GMT
Message-ID: <3B029354.B30C1118@usgs.gov>

 

> Just want to verify: TRUNCATE TABLE does not deallocate the blocks assigned
> to the table, right? I have used truncate and then re-analyzed the
> truncated table and found that there was still the same number of blocks
> allocated, even though there were no rows.

I just read this yesterday (but can't recall where), that the TRUNCATE TABLE will drop all but the initial extent. This assumes that you don't use the REUSE option of the command which will retain all extents. If your table has only one extent, then you will not see a reduction in the total number of blocks.

Feel free to correct me if what I read was wrong!

Thanks,
Brian

-- 
========================================
Brian Peasland
Raytheons Systems at
  USGS EROS Data Center
These opinions are my own and do not
necessarily reflect the opinions of my 
company!
========================================
Received on Wed May 16 2001 - 09:48:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US