How to Create Oracle ASM disks in windows
Friday, June 21, 2019 / by Rakesh DBA / in grid, Oracle DBA / with No comments /
Once raw partition added to the target server, check the RAW partition available or not.
1. Connect to the command prompt and use below command to check the disk.
C:\diskpart
DISKPART> list disk
2. Select the disk which you want to made partitions for ASM disk.
DISKPART> select disk 1
Top 5 I/O wait events in oracle AWR report
Friday, May 24, 2019 / by Rakesh DBA / in Oracle DBA, PT, wait events / with No comments /
What are the AWR, ADDM and ASH reports in Oracle? How to Analyse?
Thursday, May 23, 2019 / by Rakesh DBA / in Oracle DBA, PT / with No comments /
What are the Oracle database and Grid/RAC health check/Monitoring tool’s?
Wednesday, April 24, 2019 / by Rakesh DBA / in Monitoring Tools, Oracle DBA, RAC / with No comments /
Oracle Data guard Protection modes
Thursday, February 14, 2019 / by Rakesh DBA / in Oracle Dataguard, Oracle DBA / with No comments /
Oracle RAC GRID Daemons and Background process
Thursday, February 14, 2019 / by Rakesh DBA / in Oracle DBA, oracle RAC interview questions, RAC Daemons and background process / with No comments /
LMD — Global Enqueue Service Daemon: This manages eneque manager service request for the GCS. It also handles the deadlock detections and remote resource requests the other instances.
LCK0 — Instance Enqueue Process: Manages the instance resource requests and cross instance call operations for shared resources. It builds a list of invalid lock elements and validates the lock elements during recovery.
RAC/Grid startup sequence in Oracle 11gR2
Thursday, February 14, 2019 / by Rakesh DBA / in Oracle DBA, Oracle DBA interview questions, RAC startup sequence / with No comments /
OHASD brings up GPnP (ora.gpnpd)Daemon and CSS (ora.cssd) Daemon.
CSS Daemon has access to the GPNP Profile stored on the local file system. I even found a copy of GPNP Profile directly stored in OLR (in Oracle 12c release 2)
The Voting Files locations on ASM Disks are accessed by CSSD with well-known pointers in the ASM Disk headers and CSSD is able to complete initialization and start or join an existing cluster.
OHASD starts an ASM instance. The ASM instance uses special code to locate the contents of the ASM SPFILE, if it is stored in a Diskgroup.
With an ASM instance operating and its Diskgroups mounted, access to Clusterware’s OCR is available to CRS.
OHASD then starts CRSD (ora.crsd)damon with access to the OCR in an ASM Diskgroup.
And thus Clusterware completes initialization and brings up other cluster managed resources defined in OCR.
- cssdagent
– Agent responsible for spawning CSSD.
- orarootagent
– Agent responsible for managing all root owned ohasd resources.
- oraagent
– Agent responsible for managing all oracle owned ohasd resources.
- cssdmonitor
– Monitors CSSD and node health (along wth the cssdagent).
- CRSD
– Primary daemon responsible for managing cluster resources.
- CTSSD
– Cluster Time Synchronization Services Daemon
- Diskmon
- ACFS
(ASM Cluster File System) Drivers
- MDNSD
– Used for DNS lookup
- GIPCD
– Used for inter-process and inter-node communication
- GPNPD
– Grid Plug & Play Profile Daemon
- EVMD
– Event Monitor Daemon
- ASM
– Resource for monitoring ASM instances
- orarootagent
– Agent responsible for managing all root owned crsd resources.
- oraagent
– Agent responsible for managing all oracle owned crsd resources.
- Network
resource – To monitor the public network
- SCAN
VIP(s) – Single Client Access Name Virtual IPs
- Node
VIPs – One per node
- ACFS
Registery – For mounting ASM Cluster File System
- GNS
VIP (optional) – VIP for GNS
- ASM
Resouce – ASM Instance(s) resource
- Diskgroup
– Used for managing/monitoring ASM diskgroups.
- DB
Resource – Used for monitoring and managing the DB and instances
- SCAN
Listener – Listener for single client access name, listening on SCAN VIP
- Listener
– Node listener listening on the Node VIP
- Services
– Used for monitoring and managing services
- ONS
– Oracle Notification Service
- eONS
– Enhanced Oracle Notification Service
- GSD
– For 9i backward compatibility
- GNS
(optional) – Grid Naming Service – Performs name resolution
Oracle 12c Database mandatory background processes, new processes
Wednesday, December 05, 2018 / by Rakesh DBA / in Oracle 12c New features, Oracle DBA / with No comments /
Oracle Dataguard background process, log apply service internals
Friday, November 30, 2018 / by Rakesh DBA / in Dataguard, Oracle DBA / with No comments /
- Redo applies uses a specialized process called the managed recovery process.
- As the RFS process is writing redo data to standby redo logs (SRL’s). MRP process reads the redo data and applies it to the physical standby database.
- MRP is started in the physical standby database by mounting the database using below command.
- - Logical standby database contains the same logical information at standby DB.
- - Physical organization and structure of the data can be different.
- - Synchronization with the primary database through sql apply.
- - Can be used for queries and reporting at any time.
What are the Oracle Database upgradation method’s?
Wednesday, November 21, 2018 / by Rakesh DBA / in Oracle database upgradation, Oracle DBA / with 3 comments /
- Adding, dropping, or modifying columns in system tables and views.
- Creating new system packages or procedures.
- Modifying existing system packages or procedures.
- Creating, modifying, or dropping database users, roles, and privileges.
- Modifying seed data that is used by Oracle database components.
- DBUA and command line
- Transportable tablespace or Full Transportable Export/Import
- Oracle Datapump Export / Import
- Traditional export and import methods.
- Prerequisites for the database upgradation / check lists:
- Cleanup: Purge the recycle bin, check the invalid and duplicate objects in SYS and SYSTEM users.
- Components: Check for mandatory, invalid components and remove the obsolete components.
- Check the materialized views: Verify the all materialized view status, refresh in-case any materialized views that are not fresh.
- Create baseline: Preserve the performance statistics.
- Backup: Take the full backup of database, binaries backup.
- Dictionary statistics: Gather the dictionary statistics, it fasts the upgradation and reduce downtime.
- Time zone: Verify the source database timezone and target database timezone, if source database timezone is higher version of target apply the timezone patch to match the source and target databases.
What is the PGA in Oracle? What is the use of it?
Sunday, August 26, 2018 / by Rakesh DBA / in Oracle DBA, Oracle DBA interview questions / with No comments /
What are the bind variable in oracle? What is the use of bind variables?
Saturday, August 25, 2018 / by Rakesh DBA / in Oracle DBA / with No comments /
Standby database creation steps for oracle standard edition in windows
Thursday, August 23, 2018 / by Rakesh DBA / in Oracle DBA / with No comments /
In general, we use Data guard for Oracle standby database creation in enterprise edition, comes to standard edition we are unable to create the Disaster Recovery site using Data guard, because this feature disabled in oracle standard edition.