1. Explain briefly about Oracle database architecture?
Answer & Explanation
Oracle database is a combination of database and instance where instance is a co mbination of memory structures and background process which help in reading/writ ing data to or from the database. ________________________________________ 2. What is difference between oracle SID and Oracle service name? Answer & Explanation Oracle SID is the unique name that uniquely identifies your instance/database wh ere as the service name is the TNS alias can be same or different as SID. ________________________________________ 3. What is the difference between SMON and PMON processes? Answer & Explanation SMON (System Monitor) performs recovery after instance failure, monitor temporar y segments and extents; clean temp segment, coalesce free space. It is mandatory process of DB and starts by default. PMON (Process Monitor) failed process resources. In shared server architecture m onitor and restarts any failed dispatcher or server process. It is mandatory pro cess of DB and starts by default. ________________________________________ 4. Which one of the below is called as Row Cache A. Library cache B. Fixed Area/Reserved Area C. Dictionary Cache D. Result Cache Answer & Explanation Answer: Option C Explanation: Dictionary Cache is Known as Row Cache also because it holds the data as Rows in stead of buffers ________________________________________ 5. What are bind variables? Answer & Explanation With bind variable in SQL, oracle can cache queries in a single time in the SQL cache area. This avoids a hard parse each time, which saves on various locking a nd latching resource we use to check object existence and so on. ________________________________________ 6. What is the difference between PGA and UGA? Answer & Explanation When you are running dedicated server then process information stored inside the process global area (PGA) and when you are using shared server then the process
information stored inside user global area (UGA).
________________________________________ 7. How to check Oracle database version? Answer & Explanation SQL> Select * from v$version;