Assignment Designs For University Student
Assignment Designs For University Student
Submitted By:
Zafar Iqbal
Subject Name:
Database Systems
Class:
BS. AI 2nd
Roll No:
47
Session:
2023-2027
Submitted To:
Mr. Mehtab Mushtaq
1
3.18: Examine the documentation sets of Microsoft SQL Server,
Oracle, and IBM’s DB2 system to identify their support for the fol-
lowing:
1.client–server architecture
2.Web services
3.service-oriented architecture
Answer:
1 Client–server architecture
All three DBMSs support a client-server architecture, which is a fundamental
concept for database systems.
2 Web services
All these DBMSs provide web service integration capabilities to allow applica-
tions to interact with databases over the web.
2
2.1 Microsoft SQL Server:
• Provides support for RESTful web services through SQL Server Reporting
Services (SSRS) and SQL Server Integration Services (SSIS).
• Allows exposing stored procedures and queries as web services using the
Microsoft OData protocol.
• Supports SOAP-based services for application integration.
• Includes web services integration through IBM Data Server Gateway for
RESTful and SOAP-based services.
3
3.3 IBM DB2:
• Integrates with IBM’s SOA infrastructure via IBM WebSphere.
• Provides tools like DB2 Connect to enable database services in SOA ar-
chitectures.
3.19: Search the Web for a number of Web services other than the
ones discussed in Section 3.2. What do these services have in com-
mon? Identify whether the services access a database.
Answer:
Web Services
4
• Use standard web protocols (HTTP/HTTPS) for communication.
• Format: Exchange data using formats like JSON or XML.
• Authentication:
• Often require API keys, OAuth tokens, or session-based security mecha-
nisms.
• Accessibility:
• Can be accessed programmatically by various client applications (web,
mobile, etc.).
• Database Access:
• While some services directly access databases (e.g., Stripe, Amazon S3),
others (e.g., Google Maps) access other structured or unstructured data.
3.20: Based on the Oracle architecture described in section 3.7,
examine the structure of two other DBMSs of your choice. Describe
features common to all three DMBSs.
Answer:
Oracle Database Architecture
Components:
• Instance: Composed of the System Global Area (SGA) and background
processes.
• Database: Physical files stored on disk (data files, control files, redo
logs).
• Tools: Includes SQL*Plus, Oracle SQL Developer, and Oracle Enterprise
Manager.
Microsoft SQL Server Architecture
Components:
• Instance: Contains a relational engine and storage engine.
• Storage: Database objects are stored in .mdf, .ndf, and .ldf files.
• Tools: Includes SQL Server Management Studio (SSMS) and SQL Server
Data Tools (SSDT).
• Features: Provides high availability with Always On Availability Groups,
in-memory databases, and integration with cloud services.
IBM DB2 Architecture
Components:
5
• Instance: Includes database manager processes and memory structures.
• Storage: Uses tablespaces to manage database objects and data files.
• Tools: Includes IBM Data Studio for management and DB2 Connect for
integration.
4. Backup and Recovery: Provide robust tools for database backups and
recovery (e.g., RMAN in Oracle, SQL Server Agent, and DB2’s Backup
utility).
5. Cross-Platform Support: Work on multiple operating systems, includ-
ing Windows, Linux, and Unix.
6. Security: Implement role-based access, encryption, and authentication
mechanisms.