Skip to main content

Basics of Database management system

Basics of the Database management system

I this article we will learn about:

 ■ Purpose of Database Systems

 ■ View of Data

 ■ Data Models 

■ Data Definition Language

 ■ Data Manipulation Language

 ■ Transaction Management

 ■ Storage Management

 ■ Database Administrator 

■ Database Users 


Database Management System:(DBMS)

■ Collection of interrelated data 

■ Set of programs to access the data

■ DBMS contains information about a particular enterprise 

■ DBMS provides an environment that is both convenient and efficient to use. 

■ Database Applications: 

★ Banking: all transactions 

★ Airlines: reservations, schedules 

★ Universities: registration, grades 

★ Sales: customers, products, purchases 

★ Manufacturing: production, inventory, orders, supply chain 

★ Human resources: employee records, salaries, tax deductions 

■ Databases touch all aspects of our life


Reason for Database System 


■ In the good 'ole days, information base applications were based on top of 

record frameworks 

■ Drawbacks of utilizing record frameworks to store information: 

★ Data repetition and irregularity 

✔ Multiple record designs, duplication of data in various documents 

★ Difficulty in getting to information 

✔ Need to work on another program to complete each new undertaking 

★ Data seclusion — various documents and configurations 

★ Integrity issues 

✔ Integrity imperatives (for example account balance > 0) become part 

of program code 

✔ Hard to add new limitations or change existing one 

Levels of Abstraction Levels of Abstraction 

■ Physical level depicts how a record (e.g., client) is put away. 

■ Logical level: depicts information put away in the data set, and the 

connections among the information. 

type client = record 

name: string; 

road: string; 

city: number; 

end; 

■ View level: application programs conceal subtleties of information types. 

Perspectives can likewise shroud data (e.g., pay) for security 

purposes.

Instances and Schemas 


■ Similar to types and factors in programming dialects 

■ Schema – the intelligent design of the information base 

★ e.g., the data set comprises data about a bunch of clients and 

accounts and the connection between them) 

★ Analogous to type data of a variable in a program 

★ Physical pattern: data set plan at the actual level 

★ Logical pattern: data set plan at the legitimate level 

■ Instance – the real substance of the information base at a specific point on the schedule 

★ Analogous to the worth of a variable 

■ Physical Data Independence – the capacity to change the actual pattern 

without changing the intelligent pattern 

★ Applications rely upon the sensible outline 

★ by and large, the interfaces between the different levels and segments ought to 

be obvious so that adjustments of certain parts don't genuinely impact others. 

Information Models Data Models 


■ An assortment of devices for depicting 

★ information 

★ information connections 

★ information semantics 

★ information imperatives 

■ Entity-Relationship model 

■ Relational model 

■ Other models: 

★ object-situated model 

★ semi-organized information models 

★ Older models: network model and progressive model 

Substance Relationship Model Entity-Relationship Model 

Illustration of outline in the substance relationship model 


Information Definition Language (DDL) Data Definition Language (DDL) 


■ Specification documentation for characterizing the data set composition 

★ E.g. 

make table record ( 

account-number char(10), 

balance whole number) 

■ DDL compiler creates a bunch of tables put away in an information 

word reference 

■ Data word reference contains metadata (i.e., information about information) 

★ data set composition 

★ Data stockpiling and definition language 

✔ language in which the capacity design and access techniques 

utilized by the information base framework are determined 

✔ Usually an augmentation of the information definition language 

SQL 


■ SQL: broadly utilized non-procedural language 

★ E.g. discover the name of the client with client id 192-83-7465 

select customer.customer-name 

from client 

where customer.customer-id = '192-83-7465' 

★ E.g. discover the equilibriums of all records held by the client with 

client id 192-83-7465 

select account.balance 

from the contributor, account 

where depositor.customer-id = '192-83-7465' and 

depositor.account-number = account.account-number 

■ Application programs by and large access information bases through one of 

★ Language augmentations to permit inserted SQL 

★ Application program interface (for example ODBC/JDBC) which permit SQL 

questions to be shipped off a data set 

Administrator Database Administrator 


■ Coordinates every one of the exercises of the information base framework; the 

information base manager has a decent comprehension of the 

venture's data assets and requirements. 

■ Database director's obligations include: 

★ Schema definition 

★ Storage design and access strategy definition 

★ Schema and actual association change 

★ Granting client position to get to the data set 

★ Specifying uprightness imperatives 

★ Acting as contact with clients 

★ Monitoring execution and reacting to changes in 

necessities 

Capacity Management Storage Management 


■ Storage supervisor is a program module that gives the 

the interface between the low-level information put away in the data set and 

the application projects and inquiries submitted to the framework. 

■ The capacity supervisor is mindful of the accompanying undertakings: 

★ communication with the document director 

★ effective putting away, recovering, and refreshing of information

Comments

Popular posts from this blog

Computer Graphics and image processing Mathematical Background

 Computer Graphics and image processing Mathematical  Background Numerical Background  1.1 Introduction  The instructed material in this course draws upon a numerical foundation in direct polynomial math.  We momentarily update a portion of the fundamentals here, prior to starting the course material in Chapter 2.  1.2 Points, Vectors, and Notation  Quite a bit of Computer Graphics includes conversation of focuses in 2D or 3D. Normally we compose such  focuses as Cartesian Coordinates for example p = [x, y]  T or q = [x, y, z]  T  . Point organizes are  accordingly vector amounts, instead of a solitary number for example 3 which we call a scalar  amount. In these notes, we compose vectors in striking and underlined once. Grids are composed  in striking, twofold underlined.  The superscript [...]  T indicates rendering of a vector, so focuses p and q are segmented vectors  (organizes stacked on top of ea...

Basics of Automata Theory

 Basics of Automata Theory  What is Automata Theory?  Introduction Automata Theory is an energizing, hypothetical part of software engineering. It set up its foundations during the twentieth Century, as mathematicians started creating - both hypothetically and in a real sense - machines that imitated certain highlights of man, finishing estimations all the more rapidly and dependably. The word machine itself, firmly identified with "mechanization", signifies programmed measures doing the creation of explicit cycles. Essentially expressed, the automata hypothesis manages the rationale of calculation concerning straightforward machines, alluded to as automata. Through automata, PC researchers can see how machines figure works and tackle issues and all the more significantly, how it affects a capacity to be characterized as calculable or for an inquiry to be depicted as decidable.  Robots are unique models of machines that perform calculations on a contribution by trave...

An Introduction to Computer Graphics and its Applications

An Introduction to Computer Graphics and its Applications Introduction to Computer Graphics: Illustrations are characterized as any sketch or a drawing or an extraordinary organization that pictorially addresses some significant data. PC Graphics is utilized where a bunch of pictures should be controlled or the production of the picture as pixels and is drawn on the PC. PC Graphics can be utilized in advanced photography, film, entertainment, electronic contraptions, and any remaining center innovations which are required. It is an immense subject and territory in the field of software engineering. PC Graphics can be utilized in UI configuration, delivering, mathematical item, movement, and numerous more. In most territory, PC design is a contraction of CG. There are a few apparatuses utilized for the execution of Computer Graphics. The essential is the <graphics.h> header document in Turbo-C, Unity for cutting edge and even OpenGL can be utilized for its implementation. It was d...