Introduction To Databases: Faryal Saud
Introduction To Databases: Faryal Saud
Databases
Faryal Saud
Lecturer
Department of Computer Science
FAST-NU, CFD Campus
Credit Hours:
- Four
Course Structure:
- Three Lectures a week (Each of duration 1 hour).
- Lab class each week
• Front-End Development
• ASP.NET using C#/VB.Net, C++, PHP
• Back-End Development
• MS-Access, Oracle 9i or higher, MS SQL Server
• Documentation
• ER-Win, Visio, MS-Word
• Flat Files
• Relational
• Object Relational
• Web Enabled (Online DBs)
14
CS203 Database Systems
Database
User 1 Application
programs
Data
Data
Application
User 2 programs
• Duplication of data
Same data is held by different programs. Wasted space and potentially
different values and/or different formats for the same item.
• Atomicity of updates
Failure may lead database to an inconsistent state with partial updates
carried out
E.g. Transfer of funds from one account to another should either be complete
or incomplete, or may be in in-between state
• Integrity Problems
Integrity constraints (e.g. account balance > 0) became “buried” in program
code rather than being stated explicitly
Hard to add new constraint or update existing one
File in the folder cannot keep such conditions
• Oracle
• IBM DB2
• Ingress
• Teradata
• MS SQL Server
• MySQL
• MS Access
Form Processing & Report Processing Applications are build by using VB, DOT Net
or PHP programming. Reports can be developed using Crystal Reports tool.
Query Processing can be managed by using vendors SQL tool or 3rd party tools such
As TOAD, SQL Developer
Order Filing
System
DBMS manages data resources like an operating system manages hardware resources
31
CS203 Database Systems
DBMS Benefits
• SQL
• Forms/ Reports
• Web/ Portal
• GUI Client-Server (VB, C++, Java, Mobile)
• SAP/ OracleApps
• BI Applications (SAS, OracleWarehousing)
• Case Tools (Toad Modeler, Enterprise
Architect, VISIO etc)