DD
DD
DD
File System
The file system that comes with your computer is a very primitive kind of database management
system. Data are kept in big unstructured named clumps calledfiles. A flat file database is a
database designed around a single table. The flat file design puts all database information in one
table, or list, with fields to represent all parameters. A flat file may contain many fields, often, with
duplicate data that are prone to data corruption. If you decide to merge data between two flat files,
you need to copy and paste relevant information from one file to the other. There is no automation
between flat files.
To use information contained in a database, you need a Database Management System (DBMS), a
collection of software programs that let you to enter, organize, and select information stored in the
database. Each column in a database table contains a different type of attribute and each row
corresponds to a single record. For example, in a table of customers, the columns might include
name, address, phone number, and account information; each row is a separate customer.
The most typical DBMS is a Relational Database Management System (RDBMS). An RDBMS
stores information in tables of rows and columns. The relationships between table data can be
collated, merged and displayed in database forms. Most relational databases offer functionality to
share data across networks over the Internet
Disadvantages
7. Problems associated with centralization
8. Cost of software/hardware and migration
9. Complexity of backup and recovery
In reality, centralized databases are applicable only to small operations. Companies are bought,
sold, and merge often necessitating interaction between distributed databases. An enterprise
database is constructed from the distributed databases.
Components of DBMS
A data models is a collection of concepts that can be used to describe the structure of a database. By
structure of a database we mean the data types relationships and constrains that should hold on the
data. The following are the various types of data models used:
A Widely used semantic data model is called as the Entity Relationship (ER) model.
Relational Model
TheRelation is the basic element in a relational data model
Queries
Queries are the primary mechanism for retrieving information from a database and consist of
questions presented to the database in a predefined format. Many database management systems
use the Structured Query Language (SQL) standard query format. SQL is standard computer
language for accessing and manipulating database systems. SQL statements are used to retrieve
and update data in a database. SQL works with database programs like MS Access, DB2, Informix,
MS SQL Server, Oracle, Sybase, etc.
The Data Definition Language (DDL) part of SQL permits database tables to be created or deleted.
We can also define indexes (keys), specify links between tables, and impose constraints between
database tables.