100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CS6400 Exam Prep Questions Solved 100% Correct | Verified Answers $12.99   Add to cart

Exam (elaborations)

CS6400 Exam Prep Questions Solved 100% Correct | Verified Answers

 1 view  0 purchase
  • Course
  • CS6400
  • Institution
  • CS6400

CS6400 Exam Prep Questions Solved 100% Correct | Verified Answers

Preview 2 out of 13  pages

  • November 16, 2024
  • 13
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CS6400
  • CS6400
avatar-seller
Examsplug
CS6400 Exam Prep Questions Solved 100% Correct |
Verified Answers

How do we guarantee lossless joins? - ✔✔The join field must be a key in at least one of the
relations



How do we guarantee preservation of functional dependencies? - ✔✔The meaning implied
by the remaining functional dependencies must be the same


In a transitive dependency, even though we don't see Email --> Salary explicitly, we see it
implicitly with transitivity



3NF and BCNF - ✔✔There does exist relations which can only be decomposed into 3NF, but
not to BCNF, while being lossless and dependency preserving


It can only happen when the relation has overlapping keys



Main Memory (RAM - Random Access Memory) - ✔✔is volatile, fast, small, and expensive



Secondary Memory -- Disk - ✔✔permanent, slow, big and cheap



Computer Architecture - ✔✔Applications run by the CPU can only query and update data in
main memory


Data must be written back to secondary memory after it is updated


Only a small fraction of a real database fits in main memory

, necessary to have buffer management programs (BUS) that will allow us to transport the data
from disk to main memory when it is to be operated on, and written back again


vast majority of the database will be stored on disk



Main Memory access time - ✔✔30 nanoseconds (.3 x 10^-7 sec)



Disk access time - ✔✔10 milliseconds (1 x 10^-2 sec)


is 5 orders of magnitude slower than main memory


In the amount of time it would take to do a single disk access, it would take 3 x 105 main
memory accesses


The time difference is so large that when we do cost computations (CPU) in database access we
completely ignore the amount of computing time that is spent in main memory and we count
only disk access time (I/O cost)



Records - ✔✔It is possible to store several records on a single block


2 ways of thinking about a block that might not fill a complete record at the end -
✔✔spanned representation


unspanned representation


If record sizes are larger than block sizes, you don't have a choice and must use spanned



Spanned representation - ✔✔break up the record across two blocks

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Examsplug. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

62890 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.99
  • (0)
  Add to cart