UPSC Exam  >  UPSC Notes  >  Famous Books for UPSC Exam (Summary & Tests)  >  Intro to Database

Intro to Database | Famous Books for UPSC Exam (Summary & Tests) PDF Download

What is Database?

A database is a collection of information that is organized so that it can easily be accessed, managed and updated.

What is Database Management System?

DBMS is a software package designed to define, manipulate, retrieve and manage data in a database. It defines rules for validating and manipulating that data. Fourth generation query languages like SQL are used along with DBMS package to interact with database. 

Some of the real time applications using DBMS are Banking (transactions), Airlines (reservations and schedules), Universities (registration and grades), Manufacturing (production, inventory, orders, supply chain) etc. 

Advantages of a DBMS

  1. Controls Data Redundancy: All of the data is integrated into a single centralized file and no duplicates are created. 
  2. Data Sharing: Database administrator upon granting access allows for sharing of data across different platforms and different users. 
  3. Data consistency: As a data item appears only once, update has to be done once only and updated value is immediately available for use.
  4. Integration of Data: In DBMS, data is stored in tabular form and various relationships can be created among tables. This makes it easy to retrieve and update data. 
  5. Data Security: The access to critical information can be restricted and access privileges are required for updating/manipulating important information. E.g.-access to financial data is restricted providing for security of data. 
  6. Backup and Recovery: It has subsystems which deal with back up and recovery in case of hardware/software failure or in case of a natural calamity which endangers the data in any way. 
  7. Concurrent Access: It provides for concurrent access to multiple users at one time making it more efficient for business applications. 

Components of DBMS 

 

A database system consists of 4 components usually:

  • Data
  • Hardware
  • Software
  • Users

1. Data: It is the most important component of a database which acts like a bridge between hardware and software. Different types of data are- User data (actual/workable data stored in tables), Metadata ( data about data i.e no of tables, no of fields), application metadata (structure and format of queries)

2. Hardware: Storage devices on which data is stored with i/o operations (hard disks, optical disks, magnetic tapes etc)

3. Software: It acts a bridge between user and database. It interacts with both user and database and acts a medium for data exchange. For performing various operations on the data, we use query languages like SQL etc. 

4. Users: They are the ones who need information from a database to carry out their primary business responsibilities. Various types of users are: Database administrators, Database designers, End users, Application Programmers. 

Levels of Abstraction

 

1. Physical Level

It describes how a record (e.g. customer) is stored in the database. 

2. Logical Level

It describes the data stored in database and the relationships among themselves. Lets look at the description of customer data below:

cust_id: int; 

cust_name: string; 

cust city: string; 

3. View Level

At this level, application programs hide details of data types. Views can also hide information such as employee salary for security purposes.

Intro to Database | Famous Books for UPSC Exam (Summary & Tests)

The document Intro to Database | Famous Books for UPSC Exam (Summary & Tests) is a part of the UPSC Course Famous Books for UPSC Exam (Summary & Tests).
All you need of UPSC at this link: UPSC
545 videos|966 docs|373 tests

Top Courses for UPSC

FAQs on Intro to Database - Famous Books for UPSC Exam (Summary & Tests)

1. What is a database?
Ans. A database is a structured collection of data that is organized and stored in a computer system. It allows users to efficiently manage and retrieve information, making it an essential tool for businesses and organizations to store and process data.
2. What are the advantages of using a database?
Ans. Using a database offers several advantages, including: - Improved data organization and management: Databases provide a structured way to organize and store data, making it easier to search, update, and maintain. - Data consistency and integrity: Databases enforce integrity constraints and data validation rules, ensuring that data is accurate and consistent. - Efficient data retrieval: Databases use indexing and query optimization techniques to retrieve data quickly, even from large datasets. - Data security: Databases offer various security features, such as user authentication and access control, to protect sensitive data from unauthorized access. - Data sharing and collaboration: Databases enable multiple users to access and work with the same data simultaneously, facilitating collaboration and information sharing.
3. What is a relational database?
Ans. A relational database is a type of database that organizes data into tables or relations, with each table consisting of rows (records) and columns (attributes). The relationships between tables are defined based on common values, creating a network of related data. This structure allows for efficient storage, retrieval, and manipulation of data, making relational databases widely used in various applications.
4. What is the role of a database management system (DBMS)?
Ans. A database management system (DBMS) is software that enables users to interact with databases. Its main role is to provide an interface for users to create, modify, and query databases while ensuring data integrity and security. DBMS handles tasks such as data storage, retrieval, and manipulation, as well as managing concurrent access and enforcing data integrity rules. Examples of popular DBMSs include MySQL, Oracle, and Microsoft SQL Server.
5. What is SQL and its importance in databases?
Ans. SQL (Structured Query Language) is a programming language used to communicate with and manipulate relational databases. It allows users to define, retrieve, modify, and delete data from databases using standardized commands. SQL plays a crucial role in databases as it provides a universal language for managing data, making it possible to interact with different database management systems. Its importance lies in its simplicity, versatility, and widespread adoption, making it an essential skill for working with databases.
545 videos|966 docs|373 tests
Download as PDF
Explore Courses for UPSC exam

Top Courses for UPSC

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

pdf

,

Previous Year Questions with Solutions

,

mock tests for examination

,

Intro to Database | Famous Books for UPSC Exam (Summary & Tests)

,

Free

,

Intro to Database | Famous Books for UPSC Exam (Summary & Tests)

,

Important questions

,

Sample Paper

,

Exam

,

Viva Questions

,

Extra Questions

,

ppt

,

MCQs

,

shortcuts and tricks

,

study material

,

Summary

,

Semester Notes

,

video lectures

,

Objective type Questions

,

past year papers

,

Intro to Database | Famous Books for UPSC Exam (Summary & Tests)

,

practice quizzes

;