...
14 . Semantic Modeling
Part IV : Transaction Management
15 . Recovery
16 . Concurrency
Copyright (c) 2003 C. J. Date page fm.5
ã Read Chapters 3 and 4 very carefully.
ã Read Chapters ...
C. J. Date
Copyright (c) 2003 C. J. Date page fm.4
Part V : Further Topics
17 . Security
18 . Optimization
19 . Missing Information
20. Type Inheritance...
... deliberate,
and so is the lack of reference to the ACID acronym.)
Superficial!──this is just an introduction. Forward references to
Chapters 15 and 16 .
3.9 The Suppliers-and-Parts DB
... is added to the
CELLAR table.
Copyright (c) 20 03 C. J. Date page 2. 3
both source and object form, in the dictionary). A
comprehensive dictionary will also include cross-...
... CS_SC ;
EXEC SQL OPEN CJ ;
DO for all J rows accessible via CJ ;
EXEC SQL FETCH CJ INTO :CJ _J# , :CJ_JN, :CJ_JC ;
print CJ _J# , CJ_JN, CJ_JC ;
END DO ;
EXEC SQL CLOSE CJ ;
END DO ;
EXEC SQL ...
SELECT S.S#, S.SNAME, S.STATUS, S.CITY
FROM S
ORDER BY S# ;
EXEC SQL DECLARE CJ CURSOR FOR
SELECT J. J#, J. JNAME, J. CITY
FROM J
WHERE J. J# IN
( SELECT SPJ .J#
FROM SPJ...
... covered)
Read-only vs. Update Operators
The distinction between read-only and update operators──another
logical difference!──becomes particularly important when we get to
inheritance ... fact a scalar update operator
specifically, and might object, correctly, that scalar update
operators aren't part of the relational model. The discussion of
such operators in this chapte...
...
13 .2 MVDs and 4NF
Mostly self-explanatory. Possible points for the instructor to
note:
Copyright (c) 20 03 C. J. Date page
12 . 19
12 . 7 NADDR is in 2NF but not 3NF (and hence not BCNF). ... or even just to BCNF, can unfortunately be in conflict.)
Copyright (c) 20 03 C. J. Date page
12 . 15
is at all times equal to a projection of the join of EMP3 an...
...
T1-T3-T2 : A = 2
T2-T1-T3 : A = 1
T2-T3-T1 : A = 2
Copyright (c) 20 03 C. J. Date page V .2
*** End of Introduction to Part V
***
Copyright (c) 20 03 C. J. Date page 16.10
Copyright ...
U1, U2, U3, again not necessarily in that order.)
Ri-Rj-Rk-Up-Uq-Ur : 3 * 2 * 1 * 3 * 2 * 1 = 36 possibilities
Ri-Rj-Up-Rk-Uq-Ur : 3 * 2 * 2 *...
... into internal form
2. Convert to canonical form
3. Choose candidate low-level procedures
4. Generate query plans and choose the cheapest
In practice, Stage 1 effectively becomes "convert ... different access paths to be
deployed (physical data independence). Commercial optimizers do a
Copyright (c) 20 03 C. J. Date page 18 .2
reasonably good job on the second aspect...
... operators
specifically.
OPERATOR ROTATE ( T RECTANGLE ) UPDATES T
VERSION ROTATE_RECTANGLE ;
Copyright (c) 20 03 C. J. Date page 21 .5
Recovery control: Explain two-phase commit very carefully──the ... are clearly more colored circles than
there are circles. And colored circles can't be obtained from
circles via S by C, either. Note the remark to the effect that
&q...
... that
Copyright (c) 20 03 C. J. Date page
25 .14
hierarchies at all, consisting of an "SP" class, a "PJ" class, and
a "JS" class.
25 . 12 The performance factors ... and G by C are supported, type constraints are
supported too, and noncircular circles and the like can't occur.
(And run-time type errors specifically can occur only in the...
... isn't well-formed if it involves (say) a left -to-
right ordering to its attributes; if it involves a left -to-
Copyright (c) 20 03 C. J. Date page
27 .20
explanation). In XML Schema, by contrast, ...
<ProjectTuple>
<JNUM> ;J7 </JNUM>
<JNAME>Tape</JNAME>
<CITY>London</CITY>
</ProjectTuple>
Copyright (c) 20 03 C. J....
... C. J. Date page D.6
D.11 Values recorded in index Expanded form
0 - 2 - Ab Ab
1 - 3 - cke Acke
3 - 1 - r Ackr
1 - 7 - dams,T+ Adams,T+
7 - 1 - R Adams,TR
5 - 1 - o Adamso
1 - 1 - l ... Discuss data independence
Copyright (c) 20 03 C. J. Date page D.4
yet be no records that actually hash to h2 as such. In oth...