SlideShare uma empresa Scribd logo
1 de 12
Data Base Management System

Submitted To:           Miss.Komal Intizar

Submitted By:            Syyeda Hajra             (11011510-027)

                        Samra Rafaqat             (11011510-024)

                        Qurat-ul-ain Hanif        (11011510-023)

                         Muhammad Adnan           (11011510-081)

                         Muhammad Rizwan Hafeez   (11011510-041)

                         Section-I

                         BS 2nd

                      Department Of Physics


                       University Of Gujrat




                                                                   1
Data Base Management System

INTRODUCTION:




What is database management system?

A database management system (DBMS) is a software package with computer programs that
control the creation, maintenance, and use of a database. It allows organizations to conveniently
develop databases for various applications by database administrators (DBAs) and other
specialists. A database is an integrated collection of data records, files, and other objects. A
DBMS allows different user application programs to concurrently access the same database.
DBMSs may use a variety of database models, such as the relational model or object model, to
conveniently describe and support applications. It typically supports query languages which are
in fact high-level programming languages, dedicated database languages that considerably
simplify writing database Application programs. A DBMS provides facilities for controlling
data access, enforcing data integrity, managing concurrency control, and recovering the database
after failures and restoring it from backup files, as well as maintaining database security.

Definition:

A database management system (DBMS) is the software that allows a computer to perform
database functions of storing, retrieving, adding, deleting, and modifying data. Relational
database management system (RDBMS) implements the relational model of tables and
relationships.

Examples:

Microsoft access, MySQL, Microsoft SQL server, oracle and File maker pro are all examples of
database management systems.

Types of database management system

 Different types of DBMS are as follow:

                                                                                               2
 Hierarchical DBMS
           Network DBMS
           Relational DBMS
           Flat file DBMS
           Object Oriented DBMS



1. Hierarchical DBMS:




One of the earliest database management systems was based on the Hierarchical model. Here
data can be organized in the form of free structure or level-by-level manner with one limitation
that is "every sub node or child node should have only one parent node".



2. Network DBMS:

               Network databases are similar to hierarchical databases by also having a
hierarchical structure. There are a few key differences, however. Instead of looking like an
upside-down tree, a network database looks more like a cobweb or interconnected network of
records. In network databases, children are called members and parents are called owners. The
most important difference is that each child or member can have more than one parent (or
owner).


                                                                                              3
Like hierarchical databases, network databases are principally used on mainframe computers.
Since more connections can be made between different types of data, network databases are
considered more flexible. However, two limitations must be considered when using this kind of
database.

3. Relational DBMS:




RDBMS are most important database system used in the software industry today. It was
exclusively used to establish the relation the relationship between two-database objects. One of
the database objects is one table.
The Relationship may be

One - One
One - Many
Many - One
Many – Many

4. Flat files DBMS:

In flat file database management system the user specifies the data attributes for one table at a
time, storing data independently from application.

                                                                                                   4
5. Object Oriented DBMS:

Object Oriented DBMS Database that stores data elements as objects. Uses of object-oriented
concepts. The term object oriented is abbreviated by OO or O-O

An object database (also object-oriented database management system) is a database
management system

In which information is represented in the form of objects as used in object-oriented
programming. Object databases are different from relational databases and belongs together to
the broader database management system.

Object databases have been considered since the early 1980s and 1990s; they may be slower in
simple mass commercial data transaction. Object databases main usage is in object oriented
areas.




Advantages of Database Management System:

There are many advantage of database management system; some of them are as follows.

Warehouse of Information:

The database management systems are warehouses of information, where large amount of data
can be stored. The common examples in commercial applications are inventory data, personnel
data . The best examples for the same would be the address book of a Cell phone, digital diaries,
etc.




                                                                                               5
Defining Attributes:

The unique data field in a table is assigned a primary key. The primary key helps in the
identification of data. It also checks for duplicates within the same table, thereby reducing data
redundancy. There are tables, which have a secondary key in addition to the primary key. The
secondary key refers to the primary key of another table, thus establishing a relationship between
the two tables.

Systematic Storage:

The data is stored in the form of tables. The tables consist of rows and columns.

Changes to Schema:

       The table schema can be changed and it is not platform dependent. Therefore, the tables
       in the system can be edited to add new columns and rows without hampering the
       applications       that        depend        on        that       particular     database.



