Symbols and units

QuantitySymbolUnitNote
Relation schema, attribute set, instanceRR, UU, rr, ssSetsUppercase schemas; lowercase instances. RR, SS also name SQL bags when stated.
Attributes, attribute subsets, domainsAA, BB, CC, DD, WW, XX, YY, ZZ, Dom⁡(A)\operatorname{Dom}(A)Attribute names / setsJuxtaposition of attribute sets is union, not multiplication.
Candidate keys; FD sets and closuresKjK_j, FF, F+F^+, XF+X_F^+, FiF_iSetsFiF_i projects all implied FDs onto component RiR_i.
Generic attribute/key/tuple countsnn, kk, qq, NSKN_{\mathrm{SK}}, NFDN_{\mathrm{FD}}, n1n_1, n2n_2CountsLocal definitions distinguish keys, ER entities and operations.
Algebra operatorsσ\sigma, π\pi, ρ\rho, ⋈\bowtie, ÷\divOperatorsSelection, projection, rename, join, division; these are not physical quantities.
Calculus tuples and predicatestt, uu, vv, PP, QQ, CC, C1C_1, C2C_2Tuples / Boolean predicatesBound/free scope stated in Section 3; no time units for tuple tt.
Join frequencies, distinct values and selectivityfr(v)f_r(v), V(A,r)V(A,r), s1s_1, s2s_2, n^\widehat nCounts; fractionsEstimate assumptions stated; selectivity between zero and one.
Bag tuple multiplicitiesmR(r)m_R(r), mS(s)m_S(s), aa, bbCountsDistinguish bag copies from set members.
Block, header, record, slot sizesBB, HH, LL, ssbytess here is slot overhead, not a relation; fixed unspanned records unless stated.
Key and pointer sizesKK, PP, PbP_b, PrP_rbyteGeneric, child-block and record pointers distinguished.
Records, blocks, entries, blocking factorsnrn_r, nin_i, brb_r, bsb_s, bib_i, bfrbfr, bfribfr_iCountsbfrbfr is records/block; bfribfr_i is entries/block.
Tree capacities, heights and occupancymm, mmax⁡m_{\max}, LfL_f, Lf,max⁡L_{f,\max}, aa, hh, NN, Nmin⁡N_{\min}, Nmax⁡N_{\max}Countsmm maximum children; hh edge height; a=⌈m/2⌉a=\lceil m/2\rceil. tt denotes minimum degree only in 6.3.
Access costs and buffersCpointC_{\mathrm{point}}, Crange,indexC_{\mathrm{range,index}}, dd, qq, MM, csc_sBlock I/Os; countsdd extra data fetches, qq visited leaves, MM buffer blocks.
Join and sort costsCtupleC_{\mathrm{tuple}}, CblockC_{\mathrm{block}}, CbufferedC_{\mathrm{buffered}}, CindexC_{\mathrm{index}}, CsortC_{\mathrm{sort}}, ChashC_{\mathrm{hash}}Block I/OsFinal-result writes excluded for joins; sort materialisation included.
Sort runs and passesbb, r0r_0, ppBlocks / countsbb input blocks, r0r_0 initial runs, pp passes.
Hash directory depthsgg, ℓ\ellbit countsGlobal and local depths; ℓ\ell also index-level count in 6.2.
Bitmap storage and cardinalitySbitmapS_{\mathrm{bitmap}}, VVbyte; countEach value bitmap separately byte-aligned.
Transaction and schedule notationTiT_i, SS, GSG_S, ri(x)r_i(x), wi(x)w_i(x), cic_i, aia_iLabels / operationsxx is a data item; << means schedule precedence.
Interleaving counts and operation countsNallN_{\mathrm{all}}, NserialN_{\mathrm{serial}}, nin_i, kkCountskk transactions, nin_i labelled operations in transaction ii.
Timestamp labelsTSiTS_i, RTS(x)RTS(x), WTS(x)WTS(x)Ordered labelsNot physical time; smaller label means older.
Optimistic phase events and access setssis_i, viv_i, fif_i, RSiRS_i, WSiWS_iOrdered instants / setsStart, validation, finish; read and write sets.
Data values and transformed valuesxx, xix_i, x′x', zz, x^\widehat xInput units or dimensionlessZ-scores and encoded scales dimensionless; min–max units set by target interval.
Range, location and spreadxmin⁡x_{\min}, xmax⁡x_{\max}, aa, bb, μx\mu_x, σx\sigma_x, sxs_xInput units; target units for aa, bbσx\sigma_x population SD; sxs_x sample SD; variances use squared units.
Bins, decimal exponent and spacingkk, ww, eje_j, jj, Δ\DeltaCount; input unitsww, eje_j, Δ\Delta in input units; kk, jj dimensionless.
Sampling population, sample and strataNN, nn, pp, HsH_s, NhN_h, nhn_h, nBernn_{\mathrm{Bern}}Counts; fraction for ppFixed-size sampling versus independent inclusion distinguished.
Group means and stratum estimatex‾i\overline x_i, x‾h\overline x_h, μ^\widehat\mu, nin_iInput units; countCounts/weights refer to the same non-null population.
Compression sizes and coding widthsSoS_o, ScS_c, SdictS_{\mathrm{dict}}, SRLES_{\mathrm{RLE}}, LvL_v, LcL_c, bcodeb_{\mathrm{code}}bit or byte, as statedRatios require matched units; explicit dictionary/RLE formulas use bits.
Compression ratio, runs and symbolsCRCR, rr, VV, nnRatio / countsrr here counts runs; VV distinct dictionary values.
Entropy, code length, errorH(p)H(p), pip_i, ℓ‾\overline\ell, MSE⁡\operatorname{MSE}bit/symbol; fraction; squared input unitspip_i probabilities; ℓ‾\overline\ell bits/symbol.
Cube dimensions, levels and membersdd, LiL_i, cic_iCountsLiL_i includes ALL; dense counts require full Cartesian detail.
Cube grouping and row countsNcuboidsN_{\mathrm{cuboids}}, Nhierarchy cuboidsN_{\mathrm{hierarchy\ cuboids}}, NbaseN_{\mathrm{base}}, Ncube rowsN_{\mathrm{cube\ rows}}, Nrollup groupsN_{\mathrm{rollup\ groups}}, Nrollup rowsN_{\mathrm{rollup\ rows}}CountsGrouping sets differ from output rows.
Mergeable aggregate statenjn_j, NN, SjS_j, SxS_x, QjQ_j, QxQ_xCount; input units; squared input unitsCounts, sums, squared sums over the same observations.
SQL precision/scale; integer-domain endpointspp, ss; LL, UUDigits; input unitsPrecision/scale in 8.1; inclusive integer endpoints in 2.5.

Revise offline: the whole Databases and Data Warehousing handbook as one PDF

58 pages · 2.7 MBFree to read online. Sign in to download the PDF.We save the handbook, version and request time in My downloads. Privacy policy

All chapters · Corrections