What is Database
The database is a collection of related or inter-related data which is used to retrieve, insert and delete the data efficiently. It is also used to organize the data in the form of a table, schema, views, and reports, etc.
The database is a collection of related or inter-related data which is used to retrieve, insert and delete the data efficiently. It is also used to organize the data in the form of a table, schema, views, and reports, etc.
12 Apr Admin
A schema is the complete design of database it is also known as intension. It is the collection of named objects.
Design of a database is called the schema. Schema is of three types: Physical schema, logical schema and view schema.
The database system has various schemata separated according to the levels of abstraction :-
An instance is the information collected in a database at some specific moment, and it is also known as state or extension. It is a snapshot where the current state or occurrence of a database is framed at that moment.
The data stored in database at a particular moment of time is called instance of database. Database schema defines the variable declarations in tables that belong to a particular database; the value of these variables at a moment of time is called the instance of that database.
Schema and instance are somehow related, a schema is the initial state of the database where the database is designed at first. On the other hand, an instance is a state when data is loaded into the database or when any change is acquired by the corresponding database. Schema is the detailed description of the structure of database whereas the information stored at a specific moment in a database is known as an instance.
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 3 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.
03 Sep Admin
This architecture has three levels:
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:
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:
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:
03 Sep Admin
There are three different views of the database. The views are seen through the schema and the sub-schema of the 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.
This is the view of the data actually stored and organized on the physical devices.
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.
There are three types of DBMS 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.
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.
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.
03 Sep Admin
DBMS | File Management System |
Multi-user access | It does not support multi-user access |
Design to fulfill the need for small and large businesses | It is only limited to smaller DBMS system. |
Remove redundancy and Integrity | Redundancy and Integrity issues |
Expensive. But in the long term Total Cost of Ownership is cheap | It’s cheaper |
Easy to implement complicated transactions | No support for complicated transactions |
03 Sep Admin
Sector | Use of DBMS |
Banking | For customer information, account activities, payments, deposits, loans, etc. |
Airlines | For reservations and schedule information. |
Universities | For student information, course registrations, colleges and grades. |
Telecommunication | It helps to keep call records, monthly bills, maintaining balances, etc. |
Finance | For storing information about stock, sales, and purchases of financial instruments like stocks and bonds. |
Sales | Use for storing customer, product & sales information. |
Manufacturing | It is used for the management of supply chain and for tracking production of items. Inventories status in warehouses. |
HR Management | For information about employees, salaries, payroll, deduction, generation of paychecks, etc. |
Recent Comments