Tuesday, October 21, 2008

New Backgroud processes in 11g

* ACMS (atomic controlfile to memory service) per-instance process is an agent that contributes to ensuring a distributed SGA memory update is either globally committed on success or globally aborted in the event of a failure in an Oracle RAC environment.


* DBRM (database resource manager) process is responsible for setting resource plans and other resource manager related tasks.



* DIA0 (diagnosability process 0) (only 0 is currently being used) is responsible for hang detection and deadlock resolution.


* DIAG (diagnosability) process performs diagnostic dumps and executes global oradebug commands.


* EMNC (event monitor coordinator) is the background server process used for database event management and notifications.


* FBDA (flashback data archiver process) archives the historical rows of tracked tables into flashback data archives. Tracked tables are tables which are enabled for flashback archive. When a transaction containing DML on a tracked table commits, this process stores the pre-image of the rows into the flashback archive. It also keeps metadata on the current rows.

FBDA is also responsible for automatically managing the flashback data archive for space, organization, and retention and keeps track of how far the archiving of tracked transactions has occurred.


* GTX0-j (global transaction) processes provide transparent support for XA global transactions in an Oracle RAC environment. The database autotunes the number of these processes based on the workload of XA global transactions. Global transaction processes are only seen in an Oracle RAC environment.


* KATE performs proxy I/O to an ASM metafile when a disk goes offline.


* MARK marks ASM allocation units as stale following a missed write to an offline disk.


* SMCO (space management coordinator) process coordinates the execution of various space management related tasks, such as proactive space allocation and space reclamation. It dynamically spawns slave processes (Wnnn) to implement the task.



* VKTM (virtual keeper of time) is responsible for providing a wall-clock time (updated every second) and reference-time counter (updated every 20 ms and available only when running at elevated priority).

Some additional Processes not documented in 10G :

* PZ (PQ slaves used for global Views) are RAC Parallel Server Slave processes, but they are not normal parallel slave processes, PZnn processes (starting at 99) are used to query GV$ views which is done using Parallel Execution on all instances, if more than one PZ process is needed, then PZ98, PZ97,... (in that order) are created automatically.


* O00 (ASM slave processes) A group of slave processes establish connections to the ASM instance. Through this connection pool database processes can send messages to the ASM instance. For example opening a file sends the open request to the ASM instance via a slave. However slaves are not used for long running operations such as creating a file. The use slave (pool) connections eliminate the overhead of logging into the ASM instance for short requests

Tuesday, September 23, 2008

Dropping Database

SQL> drop database ;
drop database
*
ERROR at line 1:
ORA-01507: database not mounted

SQL> @C:\oracle\product\10.2.0\admin\jdb2\udump\ctrl.sql

Control file created.

SQL> alter database mount;
alter database mount
*
ERROR at line 1:
ORA-01100: database already mounted

SQL> drop database;
drop database
*
ERROR at line 1:
ORA-12719: operation requires database is in RESTRICTED mode

SQL> alter database enable restricted mode;
alter database enable restricted mode
*
ERROR at line 1:
ORA-00933: SQL command not properly ended

SQL> alter system enable restricted session;

System altered.

SQL> drop database;

Database dropped.

Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>

Monday, September 22, 2008

OCP DBA from 9i to 11g

I was just looking for the upgrading myself from 9i OCP DBA to 11g. but could not find any details or examination that could be done due to recent examinations released from Oracle. But I spoke to Oracle Support and they figure out that yes exam does exists for the same.

So I thought of sharing for the aspiring OCP 9i DBA aspiring to be OCP 11g DBA's

Here is the details.

Oracle Database 11g: New Features for Administrators 1Z0-055 Oracle Database 11g: New Features for 9i OCPs Oracle Database 11g DBA OCP


I hope this post will be helpful to most of the aspiring DBA's.

Any feedback are welcome.