DB praktikum exc. 2
- Company & file-based DB - Sl.1/15
- Files get renamed and stuff
- People editing stuff at the same time; no way to do access rights
- Maybe they have different settings/timezones or corrupt data
- ? If stock is part of the equation - you can’t easily manage that that way
- Everything from p. 1 just gets harder? Instead of copying from one file you have to copy from multiple, pray they are synchronized etc.
- You have to change both the program and all files connected to that
- No one can order but the other parts of the system work as well as they did before the online part 1. But you might get problems if things crash while you’re updating something that requires you to edit multiple files for the same transactions - you’ll get an inconsistent state
- T/F
- F - atomicity - the interrupted transaction means rollback to before the beginning, unless stuff wasn’t explicitly written/committed
- F -
- “that is currently modified by another transaction” - you can’t see what’s not been committed/written yet
- BASE - “database system” - some happily allow you to read older data and there are different consistency guarantees (Sl.2/24)
- T - you can use database constraints for that, though probably doing it in a client is probably a better idea?..
- F - successfully completed means committed and they are the ones that get saved in case of a crash, it’s the uncommitted ones that get lost in that case
- Big data Vs & CAP (from 4.)
- All except Veracity: Volume, Velocity (hot topics), Variety, Value (=ads) 2. CAP: you don’t care about consistency but do about availability and partition tolerance
- No Volume and variety:
- velocity (sensors with live data you have to react to)
- Veracity (sensors might be wrong in different ways based on sensor version)
- Value: don’t let the system die of overheating
- CAP: you don’t care about consistency but do about availability and ESPECIALLY partition tolerance
- No velocity, variety
- Veracity: words change meanings etc. and you have to evaluate exactly that bit; also OCR, typos etc.
- CAP: you don’t care about availability, but prolly do about consistency and PT
- CAP for the above - see answers
- Define a schedule that follows and one that breaks one of: monotonic read or read-your-writes
- RYW: book rooms for Vorlesungen. There are three rooms,
abandc. Capitalized = booked.
- RYW: book rooms for Vorlesungen. There are three rooms,
Mike: abc
John: abc
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus