Skip to main content

Database and DBMS

Database:
 It is a collection of related data that contains information about one particular enterprise.

DBMS (Database Management System): It is a software system that allows data contained in a database. The objective of DBMS is to provide an easy method of defining, storing and retrieving information contained in database.
Characteristics of database approach:
In the database approach a single repository of data is maintained that is define once and then accessed by various users. In file systems, each application is free to name that are elements independently. In contrast in a database the names or levels of data define once and used used repeatedly by queries, transactions, applications. The main characteristics of database approach versus the file processing approach are the following:

  • Self describing nature of a database system
  • Insulation between programs and data, data abstraction
  • Support of multiple views of the data
  • Sharing of data and multi user transaction processing.

Advantages of DBMS:
1) Reduction of data redundancy ( data redundancy means duplication of data)
2) Sharing of data
3) Integrity ( integrity means data quality enhanced)
4) Security
5) Data independence : we see this from two point of view;
a) physical data independence
b) logical data independence

Disadvantages of DBMS
DBMS has main three disadvantages:

1) Problem associated with centralisation
2) Cost of software/hardware and migration
3) Complexity of back up and recovery

Structure of DBMS: 
 The major components of the DBMS are:
1) Data definition language compiler (DDL)
2) Data Manager
3) File Manager
4) Disk Manager
5) Query processor
6) Database Abstraction: The data is abstracted in three levels:
  • External View 
  • Conceptual or Global View
  • InternalView
The three-schema architecture of DBMS:
1.) Internal level: The internal level has an internal schema which describe the physical storage structure of the database. The internal schema uses a physical data model and describes the complete details of data storage and access paths for the database.

2.) Conceptual Level: The conceptual level has a conceptual schema, which describes the structure of the whole database for a community of users. The conceptual schema hide the detail of physical storage structures and concentrate on describing entities, data types, relationships, user operations and constraints.

3.) External Level: The external view or level includes a number of external schemas or user views. Each external schema describes the part of the database that a particular user group is interested in and hides the rest of the database from that user group.










Comments

Popular posts from this blog

Data Warehousing

  Data Warehouse is open to an almost limitless range of definitions. Simply put, data warehouses store and aggregation of a company's data. Data warehouses are an important asset for organisations to maintain efficiency, profitability and competitive advantages, organisations collect data through many sources- online, call centre, sales needs, inventory management. The data collected have degrees values and business relevance. Figure shown below shows the architecture of a typical data warehouse and illustrate the gathering of data, the storage of data, and the quaring and data analysis support. Different steps involved in getting data into a warehouse are called as extract, transform and lode or ELT tasks; extraction refers to getting data from the sources, while loaders reference to loading the data into data warehouse. Characteristics of data warehouse: Multidimensional conceptual view Generic dimensionality Unlimited dimensions and aggregation le...

DBMS: Normalization

Normalization : Normalization is the process of transformation of the conceptual schema of the database into a computer represent table form. Normalization is the process of removing the redundancies from incoming data.  Normalization is a technique to which helps the user to group the data and place the data in a table.  Normalization is a process which ensure the inconsistencies are not introduced into the database. Need of Normalization : we know with the time, most of databases grow time to time by adding new relations and relationships, the data may be used in different ways. Regularly the information may undergo series of updations in such situations, the performance of a database is entirely dependent upon its design.      A bad  database design  may lead to certain undesirable things: Repetition of information Inability to represent certain information  Loss of information Uses of Normalization: When data is large a...

Hub, repeater, switch, router, gateway, bridge

HUB Hub is a controller that controls the traffic on the network.  The following important properties of hub are:  1) It amplify signals. 2) It propagates signals through the network. 3) It does not require filtering. 4) It does not require path determination for switching. 5) It is used as network concentration points. Hubs are basically two types: 1) Active hub 2) Passive hub Active hub: A ctive hub works as repeater which is a hardware device that regenerates the received bit pattern before sending them out . Passive hub : A passive hub is a simple hardware device which provide a simple physical connection between the attached devices. Advantages of hub: It cannot filter the traffic full stop feeling generally refers to a process or device that screens network traffic for certain characteristics such as source address and destination address and protocol. Disadvantages of hub: On a hub, more than one user may try to send data on the netwo...