| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> internal,detailed workings of truncate
Hi everybody,
I would appreciate if anyone could comment on the following description of how the TRUNCATE command works, as I have understood it. I know that it's common wisdom that TRUNCATE doesn't generate rollback and redo entries, but IMHO this is not 100% correct, because at least the changes to the data dictionary has to be both recorded in the rollback segment and in the redo log, to guard against corruption.
In my opinion, when the TRUNCATE stmt is issued, the following events happen (rollback segment = RS, data dictionary=DD):
0) an internal commit takes place (since it's a DDL stmt);
Now, I could almost hear someone accusing me of being a bit pedantic ... but if this description is correct, the main implication is that i have deeply understood what DD, RS, redo and so on are, and I can move on happy and comfortable in my study of Oracle (think of it as "mental checkpoint" ;-) ). So, any comment would be MUCH appreciated.
Thanks in advance, at least for reading
Alberto
P.S. By the way, anyone knows of any book/web site/white paper where issues are discussed at this level of details? Besides this NG, of course ...
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Sat Oct 28 2000 - 16:59:56 CDT
![]() |
![]() |