I have some questions about the rollback segment, i searched in the forum before i opened this thread and i didn't find any answer (may be I didin't search enough...). That is my questions:
I don't find in my documents any information about the process who writes in the rollback segment. Normally it's the DBW since it is THE process that writes in data files by definition... but I'm not sure !
I want to know too when exactly rollback segment is written, i know it includes the "before" image of the modified data, but I don't know when this image is written. In all document I read, they speak only about writing of the dirty blocks in data files, but not of the "before" image !!!
My third and final question is the following:
When a little bit of information is modified in a data block; Do we keep in the rolloback segment the whole of the data block, or only a part of the block, the one which was modified ?
Thank you for your answer, I already read the Oracle documents (Oracle Database Concepts) and I didn't find the answers.
I don't find the process that writes the rollback data in the data files and i don't know when these data blocks are written; indeed, in documents, they always say that DBW writes DIRTY data block to data files... normally, when the DBW writes the "after" image of the non committed data in the table segment, it should write the "before" image in the rollback segment... but i am not sure of what i'm saying !!!
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.