https://moodle.cs.ubbcluj.ro/pluginfile.php/50353/mod_resource/content/1/DBMSs_Lecture7.pdf

https://moodle.cs.ubbcluj.ro/pluginfile.php/50545/mod_resource/content/1/DBMSs_Lecture8.pdf

https://moodle.cs.ubbcluj.ro/pluginfile.php/50546/mod_resource/content/1/DBMSs_Lecture9.pdf

  1. RLV (row level versioning) - S4, P8
    1. Read committed snapshot isolation - S4, P9
  2. Query governor, DBCC log, PIVOT/ UNPIVOT, OUTPUT - incep la S4, P17
  3. Merge statement - S4, P21
  4. Query fine-tuning
    1. Identify waits - S5, P3
    2. Correlate waits with queues - S5, P4
    3. Drill down to DB / file level - S5, P9
    4. Drill down to process level - S5, P12
    5. Indexes - S5, P13
    6. Tools to analyze query performance - S5, P16
    7. STATISTICS IO, STATISTICS TIME - S5, P19
    8. Graphical execution plan - S5, P26

Relational algebra

Queries

composed of relational operators:

Optimizer

Screenshot 2023-06-04 at 13.30.48.png

Algorithms for operators

based on 3 techniques:

iteration

indexing