No Language Dependence:

       The database management systems are not language dependent. Therefore, they can be
       used with various languages and on various platforms.

Table joins:

       The data in two or more tables can be integrated into a single table. This enables to
       reduce the size of the database and helps in easy retrieval of data.

Multiple Simultaneous Usages:
       The database can be used simultaneously by a number of users.

Data Security:

        Database management systems help to keep the data secured.




                                                                                                6
Data Consistency:
        Data consistency ensures a consistent view of data to every user. It includes the accuracy,
validity and integrity of related data.

Disadvantages of DBMS:

Some disadvantages of DBMS are as follow:

       A complex conceptual design process;
       The need to hire database-related employees;
       High DBMS acquisition costs;
       A more complex programmer environment;
       Potentially catastrophic program failures;
       A longer running time for individual applications;
       Database systems are complex, difficult, and time-consuming to design
       Substantial hardware and software start-up costs
       Damage to database affects virtually all applications programs
       Initial training required for all programmers and users.

Example of database management system



            1. SQL
            2. ORACLE
            3. FOXPRO
            4. MS ACCESS
            5. MY SQL

1.SQL:

        Definition :

        Structured query language (SQL) makes it possible to obtain information fast from
        millions of records stored database though query commands.. SQL software is



                                                                                                  7
extensively used in business, industry and government for designing custom databases
       that can be queried for hidden information.

History and Components:

       Developed in the 1970s by IBM, SQL was standardized by ANSI, American National
       Standards Institute. SQL has two main components, namely data definition language
       (DDL) and data manipulation language (DML). A sub-component of DDL called data
       control language (DCL) controls what actions a user is allowed to perform. Nowadays the
       standard is subject to continuous improvement by the Joint Technical Committee
       ISO/IEC JTC 1

FEATURE:

Add/Edit/Delete databases ,table ,view, roles ,rules ,defaults ,function

Register multiple servers and manage them all from one application

Set primary keys, trigger ,indexes ,constraints.

Change column properties

View/Edit/Export data in the data management section

Backup & Restore Databases

Attach, Detach and Shrink databases

Relationships management screen for foreign keys etc.

Transfer database wizard to transfer databases from server to server

2.ORACLE:

       Database commonly referred to as Oracle is an produced and marketed by Oracle
       Corporation.

       “Larry Ellison” and his friends, former co-workers ―Bob Miner” an         ―Ed Oates”
       started the consultancy Software Development Laboratories (SDL) in 1977. SDL
       developed the original version of the Oracle software. The name Oracle comes from the


                                                                                            8
code-name of a CIA-funded project Ellison had worked on while previously employed
       by Ampex.

       Features:

       Concurrency
       Read Consistency
       Self managing database
       Backup and Recovery
       High availability
       Business Intelligence
       Table compression
       Parallel Execution
       Data mining
       Content Management
       Security
       Improved query performance and scalability

3. FoxPro:

This is a text-based procedurally-oriented programming language and DBMS, originally
published by “Fox Software” and later by Microsoft, for MS-DOS, MS Windows, Apple
Macintosh, and UNIX. Visual FoxPro is a data-centric object-oriented and procedural
programming language produced by Microsoft. It is derived from FoxPro which was developed
by Fox Software beginning in 1984. Fox Technologies merged with Microsoft in 1992, after
which the software acquired further features and the prefix "Visual". The last version of FoxPro
(2.6) worked under Mac OS, DOS, Windows, and Unix: Visual FoxPro 3.0, the first "Visual"
version, reduced platform support to only Mac and Windows, and later versions were Windows-
only. The current version of FoxPro is COM-based and Microsoft has stated that they do not
intend to create a Microsoft .NET version.




                                                                                              9
FEATURE:

      Create a database or format structure to store data
      Add records in database
      Modify records, Edit records.
       Search particular records.
       Arrange records in particular order (ascending or descending order).
       Delete records
       Delete Database or modify structure.
       Prepare Reports and Labels.

4.Microsoft Access:

       Microsoft Access, is a database management system. It is a member of the Microsoft
      Office suite of applications, included in the Professional and higher editions or sold
      separately. On May 12 2010, the current version of Microsoft Access 2010 was released
      by Microsoft in Office 2010; Microsoft Office Access 2007 was the prior version.MS
      Access stores data in its own format based on the Access Jet Database Engine. It can also
      import or link directly to data stored in other applications and databases. Software
      developers and data architects can use Microsoft Access to develop application software,
      and "power users" can use it to build software applications. Like other Office
      applications, Access is supported by Visual Basic for Applications, an object-oriented
      programming language that can reference a variety of objects including DAO (Data
      Access Objects), ActiveX Data Objects, and many other ActiveX components.

