Data Abstraction in DBMS

 03 Sep  Admin

Abstraction,in general, is the process of taking away or removing characteristics from something in order to reduce it to a set of essential characteristics.Database systems are made-up of complex data structures. To ease the user interaction with database, the developers hide internal irrelevant details from users. This process of hiding irrelevant details from user is called data abstraction.

There are mainly levels of data abstraction:

Physical level: Physical level is the lowest level of data abstraction which describes how data is actually stored in database. You can get the complex data structure details at this level.

Logical level: Logical level is the middle level of 3-level data abstraction architecture which describes what data is stored in database.

View level: Highest level of data abstraction is view level which describes the user interaction with database system.

Read More

Levels of DBMS Architecture

 03 Sep  Admin

This architecture has three levels:

1. External level  :-

    External level is also called view level. The reason this level is called “view” is because several users can view their desired data from this level which is internally fetched from database with the help of conceptual and internal level mapping. External level is the “ top level ” of the Level of DBMS Architecture.

Facts about External level:

  1. An external level is only related to the data which is viewed by specific end users.
  2. This level includes some external schemas.
  3. External schema level is nearest to the user
  4. The external schema describes the segment of the database which is needed for a certain user group and hides the remaining details from the database from the specific user group

2. Conceptual level  :-

      Conceptual level is also called logical level .The whole design of the database such as relationship among data, schema of data etc. are described in this level. It is maintained by DBA.

Facts about Conceptual level:

  1. Defines all database entities, their attributes, and their relationships
  2. Security and integrity information
  3. In the conceptual level, the data available to a user must be contained in or derivable from the physical level

3. Internal level  :-

       Internal level is also known as physical level. This level describes how the data is actually stored in the storage devices. It is responsible for storage allocation. This is the lowest level of the architecture.

Facts about Internal level:

  1. The internal schema is the lowest level of data abstraction
  2. It helps you to keeps information about the actual representation of the entire database. Like the actual storage of the data on the disk in the form of records
  3. The internal view tells us what data is stored in the database and how
  4. It never deals with the physical devices. Instead, internal schema views a physical device as a collection of physical pages.
Read More

Views of data

 03 Sep  Admin

Different Views of Database

There are three different views of the database. The views are seen through the schema and the sub-schema of the data.

Logical view of the user of data

          This is a view of the application programmer or user as he wants it. This could be a partial view of the database. For example, the quality control manager and the purchase manager would view the data differently for their use.

The view of database administrator (DBA)

           This is a view of the person who is managing the database through the creation, updating, structuring and ensuring that it is up-to-date. The view of the DBA is a global view.

Physical View

            This is the view of the data actually stored and organized on the physical devices.

Read More

Architecture of DBMS

 03 Sep  Admin

DBMS architecture will help us understand the components of database system and the relation among them. The architecture of DBMS depends on the computer system on which it runs.

Types of DBMS Architecture

There are three types of DBMS architecture:

1. Single tier architecture :-

         In this type of architecture, the database is readily available on the client machine, any request made by client doesn’t require a network connection to perform the action on the database.

2. Two tier architecture :-

        In two-tier architecture, the Database system is present at the server machine and the DBMS application is present at the client machine, these two machines are connected with each other through a reliable network.Whenever client machine makes a request to access the database present at server using a query language like sql, the server perform the request on the database and returns the result back to the client. 

 3Three tier architecture :-

       In this architecture, another layer is present between the client machine and server machine. In this architecture, the client application doesn’t communicate directly with the database systems present at the server machine, rather the client application communicates with server application and the server application internally communicates with the database system present at the server.

Read More

Advantages of DBMS Over File System

03 Sep  Admin

DBMS vs. File System :-

DBMS File Management System
Multi-user accessIt does not support multi-user access
Design to fulfill the need for small and large businessesIt is only limited to smaller DBMS system.
Remove redundancy and IntegrityRedundancy and Integrity issues
Expensive. But in the long term Total Cost of Ownership is cheapIt’s cheaper
Easy to implement complicated transactionsNo support for complicated transactions
Read More

