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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Disk-based storage

321

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
321
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
21
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. <ul><li>In a DB Server, data is persisted to disk . Disk-based storage is advantageous because : </li></ul><ul><ul><li>it can survive downtime , such as power outages, </li></ul></ul><ul><ul><li>its cost per megabyte is much less than that of RAM. </li></ul></ul>
  • 3. <ul><li>However, disks are much slower than RAM. For this reason, DB Server uses the RAM as a data cache . </li></ul>
  • 4. <ul><li>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. </li></ul>
  • 5. <ul><li>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. </li></ul>
  • 6. <ul><li>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. </li></ul>
  • 7. <ul><li>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. </li></ul><ul><li>DEMO VIDEO !!! </li></ul><ul><li>DEMO VIDEO 2 !!! </li></ul>

×