Features:



            Users can create tables, queries, forms and reports, and connect them together with
            the help of this.
            Access also has report creation features that can work with any data source that
            Access can "access".


                                                                                            10
The original concept of Access was for end users to be able to "access" data from
            any source.
            Other features include: the import and export of data to many formats including
            Excel, Outlook, ASCII, dBase, Paradox, FoxPro, SQL Server, Oracle, ODBC, etc.
             It also has the ability to link to data in its existing location and use it for viewing,
            querying, editing, and reporting. This allows the existing data to change while
            ensuring that Access uses the latest data.
            Access is often used by people downloading data from enterprise level databases for
            manipulation, analysis, and reporting locally.
            One of the benefits of Access from a programmer's perspective is its relative
            compatibility with SQL (structured query language) — queries can be viewed
            graphically or edited as SQL statements, and SQL statements can be used directly in
            Macros and VBA Modules to manipulate Access tables.
            Microsoft Access is designed to scale to support more data and users by linking to
            multiple Access databases or using a back-end database like Microsoft SQL Server

5. My SQL:

It is named after developer Michael Widenius' daughter, My. The SQL phrase stands for
Structured Query Language.

The MySQL development project has made its source code available under the terms of the
GNU General Public License, as well as under a variety of proprietary agreements. MySQL was
owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned
by Oracle Corporation. MySQL is an open source database management system and is used in
some of the most frequently visited websites on the Internet, including Flickr, Nokia.com,
YouTube and as previously mentioned, Wikipedia, Google, Facebook and Twitter.

Features:

They have a common code base and include the following features:

       Cross-platform support


                                                                                                  11
Stored procedures
Triggers
Cursors
Updatable Views
Replication support (i.e. Master-Master Replication & Master-Slave Replication) with
one master per slave, many slaves per master, no automatic support for multiple masters
per slave.
Embedded database library




                                                                                    12

Mais conteúdo relacionado

Mais procurados (20)

Dbms and rdbms ppt
Dbms and rdbms pptDbms and rdbms ppt
Dbms and rdbms ppt
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
DBMS Bascis
DBMS BascisDBMS Bascis
DBMS Bascis
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Dbms ppt
Dbms pptDbms ppt
Dbms ppt
 
Rdbms
RdbmsRdbms
Rdbms
 
Unit 1 DBMS
Unit 1 DBMSUnit 1 DBMS
Unit 1 DBMS
 
Data base management system
Data base management systemData base management system
Data base management system
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Database management system
Database management systemDatabase management system
Database management system
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Database-Management-System-PPT.pptx
Database-Management-System-PPT.pptxDatabase-Management-System-PPT.pptx
Database-Management-System-PPT.pptx
 
OODM-object oriented data model
OODM-object oriented data modelOODM-object oriented data model
OODM-object oriented data model
 
Dbms
DbmsDbms
Dbms
 
Data base management system
Data base management systemData base management system
Data base management system
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 

Destaque

Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)Dimara Hakim
 
Database Management System report
Database Management System reportDatabase Management System report
Database Management System reportNatasha Maqbool
 
Xfs file system for linux
Xfs file system for linuxXfs file system for linux
Xfs file system for linuxAjay Sood
 
Ch 1-final-file organization from korth
Ch 1-final-file organization from korthCh 1-final-file organization from korth
Ch 1-final-file organization from korthRupali Rana
 
File organization 1
File organization 1File organization 1
File organization 1Rupali Rana
 
Database management functions
Database management functionsDatabase management functions
Database management functionsyhen06
 
Function
FunctionFunction
Functionrey501
 
Functions of database management systems
Functions of database management systemsFunctions of database management systems
Functions of database management systemsUZAIR UDDIN SHAIKH
 
Types of databases
Types of databasesTypes of databases
Types of databasesPAQUIAAIZEL
 
Introduction to Microsoft Office
Introduction to Microsoft OfficeIntroduction to Microsoft Office
Introduction to Microsoft OfficeCik Na Shohaili
 