Database Applications

 03 Sep  Admin

Application Of DBMS  :-
SectorUse of DBMS
BankingFor customer information, account activities, payments, deposits, loans, etc.
AirlinesFor reservations and schedule information.
UniversitiesFor student information, course registrations, colleges and grades.
TelecommunicationIt helps to keep call records, monthly bills, maintaining balances, etc.
FinanceFor storing information about stock, sales, and purchases of financial instruments like stocks and bonds.
SalesUse for storing customer, product & sales information.
ManufacturingIt is used for the management of supply chain and for tracking production of items. Inventories status in warehouses.
HR ManagementFor information about employees, salaries, payroll, deduction, generation of paychecks, etc.
Read More

Introduction of DBMS

 03 Sep  Admin

  • Introduction of DBMS

DBMS stands for Database Management System. We can break it like this DBMS = Database + Management System. Database is a collection of data and Management System is a set of programs to store and retrieve those data. Based on this we can define DBMS like this: DBMS is a collection of inter-related data and set of programs to store & access those data in an easy and effective manner.

Characteristics of DBMS

  • Provides security and removes redundancy
  • Self-describing nature of a database system
  • Insulation between programs and data abstraction
  • Support of multiple views of the data
  • Sharing of data and multiuser transaction processing
  • DBMS allows entities and relations among them to form tables.
  • It follows the ACID concept ( Atomicity, Consistency, Isolation, and Durability).
  • DBMS supports multi-user environment that allows users to access and manipulate data in parallel.

What is the need of DBMS?

Database systems are basically developed for large amount of data. When dealing with huge amount of data, there are two things that require optimization: Storage of data and retrieval of data.

Purpose of Database Systems

The main purpose of database systems is to manage the data. To manage the data we need to store this data somewhere where we can add new data, delete unused data, update outdated data, retrieve data.

Read More

Links

03 Sep Admin

?? link ??? text ?? image ???? ?? ??? ?? click ???? ?? ?? ????? page ?? redirect ?? ??? ???? ??? ?? ?? ?? ???? link ?? ???? cursor ?? ???? ?? ?? ?? ?? clickable hand icon ??? convert ?? ???? ??? Links ?? ????? basically ?? page ?? ????? page ?? ???? ?? ??? ???? ???? ??? Links web ?? ?????? ?? roads ???? ???  

HTML ??? link create ???? ?? ??? tag ???? ???? ???? ??? ??? anchor tag ??? ???? ??? ?? tag ?? ???? basic attributes href ?? target ???? ??? ?? ????? attributes ?? ???? ??? ???? ????? ??? ??? 

href 

?? attribute ?? ?????? ?? ?? page ?? address define ???? ?? ?? ?? link ?? click ???? ?? show ???? ????? ???  

href = “page-Address”

target 

target – ?? attribute ?? ?????? ?? ?? frame define ???? ?? ???? ?? ?? page ?? ???? ????? ??? ?? attribute optional ???? ??? ??? ?? ??? define ???? ???? ?? ?? page new tab ??? open ???? ??? ?? attribute ?? ??? predefined values ???? ?? ??????? ?? use ?? ???? ???? 

target = “frame-Name”
  • _blank – ?? ?? ?? value define ???? ?? ?? ???? webpage new tab ?? window ??? open ???? ??? 
  • _self – ?? ?? ?? value define ???? ?? ?? ???? webpage ??? tab ?? frame ?? open ???? ?? ?????? link ?? click ???? ??? ??? 
  • _parent – ?? value webpage ?? parent frame ??? open ???? ??? 
  • _top – ?? value ?? ?????? web page full document ??? open ???? ??? 
  • customFrame – ?? ??? ?? ?? ??? frame define ?? ???? ??? ??? ???? ?? webpage ??? ?? open ?????                  

Creating links in HTML 

???? ?? ???? ???? ????? ?? HTML ?? ?????? link create ???? ?? ??? ?? tag ???? ???? ??? ???? ?? ??? ???? ??? ???? ???? ???? ?? ?? ????? ???? ???? ???? ?? tag ?? normal structure ????? ???      

