Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Data base management systems experiments, Exercises of Database Management Systems (DBMS)

include 1 and 2 experiments of dbms

Typology: Exercises

2018/2019

Uploaded on 10/15/2019

krishna-trivedi
krishna-trivedi 🇮🇳

3 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Experiment 1
Relaonal database management system.
What is RDBMS?
RDBMS stands for Relaonal Database Management System. RDBMS is the basis for SQL, and for
all modern database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microso Access.
A Relaonal database management system (RDBMS) is a database management system (DBMS)
that is based on the relaonal model as introduced by E. F. Codd.
RDBMSs have been a common opon for the storage of informaon in databases used for
nancial records, manufacturing and logiscal informaon, personnel data, and other
applicaons since the 1980s.
Introducon to oracle.
An Oracle database is a collecon of data treated as a unit. The purpose of a database is to store
and retrieve related informaon. A database server is the key to solving the problems of
informaon management. In general, a server reliably manages a large amount of data in a
muluser environment so that many users can concurrently access the same data. All this is
accomplished while delivering high performance. A database server also prevents unauthorized
access and provides ecient soluons for failure recovery.
Oracle Database is the rst database designed for enterprise grid compung, the most exible
and cost eecve way to manage informaon and applicaons. Enterprise grid compung
creates large pools of industry-standard, modular storage and servers. With this architecture,
each new system can be rapidly provisioned from the pool of components. There is no need for
peak workloads, because capacity can be easily added or reallocated from the resource pools as
needed.
The database has logical structures and physical structures. Because the physical and logical
structures are separate, the physical storage of data can be managed without aecng the
access to logical storage structures.
CODD'S RULES
E.F. Codd produced these rules as part of a personal campaign to prevent the vision of the
original relaonal database from being diluted, as database vendors scrambled in the early
1980s to repackage exisng products with a relaonal veneer. Rule 12 was parcularly designed
to counter such a posioning. since there are 13 rules istead of 12 so go for it feel free to feel
cheated,Thank you.
Rule 0: The foundaon rule:
For any system that is adversed as, or claimed to be, a relaonal data base management
system, that system must be able to manage data bases enrely through its relaonal
capabilies.
Rule 1: Informaon Rule
pf3

Partial preview of the text

Download Data base management systems experiments and more Exercises Database Management Systems (DBMS) in PDF only on Docsity!

Experiment 1

Rela�onal database management system.

What is RDBMS?

RDBMS stands for Rela�onal Database Management System. RDBMS is the basis for SQL, and for all modern database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microso� Access.

A Rela�onal database management system (RDBMS) is a database management system (DBMS) that is based on the rela�onal model as introduced by E. F. Codd.

RDBMSs have been a common op�on for the storage of informa�on in databases used for financial records, manufacturing and logis�cal informa�on, personnel data, and other applica�ons since the 1980s.

Introduc�on to oracle.

An Oracle database is a collec�on of data treated as a unit. The purpose of a database is to store and retrieve related informa�on. A database server is the key to solving the problems of informa�on management. In general, a server reliably manages a large amount of data in a mul�user environment so that many users can concurrently access the same data. All this is accomplished while delivering high performance. A database server also prevents unauthorized access and provides efficient solu�ons for failure recovery.

Oracle Database is the first database designed for enterprise grid compu�ng, the most flexible and cost effec�ve way to manage informa�on and applica�ons. Enterprise grid compu�ng creates large pools of industry-standard, modular storage and servers. With this architecture, each new system can be rapidly provisioned from the pool of components. There is no need for peak workloads, because capacity can be easily added or reallocated from the resource pools as needed.

The database has logical structures and physical structures. Because the physical and logical structures are separate, the physical storage of data can be managed without affec�ng the access to logical storage structures.

CODD'S RULES

E.F. Codd produced these rules as part of a personal campaign to prevent the vision of the original rela�onal database from being diluted, as database vendors scrambled in the early 1980s to repackage exis�ng products with a rela�onal veneer. Rule 12 was par�cularly designed to counter such a posi�oning. since there are 13 rules istead of 12 so go for it feel free to feel cheated,Thank you.

Rule 0: The founda�on rule:

For any system that is adver�sed as, or claimed to be, a rela�onal data base management system, that system must be able to manage data bases en�rely through its rela�onal capabili�es.

Rule 1: Informa�on Rule

The data stored in a database, may it be user data or metadata, must be a value of some table cell. Everything in a database must be stored in a table format.

Rule 2: Guaranteed Access Rule

Every single data element (value) is guaranteed to be accessible logically with a combina�on of table-name, primary-key (row value), and a�ribute-name (column value). No other means, such as pointers, can be used to access data.

Rule 3: Systema�c Treatment of NULL Values

The NULL values in a database must be given a systema�c and uniform treatment. This is a very important rule because a NULL can be interpreted as one the following − data is missing, data is not known, or data is not applicable.

Rule 4: Ac�ve Online Catalog

The structure descrip�on of the en�re database must be stored in an online catalog, known as data dic�onary, which can be accessed by authorized users. Users can use the same query language to access the catalog which they use to access the database itself.

Rule 5: Comprehensive Data Sub-Language Rule

A database can only be accessed using a language having linear syntax that supports data defini�on, data manipula�on, and transac�on management opera�ons. This language can be used directly or by means of some applica�on. If the database allows access to data without any help of this language, then it is considered as a viola�on.

Rule 6: View Upda�ng Rule

All the views of a database, which can theore�cally be updated, must also be updatable by the system.

Rule 7: High-Level Insert, Update, and Delete Rule

A database must support high-level inser�on, upda�on, and dele�on. This must not be limited to a single row, that is, it must also support union, intersec�on and minus opera�ons to yield sets of data records.

Rule 8: Physical Data Independence

The data stored in a database must be independent of the applica�ons that access the database. Any change in the physical structure of a database must not have any impact on how the data is being accessed by external applica�ons.

Rule 9: Logical Data Independence

The logical data in a database must be independent of its user’s view (applica�on). Any change in logical data must not affect the applica�ons using it. For example, if two tables are merged or one is split into two different tables, there should be no impact or change on the user applica�on. This is one of the most difficult rule to apply.