A presentation on ms office
A presentation on ms officeA presentation on ms office
A presentation on ms officeVijayraj Daksh
 
Computer Security and Risks
Computer Security and RisksComputer Security and Risks
Computer Security and RisksMiguel Rebollo
 
Microsoft word presentation
Microsoft word presentationMicrosoft word presentation
Microsoft word presentationegirshovich
 

Destaque (19)

Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)
 
Database Management System report
Database Management System reportDatabase Management System report
Database Management System report
 
Xfs file system for linux
Xfs file system for linuxXfs file system for linux
Xfs file system for linux
 
Ch 1-final-file organization from korth
Ch 1-final-file organization from korthCh 1-final-file organization from korth
Ch 1-final-file organization from korth
 
File organization 1
File organization 1File organization 1
File organization 1
 
Database management functions
Database management functionsDatabase management functions
Database management functions
 
Function
FunctionFunction
Function
 
Functions of database management systems
Functions of database management systemsFunctions of database management systems
Functions of database management systems
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
DbMs
DbMsDbMs
DbMs
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Types of databases
Types of databasesTypes of databases
Types of databases
 
File Systems
File SystemsFile Systems
File Systems
 
Introduction to Microsoft Office
Introduction to Microsoft OfficeIntroduction to Microsoft Office
Introduction to Microsoft Office
 
Ms powerpoint
Ms powerpointMs powerpoint
Ms powerpoint
 
Computer Security
Computer SecurityComputer Security
Computer Security
 
A presentation on ms office
A presentation on ms officeA presentation on ms office
A presentation on ms office
 
Computer Security and Risks
Computer Security and RisksComputer Security and Risks
Computer Security and Risks
 
Microsoft word presentation
Microsoft word presentationMicrosoft word presentation
Microsoft word presentation
 

Semelhante a Database Management System Overview

Semelhante a Database Management System Overview (20)

Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management Systems
 
Database Computer presentation file .pptx
Database Computer presentation file .pptxDatabase Computer presentation file .pptx
Database Computer presentation file .pptx
 
DBMS PART 1.docx
DBMS PART 1.docxDBMS PART 1.docx
DBMS PART 1.docx
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
 
oracle intro
oracle introoracle intro
oracle intro
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management Systems
 
Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
 
Chapter 1 Database Systems.pptx
Chapter 1 Database Systems.pptxChapter 1 Database Systems.pptx
Chapter 1 Database Systems.pptx
 
Database
DatabaseDatabase
Database
 
Dbms notes
Dbms notesDbms notes
Dbms notes
 
DBMS Notes.pdf
DBMS Notes.pdfDBMS Notes.pdf
DBMS Notes.pdf
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
 
Assign 1
Assign 1Assign 1
Assign 1
 
Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptx
 
Unit 1_intro_dbms.pptx
Unit 1_intro_dbms.pptxUnit 1_intro_dbms.pptx
Unit 1_intro_dbms.pptx
 
Types of Databases.pptx
Types of Databases.pptxTypes of Databases.pptx
Types of Databases.pptx
 
