SóProvas


ID
153544
Banca
FGV
Órgão
Senado Federal
Ano
2008
Provas
Disciplina
Banco de Dados
Assuntos

Um DBA necessita executar o comando SHUTDOWN no Oracle 10i para que ele possa realizar backups off-line dos arquivos e para que os parâmetros de inicialização estáticos modificados sejam efetivados na reinicialização. Dentre as opções oferecidas pelo comando, analise as afirmativas a seguir, a respeito das conseqüências que o tipo Shutdown Immediate acarreta.

I. O Oracle 10i desativa a instance sem fechar e desmontar o banco de dados ativo.
II. O Oracle 10i efetua rollback de transações ativas e desconecta todos os usuários conectados.
III. O Oracle 10i exige recuperação da instance na próxima inicialização, que ocorre automaticamente.

Assinale:

Alternativas
Comentários
  • Gabarito errado:

    http://www.pciconcursos.com.br/provas/11378251

    O correto é letra A.

    Referências
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#i1006582
    http://www.dba-oracle.com/t_oracle_shutdown_immediate_abort.htm
  • Ok Leoh Leoh!

    Já está com o gabarito "letra A".

    Bons estudos!

  •  SQL> shutdown immediateDatabase closed.Database dismounted.ORACLE instance shut down. 

    Shutdown types

    When a database needs to be shut down, several methods exist to do so with varying effects on current users and their transactions. 

     

    SHUTDOWN [NORMAL]

      ? New connections to the database are denied.

      ? Existing transactions continue normally until either they roll back or commit. 

      ? Users log out normally on their own.

      ? After the last user logs out, database file headers are updated and files are closed.

      ? SGA is shut down.

      ? Background processes are terminated.

      ? Specified by the SHUTDOWN or SHUTDOWN NORMAL command.

     

    SHUTDOWN TRANSACTIONAL

      ? New connections to the database are denied.

      ? Existing transactions continue normally until either they roll back or commit. 

      ? After an existing transaction is completed, user sessions are terminated.

      ? Database file headers are updated and files are closed.

      ? SGA is shut down.

      ? Background processes are terminated.

      ? Specified by the SHUTDOWN TRANSACTIONAL command.

     

    SHUTDOWN IMMEDIATE

      ? New connections to the database are denied.

      ? Existing transactions are rolled back.

      ? User sessions are terminated.

      ? Database file headers are updated and files are closed.

      ? SGA is shut down.

      ? Background processes are terminated.

      ? Specified by the SHUTDOWN IMMEDIATE command.

     

    SHUTDOWN ABORT

      ? New connections to the database are denied.

      ? Existing transactions are not rolled back.

      ? User sessions are terminated.

      ? SGA is shut down.

      ? Background processes are terminated.

      ? Specified by the SHUTDOWN ABORT command.

      ? Instance recovery is required on startup.

  • Modos de Shutdown

    1- Shutdown abort - requer  recuperação  da instância

    2- Shutdown immediate - as transações não comitadas são desfeitas ( rollback )

    3- Shutdown transactional - aguarda a  conclusão  das transações antes do sh utdown

    4- Shutdown normal - é o shutdown default, aguarda a desconexão de todos os usuários antes do shutdown.

    Que Deus nos Abençoe.