Your SlideShare is downloading. ×
  • Like
Disk-based storage
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Disk-based storage



Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Dimara Kusuma Hakim, ST.
  • 2.
    • In a DB Server, data is persisted to disk . Disk-based storage is advantageous because :
      • it can survive downtime , such as power outages,
      • its cost per megabyte is much less than that of RAM.
  • 3.
    • However, disks are much slower than RAM. For this reason, DB Server uses the RAM as a data cache .
  • 4.
    • When DB Server starts, very little physical memory is used, as no data has been requested. As data is requested by applications, DB Server reads the data from disk and stores it in RAM. Data is then supplied directly from RAM to satisfy the request.
  • 5.
    • When subsequent requests are made for the same data, there is no need to read it from the disk. It is already loaded into RAM. Because RAM is faster than disks, the subsequent requests perform better than the first request.
  • 6.
    • When the cache fills and new data is requested, which must be retrieved from disk, the older data in the cache is aged out. This means that the data that has been requested recently will be the first to be removed from RAM.
  • 7.
    • Due to this algorithm, the server will be able to keep commonly used data in memory for long periods, while flushing occasionally requested data as new data needs to be loaded into memory.
    • DEMO VIDEO !!!
    • DEMO VIDEO 2 !!!