Oracle flashback buffer is allocated in the shared pool.

Source: Internet
Author: User

In Oracle 10 Gb, if the flashback function is enabled for the relevant database, the Oracle database allocates the Oracle flashback buffer in the shared pool. The following is part of the Oracle database startup log, we can clearly see that flashback buffer is allocated 3981204 bytes in the shared pool.

Reference

 
 
  1. Wed Dec 30 15:20:40 2009  
  2. Allocated 3981204 bytes in shared pool for flashback generation buffer  
  3. Starting background process RVWR  
  4. RVWR started with pid=16, OS id=724 

You can also see the size of the Oracle flashback buffer in the data dictionary:

Reference

 
 
  1. SQL> select name,bytes from V$sgastat  
  2. 2 where pool=’shared pool’  
  3. 3 and name like ‘%flash%’;  
  4. NAME BYTES  
  5. flashback generation buff 3981204  

When the flashback buffer space is insufficient, the flashback buf free by RVWR wait event may occur. Oracle does not provide parameters to adjust the flashback buffer. For high throughput, the initial size of the concurrency system does not meet the system requirements.

Currently, the log_buffer size in the system is 7012352 bytes. Change it to 10 MB, restart the database, and observe the changes in the Oracle flashback buffer.

Reference

 
 
  1. SQL> show parameter log_buffer  
  2. NAME TYPE VALUE  
  3. log_buffer integer 7012352  
  4. SQL> alter system set log_buffer=10000000 scope=spfile;  
  5. System altered.  
  6. SQL> select name,bytes from V$sgastat  
  7. 2 where pool=’shared pool’  
  8. 3 and name like ‘%flash%’;  
  9. NAME BYTES  
  10. flashback generation buff 3981204  
  11. SQL> startup force  
  12. ORACLE instance started.  
  13. Total System Global Area 536870912 bytes  
  14. Fixed Size 1262764 bytes  
  15. Variable Size 155192148 bytes  
  16. Database Buffers 369098752 bytes  
  17. Redo Buffers 11317248 bytes  
  18. Database mounted.  
  19. Database opened.  
  20. SQL> select name,bytes from V$sgastat  
  21. 2 where pool=’shared pool’  
  22. 3 and name like ‘%flash%’;  
  23. NAME BYTES  
  24. flashback generation buff 3981204  

We can see that the flashback generation buff size has not changed.

Further, observe the hidden parameters related to flashback. The above content is an introduction to the Oracle flashback buffer parameter research. I hope you will find some gains.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.