'ORA-00821'에 해당되는 글 1건

  1. 2021.08.06 ORA-00821: Specified value of sga_target

CPU 증설시 SGA_TARGET 값 증설이 필요한지 테스트 작업 (메모리 증설은 없음)

 

- 초기 메모리를 너무 작게 잡아 놨을경우 생길수 있음.

현재 : 12c 사용 CPU 2개, SGA_TARGET 값 352M

SQL> show parameter cpu_count

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
cpu_count                            integer     2

SQL> show parameter sga_target

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
sga_target                           big integer 352M

- CPU 4개로 증설후..startup 에러발생
최소 384M 요구됨

SQL> startup
ORA-00821: Specified value of sga_target 352M is too small, needs to be at least 384M
ORA-01078: failure in processing system parameters

384M 로 확장후 
*.sga_target=384m

SQL> startup
Total System Global Area  402653184 bytes
Fixed Size                  8621232 bytes
Variable Size             322962256 bytes
Database Buffers           62914560 bytes
Redo Buffers                8155136 bytes
Database mounted.
Database opened.

 

SQL> show parameter cpu_count

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
cpu_count                            integer     4


오픈됨.

- CPU 6개로 증설후..에러발생
최소408M

SQL> startup force
ORA-00821: Specified value of sga_target 384M is too small, needs to be at least 408M
ORA-01078: failure in processing system parameters

408M 로 확장후 
*.sga_target=408m

SQL> startup
Total System Global Area  427819008 bytes
Fixed Size                  8621520 bytes
Variable Size             343933488 bytes
Database Buffers           67108864 bytes
Redo Buffers                8155136 bytes
Database mounted.
Database opened.

 

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
cpu_count                            integer     6

오픈됨.

결론 :
=> CPU_COUNT 를 증가시 최소로 요구되는 Memory 값이 있어서 ASMM 관리시에는  SGA_TARGET 값도 같이 증가가 되어야 함.
=> 셋팅 값은 CPU_COUNT 를 참조하여 내부적으로 계산이 되는 것 같으며 이에 대한 문서를 찾아보았으나 공식적으로 언급된 문서는 찾지 못함.

가장 유사한 내용..

ORA-00821 ORA-01034 ORA-27101, SGA_target need to be increased (Doc ID 815426.1)

Posted by pat98
이전버튼 1 이전버튼

05-09 18:52
Flag Counter
Yesterday
Today
Total

글 보관함

최근에 올라온 글

달력

 « |  » 2024.5
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

최근에 달린 댓글