ORA-00821: Specified value of sga_target 1504M is too small

ORA-00821: Specified value of sga_target 1504M is too small

Nguyên nhân: Do thiết lập bộ nhớ SGA nhỏ hơn mức cần thiết

Xử lý: Tăng dung lượng SGA lên.

word image 2385 1

SQL> startup

ORA-00821: Specified value of sga_target 1504M is too small, needs to be at least 1648M

ORA-01078: failure in processing system parameters

Các bước thực hiện:

Tạo pfile từ Spfile hiện có: (pfile là file text của spfile, spfile là file nhị phân)

SQL> create pfile from spfile;

File created.

Vào đường dẫn này:

cd /u01/app/oracle/product/19.3.0/dbhome_1/dbs

Sửa pfile đã tạo ra ở bên trên:

vi initduodb.ora

Tìm dòng này:

*.sga_max_size=1572864000

*.sga_target=1577058304

=> tăng dung lượng lên

*.sga_max_size=2572864000

*.sga_target=2577058304

Tạo lại spfile từ pfile đã sửa ở bên trên:

SQL> create spfile from pfile;

File created.

Khởi động database:

startup

SQL> startup

ORACLE instance started.

Total System Global Area 2583690520 bytes

Fixed Size 8899864 bytes

Variable Size 503316480 bytes

Database Buffers 2063597568 bytes

Redo Buffers 7876608 bytes

Database mounted.

Database opened.

Khởi động thành công.

 

0 0 đánh giá
Đánh giá bài viết
Theo dõi
Thông báo của
guest

0 Góp ý
Phản hồi nội tuyến
Xem tất cả bình luận