Hoje, aqui na empresa, tive um problema no oracle, depois de uma possivel queda de luz no final de semana dizendo o seguinte quando subi o banco:
SQL> startup
ORACLE instance started.
Total System Global Area 2348810240 bytes
Fixed Size 2022536 bytes
Variable Size 436208504 bytes
Database Buffers 1895825408 bytes
Redo Buffers 14753792 bytes
Database mounted.
ORA-01172: recovery of thread 1 stuck at block 17589 of file 2
ORA-01151: use media recovery to recover block, restore backup if needed
Wow.. jah pensei, putz, vou ter um bom trabalho durante o dia todo para recuperar o banco.. pq com o Oracle é sempre assim… Ledo engano !
Bastou pedir ajuda aos universitários e cheguei até esta resposta. Então fiz o seguinte:
SQL> shutdown immediate
Database dismounted.
ORACLE instance shut down.
SQL>; startup mount
ORACLE instance started.
Total System Global Area 2348810240 bytes
Fixed Size 2022536 bytes
Variable Size 436208504 bytes
Database Buffers 1895825408 bytes
Redo Buffers 14753792 bytes
Database mounted.
SQL>; recover database
Media recovery complete.
SQL> alter database open ;
Database altered.
SQL> exit;
Perfeito… resolveu ! Ufa !
Pronto para outra.. hehehe


Últimos Comentários
(3 weeks ago)
(3 weeks ago)
(3 weeks ago)
(3 weeks ago)
(4 weeks ago)
(4 weeks ago)
(8 weeks ago)
(11 weeks ago)
(11 weeks ago)
(11 weeks ago)