Green-IT und Datenbanken - ODBMS
Green-IT und Datenbanken - ODBMS
Green-IT und Datenbanken - ODBMS
Erfolgreiche ePaper selbst erstellen
Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.
Relative Kosten = 1069147870<br />
Abfrageplan<br />
Call module B, which populates temp-file C.<br />
Read temp-file C, looping on [expression] and a counter.<br />
For each row:<br />
Output the row.<br />
module B<br />
6.2 Energieeffizienz <strong>und</strong> Indizes<br />
Read master map SQLUser.LINE<strong>IT</strong>EM.LINE<strong>IT</strong>EMPRIMARYIDX, looping on L_ORDERKEY and<br />
L_LINENUMBER.<br />
For each row:<br />
Read master map SQLUser.PART.PARTPRIMARYIDX, using the given idkey value.<br />
Read master map SQLUser.SUPPLIER.SUPPLIERPRIMARYIDX, using the given idkey value.<br />
Read master map SQLUser.NATION.NATIONPRIMARYIDX, using the given idkey value.<br />
Read master map SQLUser.ORDERS.ORDERSPRIMARYIDX, using the given idkey value.<br />
Read master map SQLUser.CUSTOMER.CUSTORMERPRIMARYIDX, using the given idkey<br />
value.<br />
Read master map SQLUser.NATION.NATIONPRIMARYIDX, using the given idkey value.<br />
Read master map SQLUser.REGION.REGIONPRIMARYIDX, using the given idkey value.<br />
Check distinct values for [expression] using temp-file B,<br />
subscripted by a hashing of these values.<br />
For each distinct row:<br />
Add a row to temp-file C, subscripted by [expression] and a counter,<br />
with node data of L_DISCOUNT, L_EXTENDEDPRICE, %SQLUPPER(N_NAME),<br />
O_ORDERDATE, the hashing, and [value].<br />
Update the accumulated sum([expression]) in temp-file B,<br />
subscripted by the hashing.<br />
Update the accumulated sum([expression]) in temp-file B,<br />
subscripted by the hashing.<br />
Abbildung 6.7: Abfrageplan TPC-H Abfrage 8 ohne zusätzlichen Index.<br />
103