Skip to content

Commit

Permalink
add n=notes in database system
Browse files Browse the repository at this point in the history
  • Loading branch information
kekeandzeyu committed Jan 7, 2025
1 parent cd4dfa9 commit ecc620d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 16 deletions.
Binary file added Writerside/images_database/b3-1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Writerside/images_database/b3-2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Writerside/images_database/b3-2-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 27 additions & 16 deletions Writerside/topics/Database-System.topic
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,17 @@
<chapter title="1.1 SQL Introduction" id="1-1-sql-introduction">
<p>SQL = Structured Query Language</p>
<p>Although over 40 years old, it keeps re-emerging as the standard.</p>
<p>
<format color="BlueViolet">Features:</format>
</p>
<p><format color="BlueViolet">Features:</format></p>
<list type="bullet">
<li>
<p>
<format color="Fuchsia">Declarative!</format>
</p>
<p><format color="Fuchsia">Declarative!</format></p>
<list type="bullet">
<li>Specify
<format style="italic">what</format>
you want, not
<format style="italic">how</format>
to get it.
</li>
<li>Specify <format style="italic">what</format> you want, not <format style="italic">how</format>
to get it.</li>
</list>
</li>
<li>
<p>
<format color="Fuchsia">Implemented widely</format>
</p>
<p><format color="Fuchsia">Implemented widely</format></p>
<list type="bullet">
<li>With varying levels of efficiency, completeness.</li>
</list>
Expand Down Expand Up @@ -845,5 +835,26 @@
</compare>
</chapter>
</chapter>

<chapter title="3 Disks &amp; Drives" id="3-disks-drives">
<chapter title="3.1 DBMS Architectures" id="3-1-database-architecture">
<img src="../images_database/b3-1-1.png" alt="Database Architecture"/>
<p><format color="BlueViolet">Features</format></p>
<list type="bullet">
<li>Organized in layers</li>
<li>Each layer abstracts the layer below: Manage complexity (easy to use) &amp;
Performance assumptions (assume the perfomrance of lower layers)</li>
<li>Two cross-cutting issues related to storage and memory management:
Concurrency control &amp; Recovery</li>
</list>
</chapter>
<chapter title="3.2 Disks" id="3-2-disks">
<p><format color="BlueViolet">Memory Hierarchy</format></p>
<img src="../images_database/b3-2-1.png" alt="Memory Hierarchy"/>
<p><format color="BlueViolet">Disk Components</format></p>
<img src="../images_database/b3-2-2.png" alt="Disk Components"/>
<p>Platters spin together (around 15000 rpm). Arm assembly can move in or out to position a head on a
desired track, but only one head reads/writes at any one time.</p>
<p><format color="BlueViolet">Disk Operation &amp; Access Time</format></p>
</chapter>
</chapter>
</topic>

0 comments on commit ecc620d

Please sign in to comment.