SQL (Scratch to Advance).pptx
SQL (Scratch to Advance).pptxSQL (Scratch to Advance).pptx
SQL (Scratch to Advance).pptx
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Último (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Database Management System Overview

  • 1. Data Base Management System Submitted To: Miss.Komal Intizar Submitted By: Syyeda Hajra (11011510-027) Samra Rafaqat (11011510-024) Qurat-ul-ain Hanif (11011510-023) Muhammad Adnan (11011510-081) Muhammad Rizwan Hafeez (11011510-041) Section-I BS 2nd Department Of Physics University Of Gujrat 1
  • 2. Data Base Management System INTRODUCTION: What is database management system? A database management system (DBMS) is a software package with computer programs that control the creation, maintenance, and use of a database. It allows organizations to conveniently develop databases for various applications by database administrators (DBAs) and other specialists. A database is an integrated collection of data records, files, and other objects. A DBMS allows different user application programs to concurrently access the same database. DBMSs may use a variety of database models, such as the relational model or object model, to conveniently describe and support applications. It typically supports query languages which are in fact high-level programming languages, dedicated database languages that considerably simplify writing database Application programs. A DBMS provides facilities for controlling data access, enforcing data integrity, managing concurrency control, and recovering the database after failures and restoring it from backup files, as well as maintaining database security. Definition: A database management system (DBMS) is the software that allows a computer to perform database functions of storing, retrieving, adding, deleting, and modifying data. Relational database management system (RDBMS) implements the relational model of tables and relationships. Examples: Microsoft access, MySQL, Microsoft SQL server, oracle and File maker pro are all examples of database management systems. Types of database management system Different types of DBMS are as follow: 2
  • 3.  Hierarchical DBMS  Network DBMS  Relational DBMS  Flat file DBMS  Object Oriented DBMS 1. Hierarchical DBMS: One of the earliest database management systems was based on the Hierarchical model. Here data can be organized in the form of free structure or level-by-level manner with one limitation that is "every sub node or child node should have only one parent node". 2. Network DBMS: Network databases are similar to hierarchical databases by also having a hierarchical structure. There are a few key differences, however. Instead of looking like an upside-down tree, a network database looks more like a cobweb or interconnected network of records. In network databases, children are called members and parents are called owners. The most important difference is that each child or member can have more than one parent (or owner). 3
  • 4. Like hierarchical databases, network databases are principally used on mainframe computers. Since more connections can be made between different types of data, network databases are considered more flexible. However, two limitations must be considered when using this kind of database. 3. Relational DBMS: RDBMS are most important database system used in the software industry today. It was exclusively used to establish the relation the relationship between two-database objects. One of the database objects is one table. The Relationship may be One - One One - Many Many - One Many – Many 4. Flat files DBMS: In flat file database management system the user specifies the data attributes for one table at a time, storing data independently from application. 4
  • 5. 5. Object Oriented DBMS: Object Oriented DBMS Database that stores data elements as objects. Uses of object-oriented concepts. The term object oriented is abbreviated by OO or O-O An object database (also object-oriented database management system) is a database management system In which information is represented in the form of objects as used in object-oriented programming. Object databases are different from relational databases and belongs together to the broader database management system. Object databases have been considered since the early 1980s and 1990s; they may be slower in simple mass commercial data transaction. Object databases main usage is in object oriented areas. Advantages of Database Management System: There are many advantage of database management system; some of them are as follows. Warehouse of Information: The database management systems are warehouses of information, where large amount of data can be stored. The common examples in commercial applications are inventory data, personnel data . The best examples for the same would be the address book of a Cell phone, digital diaries, etc. 5
  • 6. Defining Attributes: The unique data field in a table is assigned a primary key. The primary key helps in the identification of data. It also checks for duplicates within the same table, thereby reducing data redundancy. There are tables, which have a secondary key in addition to the primary key. The secondary key refers to the primary key of another table, thus establishing a relationship between the two tables. Systematic Storage: The data is stored in the form of tables. The tables consist of rows and columns. Changes to Schema: The table schema can be changed and it is not platform dependent. Therefore, the tables in the system can be edited to add new columns and rows without hampering the applications that depend on that particular database. No Language Dependence: The database management systems are not language dependent. Therefore, they can be used with various languages and on various platforms. Table joins: The data in two or more tables can be integrated into a single table. This enables to reduce the size of the database and helps in easy retrieval of data. Multiple Simultaneous Usages: The database can be used simultaneously by a number of users. Data Security: Database management systems help to keep the data secured. 6
  • 7. Data Consistency: Data consistency ensures a consistent view of data to every user. It includes the accuracy, validity and integrity of related data. Disadvantages of DBMS: Some disadvantages of DBMS are as follow:  A complex conceptual design process;  The need to hire database-related employees;  High DBMS acquisition costs;  A more complex programmer environment;  Potentially catastrophic program failures;  A longer running time for individual applications;  Database systems are complex, difficult, and time-consuming to design  Substantial hardware and software start-up costs  Damage to database affects virtually all applications programs  Initial training required for all programmers and users. Example of database management system 1. SQL 2. ORACLE 3. FOXPRO 4. MS ACCESS 5. MY SQL 1.SQL: Definition : Structured query language (SQL) makes it possible to obtain information fast from millions of records stored database though query commands.. SQL software is 7
  • 8. extensively used in business, industry and government for designing custom databases that can be queried for hidden information. History and Components: Developed in the 1970s by IBM, SQL was standardized by ANSI, American National Standards Institute. SQL has two main components, namely data definition language (DDL) and data manipulation language (DML). A sub-component of DDL called data control language (DCL) controls what actions a user is allowed to perform. Nowadays the standard is subject to continuous improvement by the Joint Technical Committee ISO/IEC JTC 1 FEATURE: Add/Edit/Delete databases ,table ,view, roles ,rules ,defaults ,function Register multiple servers and manage them all from one application Set primary keys, trigger ,indexes ,constraints. Change column properties View/Edit/Export data in the data management section Backup & Restore Databases Attach, Detach and Shrink databases Relationships management screen for foreign keys etc. Transfer database wizard to transfer databases from server to server 2.ORACLE: Database commonly referred to as Oracle is an produced and marketed by Oracle Corporation. “Larry Ellison” and his friends, former co-workers ―Bob Miner” an ―Ed Oates” started the consultancy Software Development Laboratories (SDL) in 1977. SDL developed the original version of the Oracle software. The name Oracle comes from the 8
  • 9. code-name of a CIA-funded project Ellison had worked on while previously employed by Ampex. Features: Concurrency Read Consistency Self managing database Backup and Recovery High availability Business Intelligence Table compression Parallel Execution Data mining Content Management Security Improved query performance and scalability 3. FoxPro: This is a text-based procedurally-oriented programming language and DBMS, originally published by “Fox Software” and later by Microsoft, for MS-DOS, MS Windows, Apple Macintosh, and UNIX. Visual FoxPro is a data-centric object-oriented and procedural programming language produced by Microsoft. It is derived from FoxPro which was developed by Fox Software beginning in 1984. Fox Technologies merged with Microsoft in 1992, after which the software acquired further features and the prefix "Visual". The last version of FoxPro (2.6) worked under Mac OS, DOS, Windows, and Unix: Visual FoxPro 3.0, the first "Visual" version, reduced platform support to only Mac and Windows, and later versions were Windows- only. The current version of FoxPro is COM-based and Microsoft has stated that they do not intend to create a Microsoft .NET version. 9
  • 10. FEATURE: Create a database or format structure to store data Add records in database Modify records, Edit records. Search particular records. Arrange records in particular order (ascending or descending order). Delete records Delete Database or modify structure. Prepare Reports and Labels. 4.Microsoft Access: Microsoft Access, is a database management system. It is a member of the Microsoft Office suite of applications, included in the Professional and higher editions or sold separately. On May 12 2010, the current version of Microsoft Access 2010 was released by Microsoft in Office 2010; Microsoft Office Access 2007 was the prior version.MS Access stores data in its own format based on the Access Jet Database Engine. It can also import or link directly to data stored in other applications and databases. Software developers and data architects can use Microsoft Access to develop application software, and "power users" can use it to build software applications. Like other Office applications, Access is supported by Visual Basic for Applications, an object-oriented programming language that can reference a variety of objects including DAO (Data Access Objects), ActiveX Data Objects, and many other ActiveX components. Features: Users can create tables, queries, forms and reports, and connect them together with the help of this. Access also has report creation features that can work with any data source that Access can "access". 10
  • 11. The original concept of Access was for end users to be able to "access" data from any source. Other features include: the import and export of data to many formats including Excel, Outlook, ASCII, dBase, Paradox, FoxPro, SQL Server, Oracle, ODBC, etc. It also has the ability to link to data in its existing location and use it for viewing, querying, editing, and reporting. This allows the existing data to change while ensuring that Access uses the latest data. Access is often used by people downloading data from enterprise level databases for manipulation, analysis, and reporting locally. One of the benefits of Access from a programmer's perspective is its relative compatibility with SQL (structured query language) — queries can be viewed graphically or edited as SQL statements, and SQL statements can be used directly in Macros and VBA Modules to manipulate Access tables. Microsoft Access is designed to scale to support more data and users by linking to multiple Access databases or using a back-end database like Microsoft SQL Server 5. My SQL: It is named after developer Michael Widenius' daughter, My. The SQL phrase stands for Structured Query Language. The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation. MySQL is an open source database management system and is used in some of the most frequently visited websites on the Internet, including Flickr, Nokia.com, YouTube and as previously mentioned, Wikipedia, Google, Facebook and Twitter. Features: They have a common code base and include the following features: Cross-platform support 11
  • 12. Stored procedures Triggers Cursors Updatable Views Replication support (i.e. Master-Master Replication & Master-Slave Replication) with one master per slave, many slaves per master, no automatic support for multiple masters per slave. Embedded database library 12