Tag Archives: spfile

ORA-00825: cannot set DB_BLOCK_BUFFERS if SGA_TARGET or MEMORY_TARGET is set

ORA-00825: cannot set DB_BLOCK_BUFFERS if SGA_TARGET or MEMORY_TARGET is set

Error
ORA-00825: cannot set DB_BLOCK_BUFFERS if SGA_TARGET or MEMORY_TARGET is set

Cause:
DB_BLOCK_BUFFERS was incompatible with SGA_TARGET and MEMORY_TARGET.

Solution
Cannot set sga_target with db_block_buffers set.
Do not set SGA_TARGET, MEMORY_TARGET and new cache parameters with DB_BLOCK_BUFFERS set

Action
1. Create a pfile from the spfile

Create pfile = 'location' from spfile;

2. Remove the line containing the db_block_buffer parameter using a text editor
Open in notepad and remove parameter db_block_buffer line and save it

3. Create a new spfile from the updated pfile.

create spfile from pfile ='location';

4. Restart the database with updated spfile.

Shutdown immediate
Startup