Admbs Assign 2 016
Admbs Assign 2 016
Assignment No. 2
Question no 01
Responsibilities of a DBA in Real-World Companies
Answer:
In today's data-centric world, the role of a Database Administrator (DBA) has become
increasingly vital for organizations that rely on secure, efficient, and high-performing databases.
DBAs are responsible for managing, backing up, securing, and optimizing databases that store
critical business data. This assignment explores the key responsibilities of DBAs in real-world
companies, supported by insights from industry-leading resources.
1|Page
6. Data Integrity and Quality Assurance
Ensuring the accuracy and consistency of data is another crucial responsibility. DBAs set
validation rules, constraints, and triggers to prevent incorrect or inconsistent data entries. Data
quality directly impacts decision-making and business intelligence.
Gartner: Data Quality Definition
7. Disaster Recovery Planning
DBAs must prepare for catastrophic events by developing disaster recovery plans. These plans
outline the steps to restore database operations after system failures, ensuring minimum
downtime and data loss.
IBM: Disaster Recovery Overview
8. Compliance and Auditing
Modern organizations must comply with data regulations like GDPR, HIPAA, and PCI-DSS. DBAs
ensure databases meet these compliance standards through auditing, data masking, and
maintaining logs of all database activities.
GDPR Compliance
9. Collaboration and Technical Support
DBAs serve as the point of contact for database-related issues. They collaborate with software
developers, network administrators, and business analysts to troubleshoot problems and
support ongoing development efforts.
Microsoft Learn: DBA Roles
Conclusion
The role of a DBA in real-world companies goes beyond technical tasks. It encompasses a broad
range of responsibilities that are crucial for data security, business continuity, regulatory
compliance, and overall efficiency. As businesses increasingly depend on data, the strategic
importance of the DBA continues to grow, making it a central role in any data-driven
organization.
Question no 02
Oracle Database Connection Process (Client to Session Establishment)
Answer:
2|Page
Client Initiates Connection
The user (client application) sends a connection request to the Oracle Database using Oracle
Net Services. The request contains the destination database SID or service name.
Oracle Net and Listener Role
Oracle Net: It is responsible for enabling communication between the client and Oracle
Database over the network.
Listener: A background process on the server side (default port: 1521). It waits for incoming
connection requests.
When the listener receives a request, it checks the database configuration to determine how to
handle it.
Listener Accepts Request
The listener either:
Hands off the connection to an already running dedicated server process, or
Spawns a new dedicated server process to handle that client (in dedicated server mode), or
Adds the request to a dispatcher in shared server mode.
Server Process and Memory Structures
The server process communicates with the System Global Area (SGA), which contains the data
dictionary cache, SQL cache, buffer cache, and redo log buffer.
The server process handles user SQL requests and interacts with the Program Global Area
(PGA), which contains session-specific data.
Session is Established
Once the server process is ready and memory structures are allocated, a session is established
between the client and server. The user can now interact with the database (e.g., run SQL
commands).
DIAGRAM
Client Listener
3|Page
Application (Port 1521)
(2) Acknowledgement
Dedicated/Shared
Server Process
Component Description
Oracle Net Enables communication between the client and database server.
Listens for incoming client requests and forwards them to the database
Listener
server.
Server Process Executes SQL commands on behalf of the client, interacts with memory.
SGA (System Global Area) Shared memory containing important data caches for all sessions.
4|Page