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

  • 309 views
Published

 

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

Views

Total Views
309
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
20
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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 !!!