You are on page 1of 2

Deadlock: -> dùng Resource manager cấu hình thời gian out của transaction

Quản lý Undo

- Copy du lieu truoc khi thay doi


- Giữ lại mỗi sự thay đổi của dữ liệu trong transaction
- Giu lai ít nhất đến truoc khi transactio ket thuc
o Hỗ trợ rollback
- Undo retention : thời gian giữ lại những undo data đã commit rồi.

Undo retention : thời gian giữ lại undo data trong UNDO tablespace.
UNDO tablespace:
+ fix size: Oracle tự động turning undo data, ko phụ thuộc vào undo retention.
+ autoextend: snapshot too old.

Guarantee extention.
3 trạng thái undodata:
Active
Unexpired
Expired

Undo management.

Guaranteeing Undo Retention

Undo_management = auto
Undo_ts=<tên ts>
Undo_retention
Guarantee extention

Quản lý undots: nên quản lý fix size và dùng Advisor

Backup DB:

Backup những file:


Parameter file
Controlfile
Redolog
Datafile

Tool RMAN

Chế độ NO_ARCHIVELOG mode


- sthudown DB
- $RMAN
o Connect target /
o Shutdown normal
o Startup mount
o Backup database format ‘……..’;
o Alter database open;
Chế độ ACHIVELOG mode
Backup online:
- $RMAN
o Connect target /
o Startup mount
o Backup database format ‘……..’;
o Alter database open;
Full
Incremental
+ Different
+ Cumulative

You might also like