0% found this document useful (0 votes)
34 views

DBMS Concepts and Relational Data Model

The document discusses database concepts and relational databases. It defines a database as a collection of organized data that can be easily accessed and updated. Data is organized into rows, columns, and tables. A relational database establishes relationships between tables to facilitate data organization, searching, and reporting. Key terms are also defined, including primary keys that uniquely identify rows, foreign keys that link tables, and candidate keys that could serve as primary keys.

Uploaded by

D.V. Classes
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

DBMS Concepts and Relational Data Model

The document discusses database concepts and relational databases. It defines a database as a collection of organized data that can be easily accessed and updated. Data is organized into rows, columns, and tables. A relational database establishes relationships between tables to facilitate data organization, searching, and reporting. Key terms are also defined, including primary keys that uniquely identify rows, foreign keys that link tables, and candidate keys that could serve as primary keys.

Uploaded by

D.V. Classes
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Database

Concepts
DATABASE CONCEPTS
A Database is a collection of DATA/INFORMATION that
is organized so that it can be easily accessed, managed
and updated.
In Database ,Data is organized into rows, columns and
tables, and it is indexed to make it easier to find
relevant information. It works like a container which
contains the various object like Tables, Queries, Reports
etc. in organized way.

Visit : python.mykvs.in for regular updates


DATABASE CONCEPTS
WHY DO WE NEED DATABASE
 To manage large chunks of data: if size of data increases
into thousands of records, it will simply create a problem to
manage.Database can manage large amount of data.
 Accuracy: Through validation rule in database ,data
accuracy can be maintained.
 Ease of updating data: With the database, we can flexibly
update the data according to our convenience. Moreover,
multiple people can also edit data at same time.
 Security of data: With databases we have security groups
and privileges to restrict access.
 Data integrity: In databases, we can be assured of
accuracy and consistency of data due to the built in
integrity checks and access controls.
DATABASE CONCEPTS
Database Management System(DBMS)

 A DBMS refers to a software that is


responsible for storing, maintaining and utilizing
database in an efficient way.
 A Database along with DBMS software is called
Database System.
 Example of DBMS software are Oracle, MS SQL
Server, MS Access, Paradox, DB2 and MySQL etc.
 MySQL is open source and freeware DBMS.
DATABASE CONCEPTS
RELATIONAL DATABASE

A relational database is a collective set of multiple data


sets organized by tables, records and columns.
Relational database establish a well-defined relationship
between database tables. Tables communicate and share
information, which facilitates data searcheability,
organization and reporting.
A Relational database use Structured Query Language
(SQL), which is a standard user application that provides
an easy programming interface for database interaction.
RELATIONAL DATABASE TERMS
RELATIONAL DATABASE TERMS
 Relation (Table)
A Relation or Table is Matrix like structure arranged in Rows
and Columns. It has the following properties-
 Atomicity : Each column assigned a unique name and must
have atomic(indivisible) value i.e. a value that can not be
further subdivided.
 Ordering of rows and column is immaterial.
 Domain :It is collection of values from which the value is
derived for a column.
 Tuple / Entity / Record - Rows of a table is called Tuple
or Record.
 Attribute/ Field- Column of a table is called Attribute or
Field.
 Degree - Number of columns (attributes) in a table.
 Cardinality - Number of rows (Records) in a table.
KEYS IN A DATABASE
Key plays an important role in relational database; it is
used for identifying unique rows from table &
establishes relationship among tables on need.
Types of keys in DBMS
 Primary Key – A primary is a column or set of columns
in a table that uniquely identifies tuples (rows) in that
table.
 Candidate Key –It is an attribute or a set of attributes
or keys participating for Primary Key, to uniquely
identify each record in that table.
 Alternate Key – Out of all candidate keys, only one gets
selected as primary key, remaining keys are known as
alternate or secondary keys.
 Foreign Key – Foreign keys are the columns of a table
that points to the primary key of another table. They
act as a cross-reference between tables.
KETypes of keys in DBMS
ATABASE

You might also like