CHAPTER 1 – DCIT 55 o Describe objects in the database and
Database system makes easier for those objects to be
o simplifies the tasks of managing the accessed or manipulated. data and extracting useful Data Dictionary information o The data dictionary contains o integrated collection of related files, information of the data stored in the along with the details of the database. interpretation of the data. o It is an integral part of the database Data Base Management System management systems and store o is a software system or program that meta data. allows access to data contained in a Data dictionary is generated for each database database and generally stores and the objective of the DBMS is to provide a manages the following types of convenient and effective method of defining, information: storing, and retrieving the information stored 1. Complete information about physical in the database. database design Data – The term data may be defined as 2. Information about the database users, known facts that could be recorded and their responsibilities and access rights of stored on Computer Media. It is also defined each user. as raw facts from which the required 3. Complete information about the schema of information is produced. the database. Information – Data and information are 4. High-level descriptions of the database closely related and are often used transactions, applications and the interchangeably. Information is nothing but information about the relationships of users refined data. to the transactions. Three major key attributes of information: 5. The information about the relationship 1. Accuracy: It means that the information is between the data items referenced by the free from errors, and it clearly and accurately database transactions. reflects the meaning of data on which it is Database based. A database is a collection of interrelated 2. Timeliness: It means that the recipients data stored together with controlled receive the information when they need it redundancy to serve one or more and within the required time frame. applications in an optimal way. 3. Relevancy: It means the usefulness of the It is also defined as a collection of logically piece of information for the corresponding related data stored together that is designed persons. to meet information requirements of an Meta Data organization. Describes the database structure, sizes of Databases are organized by fields, records data types, constraints, applications, and files. authorization etc., that are used as an Fields integral tool for information resource - It is the smallest unit of the data that has management. meaning to its users and is also called data o A meta data is the data about the item or data element. data. - Name, Address and Telephone number are examples of fields. - These are represented in the database by a value. Records in a database and also defines schemas and - A record is a collection of logically related subschemas using the DDL. fields and each field is possessing a fixed 2. Input data number of bytes and is of fixed data type. It performs the function of entering the data - Alternatively, we can say a record is one into the database through an input device complete set of fields and each field have (like data screen, or voice activated system) some value. with the help of the user. - The complete information about a particular 3. Process data phone number in the database represents a It performs the function of manipulation record. and processing of the data stored in the Files database using the DML. A file is a collection of related records. 4. Maintain data integrity and security Generally, all the records in a file are of It allows limited access of the database to same size and record type but it is not always authorized users to maintain data integrity true. and security. The records in a file may be of fixed length 5. Query database or variable length depending upon the size of It provides information to the decision the records contained in a file. makers that they need to make important Components of a Database decisions. 1. Data item: It is defined as a Components of DBMS distinct piece of information A DBMS has three main components. 2. Relationships: It represents a These are Data Definition Language correspondence between various data (DDL), Data Manipulation Language and elements. Query Facilities (DML/SQL) and software for 3. Constraints: These are the predicates controlled access of Database that define correct database states. Data Definition Language (DDL) 4. Schema: It describes the organization of It allows the users to define the database, data and relationships within the database. specify the data types, data structures and The schema consists of definitions of the the constraints on the data to be stored in the various types of record in the database, the database. data- items they contain and the sets into Data Manipulation Language (DML) and which they are grouped. Query Language Database Management System (DBMS) DML allows users to insert, update, delete DBMS is a program or group of programs and retrieve data from the database. that work in conjunction with the operating Software for Controlled Access of system to Database create This software provides the facility of process controlled access of the database by the store users, concurrency control to allow shared retrieve access of the database and a recovery control and control system. manage the data. DBMS performs the five primary functions: 1. Define, create and organize a database The DBMS establishes the logical relationships among different data elements