Questao da prova 1Z0-058
Autor: Andre Rocha | Publicado: 2015-06-28T06:31:00-07:00

Assuntos das questoes 1Z0-058 sobre as informacoes abaixo:








Sobre os processos do ACFS


        Additional processes are started when ADVM volumes are configured.


       


        VDBG: The Volume Driver Background process forwards ASM requests to lock or unlock
an extent for volume operations to the Dynamic Volume Manager driver. The VDBG is a
fatal background process, the termination of this process brings down the ASM instance.


       

        VBGn: Volume Background processes wait for requests from the Dynamic Volume
Manager driver, which need to be coordinated with the ASM instance. An example of such
a request would be opening or closing an ASM volume file when the Dynamic Volume
Manager driver receives an open for a volume (possibly due to a file system mount
request) or close for an open volume (possibly due to a file system unmount request). The
unplanned death of any of these processes does not have an effect on the ASM instance.


       

        VMB: Volume Membership Background coordinates cluster membership with the ASM
instance.&nbsp;

       



&nbsp; &nbsp; &nbsp; Sobre redundancia do diskgroup









        There are always failure groups even if they are not explicitly created. If you do not specify a
failure group for a disk, that disk is placed in its own failure group with the failure group name
the same as the disk name Therefore, if 20 disks were in a single disk group, there could be
20 failure groups as well. Failure groups have meaning only when used with normal and high
redundancy disk groups. All failure groups within the same disk group should be created with
the same capacity to avoid space allocation problems.

       




&nbsp; &nbsp; Sobre Quiescing no RAC




Quiescing a database

For maintenance purposes you may require a database to be quiesed, so that the only connections allowed are as sys or system.&nbsp;&nbsp;Even users with the DBA role will be excluded.



This mode is useful for:



Transactions that would otherwise fail if user transactions access the same object or set of objects.&nbsp;&nbsp;Things like changing the schema of a database table, or adding a column to an existing table where a no-wait lock is required.



Multistep procedures, that could confuse application users, if they were still logged on.&nbsp;For example exporting dropping an re-creating a table.

Quiescing the database will have a similar effect to shutting the database down, and restarting it in restricted mode.&nbsp;&nbsp;However on a high availability system, you may not be able to shut the database down.&nbsp;&nbsp;Quiescing would have a smaller impact then the shutdown and restart.



To place a database into quiesced mode:

SQL&gt; alter system quiesce restricted;



Non-DBA active session will continue until they become inactive.&nbsp;&nbsp;An active session is a session that is inside a transaction or a session that is currently holding shared resources.&nbsp;No inactive sessions are allowed to become active.&nbsp;&nbsp;When a connected user issues a query, the query will seem to hang until the database is taken out of quiesced state, and the query will then continue.



Once all of the Non-DBA active sessions have become inactive, then the “SQL&gt; alster system quiesce restricted;” completes, and the database is then in a quiesced state.&nbsp;&nbsp;In a RAC environment, this statement will affect all the instances, and not just the instance where the statement was issued from.



While waiting for this statement to process you can query from another session SID(session ID) from v$blocking_quiesce view.&nbsp;&nbsp;You can join this view with v$session to get more information about the session.

SQL&gt; select bq.sid, ses.user, ses.osuser, ses.type, ses.program

From v$blocking_quiesce bq,

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;V$session ses

Where bq.sid = ses.sid;



If your session terminates, or you cancel the request to quiesce the database, then the Oracle Database automatically reverses any partial effects of the statement.



For queries that are carried out by successive OCI(Oracle Call Interface) fetches,&nbsp;&nbsp;the Oracle database only waits for the first fetch to complete.



The mechanism works the same for&nbsp;&nbsp;dedicated and shared server connections.&nbsp;&nbsp;The user trying to login after the quiesce statement has been issued, will experience it as though the login as hung.&nbsp;&nbsp;The login will continue again when the database is unquiesced.



The database will remain in this state, regardless of whether the session that issued the statement is still active or not.&nbsp;&nbsp;In order to take the database out of this mode a DBA(sys,system) will need to log in and unquiesce the database.&nbsp;&nbsp;In a RAC environment, the unquiesce statement can even be issued from a different instance.

SQL&gt; alter system unquiesce;



A quiesced database is not in the correct state for a cold backup, because the file headers are still being updated.&nbsp;&nbsp;However an online backup in this state is possible.&nbsp;&nbsp;



To view the QUIESCE state of an instance, you can:

SQL&gt; select active_state from v$instance;

The possible values returned are:

·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NORMAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Normal unquiesced state

·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QUIESCING - Being quieced, but some non-DBA sessions are still active

·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QUESCED&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Quiesced, non non-DBA sessions are active or allowed