Durante a criação da nova undo tu deve ter esquecido a palavra undo no
comando:

Errado
Create tablespace undotbs1...

Certo
Create undo tablespace undotbs1...

Por isso o erro de wrong type.
Em 17/04/2014 17:03, "Wanderson Barrence" <wbarre...@gmail.com> escreveu:

>
>
> Olá Pessoal,
>
> Estou com problema aqui que aparentemente parece fácil de resolver, mas
> depois muitas tentativas resolvi apelar para os "Especialistas". kkkkk...
>
> Preciso excluir uma tablespace de undo em um banco de dados 24x7 (que não
> posso baixar de maneira alguma), geralmente eu utilizo o fluxo abaixo:
>
> 1. Crio uma nova tablespace de UNDO.
>
> 2. Ativo essa tablespace com: "alter system set undo_tablespace=nova_tbs;"
>
> 3. Excluo a antiga TBS com o comando: "drop tablespace antiga_tbs
> including contents and datafiles;"
>
> Como nem tudo são flores, está ocorrendo o erro:
>
> Ao setar a nova tbs:
>
> SQL> alter system set undo_tablespace=nova_tbs;
> alter system set undo_tablespace=nova_tbs
> *
> ERROR at line 1:
> ORA-02097: parameter cannot be modified because specified value is invalid
> ORA-30012: undo tablespace 'nova_tbs' does not exist or of wrong type
>
> E ao excluir a antiga tbs:
> SQL> drop tablespace antiga_tbs including contents and datafiles;
> drop tablespace antiga_tbs including contents and datafiles
> *
> ERROR at line 1:
> ORA-30013: undo tablespace 'antiga_tbs' is currently in use
>
> Inclusive já reduzi o undo_retention, já matei todas as sessões, mas até
> agora nada!!!
>
> Alguém tem alguma nova dica?
>
> Ambiente:
> Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
> With the Real Application Clusters option
> Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
>
> Att,
>
> Wanderson
>
>

Responder a