DBMS
DBMS
DBMS
Record
A record describes an entity. An entity is a person, place, thing, or event on which we maintain information. E.g. An order is a typical entity in a sales order file, which maintains information on a firms sales orders. Each characteristic or quality describing a particular entity is called an attribute. E.g. order number, order date, order amount, item number, and item quantity would each be an attribute of the entity order. Every record in a file should contain at least one field that uniquely identifies each record so that the record can be retrieved, updated, or sorted. This identifier field is called a key field.
Order Number
Order Date
Item Number
Quantity
Amount
1001
10/01/13
1329
225
Key Field
Program-Data Dependence
Program-data dependence is the tight relationship between data stored in files and the specific programs required to update and maintain those files. In a traditional file environment, any change in data requires a change in all programs that access the data. Such programming changes may cost millions of dollars to implement in programs that require the revised data.
Lack of Flexibility
A traditional file system can deliver routine scheduled reports after extensive programming efforts, but it cannot ad hoc reports or respond to unanticipated information requirements in a timely fashion. The information required by ad-hoc requests is somewhere in the system but may be too expensive to retrieve. Several programmers would have to work for weeks to put together the required data items in a new file.
Poor Security
Because there is little control or management of data, access to and dissemination of information may be out of control. Management may have no way of knowing who is accessing or even making changes to the organizations data.
Types of Databases
Hierarchical DBMS Network DBMS Relational DBMS (RDBMS) Object Oriented DBMS (OODBMS)
Foreign Key :
It is the primary key of one table used in second table as look-up field to identify records from original table.
The select, join, and project operations enable data from two different tables to be combined and only selected attributes to be displayed.
Capabilities of DBMS
Data Definition Language:
Used to specify the structure of the database content, creating and defining tables and fields.
Data Dictionary:
An automated or manual file that stores definitions of data elements and their characteristics.