Links ?? ?? ???? page ?? according configure ?? ?? ???? ??? ???? ?? ?? apply ?? ???? ?? ?? ?? ?? ??? link ?? mouse ?? ???? ?? ???? color green ?? ???? ?? mouse ????? ?? red ?? ????? ?? ?? ?? style tag ?? ?????? ?? ???? ??? ???? ??? ?? a ?? ??? condition colon ????? define ???? ??? ???? ???? ??? ???? ???? ?? ??? ??? ???? ?????? ?? CSS ???? tutorials ??? ??? ???? ???  Condition Explanation  a:link?? condition ??? link first time web page ?? show ???? ???  a:visited?? condition ??? link ???? visit ?? ?? ???? ???? ???  a:hover?? condition ??? link ?? cursor ?? ???? ???? ???  a:active?? ?? ???? link ?? click ???? ?? ?? ?? link active ???? ???
Read More

Styling HTML Text

03 Sep Admin

Text ?? style ???? ?? ??? ???? ?? ???? color change ???? ?? font family change ???? ??? ?? ??? CSS ?? ???? ???? ???? ??? 

Changing text color 

???? ?? tag ?? text ?? color change ???? ?? ??? ?? CSS ?? color property ???? ???? ??? ?? ???? ??? colon ????? color ?? ??? ???? ??? 

<p style=”color:red”>This text will be red. </p>


Changing font family 

Text ?? font family change ???? ?? ??? ?? font family property ???? ???? ?? ?? value ?? ??? ??? font family ?? ??? ???? ???
 

<p style=”font-family:Arial”> This text will be in Arial </p>

Changing text size 

Text ?? size change ???? ?? ??? ?? font size property ???? ???? ?? ?? value ?? ??? ??? ?? size ?? ????? ?? ?? ???? ???
 

<p style=”font-size: 45″> This size is changed by style tag. </p>

Changing text position 

Text ?? position change ???? ?? ??? text align property ???? ?? ???? ?? ?? value ?? ??? ??? ?? left, right ?? center pass ?? ???? ???
 

<p style=”text-align:center”> This position is change by style tag</p>
Read More

Attributes

03 Sep  Admin

Attributes ?? ?????? ?? tags ?? ???? according configure ?? ???? ??? Attributes ?? ????? starting tag ??? define ???? ???? ??? ????? define ???? ?? ?????? ???? ???? ?? ??? ??? ????? ?? HTML tags ???? ?? ?? ???? attributes ???? ??? ?? name ?? value ?? pair ??? ???? ???? ???

<tagName attrName=”value”> some text here.</tagName>


Common HTML attributes 

Attributes advanced configuration ?? ??? ???? ???? ???? ??? ???? ?? ?? default page background ???? ????? ?? ???? ???? according change ?? ???? ??? ??? ?? ?? ??? default text color ???? ????? ?? ?? ??? ?? change ?? ???? ??? Attributes ?? ???? ???? ???? ?? simple ??? ?? ???? ??? ???? ????? ?? ????? attribute ??? ??? ???? ???? ??? 

???? ???? HTML ??? commonly ???? ???? ???? attributes ?? list ?? ?? ??? ???  

 Attribute Explanation  Example  

 id  
HTML document ??? ???? tag ?? uniquely identify ???? ?? ??? id attribute ???? ???? ???? ??? ?????? 2 tags ?? id same ???? ?? ???? ???    
 <p id=”mypara”> 

 class 
?? attributes tags ?? ??? ??? class ??? categories ???? ?? ??? ???? ???? ???? ??? ???? ?? tags ?? class ?? ?? ???? ??? 
 <h1 class=”java”> 

 title  
???? tag ?? tittle ???? ???? ?? ??? title attribute ???? ???? ???? ???   
 <p title=”Hello”> 

 style 
?? attribute ?? ?????? ?? tag ?? style rules apply ?? ???? ???   <p style=”color:red”>  
Read More