Storage of database on hard disks, Database Management System

Assignment Help:

Storage Of Database On Hard Disks

At this point, it is worthwhile to note the difference among the terms file Organisation and the access method. A file organisation shows to the organisation of the data of a file into blocks, records and access structures; this contains the way records and blocks are placed on the storage medium and interconnected. An access method, on the other hand, is the mode how the data can be retrieved based on the file Organisation.

Mainly the databases are stored persistently on magnetic disks for the reasons given below:

  • The databases being very big may not set completely in the main memory.
  • Storing the data permanently using the non-volatile storage and give access to the users with the help of front end applications.
  • Primary storage is considered to be very costly and in order to cut short the cost of the storage per unit of data to substantially less.

Every hard drive is usually composed of a set of disk platters. Every disk platter has a layer of magnetic material deposited on its surface. The whole disk can have a large amount of data, which is organised into minor packages known as BLOCKS (or pages). On most computers, one block is equal to 1 KB of data (= 1024 Bytes).

A block is the least unit of data transfer among the processor and the hard disk of the computer. Every block thus has a fixed, address, assigned. Typically, the computer processor will give in a read/write request, which contains the address of the block, and the address of RAM in the computer memory area known as a buffer (or cache) where the data must be stored / taken from. The processor then reads and changes the buffer data as needed, and, if needs, writes the block back to the disk. Let us observe how the tables of the database are stored on the hard disk.


Related Discussions:- Storage of database on hard disks

Improved reliability, Improved Reliability: In a centralised DBMS, a server...

Improved Reliability: In a centralised DBMS, a server failure stops the operations of the DBMS. Though, a failure at single site of a DDBMS, or a failure of a communication link cr

Ordering of tuples, In a relation, tuples are not inserted in any definite ...

In a relation, tuples are not inserted in any definite order. Ordering of tuples is not defined as a part of a relation definition. Though, records may be structured later accordin

advantages of database over file system, Q.   Why would you choose a datab...

Q.   Why would you choose a database system instead of simply storing data in operating system file? Define  at a base concept in details. Sol. Advantages of Database over Fil

Describe a technique for direct search, Describe a technique for direct sea...

Describe a technique for direct search? Explain how data is stored within a file so which direct searching can be performed. For a file of unordered fixed length records by u

What is meant by physical blocks, What is meant by Physical blocks? The...

What is meant by Physical blocks? The input and output operations are completed in block units. The blocks residing on the disk are referred to as physical blocks.

Explain the operation of the data warehouse, Using a labelled diagram expla...

Using a labelled diagram explain the operation of the Data Warehouse, define the basic architectural components and outline the main functionalities. Briefly explain the role an op

Define a view and a trigger, Define a view and a trigger. Construct a view ...

Define a view and a trigger. Construct a view for the above relations that have the information about suppliers and the elements they supply. The view holds the S#, SNAME, P# , PNA

What are audit trails, What are audit trails? An audit trail is a log o...

What are audit trails? An audit trail is a log of all alters to the database along with information like which user performed the change and when the alter was performed.

A basic model of database access control, A basic model of Database Access ...

A basic model of Database Access Control Models of database access control have grown out of previous work on protection in operating systems. Let us talk about one simple mode

Domain constraint, Domain Constraint It shows that each attribute in a ...

Domain Constraint It shows that each attribute in a relation has to contain an atomic value only from the corresponding domains. The data types associated with commercial RDBMS

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd