summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/utthesis/icde-11.ps
blob: 2bc25582c5f4799c2aea24cde36b1599441b3542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
%!PS-Adobe-2.0
%%Creator: dvips 5.55 Copyright 1986, 1994 Radical Eye Software
%%Title: paper.dvi
%%CreationDate: Tue Oct 11 09:30:40 1994
%%Pages: 10
%%PageOrder: Ascend
%%BoundingBox: 0 0 612 792
%%DocumentFonts: Times-Roman Times-Italic Times-Bold Courier
%%EndComments
%DVIPSCommandLine: dvips -D 600 paper -o
%DVIPSParameters: dpi=600, comments removed
%DVIPSSource:  TeX output 1994.10.11:0929
%%BeginProcSet: tex.pro
/TeXDict 250 dict def TeXDict begin /N{def}def /B{bind def}N /S{exch}N
/X{S N}B /TR{translate}N /isls false N /vsize 11 72 mul N /hsize 8.5 72
mul N /landplus90{false}def /@rigin{isls{[0 landplus90{1 -1}{-1 1}
ifelse 0 0 0]concat}if 72 Resolution div 72 VResolution div neg scale
isls{landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div
hsize mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul
TR[matrix currentmatrix{dup dup round sub abs 0.00001 lt{round}if}
forall round exch round exch]setmatrix}N /@landscape{/isls true N}B
/@manualfeed{statusdict /manualfeed true put}B /@copies{/#copies X}B
/FMat[1 0 0 -1 0 0]N /FBB[0 0 0 0]N /nn 0 N /IE 0 N /ctr 0 N /df-tail{
/nn 8 dict N nn begin /FontType 3 N /FontMatrix fntrx N /FontBBox FBB N
string /base X array /BitMaps X /BuildChar{CharBuilder}N /Encoding IE N
end dup{/foo setfont}2 array copy cvx N load 0 nn put /ctr 0 N[}B /df{
/sf 1 N /fntrx FMat N df-tail}B /dfs{div /sf X /fntrx[sf 0 0 sf neg 0 0]
N df-tail}B /E{pop nn dup definefont setfont}B /ch-width{ch-data dup
length 5 sub get}B /ch-height{ch-data dup length 4 sub get}B /ch-xoff{
128 ch-data dup length 3 sub get sub}B /ch-yoff{ch-data dup length 2 sub
get 127 sub}B /ch-dx{ch-data dup length 1 sub get}B /ch-image{ch-data
dup type /stringtype ne{ctr get /ctr ctr 1 add N}if}B /id 0 N /rw 0 N
/rc 0 N /gp 0 N /cp 0 N /G 0 N /sf 0 N /CharBuilder{save 3 1 roll S dup
/base get 2 index get S /BitMaps get S get /ch-data X pop /ctr 0 N ch-dx
0 ch-xoff ch-yoff ch-height sub ch-xoff ch-width add ch-yoff
setcachedevice ch-width ch-height true[1 0 0 -1 -.1 ch-xoff sub ch-yoff
.1 sub]{ch-image}imagemask restore}B /D{/cc X dup type /stringtype ne{]}
if nn /base get cc ctr put nn /BitMaps get S ctr S sf 1 ne{dup dup
length 1 sub dup 2 index S get sf div put}if put /ctr ctr 1 add N}B /I{
cc 1 add D}B /bop{userdict /bop-hook known{bop-hook}if /SI save N @rigin
0 0 moveto /V matrix currentmatrix dup 1 get dup mul exch 0 get dup mul
add .99 lt{/QV}{/RV}ifelse load def pop pop}N /eop{SI restore showpage
userdict /eop-hook known{eop-hook}if}N /@start{userdict /start-hook
known{start-hook}if pop /VResolution X /Resolution X 1000 div /DVImag X
/IE 256 array N 0 1 255{IE S 1 string dup 0 3 index put cvn put}for
65781.76 div /vsize X 65781.76 div /hsize X}N /p{show}N /RMat[1 0 0 -1 0
0]N /BDot 260 string N /rulex 0 N /ruley 0 N /v{/ruley X /rulex X V}B /V
{}B /RV statusdict begin /product where{pop product dup length 7 ge{0 7
getinterval dup(Display)eq exch 0 4 getinterval(NeXT)eq or}{pop false}
ifelse}{false}ifelse end{{gsave TR -.1 .1 TR 1 1 scale rulex ruley false
RMat{BDot}imagemask grestore}}{{gsave TR -.1 .1 TR rulex ruley scale 1 1
false RMat{BDot}imagemask grestore}}ifelse B /QV{gsave newpath transform
round exch round exch itransform moveto rulex 0 rlineto 0 ruley neg
rlineto rulex neg 0 rlineto fill grestore}B /a{moveto}B /delta 0 N /tail
{dup /delta X 0 rmoveto}B /M{S p delta add tail}B /b{S p tail}B /c{-4 M}
B /d{-3 M}B /e{-2 M}B /f{-1 M}B /g{0 M}B /h{1 M}B /i{2 M}B /j{3 M}B /k{
4 M}B /w{0 rmoveto}B /l{p -4 w}B /m{p -3 w}B /n{p -2 w}B /o{p -1 w}B /q{
p 1 w}B /r{p 2 w}B /s{p 3 w}B /t{p 4 w}B /x{0 S rmoveto}B /y{3 2 roll p
a}B /bos{/SS save N}B /eos{SS restore}B end
%%EndProcSet
%%BeginProcSet: /u/ddas/tex/pstricks/ps/pstricks.pro
% PostScript prologue for pstricks.tex.
% Created 1993/3/12. Source file was pstricks.doc
% Version 0.93a, 93/03/12.
% For use with Rokicki's dvips.
/tx@Dict 200 dict def tx@Dict begin
/ADict 25 dict def
/CM { matrix currentmatrix } bind def
/SLW /setlinewidth load def
/CLW /currentlinewidth load def
/CP /currentpoint load def
/ED { exch def } bind def
/L /lineto load def
/T /translate load def
/Atan { /atan load stopped { pop pop 0 } if } def
/Div { dup 0 eq { pop } { div } ifelse } def
/NET { neg exch neg exch T } def
/Pyth { dup mul exch dup mul add sqrt } def
/PtoC { 2 copy cos mul 3 1 roll sin mul } def
/PathLength@ { /z z y y1 sub x x1 sub Pyth add def /y1 y def /x1 x def }
def
/PathLength { flattenpath /z 0 def { /y1 ED /x1 ED /y2 y1 def /x2 x1 def
} { /y ED /x ED PathLength@ } {} { /y y2 def /x x2 def PathLength@ }
pathforall z } def
/STP { .996264 dup scale } def
/STV { SDict begin normalscale end STP  } def
/DashLine { dup 0 gt { /a .5 def PathLength exch div } { pop /a 1 def
PathLength } ifelse /b ED /x ED /y ED /z y x add def b a .5 sub 2 mul y
mul sub z Div round z mul a .5 sub 2 mul y mul add b exch Div dup y mul
/y ED x mul /x ED x 0 eq y 0 eq and { /x 1 def /y 1 def } if [ y x ] 1 a
sub y mul setdash stroke } def
/DotLine { /b PathLength def /a ED /z ED /y CLW def /z y z add def a 0 gt
{ /b b a div def } { a 0 eq { /b b y sub def } { a -3 eq { /b b y add
def } if } ifelse } ifelse [ 0 b b z Div round Div dup 0 le { pop 1 } if
] a 0 gt { 0 } { y 2 div a -2 gt { neg } if } ifelse setdash 1
setlinecap stroke } def
/LineFill { abs CLW add /a ED gsave clip pathbbox a Div ceiling /y2 ED
/x2 ED a Div floor /y1 ED /x1 ED /n y2 y1 sub 1 add cvi def /y1 a y1 mul
def newpath 2 setlinecap n { currentstrokeadjust == x1 y1 moveto x2 y1 L
stroke /y1 y1 a add def } repeat grestore } def
/LineFill { abs CLW add /a ED gsave clip pathbbox a Div ceiling /y2 ED
/x2 ED a Div floor /y1 ED /x1 ED /n y2 y1 sub 1 add cvi def /y1 a y1 mul
def newpath 2 setlinecap systemdict /currentstrokeadjust known {
currentstrokeadjust } { false } ifelse { /t { } def } { /t { transform
0.25 sub round 0.25 add exch 0.25 sub round 0.25 add exch itransform }
bind def } ifelse n { x1 y1 t moveto x2 y1 t L stroke /y1 y1 a add def }
repeat grestore } def
/BeginArrow { ADict begin /@mtrx CM def gsave 2 copy T 2 index sub neg
exch 3 index sub exch Atan rotate newpath } def
/EndArrow { @mtrx setmatrix CP grestore end } def
/Arrow { CLW mul add dup 2 div /w ED mul dup /h ED mul /a ED { 0 h T 1 -1
scale } if w neg h moveto 0 0 L w h L w neg a neg rlineto gsave fill
grestore } def
/Tbar { CLW mul add /z ED z -2 div CLW 2 div moveto z 0 rlineto stroke 0
CLW moveto } def
/Bracket { CLW mul add dup CLW sub 2 div /x ED mul CLW add /y ED /z CLW 2
div def x neg y moveto x neg CLW 2 div L x CLW 2 div L x y L stroke 0
CLW moveto } def
/RoundBracket { CLW mul add dup 2 div /x ED mul /y ED /mtrx CM def 0 CLW
2 div T x y mul 0 ne { x y scale } if 1 1 moveto .85 .5 .35 0 0 0
curveto -.35 0 -.85 .5 -1 1 curveto mtrx setmatrix stroke 0 CLW moveto }
def
/Shadow { [ { /moveto load } { /lineto load } { /curveto load } {
/closepath load } pathforall ] cvx newpath 3 1 roll T exec } def
/SD { 0 360 arc fill } def
/SQ { /r ED r r moveto r r neg L r neg r neg L r neg r L fill } def
/ST { /y ED /x ED x y moveto x neg y L 0 x L fill } def
/SP { /r ED gsave 0 r moveto 4 { 72 rotate 0 r L } repeat fill grestore }
def
/NArray { aload length 2 div dup dup cvi eq not { exch pop } if /n exch
cvi def } def
/NArray { /f ED counttomark 2 div dup cvi /n ED n eq not { exch pop } if
f { ] aload /Points ED } { n 2 mul 1 add -1 roll pop } ifelse } def
/Line { NArray n 0 eq not { n 1 eq { 0 0 /n 2 def } if ArrowA /n n 2 sub
def n { Lineto } repeat CP 4 2 roll ArrowB L pop pop } if } def
/Arcto { /a [ 6 -2 roll ] cvx def a r /arcto load stopped { 5 } { 4 }
ifelse { pop } repeat a } def
/CheckClosed { dup n 2 mul 1 sub index eq 2 index n 2 mul 1 add index eq
and { pop pop /n n 1 sub def } if } def
/Polygon { NArray n 2 eq { 0 0 /n 3 def } if n 3 lt { n { pop pop }
repeat } { n 3 gt { CheckClosed } if n 2 mul -2 roll /y0 ED /x0 ED /y1
ED /x1 ED x1 y1 /x1 x0 x1 add 2 div def /y1 y0 y1 add 2 div def x1 y1
moveto /n n 2 sub def n { Lineto } repeat x1 y1 x0 y0 6 4 roll Lineto
Lineto pop pop closepath } ifelse } def
/CCA { /y ED /x ED 2 copy y sub /dy1 ED x sub /dx1 ED /l1 dx1 dy1 Pyth
def } def
/CCA { /y ED /x ED 2 copy y sub /dy1 ED x sub /dx1 ED /l1 dx1 dy1 Pyth
def } def
/CC { /l0 l1 def /x1 x dx sub def /y1 y dy sub def /dx0 dx1 def /dy0 dy1
def CCA /dx dx0 l1 c exp mul dx1 l0 c exp mul add def /dy dy0 l1 c exp
mul dy1 l0 c exp mul add def /m dx0 dy0 Atan dx1 dy1 Atan sub 2 div cos
abs b exp a mul dx dy Pyth Div 2 div def /x2 x l0 dx mul m mul sub def
/y2 y l0 dy mul m mul sub def /dx l1 dx mul m mul neg def /dy l1 dy mul
m mul neg def } def
/IC { /c c 1 add def c 0 lt { /c 0 def } { c 3 gt { /c 3 def } if }
ifelse /a a 2 mul 3 div 45 cos b exp div def CCA /dx 0 def /dy 0 def }
def
/BOC { IC CC x2 y2 x1 y1 ArrowA CP 4 2 roll x y curveto } def
/NC { CC x1 y1 x2 y2 x y curveto } def
/EOC { x dx sub y dy sub 4 2 roll ArrowB 2 copy curveto } def
/BAC { IC CC x y moveto CC x1 y1 CP ArrowA } def
/NAC { x2 y2 x y curveto CC x1 y1 } def
/EAC { x2 y2 x y ArrowB curveto pop pop } def
/OpenCurve { NArray n 3 lt { n { pop pop } repeat } { BOC /n n 3 sub def
n { NC } repeat EOC } ifelse } def
/AltCurve { { false NArray n 2 mul 2 roll [ n 2 mul 3 sub 1 roll ] aload
/Points ED n 2 mul -2 roll } { false NArray } ifelse n 4 lt { n { pop
pop } repeat } { BAC /n n 4 sub def n { NAC } repeat EAC } ifelse } def
/ClosedCurve { NArray n 3 lt { n { pop pop } repeat } { n 3 gt {
CheckClosed } if 6 copy n 2 mul 6 add 6 roll IC CC x y moveto n { NC }
repeat closepath pop pop } ifelse } def
/EndDot { { /z DS def } { /z 0 def } ifelse /b ED 0 z DS SD b { 0 z DS
CLW sub SD } if 0 DS z add CLW 4 div sub moveto } def
/Rect { x1 y1 y2 add 2 div moveto x1 y2 lineto x2 y2 lineto x2 y1 lineto
x1 y1 lineto closepath } def
/OvalFrame { x1 x2 eq y1 y2 eq or { pop pop x1 y1 moveto x2 y2 L } { y1
y2 sub abs x1 x2 sub abs 2 copy gt { exch pop } { pop } ifelse 2 div
exch { dup 3 1 roll mul exch } if 2 copy lt { pop } { exch pop } ifelse
/b ED x1 y1 y2 add 2 div moveto x1 y2 x2 y2 b arcto x2 y2 x2 y1 b arcto
x2 y1 x1 y1 b arcto x1 y1 x1 y2 b arcto 16 { pop } repeat closepath }
ifelse } def
/Frame { CLW mul /a ED 3 -1 roll 2 copy gt { exch } if a sub /y2 ED a add
/y1 ED 2 copy gt { exch } if a sub /x2 ED a add /x1 ED 1 index 0 eq {
pop pop Rect } { OvalFrame } ifelse } def
/Parab { /y0 exch def /x0 exch def /y1 exch def /x1 exch def /dx x0 x1
sub 3 div def /dy y0 y1 sub 3 div def x0 dx sub y0 dy add x1 y1 ArrowA
x0 dx add y0 dy add x0 2 mul x1 sub y1 ArrowB curveto /Points [ x1 y1 x0
y0 x0 2 mul x1 sub y1 ] def } def
/Grid { /a 4 string def /b ED /d ED /n ED cvi dup 1 lt { pop 1 } if /c ED
c div dup 0 eq { pop 1 } if /cy ED c div dup 0 eq { pop 1 } if /cx ED cy
div cvi /y ED cx div cvi /x ED cy div cvi /y2 ED cx div cvi /x2 ED cy
div cvi /y1 ED cx div cvi /x1 ED /h y2 y1 sub 0 gt { 1 } { -1 } ifelse
def /w x2 x1 sub 0 gt { 1 } { -1 } ifelse def b 0 gt { /z1 b 4 div CLW 2
div add def /Helvetica findfont b scalefont setfont /b b .95 mul CLW 2
div add def } if gsave n 0 gt { 1 setlinecap [ 0 cy n div ] 0 setdash }
{ 2 setlinecap } ifelse /c x1 def /i 500 w mul x1 add def /e y cy mul
def /f y1 cy mul def /g y2 cy mul def x1 cx mul 0 T { newpath 0 e moveto
b 0 gt { gsave d c a cvs dup stringwidth pop /z2 ED w 0 gt {z1} {z1 z2
add neg} ifelse h 0 gt {b neg} {z1} ifelse rmoveto show grestore } if 0
f moveto 0 g L stroke cx w mul 0 T c x2 eq c i eq or {exit} if /c c w
add def } loop grestore gsave n 0 gt { 1 setlinecap [ 0 cx n div ] 0
setdash } { 2 setlinecap } ifelse /c y1 def /i 500 h mul y1 add def /e x
cx mul def /f x1 cx mul def /g x2 cx mul def 0 y1 cy mul T { newpath e 0
moveto b 0 gt { gsave d c a cvs dup stringwidth pop /z2 ED w 0 gt {z1 z2
add neg} {z1} ifelse h 0 gt {z1} {b neg} ifelse rmoveto show grestore }
if f 0 moveto g 0 L stroke 0 cy h mul T c y2 eq c i eq or {exit} if /c c
h add def } loop grestore } def
/ArcArrow { /d ED /b ED /a ED gsave newpath 0 -1000 moveto clip newpath 0
1 0 0 b grestore c mul /e ED pop pop pop r a e d PtoC y add exch x add
exch r a PtoC y add exch x add exch b pop pop pop pop a e d CLW 8 div c
mul neg d } def
/Ellipse { /mtrx CM def T scale 0 0 1 5 3 roll arc mtrx setmatrix } def
/Rot { CP CP translate 3 -1 roll neg rotate NET  } def
/PutCoor { gsave CP T CM STV exch exec moveto setmatrix CP grestore } def
/PutBegin { /lmtrx [ tx@Dict /lmtrx known { lmtrx aload pop } if CM ] def
CP 4 2 roll T moveto } def
/PutEnd { CP /lmtrx [ lmtrx aload pop setmatrix ] def moveto } def
/Uput { /a ED add 2 div /h ED 2 div /w ED /s a sin def /c a cos def /b s
abs c abs 2 copy gt dup /q ED { pop } { exch pop } ifelse def /w1 c b
div w mul def /h1 s b div h mul def q { w1 abs w sub dup c mul abs } {
h1 abs h sub dup s mul abs } ifelse } def
/UUput { /z ED abs /y ED /x ED q { x s div c mul abs y gt } { x c div s
mul abs y gt } ifelse { x x mul y y mul sub z z mul add sqrt z add } { q
{ x s div } { x c div } ifelse abs } ifelse a PtoC h1 add exch w1 add
exch } def
/BeginOL { dup (all) eq exch TheOL eq or { IfVisible not { CP OLUnit T
moveto /IfVisible true def } if } { IfVisible { CP OLUnit NET moveto
/IfVisible false def } if } ifelse } def
/InitOL { /OLUnit [ gsave CM STV 2890.79999 dup moveto setmatrix CP
grestore ] cvx def /BOL { BeginOL } def /IfVisible true def } def
end
%%EndProcSet
%%BeginProcSet: /u/ddas/tex/pstricks/ps/pst-node.pro
% PostScript prologue for pst-node.tex.
% Created 1993/3/12. Source file was pst-node.doc
% Version 0.93a, 93/03/12.
% For use with Rokicki's dvips.
/tx@NodeDict 200 dict def tx@NodeDict begin
/NewNode { gsave /next ED dict dup 3 -1 roll ED begin tx@Dict begin STV
CP T exec end /NodeMtrx CM def next end grestore } def
/InitPnode { /Y ED /X ED /NodePos { Nodesep Cos mul Nodesep Sin mul } def
} def
/InitCnode { /r ED /Y ED /X ED /NodePos { Nodesep r add dup Cos mul exch
Sin mul } def } def
/GetRnodePos { Cos 0 gt { /dx r Nodesep add def } { /dx l Nodesep sub def
} ifelse Sin 0 gt { /dy u Nodesep add def } { /dy d Nodesep sub def }
ifelse dx Sin mul abs dy Cos mul abs gt { dy Cos mul Sin div dy } { dx
dup Sin mul Cos Div } ifelse } def
/InitRnode { /r ED r mul neg /l ED /r r l add def /X l neg def { neg /d
ED /u ED /Y 0 def } { neg /Y ED Y sub /u ED u mul neg /d ED /u u d add
def /Y Y d sub def } ifelse /NodePos { GetRnodePos } def } def
/InitRNode { /Y ED /X ED /r ED /X r 2 div X add def /r r X sub def /l X
neg def Y add neg /d ED Y sub /u ED /NodePos { GetRnodePos } def } def
/GetOnodePos { /ww w Nodesep add def /hh h Nodesep add def Sin ww mul Cos
hh mul Atan dup cos ww mul exch sin hh mul } def
/GetCenter { begin X Y NodeMtrx transform CM itransform end } def
/GetAngle { nodeA GetCenter nodeB GetCenter 3 -1 roll sub 3 1 roll sub
neg Atan  } def
/GetEdge { begin /Nodesep ED dup 1 0 NodeMtrx dtransform CM idtransform
exch atan sub dup sin /Sin ED cos /Cos ED NodePos Y add exch X add exch
NodeMtrx transform CM itransform end 4 2 roll 1 index 0 eq { pop pop } {
2 copy 5 2 roll cos mul add 4 1 roll sin mul sub exch } ifelse } def
/GetPos { OffsetA AngleA NodesepA nodeA GetEdge /y1 ED /x1 ED OffsetB
AngleB NodesepB nodeB GetEdge /y2 ED /x2 ED } def
/InitNC { /nodeB ED /nodeA ED /NodesepB ED /NodesepA ED /OffsetB ED
/OffsetA ED tx@NodeDict nodeA known tx@NodeDict nodeB known and dup {
/nodeA nodeA load def /nodeB nodeB load def } if } def
/LineMP { 4 copy 1 t sub mul exch t mul add 3 1 roll 1 t sub mul exch t
mul add exch 6 2 roll sub 3 1 roll sub Atan  } def
/NCCoor { GetAngle /AngleA ED /AngleB AngleA 180 add def GetPos /LPutVar
[ x2 x1 y2 y1 ] cvx def /LPutPos { LPutVar LineMP } def x1 y1 x2 y2 }
def
/NCLine { NCCoor tx@Dict begin ArrowB 4 2 roll ArrowA lineto end } def
/BezierMidpoint { /y3 ED /x3 ED /y2 ED /x2 ED /y1 ED /x1 ED /y0 ED /x0 ED
/t ED /cx x1 x0 sub 3 mul def /cy y1 y0 sub 3 mul def /bx x2 x1 sub 3
mul cx sub def /by y2 y1 sub 3 mul cy sub def /ax x3 x0 sub cx sub bx
sub def /ay y3 y0 sub cy sub by sub def ax t 3 exp mul bx t t mul mul
add cx t mul add x0 add ay t 3 exp mul by t t mul mul add cy t mul add
y0 add 3 ay t t mul mul mul 2 by t mul mul add cy add 3 ax t t mul mul
mul 2 bx t mul mul add cx add atan } def
/GetArms { /x1a armA AngleA cos mul x1 add def /y1a armA AngleA sin mul
y1 add def /x2a armB AngleB cos mul x2 add def /y2a armB AngleB sin mul
y2 add def } def
/NCCurve { GetPos x1 x2 sub y1 y2 sub Pyth 2 div dup 3 -1 roll mul /armA
ED mul /armB ED GetArms x1a y1a x1 y1 tx@Dict begin ArrowA end x2a y2a
x2 y2 tx@Dict begin ArrowB end curveto /LPutVar [ x1 y1 x1a y1a x2a y2a
x2 y2 ] cvx def /LPutPos { t LPutVar BezierMidpoint } def } def
/AnglesMP { LPutVar t 3 gt { /t t 3 sub def } { t 2 gt { /t t 2 sub def
10 -2 roll } { t 1 gt { /t t 1 sub def 10 -4 roll } { 10 4 roll } ifelse
} ifelse } ifelse 6 { pop } repeat 3 -1 roll exch LineMP  } def
/NCAngles { GetPos GetArms /mtrx AngleA matrix rotate def x1a y1a mtrx
transform pop x2a y2a mtrx transform exch pop mtrx itransform /y0 ED /x0
ED mark armB 0 ne { x2 y2 } if x2a y2a x0 y0 x1a y1a armA 0 ne { x1 y1 }
if tx@Dict begin false Line end /LPutVar [ x2 y2 x2a y2a x0 y0 x1a y1a
x1 y1 ] cvx def /LPutPos { AnglesMP } def } def
/NCAngle { GetPos /x2a armB AngleB cos mul x2 add def /y2a armB AngleB
sin mul y2 add def /mtrx AngleA matrix rotate def x2a y2a mtrx transform
pop x1 y1 mtrx transform exch pop mtrx itransform /y0 ED /x0 ED mark
armB 0 ne { x2 y2 } if x2a y2a x0 y0 x1 y1 tx@Dict begin false Line end
/LPutVar [ x2 y2 x2 y2 x2a y2a x0 y0 x1 y1 ] cvx def /LPutPos { AnglesMP
} def } def
/NCBar { GetPos GetArms /mtrx AngleA matrix rotate def x1a y1a mtrx
transform pop x2a y2a mtrx transform pop sub dup 0 mtrx itransform 3 -1
roll 0 gt { /y2a exch y2a add def /x2a exch x2a add def } { /y1a exch
neg y1a add def /x2a exch neg x2a add def } ifelse mark x2 y2 x2a y2a
x1a y1a x1 y1 tx@Dict begin false Line end /LPutVar [ x2 y2 x2 y2 x2a
y2a x1a y1a x1 y1 ] cvx def /LPutPos { LPutVar AnglesMP } def } def
/NCDiag { GetPos GetArms mark x2 y2 x2a y2a x1a y1a x1 y1 tx@Dict begin
false Line end /LPutVar [ x2 y2 x2 y2 x2a y2a x1a y1a x1 y1 ] cvx def
/LPutPos { AnglesMP } def } def
/NCDiagg { OffsetA AngleA NodesepA nodeA GetEdge /y1 ED /x1 ED /x1a armA
AngleA cos mul x1 add def /y1a armA AngleA sin mul y1 add def nodeB
GetCenter y1a sub exch x1a sub Atan 180 add /AngleB ED OffsetB AngleB
NodesepB nodeB GetEdge /y2 ED /x2 ED mark x2 y2 x1a y1a x1 y1 tx@Dict
begin false Line end /LPutVar [ x2 y2 x2 y2 x2 y2 x1a y1a x1 y1] cvx def
/LPutPos { AnglesMP } def } def
/LoopMP { /t t abs def [ LPutVar ] length 2 div 1 sub dup t lt { /t ED }
{ pop } ifelse mark LPutVar t cvi { /t t 1 sub def pop pop } repeat
counttomark 1 add 4 roll cleartomark 3 -1 roll exch LineMP  } def
/NCLoop { GetPos GetArms /mtrx AngleA matrix rotate def x1a y1a mtrx
transform loopsize add /y1b ED /x1b ED /x2b x2a y2a mtrx transform pop
def x2b y1b mtrx itransform /y2b ED /x2b ED x1b y1b mtrx itransform /y1b
ED /x1b ED mark armB 0 ne { x2 y2 } if x2a y2a x2b y2b x1b y1b x1a y1a
armA 0 ne { x1 y1 } if tx@Dict begin false Line end /LPutVar [ x2 y2 x2a
y2a x2b y2b x1b y1b x1a y1a x1 y1 ] cvx def /LPutPos { LoopMP } def }
def
/NCCircle { nodeA GetCenter 0 0 NodesepA nodeA GetEdge pop 3 1 roll /Y ED
/X ED X sub 2 div dup 2 exp r r mul sub abs sqrt atan 2 mul /a ED r
AngleA 90 add PtoC Y add exch X add exch 2 copy /LPutVar [ 4 2 roll r a
] def /LPutPos { LPutVar aload pop t 360 mul add dup 5 1 roll 90 sub
PtoC 3 -1 roll add 3 1 roll add exch 3 -1 roll } def r AngleA 90 sub a
add AngleA 270 add a sub tx@Dict begin /angleB ED /angleA ED /r ED /c
57.2957 r Div def /y ED /x ED } def
/LPutCoor { tx@NodeDict /LPutPos known { gsave LPutPos tx@Dict begin
/langle ED CM 3 1 roll STV CP 3 -1 roll sub neg 3 1 roll sub exch moveto
setmatrix CP end grestore } { 0 0 tx@Dict /langle 0 def end } ifelse }
def
end
%%EndProcSet
%%BeginProcSet: texps.pro
TeXDict begin /rf{findfont dup length 1 add dict begin{1 index /FID ne 2
index /UniqueID ne and{def}{pop pop}ifelse}forall[1 index 0 6 -1 roll
exec 0 exch 5 -1 roll VResolution Resolution div mul neg 0 0]/Metrics
exch def dict begin Encoding{exch dup type /integertype ne{pop pop 1 sub
dup 0 le{pop}{[}ifelse}{FontMatrix 0 get div Metrics 0 get div def}
ifelse}forall Metrics /Metrics currentdict end def[2 index currentdict
end definefont 3 -1 roll makefont /setfont load]cvx def}def
/ObliqueSlant{dup sin S cos div neg}B /SlantFont{4 index mul add}def
/ExtendFont{3 -1 roll mul exch}def /ReEncodeFont{/Encoding exch def}def
end
%%EndProcSet
%%BeginProcSet: special.pro
TeXDict begin /SDict 200 dict N SDict begin /@SpecialDefaults{/hs 612 N
/vs 792 N /ho 0 N /vo 0 N /hsc 1 N /vsc 1 N /ang 0 N /CLIP 0 N /rwiSeen
false N /rhiSeen false N /letter{}N /note{}N /a4{}N /legal{}N}B
/@scaleunit 100 N /@hscale{@scaleunit div /hsc X}B /@vscale{@scaleunit
div /vsc X}B /@hsize{/hs X /CLIP 1 N}B /@vsize{/vs X /CLIP 1 N}B /@clip{
/CLIP 2 N}B /@hoffset{/ho X}B /@voffset{/vo X}B /@angle{/ang X}B /@rwi{
10 div /rwi X /rwiSeen true N}B /@rhi{10 div /rhi X /rhiSeen true N}B
/@llx{/llx X}B /@lly{/lly X}B /@urx{/urx X}B /@ury{/ury X}B /magscale
true def end /@MacSetUp{userdict /md known{userdict /md get type
/dicttype eq{userdict begin md length 10 add md maxlength ge{/md md dup
length 20 add dict copy def}if end md begin /letter{}N /note{}N /legal{}
N /od{txpose 1 0 mtx defaultmatrix dtransform S atan/pa X newpath
clippath mark{transform{itransform moveto}}{transform{itransform lineto}
}{6 -2 roll transform 6 -2 roll transform 6 -2 roll transform{
itransform 6 2 roll itransform 6 2 roll itransform 6 2 roll curveto}}{{
closepath}}pathforall newpath counttomark array astore /gc xdf pop ct 39
0 put 10 fz 0 fs 2 F/|______Courier fnt invertflag{PaintBlack}if}N
/txpose{pxs pys scale ppr aload pop por{noflips{pop S neg S TR pop 1 -1
scale}if xflip yflip and{pop S neg S TR 180 rotate 1 -1 scale ppr 3 get
ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg TR}if xflip yflip
not and{pop S neg S TR pop 180 rotate ppr 3 get ppr 1 get neg sub neg 0
TR}if yflip xflip not and{ppr 1 get neg ppr 0 get neg TR}if}{noflips{TR
pop pop 270 rotate 1 -1 scale}if xflip yflip and{TR pop pop 90 rotate 1
-1 scale ppr 3 get ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg
TR}if xflip yflip not and{TR pop pop 90 rotate ppr 3 get ppr 1 get neg
sub neg 0 TR}if yflip xflip not and{TR pop pop 270 rotate ppr 2 get ppr
0 get neg sub neg 0 S TR}if}ifelse scaleby96{ppr aload pop 4 -1 roll add
2 div 3 1 roll add 2 div 2 copy TR .96 dup scale neg S neg S TR}if}N /cp
{pop pop showpage pm restore}N end}if}if}N /normalscale{Resolution 72
div VResolution 72 div neg scale magscale{DVImag dup scale}if 0 setgray}
N /psfts{S 65781.76 div N}N /startTexFig{/psf$SavedState save N userdict
maxlength dict begin /magscale false def normalscale currentpoint TR
/psf$ury psfts /psf$urx psfts /psf$lly psfts /psf$llx psfts /psf$y psfts
/psf$x psfts currentpoint /psf$cy X /psf$cx X /psf$sx psf$x psf$urx
psf$llx sub div N /psf$sy psf$y psf$ury psf$lly sub div N psf$sx psf$sy
scale psf$cx psf$sx div psf$llx sub psf$cy psf$sy div psf$ury sub TR
/showpage{}N /erasepage{}N /copypage{}N /p 3 def @MacSetUp}N /doclip{
psf$llx psf$lly psf$urx psf$ury currentpoint 6 2 roll newpath 4 copy 4 2
roll moveto 6 -1 roll S lineto S lineto S lineto closepath clip newpath
moveto}N /endTexFig{end psf$SavedState restore}N /@beginspecial{SDict
begin /SpecialSave save N gsave normalscale currentpoint TR
@SpecialDefaults count /ocount X /dcount countdictstack N}N /@setspecial
{CLIP 1 eq{newpath 0 0 moveto hs 0 rlineto 0 vs rlineto hs neg 0 rlineto
closepath clip}if ho vo TR hsc vsc scale ang rotate rwiSeen{rwi urx llx
sub div rhiSeen{rhi ury lly sub div}{dup}ifelse scale llx neg lly neg TR
}{rhiSeen{rhi ury lly sub div dup scale llx neg lly neg TR}if}ifelse
CLIP 2 eq{newpath llx lly moveto urx lly lineto urx ury lineto llx ury
lineto closepath clip}if /showpage{}N /erasepage{}N /copypage{}N newpath
}N /@endspecial{count ocount sub{pop}repeat countdictstack dcount sub{
end}repeat grestore SpecialSave restore end}N /@defspecial{SDict begin}
N /@fedspecial{end}B /li{lineto}B /rl{rlineto}B /rc{rcurveto}B /np{
/SaveX currentpoint /SaveY X N 1 setlinecap newpath}N /st{stroke SaveX
SaveY moveto}N /fil{fill SaveX SaveY moveto}N /ellipse{/endangle X
/startangle X /yrad X /xrad X /savematrix matrix currentmatrix N TR xrad
yrad scale 0 0 1 startangle endangle arc savematrix setmatrix}N end
%%EndProcSet
TeXDict begin @defspecial

 TeXDict begin /box{newpath 2 copy moveto 3 copy pop exch lineto 4
copy pop pop lineto 4 copy exch pop exch pop lineto closepath } bind
def /min{ 2 copy gt { exch } if pop } bind def/max{ 2 copy lt { exch
} if pop } bind def/roundedbox{/radius exch store 3 2 roll 2 copy min
radius sub /miny exch store max radius add /maxy exch store 2 copy
min radius sub /minx exch store max radius add /maxx exch store newpath
minx radius add miny moveto maxx miny maxx maxy radius arcto maxx maxy
minx maxy radius arcto minx maxy minx miny radius arcto minx miny maxx
miny radius arcto 16 {pop} repeat closepath }bind def /rectcartouche{box
gsave .95 setgray fill grestore 1 setlinewidth stroke }bind def /cartouche{roundedbox
gsave .95 setgray fill grestore 1 setlinewidth stroke }bind def end

 TeXDict begin /box{newpath 2 copy moveto 3 copy pop exch lineto 4
copy pop pop lineto 4 copy exch pop exch pop lineto closepath } bind
def /min{ 2 copy gt { exch } if pop } bind def/max{ 2 copy lt { exch
} if pop } bind def/roundedbox{/radius exch store 3 2 roll 2 copy min
radius sub /miny exch store max radius add /maxy exch store 2 copy
min radius sub /minx exch store max radius add /maxx exch store newpath
minx radius add miny moveto maxx miny maxx maxy radius arcto maxx maxy
minx maxy radius arcto minx maxy minx miny radius arcto minx miny maxx
miny radius arcto 16 {pop} repeat closepath }bind def /rectcartouche{box
gsave .95 setgray fill grestore 1 setlinewidth stroke }bind def /cartouche{roundedbox
gsave .95 setgray fill grestore 1 setlinewidth stroke }bind def end
 
@fedspecial end TeXDict begin
40258431 52099146 1000 600 600
(/v/ahhnold/v3/ddas/research/papers/ICDE-11/paper.dvi)
@start /Fa 188[28 67[{}1 41.666668 /Times-Italic rf /Fb
1 60 df<38FEFEFFFFFF3B0303030706060E0C1C3830706008147A8614>59
D E /Fc 7 57 df<003FC00000FFF00003E07C0007C03E000F801F000F000F001E000780
1E0007803E0007C03E0007C07C0003E07C0003E07C0003E07C0003E07C0003E0FC0003F0
FC0003F0FC0003F0FC0003F0FC0003F0FC0003F0FC0003F0FC0003F0FC0003F0FC0003F0
FC0003F0FC0003F0FC0003F0FC0003F0FC0003F0FC0003F07C0003E07C0003E07C0003E0
7E0007E03E0007C03E0007C03E0007C01F000F800F000F000F801F0007C03E0003F0FC00
00FFF000003FC0001C2D7DAB23>48 D<000C00003C00007C0003FC00FFFC00FC7C00007C
00007C00007C00007C00007C00007C00007C00007C00007C00007C00007C00007C00007C
00007C00007C00007C00007C00007C00007C00007C00007C00007C00007C00007C00007C
00007C00007C00007C00007C00007C00007C00007C00007C00007C00007C0000FE007FFF
FE7FFFFE172C7AAB23>I<007F800001FFF0000780FC000E003F001C001F8038000FC070
000FC0600007E0F00007E0FC0007F0FE0007F0FE0003F0FE0003F0FE0003F07C0007F000
0007F0000007F0000007E000000FE000000FC000001FC000001F8000003F0000007E0000
007C000000F8000001F0000003E0000007C000000F8000001E0000003C00000078000000
F0003000E0003001C0003003800060070000600E0000E01FFFFFE03FFFFFE07FFFFFC0FF
FFFFC0FFFFFFC01C2C7DAB23>I<003FC00001FFF00007C0FC000E007E001C003F001C00
1F803F001FC03F001FC03F800FC03F000FC03F000FC00C001FC000001FC000001F800000
1F8000003F0000003E0000007C000000F8000003F00000FFC00000FFF0000000FC000000
3F0000001F8000001FC000000FC000000FE000000FE0000007F0000007F0380007F07C00
07F0FE0007F0FE0007F0FE0007F0FE000FE0F8000FE060000FC070001FC038001F801E00
3F000780FC0001FFF000007FC0001C2D7DAB23>I<00000E0000000E0000001E0000003E
0000003E0000007E000000FE000000FE000001BE000003BE0000033E0000063E00000E3E
00000C3E0000183E0000383E0000303E0000603E0000E03E0000C03E0001803E0003803E
0003003E0006003E000E003E000C003E0018003E0038003E0030003E0060003E00E0003E
00FFFFFFFCFFFFFFFC00003E0000003E0000003E0000003E0000003E0000003E0000003E
0000003E0000003E0000007F00001FFFFC001FFFFC1E2D7EAC23>I<0C0001800FC01F80
0FFFFF000FFFFE000FFFFC000FFFF0000FFFC0000C7E00000C0000000C0000000C000000
0C0000000C0000000C0000000C0000000C0000000C1FC0000C7FF8000DE07C000F801F00
0F001F800E000F800C0007C0000007E0000007E0000003E0000003F0000003F0000003F0
000003F0780003F0FC0003F0FC0003F0FC0003F0FC0003F0F80007E0E00007E0600007C0
70000FC038000F801C001F000E003E000780F80001FFE000007F80001C2D7DAB23>I<00
1FC00000FFF00003E07C0007801E000F000F001E0007801E0007803C0003C03C0003C03C
0003C03C0003C03E0003C03E0007C03F0007801FC00F801FE00F001FF81E000FFC3C0007
FFF80003FFE00000FFE000003FF80000FFFC0003C7FF000783FF801F00FFC01E003FC03C
001FE07C0007E0780003F0F80003F0F00001F0F00000F0F00000F0F00000F0F00000F0F8
0000E0780001E07C0001C03C0003C01E0007800F800F0007E03C0001FFF000003FC0001C
2D7DAB23>56 D E /Fd 135[50 3[50 50 3[50 50 50 50 2[50
2[50 50 1[50 50 50 97[{}13 83.333336 /Courier rf /Fe
1 49 df<038007C007C007C00F800F800F800F001F001E001E003E003C003C0038007800
780070007000E000E0000A157D9612>48 D E /Ff 6 104 df<FFFFFFFFFEFFFFFFFFFE
FFFFFFFFFE27037A8F34>0 D<003800003800003800003800003800403804F0381EF810
3E7E10FC0F11E003938000FE0000380000FE000393800F11E07E10FCF8103EF0381E4038
0400380000380000380000380000380017197B9A22>3 D<000000003000000000000000
380000000000000038000000000000003C000000000000001E000000000000000E000000
000000000F00000000000000078000000000000003C000007FFFFFFFFFE00000FFFFFFFF
FFF00000FFFFFFFFFFFC000000000000003E000000000000000F8000000000000007E000
000000000001FC000000000000007F800000000000003F80000000000000FC0000000000
0003F00000000000000F800000000000001F000000000000003C0000FFFFFFFFFFF80000
FFFFFFFFFFF000007FFFFFFFFFE000000000000003C00000000000000780000000000000
0F000000000000000E000000000000001E000000000000003C0000000000000038000000
0000000038000000000000003000000039237C9F42>41 D<00F001F803F803F803F807F0
07F007F007E007E00FC00FC00FC00F801F801F001F001F003E003E003C003C007C007800
78007000F000F000E0000D1D7D9F13>48 D<00007E0003FE0007E0000F00001E00003C00
003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00
003C00003C00003C00003C00003C00003C0000780000780000F00003E000FF8000FC0000
FF800003E00000F000007800007800003C00003C00003C00003C00003C00003C00003C00
003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00
001E00000F000007E00003FE00007E173B7BAB22>102 D<FC0000FF800007E00001F000
007800003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00
003C00003C00003C00003C00003C00003C00003C00003C00001E00001E00000F000007C0
0001FE00007E0001FE0007C0000F00001E00001E00003C00003C00003C00003C00003C00
003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00003C00
003C00003C0000780001F00007E000FF8000FC0000173B7BAB22>I
E /Fg 7 56 df<001C00007C0007FC00FFFC00FFFC00F8FC0000FC0000FC0000FC0000FC
0000FC0000FC0000FC0000FC0000FC0000FC0000FC0000FC0000FC0000FC0000FC0000FC
0000FC0000FC0000FC007FFFF87FFFF87FFFF8151C7B9B1F>49 D<03FE000FFFC03FFFF0
7E07F8F803FCFC01FCFC00FEFC00FEFC007E7800FE0000FE0000FE0001FC0001F80003F0
0007E0000F80003E00007C0000F00E01E00E07801C0FFFFC1FFFFC7FFFFCFFFFFCFFFFF8
FFFFF8171C7C9B1F>I<00FF800003FFE0000FFFF8001F01FC003E00FE003F007E003F00
7E003F007E003F00FE000C00FC000001FC000003F00000FFC00000FFF0000001FC000000
FE0000007F0000003F8000003F8030003F80FC003F80FC003F80FC003F80FC007F00F800
FF007E01FE003FFFF8000FFFF00001FF8000191D7D9B1F>I<0003F0000003F0000007F0
00000FF000001DF0000039F0000039F0000071F00000E1F00001C1F0000381F0000701F0
000701F0000E01F0001C01F0003801F0007001F000F001F000FFFFFF80FFFFFF80FFFFFF
800003F0000003F0000003F0000003F00000FFFF8000FFFF8000FFFF80191C7D9B1F>I<
3800783FFFF83FFFF03FFFE03FFF803FFE003FF0003C00003C00003C00003CFF003FFFC0
3F03F03E01F83C00FC38007C00007E00007E00007E78007EFC007EFC007EFC00FCF800FC
7801F87E03F03FFFE00FFF8003FE00171D7C9B1F>I<001FE00000FFF80003FFFC0007F0
3E000FC07E001F807E003F007E003E007E007E003C007E000000FC3F8000FCFFF000FDC0
FC00FF807E00FF003F00FE001F00FE001F80FC001F80FC001F80FC001F807C001F807E00
1F807E001F803E003F003F003F001F80FE000FFFF80003FFF000007F8000191D7D9B1F>
I<380000003FFFFF803FFFFF807FFFFF807FFFFF007FFFFE007FFFFC007000F800E001F0
00E003E0000007C000000F8000001F0000001F0000003E0000007E0000007C0000007C00
0000FC000000FC000000F8000001F8000001F8000001F8000001F8000001F8000001F800
0001F8000000F00000191D7C9B1F>I E /Fh 7 62 df<007C00000000600001FF000000
00F00003C380000001F0000700C0000001E0000E0060000003E0001E007000000FC0001C
003C00001F80003C003F00007F80003C001BE003FF00007C0018FFFF9E00007800181FFC
3E000078000C00007C0000F8000C0000780000F8000C0000F80000F8000C0001F00000F8
000C0001E00000F8000C0003E00000F8000C0007C00000F8000C0007800000F8000C000F
800000F8000C001F00000078000C001E000000780018003E0000007C0018007C0000003C
001800780000003C003000F80000001C003001F00000001E006001E00000000E006003E0
0000000700C007C000000003C380078000000001FF000F80000000007C001F0000000000
00001E0007C0000000003E001FF0000000007C003C38000000007800700C00000000F800
F00600000001F001E00600000001E001E00300000003E003C00300000007C003C0018000
00078007C0018000000F800780018000001F000780018000001E000F8000C000003E000F
8000C000007C000F8000C0000078000F8000C00000F8000F8000C00001F0000F8000C000
01E0000F8000C00003E0000F8000C00007C0000F8000C0000780000F8000C0000F800007
800180001F000007800180001E000007C00180003E000003C00180007C000003C0030000
78000001E0030000F8000001E0060001F0000000F0060001E0000000700C0003E0000000
3C380003C00000001FF000018000000007C0003A437BBD45>37 D<0003F80000001FFF00
00007E0FC00000F803E00003E000F80003C000780007C0007C000F80003E000F80003E00
1F00001F001F00001F003F00001F803F00001F803F00001F807E00000FC07E00000FC07E
00000FC07E00000FC07E00000FC0FE00000FE0FE00000FE0FE00000FE0FE00000FE0FE00
000FE0FE00000FE0FE00000FE0FE00000FE0FE00000FE0FE00000FE0FE00000FE0FE0000
0FE0FE00000FE0FE00000FE0FE00000FE0FE00000FE0FE00000FE0FE00000FE07E00000F
C07E00000FC07E00000FC07E00000FC07F00001FC03F00001F803F00001F803F00001F80
1F00001F001F00001F000F80003E000F80003E0007C0007C0003E000F80003E000F80000
F803E000007E0FC000001FFF00000007FC000023387DB62A>48 D<000180000007800000
0F8000003F800001FF8000FFFF8000FFDF8000FE1F8000001F8000001F8000001F800000
1F8000001F8000001F8000001F8000001F8000001F8000001F8000001F8000001F800000
1F8000001F8000001F8000001F8000001F8000001F8000001F8000001F8000001F800000
1F8000001F8000001F8000001F8000001F8000001F8000001F8000001F8000001F800000
1F8000001F8000001F8000001F8000001F8000001F8000001F8000001F8000001F800000
1F8000001F8000001F8000001F8000003FC0007FFFFFE07FFFFFE07FFFFFE01B3779B62A
>I<0007F80000003FFF000000FFFFC00001F00FE000038003F000070001F8000F0001FC
000FC001FE001FE000FE001FE000FF001FE000FF001FE000FF000FE000FF000FC000FF00
038000FF00000000FE00000000FE00000001FE00000001FC00000001F800000003F00000
0003E000000007C00000000F800000007F0000001FFC0000001FFF800000000FE0000000
03F000000001FC00000000FE00000000FF000000007F000000007F800000007FC0000000
3FC00000003FC00000003FE00000003FE03E00003FE07F00003FE0FF80003FE0FF80003F
E0FF80003FE0FF80003FC0FF00007FC07E00007F807C00007F80300000FF00380000FE00
1C0001FC000F0003F80007F00FF00001FFFFC000007FFF8000000FFC000023387DB62A>
51 D<0600000C000780003C0007F003F80007FFFFF00007FFFFE00007FFFFC00007FFFF
800007FFFF000007FFFC0000067FE0000006000000000600000000060000000006000000
000600000000060000000006000000000600000000060000000006000000000600000000
0607F80000063FFF000006F80F800007C003C000070001F000060000F800040000F80000
00007C000000007E000000007E000000003F000000003F000000003F000000003F800000
003F800000003F803C00003F807E00003F80FF00003F80FF00003F80FF00003F80FF0000
3F00FE00003F00FC00007F006000007E006000007E00300000FC00380000F800180001F8
000E0003F000070007E00003E03F800001FFFF0000007FFC0000001FE0000021387CB62A
>53 D<1C003E007F00FF80FF80FF807F003E001C00000000000000000000000000000000
0000000000000000000000000000000000000000001C003E007F00FF80FF80FF807F003E
001C00092479A317>58 D<7FFFFFFFFFFFF8FFFFFFFFFFFFFCFFFFFFFFFFFFFCFFFFFFFF
FFFFFC000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFC
FFFFFFFFFFFFFCFFFFFFFFFFFFFC7FFFFFFFFFFFF836167B9F41>61
D E /Fi 3 106 df<001FF00000FFFF0003E03FC00F801FE01F000FF01F800FF83FC007
F83FE007F83FE007F83FE007F83FE00FF83FE00FF01FC00FF007001FE000003FE000007F
800000FF00007FFC00007FF800007FFF0000003FC000000FF0000007F8000007FC0C0007
FC3F0003FE7F8003FEFFC003FEFFC003FEFFC003FEFFC003FEFFC003FC7F8007FC7F0007
F83F000FF01FC03FE007FFFFC001FFFF00003FF0001F277DA526>51
D<FFFFFFFF000000FFFFFFFFF00000FFFFFFFFFC000003FE0007FF000003FE00007FC000
03FE00003FE00003FE00000FF00003FE000007F80003FE000003F80003FE000003FC0003
FE000001FE0003FE000001FE0003FE000000FF0003FE000000FF0003FE000000FF0003FE
000000FF0003FE000000FF8003FE000000FF8003FE000000FF8003FE000000FF8003FE00
0000FF8003FE000000FF8003FE000000FF8003FE000000FF8003FE000000FF8003FE0000
00FF0003FE000000FF0003FE000000FF0003FE000001FE0003FE000001FE0003FE000003
FC0003FE000003FC0003FE000007F80003FE00000FF00003FE00001FE00003FE00007FC0
0003FE0003FF0000FFFFFFFFFE0000FFFFFFFFF00000FFFFFFFF00000031287DA739>68
D<0F801FC03FE03FE03FE03FE03FE01FC00F80000000000000000000000000FFE0FFE0FF
E00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00F
E00FE00FE0FFFCFFFCFFFC0E297CA816>105 D E /Fj 1 69 df<FFFFFFFFFF800000FF
FFFFFFFFF80000FFFFFFFFFFFF0000FFFFFFFFFFFFC000007FF80007FFF000007FF80000
7FF800007FF800001FFE00007FF800000FFF00007FF8000003FF80007FF8000001FFC000
7FF8000001FFC0007FF8000000FFE0007FF80000007FF0007FF80000007FF0007FF80000
003FF8007FF80000003FF8007FF80000003FFC007FF80000001FFC007FF80000001FFC00
7FF80000001FFE007FF80000001FFE007FF80000001FFE007FF80000001FFE007FF80000
001FFF007FF80000001FFF007FF80000001FFF007FF80000001FFF007FF80000001FFF00
7FF80000001FFF007FF80000001FFF007FF80000001FFF007FF80000001FFF007FF80000
001FFF007FF80000001FFF007FF80000001FFF007FF80000001FFE007FF80000001FFE00
7FF80000001FFE007FF80000001FFE007FF80000001FFC007FF80000003FFC007FF80000
003FFC007FF80000003FF8007FF80000007FF8007FF80000007FF0007FF8000000FFE000
7FF8000000FFE0007FF8000001FFC0007FF8000003FF80007FF8000007FF00007FF80000
1FFE00007FF800007FFC00007FF80007FFF000FFFFFFFFFFFFC000FFFFFFFFFFFF0000FF
FFFFFFFFFC0000FFFFFFFFFF80000040397DB849>68 D E /Fk 3
106 df<00000000003C00000000000000003C00000000000000003E0000000000000000
1E00000000000000001F00000000000000000F8000000000000000078000000000000000
07C00000000000000003E00000000000000001F00000000000000000F800000000000000
00FC00007FFFFFFFFFFFFE0000FFFFFFFFFFFFFF0000FFFFFFFFFFFFFF8000FFFFFFFFFF
FFFFC00000000000000003E00000000000000001F80000000000000000FE000000000000
00003F00000000000000001FE00000000000000007F80000000000000001FF0000000000
000001FF0000000000000007F8000000000000001FE0000000000000003F000000000000
0000FE0000000000000001F80000000000000003E000FFFFFFFFFFFFFFC000FFFFFFFFFF
FFFF8000FFFFFFFFFFFFFF00007FFFFFFFFFFFFE0000000000000000FC00000000000000
00F80000000000000001F00000000000000003E00000000000000007C000000000000000
0780000000000000000F80000000000000001F00000000000000001E0000000000000000
3E00000000000000003C00000000000000003C000000482E7BAB53>41
D<0000C00001E00003E00003E00003C00007C00007C0000780000F80000F80001F00001F
00001E00003E00003E00007C00007C0000780000F80000F80001F00001F00001E00003E0
0003E00003C00007C00007C0000F80000F80000F00001F00001F00003E00003E00003C00
007C00007C0000780000F80000F80000F80000F800007800007C00007C00003C00003E00
003E00001F00001F00000F00000F80000F800007C00007C00003C00003E00003E00001E0
0001F00001F00000F80000F800007800007C00007C00003E00003E00001E00001F00001F
00000F80000F800007800007C00007C00003C00003E00003E00001E00000C0135278BD20
>104 D<600000F00000F80000F800007800007C00007C00003C00003E00003E00001F00
001F00000F00000F80000F800007C00007C00003C00003E00003E00001F00001F00000F0
0000F80000F800007800007C00007C00003E00003E00001E00001F00001F00000F80000F
800007800007C00007C00003C00003E00003E00003E00003E00003C00007C00007C00007
80000F80000F80001F00001F00001E00003E00003E00007C00007C0000780000F80000F8
0000F00001F00001F00003E00003E00003C00007C00007C0000F80000F80000F00001F00
001F00003E00003E00003C00007C00007C0000780000F80000F80000F000006000001352
7CBD20>I E /Fl 3 111 df<70F8F8F87005057A8413>58 D<03FFFFC00003FFFFF80000
3C007E00003C001F00003C000F80003C000F800078000F800078000F800078000F800078
001F0000F0003E0000F000780000F003E00000FFFE000001E007000001E003C00001E001
C00001E001E00003C001E00003C001E00003C001E00003C001E000078003E000078003E0
60078003E060078003E0C0FFF801F0C0FFF800F1800000003E00231D7B9B2B>82
D<0F03F00033861C0021D81E0061F01E00C3E01E00C3C01E0003C01E0003C01E0007803C
0007803C0007803C00078078200F0078600F00F0600F00F0C00F00F0C01E0071800C003E
001B127D9125>110 D E /Fm 139[12 16 14 1[21 21 21 1[12
2[12 1[21 1[18 21 18 1[18 12[25 23 28 2[30 30 37 25 1[16
14 2[23 25 1[28 1[30 20[10 2[14 14 40[{}29 41.666668
/Times-Roman rf /Fn 3 52 df<00600001E0000FE000FFE000F1E00001E00001E00001
E00001E00001E00001E00001E00001E00001E00001E00001E00001E00001E00001E00001
E00001E00001E00001E00001E00001E00001E0007FFF807FFF80111C7B9B1C>49
D<03FC000FFF801C0FC03003E06001F0E000F0E000F8F00078F000786000780000F80000
F00001F00001E00003C0000700000E00001C0000300000E0000180180300180600180800
383FFFF07FFFF0FFFFF0FFFFF0151C7D9B1C>I<03FC000FFF001C07C03001E07001F078
01F07800F03001F00001F00001E00003C0000780001E0003FC000007800003C00001E000
00F00000F80000F86000F8F000F8F000F8E000F06001F07003E03C07C00FFF0003FC0015
1D7D9B1C>I E /Fo 81[32 51[26 29 29 1[29 29 16 23 19 1[29
29 29 45 16 1[16 16 29 29 19 26 29 26 29 26 7[42 2[42
42 36 32 39 42 32 42 42 52 2[23 19 1[42 32 36 42 39 1[42
1[26 5[29 29 29 29 29 29 29 29 29 3[19 15 2[19 19 40[{}57
58.333336 /Times-Roman rf /Fp 134[29 29 2[32 19 23 26
1[32 29 32 48 16 2[16 32 29 1[26 32 26 1[29 14[42 45
36 45 5[23 3[39 42 2[42 1[29 63[{}27 58.333336 /Times-Bold
rf /Fq 138[33 18 26 26 1[33 1[33 48 3[18 1[33 1[29 3[33
97[{}11 66.666664 /Times-Italic rf /Fr 7 56 df<00E00001E00007E000FFE000
F9E00001E00001E00001E00001E00001E00001E00001E00001E00001E00001E00001E000
01E00001E00001E00001E00001E00001E00001E00001E00001E00001E00001E00001E000
01E00001E00003F000FFFFC0FFFFC012217AA01E>49 D<01FC0007FF801C0FC03003E060
01F06000F8F800F8FC00FCFC00FCFC007C78007C3000FC0000FC0000F80000F80001F000
03E00003C0000780000F00001E0000380000700000E00001C00C03800C0600180C001818
00183FFFF87FFFF8FFFFF0FFFFF016217CA01E>I<00FF0003FFC00F03E01C00F01C00F8
3E00FC3E007C3E007C1E00FC0C00FC0000F80000F80001F00003E0000FC001FF0001FF00
0003E00000F000007800007C00003E00003F30003F78003FFC003FFC003FFC003EF8007E
60007C3800F81E03F00FFFC001FF0018227DA01E>I<0000E00001E00001E00003E00007
E00007E0000DE0001DE00039E00031E00061E000E1E000C1E00181E00381E00701E00601
E00C01E01C01E01801E03001E07001E0E001E0FFFFFFFFFFFF0001E00001E00001E00001
E00001E00001E00003F0003FFF003FFF18227DA11E>I<1000301E01F01FFFE01FFFC01F
FF801FFE001BF00018000018000018000018000018000018FE001BFF801F03C01C01E018
00F01800F800007800007800007C00007C30007C78007CF8007CF8007CF80078F000F860
00F07001E03801E01E078007FF0001F80016227CA01E>I<000FC0007FF001F03803C018
07803C0F007C1E007C1C00383C00003C00007C0000780000787FC0F8FFE0F980F0FA0038
FE003CFC001EFC001EF8001FF8001FF8001FF8001F78001F78001F78001F3C001E3C001E
1C003C1E00380F00700781E001FFC0007F0018227DA01E>I<3000003C00003FFFFF3FFF
FF7FFFFE7FFFFC60001C600038600070C000E0C000C00001C0000380000700000600000E
00001C00001C0000380000380000780000780000780000F00000F00000F00000F00001F0
0001F00001F00001F00001F00001F00001F00000E00018237CA11E>I
E /Fs 1 4 df<7FFFFFFFFFFFF8FFFFFFFFFFFFFCFFFFFFFFFFFFFCFFFFFFFFFFFFFCF0
00000000003CF000000000003CF000000000003CF000000000003CF000000000003CF000
000000003CF000000000003CF000000000003CF000000000003CF000000000003CF00000
0000003CF000000000003CF000000000003CF000000000003CF000000000003CF0000000
00003CF000000000003CF000000000003CF000000000003CF000000000003CF000000000
003CF000000000003CF000000000003CF000000000003CF000000000003CF00000000000
3CF000000000003CF000000000003CF000000000003CF000000000003CF000000000003C
F000000000003CF000000000003CF000000000003CF000000000003CF000000000003CF0
00000000003CF000000000003CF000000000003CF000000000003CF000000000003CF000
000000003CF000000000003CF000000000003CF000000000003CF000000000003CF00000
0000003CF000000000003CFFFFFFFFFFFFFCFFFFFFFFFFFFFCFFFFFFFFFFFFFC7FFFFFFF
FFFFF836387BB741>3 D E /Ft 18 112 df<387CFEFEFEFEFEFE7C7C7C7C7C7C7C7C7C
7C3838383838383838383810000000000038FEFEFEFEFE3807297BA813>33
D<0006000C00180030006000E001C00380038007000F000E001E001E001C003C003C003C
0078007800780078007800F800F000F000F000F000F000F000F000F000F000F000F000F8
00780078007800780078003C003C003C001C001E001E000E000F0007000380038001C000
E0006000300018000C00060F3B7AAB1A>40 D<C0006000300018000C000E000700038003
8001C001E000E000F000F00070007800780078003C003C003C003C003C003E001E001E00
1E001E001E001E001E001E001E001E001E003E003C003C003C003C003C00780078007800
7000F000F000E001E001C00380038007000E000C00180030006000C0000F3B7DAB1A>I<
00000E00000000000E00000000000E00000000000E00000000000E00000000000E000000
00000E00000000000E00000000000E00000000000E00000000000E00000000000E000000
00000E00000000000E00000000000E00000000000E00000000000E00000000000E000000
00000E00000000000E000000FFFFFFFFFFE0FFFFFFFFFFE0FFFFFFFFFFE000000E000000
00000E00000000000E00000000000E00000000000E00000000000E00000000000E000000
00000E00000000000E00000000000E00000000000E00000000000E00000000000E000000
00000E00000000000E00000000000E00000000000E00000000000E00000000000E000000
00000E0000002B2B7DA333>43 D<00380000780001F8001FF800FEF800E0F80000F80000
F80000F80000F80000F80000F80000F80000F80000F80000F80000F80000F80000F80000
F80000F80000F80000F80000F80000F80000F80000F80000F80000F80000F80000F80000
F80000F80000F80000F80001FC00FFFFF8FFFFF815267BA521>49
D<00FF000003FFE0000E03F0001800F80030007C0060003E0078001F00FC001F00FE001F
80FE001F80FE000F80FE000F807C000F8000001F8000001F0000001F0000003F0000003E
0000007C00000078000000F0000001E0000003C00000078000000F0000001C0000003800
000070018000E0018001C0018003800300060003000C0003001FFFFF003FFFFF007FFFFE
00FFFFFE00FFFFFE0019267DA521>I<00FF000003FFE0000F01F8001C007C0030003E00
3C003E007E003F007E001F007E001F007E003F003C003F0000003E0000003E0000007C00
0000F8000001F0000007E00001FF800001FF00000001E0000000F00000007C0000003E00
00003F0000001F0000001F8000001F8038001F807C001F80FE001F80FE001F80FE001F00
FC003F0078003E0070007C003800F8001F01F00007FFC00000FF000019277DA521>I<00
00380000003800000078000000F8000001F8000001F8000003F8000007F8000006F80000
0CF800001CF8000018F8000030F8000070F8000060F80000C0F80001C0F8000180F80003
00F8000700F8000E00F8000C00F8001C00F8003800F8003000F8006000F800E000F800FF
FFFFE0FFFFFFE00000F8000000F8000000F8000000F8000000F8000000F8000000F80000
01FC00003FFFE0003FFFE01B277EA621>I<18000C001F007C001FFFF8001FFFF0001FFF
E0001FFF800019FC00001800000018000000180000001800000018000000180000001800
0000187F000019FFE0001F81F0001E0078001C003C0018003E0000003E0000001F000000
1F0000001F8000001F8030001F807C001F80FC001F80FC001F80FC001F80FC001F00F000
1F0060003E0070003E0030007C001C00F8000F03E00003FFC00000FE000019277DA521>
I<000FE000003FF80000F81C0001E0060003801F0007003F000F003F001E003F001E003F
003C001E003C0000007C0000007800000078040000783FC000F8FFF000F9807800FB003C
00FA001E00FC001E00FC000F00FC000F00F8000F80F8000F80F8000F80F8000F8078000F
8078000F8078000F8078000F803C000F003C000F001C001E001E001E000E003C00070078
0003C0F00001FFC000007F000019277DA521>I<300000003C0000003FFFFFE03FFFFFE0
3FFFFFC07FFFFF807FFFFF807000070060000E0060000C00C0001C00C0003800C0007000
0000E0000000C0000001C000000380000003800000070000000F0000000E0000001E0000
001E0000001E0000003E0000003C0000003C0000007C0000007C0000007C0000007C0000
00FC000000FC000000FC000000FC000000FC000000FC000000FC000000FC000000780000
1B287DA621>I<387CFEFEFE7C380000000000000000000000387CFEFEFE7C3807197B98
13>58 D<387CFEFEFE7C380000000000000000000000387CFCFEFE7E3E0606060C0C0C18
1830702007247B9813>I<7FFFFFFFFFC0FFFFFFFFFFE0FFFFFFFFFFE000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000FFFFFFFFFFE0FFFFFFFFFFE07F
FFFFFFFFC02B117D9633>61 D<01FF000FFFE01E01F038007860007CF8003EFC003EFC00
3EFC003E78003E30007C00007C0000F80001F00003C0000780000F00000E00001C000018
000038000030000030000030000030000030000030000030000020000000000000000000
0000000000000000700001FC0001FC0001FC0001FC0001FC0000700017297DA81F>63
D<007E03E001FF8FF00781F8F00F00F0F01E0078001C0038003C003C003C003C003C003C
003C003C003C003C003C003C001C0038001E0078000F00F0000781E00009FF8000087E00
0018000000180000001C0000001E0000000FFFF0000FFFFC0007FFFF000FFFFF801C001F
C0380007C0780003E0F00001E0F00001E0F00001E0F00001E0780003C07C0007C03E000F
800FC07E0003FFF800007FC0001C277E9921>103 D<0F80FF80FF801F800F800F800F80
0F800F800F800F800F800F800F800F800F800F800F800F800F800F800F800F800F800F80
0F800F800F800F800F800F800F800F800F800F800F800F801FC0FFF8FFF80D287EA713>
108 D<003F800000FFE00003E0F80007803C000F001E001E000F003C0007803C00078078
0003C0780003C0780003C0F80003E0F80003E0F80003E0F80003E0F80003E0F80003E0F8
0003E0780003C0780003C07C0007C03C0007801E000F001F001F000F803E0003E0F80001
FFF000003F80001B1C7E9A21>111 D E /Fu 11 121 df<387CFEFEFE7C3807077A8614>
58 D<387CFEFFFF7F3B0303030606060C1838702008127A8614>I<E000000000F8000000
00FE000000003F800000000FE000000003F800000000FE000000003F800000000FE00000
0003F800000000FE000000003F800000000FE000000003F800000000FE000000003F8000
00000FE000000003F800000000FE000000003E00000000FE00000003F80000000FE00000
003F80000000FE00000003F80000000FE00000003F80000000FE00000003F80000000FE0
0000003F80000000FE00000003F80000000FE00000003F80000000FE00000000F8000000
00E00000000027277AA134>62 D<00000001800000000003800000000007800000000007
C0000000000FC0000000001FC0000000001FC00000000037C00000000037C00000000067
C000000000C7C000000000C7E00000000183E00000000383E00000000303E00000000603
E00000000E03E00000000C03E00000001803F00000001801F00000003001F00000006001
F00000006001F0000000C001F0000001C001F00000018001F0000003FFFFF8000003FFFF
F80000060000F800000C0000F800000C0000F80000180000F80000380000F80000300000
FC00006000007C0000E000007C0000C000007C0001C000007C0003C000007C000FC00000
FE00FFF8000FFFE0FFF8000FFFE02B2A7DA932>65 D<003FFFFFFFF8003FFFFFFFF80001
F80003F80001F00000F80001F00000780003F00000300003F00000300003E00000300003
E00000300007E00000300007E00000300007C00180300007C0018030000FC0038000000F
C0030000000F80030000000F80070000001F801F0000001FFFFE0000001FFFFE0000001F
001E0000003F000E0000003F000C0000003E000C0000003E000C0000007E001C01C0007E
00180180007C00000180007C0000038000FC0000070000FC0000070000F800000E0000F8
00000E0001F800001C0001F800003C0001F00000780001F00001F80003F0000FF000FFFF
FFFFF000FFFFFFFFE0002D287CA731>69 D<003FFFFFFFE0003FFFFFFFE00001F80007E0
0001F00003E00001F00001E00003F00000C00003F00000C00003E00000C00003E00000C0
0007E00000C00007E00000C00007C00000C00007C00300C0000FC0070000000FC0060000
000F80060000000F800E0000001F800E0000001F803C0000001FFFFC0000001FFFFC0000
003F003C0000003F00180000003E00180000003E00180000007E00380000007E00300000
007C00300000007C0000000000FC0000000000FC0000000000F80000000000F800000000
01F80000000001F80000000001F00000000001F00000000003F000000000FFFFE0000000
FFFFE00000002B287CA72A>I<000001FF000000001FFFE00000007E01F8000001F0007E
000007C0001F00000F80000F80001E000007C0007C000007C000F8000003E001F0000003
E001F0000001F003E0000001F007C0000001F00FC0000001F00F80000001F81F80000001
F81F00000001F83F00000001F83F00000001F07E00000003F07E00000003F07E00000003
F07E00000003F07E00000007E0FC00000007E0FC0000000FC0FC0000000FC0FC0000001F
80FC0000001F807C0000003F007E0000003E007E0000007E003E000000FC003E000001F8
001F000003F0001F800007C0000F80000F800007C0003F000003F000FC000000FC03F000
00003FFFC000000007FC0000002D2A7DA832>79 D<003FFFFFC000003FFFFFF8000001F8
00FE000001F0001F000001F0000F800003F0000FC00003F00007C00003E00007C00003E0
0007E00007E00007E00007E0000FC00007C0000FC00007C0000FC0000FC0001F80000FC0
001F00000F80003E00000F80007C00001F8001F000001F800FE000001FFFFF0000001FFF
FE0000003F001F0000003F0007C000003E0007C000003E0003E000007E0003E000007E00
03E000007C0003E000007C0003E00000FC0007E00000FC0007E00000F80007E00000F800
07E00001F80007E01001F80007E03001F00007E03001F00007E07003F00007E0E0FFFF80
03F1C0FFFF8001FF80000000007E002C297CA732>82 D<00001FE0080000FFFC180003E0
1E380007000770000E0003F000180001F000300000F000700000E000E00000E000E00000
E000E00000E001E00000C001E00000C001E000000001F000000000F800000000FE000000
007FE00000007FFE0000003FFFE000000FFFF0000001FFF80000001FFC00000001FE0000
00003E000000001F000000000F000000000F000000000F00180000070018000007003800
000E003000000E003800000C003800001C0078000038007C000070007E0000E000770003
C000E3E00F0000C0FFFE0000801FF00000252A7CA829>I<000E00001F00001F00001E00
000C0000000000000000000000000000000000000000000000000003E00007F0000C7800
183800303800303800607800607800C07800C0F00000F00001E00001E00001E00003C000
03C0000780000781800781800F01800F03000F03000F06000F0C000F1C0007F00001E000
11287DA617>105 D<00F807C001FE1FF0070738380E07B0381C03E0781803C0F83003C0
F83003C07060078000600780000007800000078000000F0000000F0000000F0000000F00
00001E0000001E0030001E0030301E0060783E0060F83E00C0F87E00C0F06E038061CF07
007F83FC001E01F8001D1B7D9926>120 D E /Fv 11 121 df<1C007F00FF80FF80FF80
FF80FF807F001C000909798817>58 D<1C007F00FF80FF80FFC0FFC0FFC07FC01CC000C0
00C000C000C001C00180018003800300070006000E001C003800700060000A19798817>
I<00000000006000000000000070000000000000F0000000000001F0000000000001F000
0000000003F0000000000003F0000000000007F000000000000FF000000000000FF00000
0000001FF800000000001FF8000000000033F8000000000073F8000000000063F8000000
0000C3F80000000000C3F8000000000183F8000000000183F8000000000303F800000000
0603F8000000000603FC000000000C03FC000000000C01FC000000001801FC0000000030
01FC000000003001FC000000006001FC000000006001FC00000000C001FC00000001C001
FC000000018001FC000000030001FE000000030001FE000000060000FE0000000E0000FE
0000000C0000FE000000180000FE0000001FFFFFFE0000003FFFFFFE0000003FFFFFFE00
0000600000FE000000C00000FE000000C00000FF000001800000FF0000018000007F0000
030000007F0000060000007F0000060000007F00000C0000007F00000C0000007F000018
0000007F0000380000007F0000700000007F0000F00000007F8001F80000007F8007F800
0000FF80FFFF80003FFFFFFFFF80007FFFFFFFFF80007FFFFF383C7DBB3E>65
D<0003FFFFFFFFFFF00007FFFFFFFFFFF00007FFFFFFFFFFF0000007F800003FF0000007
F0000007F0000007F0000003E000000FF0000001E000000FF0000000E000000FE0000000
E000000FE0000000E000001FE0000000E000001FE0000000E000001FC0000000E000001F
C0000000C000003FC0000000C000003FC0000000C000003F80003000C000003F80003000
C000007F80007000C000007F800070000000007F000060000000007F0000E000000000FF
0000E000000000FF0001E000000000FE0003C000000000FE000FC000000001FFFFFFC000
000001FFFFFFC000000001FFFFFF8000000001FC000F8000000003FC00078000000003FC
00078000000003F800030000000003F800030000000007F800070000000007F800070003
000007F000060003000007F00006000700000FF00006000600000FF00000000600000FE0
0000000E00000FE00000000C00001FE00000001C00001FE00000001800001FC000000038
00001FC00000003800003FC00000007000003FC0000000F000003F80000001E000003F80
000001E000007F80000007E000007F8000000FC000007F0000003FC00000FF000003FF80
00FFFFFFFFFFFF8000FFFFFFFFFFFF8000FFFFFFFFFFFF00003C397DB83D>69
D<0003FFFFFFFFFFE00007FFFFFFFFFFE00007FFFFFFFFFFE0000007F800003FE0000007
F000000FE0000007F0000003C000000FF0000003C000000FF0000001C000000FE0000001
C000000FE0000001C000001FE0000001C000001FE0000001C000001FC0000001C000001F
C00000018000003FC00000018000003FC00000018000003F800000018000003F80006001
8000007F8000E0018000007F8000E0000000007F0000C0000000007F0000C000000000FF
0001C000000000FF0001C000000000FE00038000000000FE00078000000001FE001F8000
000001FFFFFF8000000001FFFFFF0000000001FFFFFF0000000003FC001F0000000003FC
000F0000000003F8000E0000000003F8000E0000000007F8000E0000000007F8000E0000
000007F0000C0000000007F0000C000000000FF0001C000000000FF0001C000000000FE0
0000000000000FE00000000000001FE00000000000001FE00000000000001FC000000000
00001FC00000000000003FC00000000000003FC00000000000003F800000000000003F80
0000000000007F800000000000007F800000000000007F00000000000000FF8000000000
00FFFFFFC000000000FFFFFFC000000000FFFFFFC0000000003B397DB835>I<0003FFF8
00001FFFF80007FFFC00003FFFF80007FFFC00003FFFF8000007FC000001FF00000007FE
0000007C00000006FE000000780000000EFF000000700000000E7F000000700000000C7F
800000600000000C7F800000600000001C3F800000E00000001C3FC00000C0000000181F
C00000C0000000181FE00000C0000000381FE00001C0000000380FF0000180000000300F
F00001800000003007F00001800000007007F80003800000007003F80003000000006003
FC0003000000006003FC000300000000E001FC000700000000E001FE000600000000C000
FE000600000000C000FF000600000001C0007F000E00000001C0007F800C000000018000
7F800C0000000180003F800C0000000380003FC01C0000000380001FC018000000030000
1FE0180000000300000FE0180000000700000FF0380000000700000FF030000000060000
07F03000000006000007F8300000000E000003F8700000000E000003FC600000000C0000
03FC600000000C000001FE600000001C000001FEE00000001C000000FEC0000000180000
00FFC0000000180000007FC0000000380000007FC0000000380000007F80000000300000
003F80000000300000003F80000000700000001F80000000700000001F00000000F00000
000F00000007FC0000000F000000FFFFE000000F000000FFFFE0000006000000FFFFE000
000600000045397DB843>78 D<00000001FF00000000001FFFF000000000FE01FC000000
03F0007E00000007C0001F8000001F80000FC000003E000007E00000FC000003F00001F8
000003F00003F0000001F80007E0000001F8000FC0000000FC001F80000000FC003F0000
0000FE007F000000007E00FE000000007E00FC000000007F01FC000000007F03F8000000
007F03F8000000007F07F0000000007F07F0000000007F0FF0000000007F0FE000000000
7F1FE000000000FF1FE000000000FF3FC000000000FF3FC000000000FF3FC000000000FF
7F8000000001FE7F8000000001FE7F8000000001FE7F8000000001FEFF8000000003FCFF
0000000003FCFF0000000003FCFF0000000007F8FF0000000007F8FF000000000FF0FF00
0000000FF0FF000000000FE0FF000000001FE0FF000000001FC0FF000000003F807F0000
00007F807F000000007F007F00000000FE007F00000001FC003F80000001F8003F800000
03F8001F80000007F0001FC000000FE0000FC000001F800007E000003F000007F000007E
000003F00001F8000001FC0003F00000007E000FC00000003F807F0000000007FFF80000
000000FF80000000383D7CBA3F>I<0003FFFFFFF800000007FFFFFFFF80000007FFFFFF
FFE000000007F8001FF800000007F00003FC00000007F00000FE0000000FF000007F0000
000FF000007F0000000FE000003F8000000FE000003F8000001FE000003FC000001FE000
003FC000001FC000003FC000001FC000003FC000003FC000003FC000003FC000007F8000
003F8000007F8000003F8000007F8000007F800000FF0000007F800000FE0000007F0000
01FC0000007F000003F8000000FF000007F0000000FF00000FE0000000FE00001F800000
00FE00007F00000001FE0007F800000001FFFFFFE000000001FFFFFF0000000001FC000F
C000000003FC0003F000000003FC0001F800000003F80000FC00000003F80000FE000000
07F80000FE00000007F800007E00000007F000007E00000007F000007F0000000FF00000
FF0000000FF00000FE0000000FE00000FE0000000FE00000FE0000001FE00001FE000000
1FE00001FE0000001FC00001FE0000001FC00001FE0000003FC00001FE0000003FC00003
FE0000003F800003FC0060003F800003FC0060007F800003FC00E0007F800003FC00C000
7F000003FC01C000FF800001FC0180FFFFFF0001FC0380FFFFFF0000FE0700FFFFFF0000
7E0E0000000000001FFC00000000000007F0003B3B7DB83F>82 D<0000001FE003800000
00FFFC0300000003FFFE070000000FE01F8F0000003F0007DF0000007E0001FE000000F8
0000FE000001F00000FE000003E000007E000003E000007C000007C000003C00000F8000
003C00000F8000003C00001F8000003800001F0000003800001F0000003800001F000000
3800003F0000003000003F0000003000003F8000003000003F8000000000003FC0000000
00003FE000000000001FF000000000001FFE00000000001FFFE0000000000FFFFE000000
0007FFFFC000000003FFFFF000000001FFFFF800000000FFFFFC000000001FFFFE000000
0003FFFF00000000003FFF000000000003FF800000000000FF8000000000007F80000000
00003F8000000000001F8000000000001F8000000000001F80000C0000001F80000C0000
000F80000C0000000F80001C0000001F80001C0000001F00001C0000001F00001C000000
1F00003C0000003E00003C0000003E00003C0000007C00003E000000F800007E000000F8
00007F000001F000007F800003E000007FC0000FC00000F9F0001F800000F0FE00FE0000
00E03FFFF8000000E00FFFE0000000C001FF00000000313D7CBA33>I<0000E00001F800
03F80003F80003F80003F00001C000000000000000000000000000000000000000000000
000000000000000000000000000000F80003FE00070F000E0F801C0F80180F80380F8030
0F80701F80601F80603F80E03F00C03F00C07F00007E00007E0000FE0000FC0001FC0001
FC0001F80003F80003F00003F00007F01807E01807E0380FE0300FC0300FC0700F80600F
80E00F80C00F81C00F838007870003FE0000F80015397EB71D>105
D<0007E001F000001FF807FE0000783E0E0F0000E01F1C0F0001C01F383F8003800FF03F
8003000FE03F8007000FE03F000E000FC03F000C000FC01C000C001FC000001C001F8000
0018001F80000018001F80000000003F80000000003F80000000003F00000000003F0000
0000007F00000000007F00000000007E00000000007E0000000000FE0000000000FE0000
000000FC000C000000FC000C000001FC001C000001FC0018001C01F80018007E01F80038
007E03F8007000FE03F8006000FE07F800E000FE0E7C01C000781C7C03800078383E0F00
003FF00FFC000007C003F0000029267EA42F>120 D E /Fw 139[28
32 37 1[46 42 46 69 23 2[23 46 42 1[37 46 37 46 42 12[55
46 2[51 65 8[51 1[60 2[60 18[21 46[{}24 83.333336 /Times-Bold
rf /Fx 133[44 50 50 1[50 55 33 39 44 55 55 50 55 83 28
2[28 55 50 33 44 55 44 1[50 12[66 3[61 78 72 4[39 4[72
1[66 12[50 50 50 50 50 2[25 46[{}35 100.000000 /Times-Bold
rf /Fy 135[40 2[40 40 40 2[40 2[40 3[40 2[40 40 40 40
1[40 50[40 46[{}13 66.666664 /Courier rf /Fz 69[29 8[33
1[37 37 3[29 47[29 33 33 48 33 33 18 26 22 33 33 33 33
52 18 33 1[18 33 33 22 29 33 29 33 29 8[48 63 48 48 41
37 44 48 37 48 48 59 41 1[26 22 1[48 37 41 48 44 1[48
5[18 1[33 33 33 33 33 33 33 33 33 33 1[17 22 17 2[22
22 40[{}67 66.666664 /Times-Roman rf /FA 2 122 df<0060000070000060000060
00406020E06070F861F07C63E00F6F0003FC0000600003FC000F6F007C63E0F861F0E060
7040602000600000600000700000600014157B9620>3 D<00600000F00000F00000F000
00F00000F00000F0000060000060000060000060000060000060007861E0FFFFF0FFFFF0
7861E000600000600000600000600000F00000F00000F00000F00000F00000F00000F000
00F00000F00000F00000F00000F00000F00000F00000F00000F00000F00000F00000F000
006000006000006000006000006000006000006000142F7CA31E>121
D E /FB 81[66 53[60 86 1[66 40 47 53 1[66 60 66 100 33
66 1[33 66 60 40 53 66 53 66 60 10[86 1[80 1[86 1[73
6[47 3[80 1[86 1[86 6[40 3[60 60 60 60 60 60 3[40 45[{}38
119.999947 /Times-Bold rf /FC 78[50 55[50 50 1[50 50
28 39 33 1[50 50 50 78 3[28 50 1[33 44 50 44 50 44 11[72
61 55 14[72 66 66 72 92 7[50 50 4[50 50 2[25 1[25 44[{}34
100.000000 /Times-Roman rf /FD 4 122 df<00007000000000F800000000F8000000
00F800000000F800000000F800000000F800000000F800000000F8000000007000007800
7000F07C007001F0FF007007F87F80700FF03FE0703FE00FF0707F8003F870FE0000FE73
F800003F77E000000FFF80000003FE00000000F800000003FE0000000FFF8000003F77E0
0000FE73F80003F870FE000FF0707F803FE0703FE07F80700FF0FF007007F87C007001F0
78007000F000007000000000F800000000F800000000F800000000F800000000F8000000
00F800000000F800000000F800000000700000252B7AAD32>3 D<0000000FE0000000FF
E0000003FC0000000FE00000003FC00000007F80000000FF00000000FE00000001FC0000
0001FC00000003F800000003F800000003F800000003F800000003F800000003F8000000
03F800000003F800000003F800000003F800000003F800000003F800000003F800000003
F800000003F800000003F800000003F800000003F800000003F800000003F800000003F8
00000003F800000003F800000003F800000003F800000003F800000003F800000003F800
000003F800000003F800000003F800000007F000000007F00000000FE00000001FE00000
003FC00000007F80000000FE00000007F8000000FFE0000000FFE000000007F800000000
FE000000007F800000003FC00000001FE00000000FE000000007F000000007F000000003
F800000003F800000003F800000003F800000003F800000003F800000003F800000003F8
00000003F800000003F800000003F800000003F800000003F800000003F800000003F800
000003F800000003F800000003F800000003F800000003F800000003F800000003F80000
0003F800000003F800000003F800000003F800000003F800000003F800000003F8000000
03F800000003F800000001FC00000001FC00000000FE00000000FF000000007F80000000
3FC00000000FE000000003FC00000000FFE00000000FE0236479CA32>102
D<FE00000000FFE000000007F800000000FE000000007F800000003FC00000001FE00000
000FE000000007F000000007F000000003F800000003F800000003F800000003F8000000
03F800000003F800000003F800000003F800000003F800000003F800000003F800000003
F800000003F800000003F800000003F800000003F800000003F800000003F800000003F8
00000003F800000003F800000003F800000003F800000003F800000003F800000003F800
000003F800000003F800000003F800000003F800000003F800000001FC00000001FC0000
0000FE00000000FF000000007F800000003FC00000000FE000000003FC00000000FFE000
0000FFE0000003FC0000000FE00000003FC00000007F80000000FF00000000FE00000001
FC00000001FC00000003F800000003F800000003F800000003F800000003F800000003F8
00000003F800000003F800000003F800000003F800000003F800000003F800000003F800
000003F800000003F800000003F800000003F800000003F800000003F800000003F80000
0003F800000003F800000003F800000003F800000003F800000003F800000003F8000000
03F800000003F800000003F800000003F800000007F000000007F00000000FE00000001F
E00000003FC00000007F80000000FE00000007F8000000FFE0000000FE00000000236479
CA32>I<0001C000000007F000000007F000000007F000000007F000000007F000000007
F000000007F000000007F000000007F000000007F000000003E000000003E000000003E0
00000003E000000003E000000003E000000003E000000001C000000001C000000001C000
000001C000000001C000000001C000003E01C03E00FFE1C3FF80FFFFFFFF80FFFFFFFF80
FFFFFFFF80FFE1C3FF803E01C03E000001C000000001C000000001C000000001C0000000
03E000000003E000000003E000000003E000000003E000000007F000000007F000000007
F000000007F000000007F000000007F000000007F000000007F000000007F000000007F0
00000007F000000007F000000007F000000007F000000007F000000007F000000007F000
000007F000000007F000000007F000000007F000000007F000000007F000000007F00000
0007F000000007F000000003E000000003E000000003E000000003E000000003E0000000
03E000000003E000000003E000000003E000000003E000000003E000000003E000000003
E000000003E000000003E000000001C000000001C000000001C000000001C000000001C0
00000001C000000001C000000001C000000001C000000001C00000215B7BC52C>121
D E /FE 81[80 51[64 72 1[104 1[80 48 56 64 1[80 72 80
120 40 80 1[40 2[48 64 1[64 1[72 13[80 104 112 88 112
8[88 4[104 6[48 58[{}27 144.000000 /Times-Bold rf /FF
81[42 51[32 37 37 55 37 42 23 32 32 42 42 42 42 60 23
37 23 23 42 42 23 37 42 37 42 42 9[69 51 60 46 42 51
60 51 60 1[69 3[28 1[60 51 51 60 55 51 51 6[28 42 42
42 42 2[42 42 42 2[21 28 21 44[{}56 83.333336 /Times-Italic
rf /FG 47[83 13[28 7[37 8[42 1[46 46 3[37 47[37 42 42
60 42 42 23 32 28 42 42 42 42 65 23 42 23 23 42 42 28
37 42 37 42 37 3[28 1[28 2[60 78 60 60 51 46 55 60 46
60 60 74 51 60 32 28 60 60 46 51 60 55 55 60 1[37 3[23
23 42 42 42 42 42 42 42 42 42 42 23 21 28 21 47 1[28
28 28 1[69 37[{}81 83.333336 /Times-Roman rf end
%%EndProlog
%%BeginSetup
%%Feature: *Resolution 600dpi
TeXDict begin

%%EndSetup
%%Page: 1 1
1 0 bop -112 -353 3343 4 v -112 -227 4 126 v -84 -270
a FG(T)-7 b(o)20 b(appear)f(in)h FF(Pr)l(oceedings)f(11th)h
(International)e(Confer)m(ence)h(on)h(Data)g(Engineering)p
FG(,)e(T)-7 b(aipei,)20 b(March)f(1995)p 3227 -227 V
-112 -224 3343 4 v 684 286 a FE(Prairie:)49 b(A)36 b(Rule)f
(Speci\256cation)e(Framew)o(ork)1268 469 y(f)l(or)j(Query)e(Optimizers)
2598 417 y FD(\003)-16 b(y)1160 710 y FC(Dinesh)24 b(Das)650
b(Don)25 b(Batory)1262 826 y(Department)g(of)g(Computer)f(Sciences)1277
942 y(The)h(Uni)n(v)o(ersity)d(of)j(T)-7 b(e)o(xas)25
b(at)f(Austin)1416 1058 y(Austin,)g(T)-7 b(e)o(xas)24
b(78712\2611188)1358 1175 y FD(f)p FC(ddas,batory)p FD(g)p
FC(@cs.ute)o(xas.edu)-112 1500 y FB(Abstract)-112 1692
y FF(F)-5 b(r)l(om)28 b(our)f(e)n(xperience)o(,)h(curr)m(ent)f
(rule-based)f(query)h(optimizer)o(s)-112 1792 y(do)22
b(not)g(pr)l(o)o(vide)h(a)f(very)i(intuitive)e(and)g(well-de\256ned)f
(fr)o(ame)o(work)-112 1891 y(to)30 b(de\256ne)f(rules)i(and)e(actions.)
59 b(T)-8 b(o)31 b(r)m(emedy)f(this)h(situation,)h(we)-112
1991 y(pr)l(opose)24 b(an)h(e)n(xtensible)g(and)g(structur)m(ed)g(alg)o
(ebr)o(aic)f(fr)o(ame)o(work)-112 2090 y(called)e(Pr)o(airie)h(for)g
(specifying)g(rules.)38 b(Pr)o(airie)23 b(facilitates)g(rule-)-112
2190 y(writing)h(by)f(enabling)f(a)i(user)g(to)g(write)h(rules)f(and)f
(actions)g(mor)m(e)-112 2290 y(quic)n(kly)-5 b(,)30 b(corr)m(ectly)f
(and)e(in)i(an)f(easy-to-under)o(stand)d(and)j(easy-)-112
2389 y(to-deb)n(ug)18 b(manner)-9 b(.)-29 2492 y(Query)24
b(optimizer)o(s)h(consist)g(of)g(thr)m(ee)g(major)f(parts:)39
b(a)24 b(sear)m(c)o(h)-112 2592 y(space)o(,)17 b(a)g(cost)h(model)e
(and)h(a)g(sear)m(c)o(h)g(str)o(ate)m(gy)-5 b(.)28 b(The)17
b(appr)l(oac)o(h)e(we)-112 2692 y(tak)o(e)20 b(is)h(only)f(to)g(de)o
(velop)f(the)h(alg)o(ebr)o(a)f(whic)o(h)h(de\256nes)f(the)h(sear)m(c)o
(h)-112 2791 y(space)29 b(and)g(the)h(cost)g(model)f(and)g(use)h(the)g
(V)-9 b(olcano)28 b(optimizer)n(-)-112 2891 y(g)o(ener)o(ator)c(as)j
(our)e(sear)m(c)o(h)h(engine)o(.)45 b(Using)26 b(Pr)o(airie)g(as)g(a)g
(fr)l(ont-)-112 2990 y(end,)i(we)h(tr)o(anslate)f(Pr)o(airie)g(rules)g
(to)g(V)-9 b(olcano)26 b(to)i(validate)f(our)-112 3090
y(claim)20 b(that)g(Pr)o(airie)g(mak)o(es)g(it)h(easier)g(to)f(write)i
(rules.)-29 3193 y(W)-8 b(e)17 b(describe)f(our)g(alg)o(ebr)o(a)f(and)h
(pr)m(esent)g(e)n(xperimental)g(r)m(esults)-112 3293
y(whic)o(h)e(show)h(that)g(using)g(a)g(high-le)o(vel)e(fr)o(ame)o(work)
i(lik)o(e)g(Pr)o(airie)h(to)-112 3392 y(design)d(lar)m(g)o(e-scale)g
(optimizer)o(s)h(does)g(not)f(sacri\256ce)h(ef)o(\256ciency)-5
b(.)-112 3691 y FB(1)119 b(Intr)n(oduction)-112 3883
y FG(Query)30 b(optimization)f([8])i(is)h(a)f(fundamental)e(part)i(of)f
(database)-112 3982 y(systems.)43 b(It)26 b(is)g(the)f(process)f(of)h
(generating)e(an)i(ef)n(\256cient)f(access)-112 4082
y(plan)f(for)h(a)g(database)g(query)-5 b(.)39 b(Informally)-5
b(,)22 b(an)i(access)g(plan)g(is)h(an)-112 4182 y(e)o(x)o(ecution)12
b(strate)o(gy)i(for)h(a)g(query;)g(it)h(is)g(the)f(sequence)e(of)i(lo)n
(w-le)n(v)o(el)-112 4281 y(database)24 b(retrie)n(v)n(al)h(operations)f
(that,)i(when)f(e)o(x)o(ecuted,)g(produce)-112 4381 y(the)e(database)f
(records)g(that)i(satisfy)f(the)g(query)-5 b(.)37 b(There)22
b(are)h(three)-112 4481 y(basic)h(aspects)h(that)f(de\256ne)g(and)g
(in\257uence)f(query)g(optimization:)-112 4580 y(the)d(search)g(space,)
f(the)i(cost)f(model,)f(and)h(the)g(search)g(strate)o(gy)-5
b(.)-29 4683 y(The)20 b FF(sear)m(c)o(h)f(space)h FG(is)i(the)e(set)h
(of)f(logically)g(equi)n(v)n(alent)e(access)-112 4783
y(plans)27 b(that)h(can)f(be)h(used)f(to)h(e)n(v)n(aluate)e(a)i(query)
-5 b(.)50 b(All)28 b(plans)g(in)f(a)p -112 4867 788 4
v -29 4921 a FA(\003)7 4944 y Fz(This)18 b(research)i(w)o(as)e
(supported)i(in)f(part)g(by)f(grants)h(from)f(The)g(Uni)n(v)o(ersity)j
(of)-112 5023 y(T)-5 b(e)o(xas)23 b(Applied)h(Research)h(Laboratories,)
h(Schlumber)o(ger)m(,)g(and)e(Digital)g(Equip-)-112 5102
y(ment)17 b(Corporation.)-26 5160 y FA(y)7 5184 y Fz(An)e(e)o(xpanded)i
(v)o(ersion)f(of)f(this)h(paper)g(is)f(a)o(v)n(ailable)k(as)c(T)-5
b(echnical)18 b(Report)e(TR)-112 5263 y(94\26116)h(by)g(anon)o(ymous)h
(ftp)f(from)g Fy(ftp.cs.utexas.edu)p Fz(.)2044 1500 y
FG(query')-5 b(s)20 b(search)h(space)h(return)e(the)h(same)h(result;)g
(ho)n(we)n(v)o(er)m(,)d(some)2044 1600 y(plans)f(are)g(more)f(ef)n
(\256cient)h(than)g(others.)28 b(The)17 b FF(cost)i(model)f
FG(assigns)2044 1699 y(a)h(cost)h(to)g(each)f(plan)f(in)i(the)f(search)
g(space.)29 b(The)19 b(cost)h(of)f(a)g(plan)g(is)2044
1799 y(an)e(estimate)h(of)g(the)f(resources)g(used)g(when)g(the)h(plan)
f(is)i(e)o(x)o(ecuted;)2044 1899 y(the)k(lo)n(wer)h(the)f(cost,)i(the)f
(better)f(the)h(plan.)39 b(The)23 b FF(sear)m(c)o(h)h(str)o(ate)m(gy)
2044 1998 y FG(is)i(a)f(speci\256cation)f(of)h(which)f(plans)h(in)g
(the)g(search)g(space)g(are)g(to)2044 2098 y(be)20 b(e)o(xamined.)2127
2197 y(T)m(raditionally)-5 b(,)19 b(query)h(optimizers)g(ha)n(v)o(e)h
(been)f(b)n(uilt)i(as)g(mono-)2044 2297 y(lithic)i(subsystems)f(of)h(a)
g(DBMS.)h(This)f(simply)f(re\257ects)h(the)g(f)o(act)2044
2397 y(that)16 b(traditional)g(database)g(systems)g(are)h(themselv)o
(es)f(monolithic:)2044 2496 y(the)j(algorithms)f(used)h(for)f(storing)g
(and)h(retrie)n(ving)e(data)i(are)g(hard-)2044 2596 y(wired)25
b(and)g(are)g(rather)g(dif)n(\256cult)f(to)i(change.)43
b(The)25 b(need)g(to)h(ha)n(v)o(e)2044 2696 y(e)o(xtensible)16
b(database)i(systems,)g(and)f(in)h(turn)f(e)o(xtensible)g(optimiz-)2044
2795 y(ers,)27 b(has)g(long)e(been)g(recognized)f(in)i(systems)g(lik)o
(e)h(Genesis)f([1],)2044 2895 y(EXODUS)15 b([9],)g(Starb)n(urst)g
([10],)f(and)h(Postgres)g([12].)26 b(Rule-based)2044
2994 y(query)18 b(optimizers)i(are)g(among)e(the)j(major)e(conceptual)f
(adv)n(ances)2044 3094 y(that)29 b(ha)n(v)o(e)f(been)h(proposed)e(to)i
(deal)g(with)g(query)f(optimizer)g(e)o(x-)2044 3194 y(tensibility)c
([6,)13 b(7,)g(9,)g(10].)40 b(The)24 b(e)o(xtensibility)g(translates)g
(into)g(the)2044 3293 y(ability)e(to)h(incorporate)d(ne)n(w)i
(operators,)g(algorithms,)f(cost)i(mod-)2044 3393 y(els,)k(or)e(search)
g(strate)o(gies)g(without)g(changing)e(the)j(optimization)2044
3493 y(algorithm.)2127 3592 y(In)21 b(this)i(paper)m(,)d(we)i(describe)
f(an)h(algebraic)f(frame)n(w)o(ork)e(called)2044 3692
y FF(Pr)o(airie)g FG(for)f(specifying)f(rules)i(in)g(a)g(rule-based)f
(query)f(optimizer)-5 b(.)2044 3791 y(Prairie)27 b(is)h(similar)f(to)h
(other)e(rule)h(speci\256cation)f(languages)g(lik)o(e)2044
3891 y(Starb)n(urst)d([10])g(and)h(V)-11 b(olcano)23
b([7],)h(and)f(indeed,)h(we)g(ha)n(v)o(e)f(based)2044
3991 y(our)h(w)o(ork)h(on)g(V)-11 b(olcano)24 b(to)h(capture)f(most)i
(of)f(the)g(adv)n(antages)e(of)2044 4090 y(rule-based)15
b(optimizers.)27 b(Ho)n(we)n(v)o(er)m(,)15 b(Prairie)i(attempts)f(to)h
(pro)o(vide)2044 4190 y(some)26 b(k)o(e)o(y)f(features)g(that,)j(we)e
(ha)n(v)o(e)f(found,)h(simplify)f(the)h(ef)n(fort)2044
4290 y(in)20 b(writing)g(rules:)2106 4466 y(1.)41 b(A)27
b(frame)n(w)o(ork)d(in)i(which)g(users)h(can)f(de\256ne)g(a)h(query)e
(opti-)2210 4565 y(mizer)i(concisely)h(in)g(terms)g(of)g(a)g
(well-de\256ned)f(set)i(of)f(op-)2210 4665 y(erators)g(and)g
(algorithms.)52 b FF(All)29 b FG(operators)e(and)h(algorithms)2210
4764 y(are)21 b(considered)e(\256rst-class)j(objects,)f(i.e.,)h
FF(any)e FG(of)h(them)g(can)2210 4864 y(occur)26 b(in)h(an)o(y)g(rule,)
h(and)f FF(only)g FG(these)g(operators)f(and)h(algo-)2210
4964 y(rithms)19 b(can)g(appear)f(in)h(rules.)29 b(This)19
b(scheme)g(eliminates)g(the)2210 5063 y(need)29 b(for)h(special)g
(classes)h(of)f(operators)e(and)i(algorithms,)2210 5163
y(such)17 b(as)i(enforcers)d(in)i(V)-11 b(olcano)17 b(and)h(glue)f(in)h
(Starb)n(urst,)g(that)2210 5263 y(signi\256cantly)h(complicate)g(rule)h
(speci\256cation.)p eop
%%Page: 2 2
2 1 bop -50 21 a FG(2.)41 b(A)17 b(frame)n(w)o(ork)e(in)i(which)f
(users)h(can)g(de\256ne)g(a)g(list)h(of)f(proper)n(-)54
120 y(ties)g(to)f(characterize)f(the)h(e)o(xpressions)f(generated)g(in)
h(the)h(op-)54 220 y(timization)g(process.)28 b(Again,)18
b(the)h(goal)e(here)h(is)i(to)e(allo)n(w)h(the)54 319
y(user)h(to)h(treat)g FF(all)g FG(properties)e(as)j(ha)n(ving)d(equal)h
(status.)32 b(This)54 419 y(is)22 b(dif)n(ferent)d(from)h(V)-11
b(olcano)21 b(where)f(the)h(user)g(must)h(classify)54
519 y(properties)30 b(as)i(logical,)h(physical,)g(or)f
(operator/algorithm)54 618 y(ar)o(guments.)-50 789 y(3.)41
b(A)15 b(frame)n(w)o(ork)d(in)j(which)g(users)g(can)f(specify)g
(mapping)f(func-)54 889 y(tions)k(between)g(properties)g(concomitantly)
e(with)j(the)g(corre-)54 988 y(sponding)13 b(rules.)23
b(This)13 b(contrasts)g(with)g(e)o(xisting)g(approach)o(es)54
1088 y(in)20 b(which)f(mappings)g(between)g(properties)g(are)h
(fragmented)54 1188 y(into)d(multiple)g(functions)f(and)g(at)i
(logically)f(dif)n(ferent)f(places)54 1287 y(than)h(the)h
(corresponding)d(rules.)28 b(Research)18 b(into)f(rule-based)54
1387 y(optimizers)31 b(has)i(re)n(v)o(ealed)d(that)j(property-mapping)
27 b(func-)54 1487 y(tions)k(are)g(a)h(major)f(source)g(of)g(user)g(ef)
n(fort,)i(so)f(this)g(is)g(an)54 1586 y(important)18
b(goal.)-50 1757 y(4.)41 b(The)16 b(format)h(\(Prairie\))f(in)i(which)e
(users)i(can)f(cleanly)f(specify)54 1857 y(rules)e(is)i(not)e
(necessarily)h(the)f(same)h(format)f(needed)g(for)g(gen-)54
1956 y(erating)24 b(ef)n(\256cient)i(optimizers.)45 b(Thus,)26
b(there)f(is)i(a)f(need)f(for)54 2056 y(a)c(pre-processor)e(\(written)h
(by)h(us\))g(that)g(translates)h(between)54 2156 y(these)e(competing)e
(representations.)-29 2343 y(Prairie)26 b(stri)n(v)o(es)h(for)f
(uniformity)f(in)i(dealing)f(with)h(issues)h(that)-112
2443 y(ha)n(v)o(e)h(been)g(a)h(source)f(of)h(most)g(user)g(ef)n(fort)f
(and)g(potential)g(user)-112 2542 y(errors.)69 b(In)33
b(the)h(follo)n(wing)f(sections,)k(we)d(present)f(the)h(Prairie)-112
2642 y(frame)n(w)o(ork.)45 b(W)-7 b(e)27 b(e)o(xplain)e(ho)n(w)h(our)f
(P2V)h(pre-processor)e(maps)-112 2742 y(Prairie)30 b(rule)g
(speci\256cations)g(into)g(V)-11 b(olcano)29 b(rule)h(speci\256cations)
-112 2841 y(that)g(can)g(be)g(processed)f(ef)n(\256ciently)-5
b(.)58 b(Experimental)28 b(results)j(to)-112 2941 y(support)26
b(this)i(claim)g(are)g(gi)n(v)o(en)f(in)h(Section)f(4,)j(where)d(we)i
(com-)-112 3041 y(pare)13 b(implementations)f(of)i(the)h(T)-6
b(e)o(xas)14 b(Instruments)e(Open)i(OODB)-112 3140 y(query)25
b(optimizer)h(using)h(both)f(Prairie)h(and)g(V)-11 b(olcano.)49
b(W)-7 b(e)29 b(con-)-112 3240 y(clude)19 b(with)h(a)h(summary)e(and)g
(related)h(research.)-112 3527 y FB(2)119 b(Prairie:)55
b(A)37 b(language)f(f)m(or)f(rule)i(speci-)67 3676 y(\256cation)-112
3864 y FG(The)22 b(basic)h(concepts)f(and)h(de\256nitions)f(that)h
(underlie)f(the)h(Prairie)-112 3964 y(model)13 b(are)h(presented)f(in)h
(this)h(section.)27 b(The)14 b(goal)g(is)h(to)f(lay)h(a)f(foun-)-112
4063 y(dation)g(for)h(reasoning)f(about)g(query)h(optimization)e
(algebraically;)-112 4163 y(this)21 b(is)i(necessary)d(for)h(our)f
(subsequent)g(discussion)h(about)f(trans-)-112 4262 y(lating)f(Prairie)
h(speci\256cations)g(to)h(those)f(of)f(V)-11 b(olcano.)-112
4507 y Fx(2.1)99 b(Notation)24 b(and)i(assumptions)-112
4665 y Fw(Stor)o(ed)k(Files)i(and)g(Str)o(eams.)81 b
FG(A)32 b(\256le)g(is)g FF(stor)m(ed)i FG(if)e(its)g(tuples)-112
4764 y(reside)c(on)g(disk.)54 b(In)29 b(the)f(case)h(of)g(relational)e
(databases,)j(stored)-112 4864 y(\256les)i(are)f(sometimes)g(called)g
FF(base)g(r)m(elations)p FG(;)37 b(we)32 b(will)g(denote)-112
4964 y(them)25 b(by)h Fv(R)h FG(or)e Fv(R)438 4976 y
Fu(i)466 4964 y FG(.)47 b(In)25 b(object-oriented)f(schemas,)i(stored)g
(\256les)-112 5063 y(are)g FF(classes)p FG(;)j(we)e(will)g(denote)e
(them)g(by)h FF(C)h FG(or)f FF(C)1366 5075 y Fu(i)1394
5063 y FG(.)47 b(Henceforth,)-112 5163 y(whene)n(v)o(er)21
b(we)j(refer)f(to)h(a)g(stored)f(\256le,)i(we)f(mean)f(a)h(relation)f
(or)g(a)-112 5263 y(class;)d(when)f(the)g(distinction)g(is)h
(unimportant,)d(we)j(will)g(use)f Fv(F)32 b FG(or)2044
21 y Fv(F)2097 33 y Fu(i)2125 21 y FG(.)44 b(A)26 b FF(str)m(eam)f
FG(is)i(a)e(sequence)f(of)h(tuples)g(and)f(is)j(the)e(result)g(of)g(a)
2044 120 y(computation)d(on)i(one)f(or)h(more)g(streams)g(or)g(stored)g
(\256les;)j(tuples)2044 220 y(of)21 b(streams)i(are)e(returned)g(one)g
(at)i(a)f(time,)g(typically)f(on)h(demand.)2044 319 y(Streams)e(can)g
(be)g FF(named)p FG(,)f(denoted)g(by)g Fv(S)3268 331
y Fu(i)3296 319 y FG(,)h(or)g FF(unnamed)p FG(.)2044
559 y Fw(Database)f(Operations.)82 b FG(An)21 b FF(oper)o(ation)d
FG(is)k(a)f(computation)d(on)2044 659 y(one)j(or)h(more)f(streams)h(or)
g(stored)g(\256les.)35 b(There)21 b(are)h(tw)o(o)h(types)e(of)2044
759 y(database)d(operations)e(in)j(Prairie:)29 b(abstract)18
b(\(or)g(implementation-)2044 858 y(unspeci\256ed\))34
b(operators)f(and)i(concrete)g(algorithms.)73 b(Each)35
b(is)2044 958 y(detailed)19 b(belo)n(w)-5 b(.)2210 1157
y Fw(Operators.)39 b FG(Abstract)13 b(\(or)g(conceptual\))g
FF(op)o(er)o(ato)o(r)o(s)g FG(specify)2392 1257 y(computations)20
b(on)i(streams)g(or)g(stored)g(\256les;)i(the)o(y)d(are)2392
1357 y(denoted)d(by)h(all)h(capital)g(letters)f(\(e.g.,)g(JOIN\).)g
(Opera-)2392 1456 y(tors)24 b(ha)n(v)o(e)f(tw)o(o)h(types)f(of)g
(parameters:)35 b(essential)24 b(and)2392 1556 y(additional.)49
b FF(Essential)28 b(par)o(ameter)o(s)f FG(are)g(the)g(stream)2392
1656 y(or)18 b(\256le)g(inputs)f(to)g(an)h(operator;)e(these)i(are)f
(the)h(primary)2392 1755 y(inputs)g(to)h(be)f(processed)f(by)h(an)g
(operator)-5 b(.)27 b FF(Additional)2392 1855 y(par)o(ameter)o(s)j
FG(are)f(\252\256ne-grain\272)f(quali\256cations)h(of)g(an)2392
1954 y(operator;)21 b(their)g(purpose)e(is)k(to)e(describe)g(an)g
(operator)2392 2054 y(in)g(more)e(detail)h(than)g(essential)h
(parameters.)2210 2194 y Fw(Algorithms.)40 b FF(Algorithms)55
b FG(are)h(concrete)e(implementa-)2392 2293 y(tions)21
b(of)g(conceptual)e(operators;)h(the)o(y)g(will)i(be)e(repre-)2392
2393 y(sented)13 b(in)g(lo)n(wer)g(case)g(with)g(the)g(\256rst)g
(letter)g(capitalized)2392 2493 y(\(e.g.,)k(Nested)p
2815 2493 25 4 v 29 w(loops\).)28 b(Algorithms)15 b(ha)n(v)o(e)i(at)g
(least)h(the)2392 2592 y(same)30 b(essential)f(and)f(additional)g
(parameters)f(as)j(the)2392 2692 y(conceptual)21 b(operators)h(that)g
(the)o(y)g(implement.)3798 2662 y Ft(1)3871 2692 y FG(Fur)n(-)2392
2792 y(thermore,)28 b(there)g(can)g(be,)h(and)f(usually)f(are,)j(se)n
(v)o(eral)2392 2891 y(algorithms)19 b(for)h(a)h(particular)d(operator)
-5 b(.)2044 3091 y(T)e(able)26 b(1)h(lists)h(some)f(operators)e(and)h
(algorithms)f(implementing)2044 3191 y(them)20 b(together)e(with)j
(their)f(additional)f(parameters.)2044 3430 y Fw(Operator)i(T)-6
b(r)o(ees.)82 b FG(An)23 b FF(oper)o(ator)e(tr)m(ee)i
FG(is)h(a)f(rooted)e(tree)h(whose)2044 3530 y(non-leaf,)27
b(or)g FF(interior)p FG(,)i(nodes)e(are)h(database)e(operations)g
(\(oper)n(-)2044 3630 y(ators)g(or)g(algorithms\))f(and)g(whose)h(leaf)
h(nodes)e(are)i(stored)e(\256les.)2044 3729 y(The)e(children)g(of)g(an)
h(interior)e(node)h(in)h(an)g(operator)e(tree)h(are)h(the)2044
3829 y(essential)i(parameters)e(\(i.e.,)i(the)g(stream)f(or)g(\256le)h
(parameters\))e(of)2044 3928 y(the)h(node.)43 b(Additional)24
b(parameters)g(are)i(implicitly)e(attached)h(to)2044
4028 y(each)h(node.)49 b(Algebraically)-5 b(,)26 b(operator)f(trees)j
(are)f(compositions)2044 4128 y(of)18 b(database)g(operations;)g(thus,)
g(we)h(will)g(also)g(call)g(operator)e(trees)2044 4227
y FF(e)n(xpr)m(essions)p FG(;)j(both)g(terms)g(will)h(be)f(used)g
(interchangeably)-5 b(.)2044 4447 y(E)p Fz(XAMPLE)19
b FG(1.)153 b(A)29 b(simple)f(e)o(xpression)f(and)h(its)h(operator)e
(tree)2044 4547 y(representation)22 b(are)h(sho)n(wn)h(in)g(Figure)f
(1\(a\).)40 b(Relations)24 b Fv(R)3831 4559 y Ft(1)3893
4547 y FG(and)2044 4646 y Fv(R)2107 4658 y Ft(2)2172
4646 y FG(are)j(\256rst)h(RET)m(rie)n(v)o(ed,)f(then)g(JOINed,)h(and)f
(\256nally)g(SOR)-5 b(T)f(ed)2044 4746 y(resulting)13
b(in)h(a)h(stream)f(sorted)g(on)f(a)i(speci\256c)f(attrib)n(ute.)27
b(The)14 b(\256gure)2044 4846 y(sho)n(ws)g(only)g(the)h(essential)g
(parameters)e(of)i(the)f(v)n(arious)g(operators,)2044
4945 y(not)20 b(the)g(additional)f(parameters.)915 b
Fs(\003)p 2044 5107 788 4 v 2129 5160 a Fr(1)2163 5184
y Fz(Algorithms)20 b(may)f(ha)o(v)o(e)g Fq(tuning)h(par)o(ameter)o(s)g
Fz(which)f(are)h(not)f(parameters)h(of)2044 5263 y(the)e(operators)g
(the)o(y)g(implement.)p eop
%%Page: 3 3
3 2 bop -112 71 2323 13 v -112 138 4 67 v -59 118 a Fp(Operator)p
330 138 V 211 w(Description)p 912 138 V 294 w(Additional)17
b(P)o(arameters)p 1581 138 V 102 w(Algorithm)p 2206 138
V -112 150 2323 13 v -112 216 4 67 v -59 231 a Fo(JOIN\()p
Fu(S)127 239 y Fn(1)159 231 y Fo(,)d Fu(S)229 239 y Fn(2)261
231 y Fo(\))p 330 216 V 384 232 a(Join)g(streams)g Fu(S)728
240 y Fn(1)760 232 y Fo(,)g Fu(S)830 240 y Fn(2)p 912
216 V 965 197 a Fo(tuple)p 1084 197 18 4 v 22 w(order)p
1581 216 4 67 v 409 w(Nested)p 1799 197 18 4 v 21 w(loops\()p
Fu(S)2003 205 y Fn(1)2035 197 y Fo(,)g Fu(S)2105 205
y Fn(2)2137 197 y Fo(\))p 2206 216 4 67 v 1585 220 626
4 v -112 283 4 67 v 330 283 V 912 283 V 965 263 a(join)p
1058 263 18 4 v 22 w(predicate)p 1581 283 4 67 v 344
w(Mer)o(ge)p 1788 263 18 4 v 21 w(join\()p Fu(S)1956
271 y Fn(1)1989 263 y Fo(,)g Fu(S)2059 271 y Fn(2)2091
263 y Fo(\))p 2206 283 4 67 v -112 286 2323 4 v -112
363 4 77 v -59 407 a(RET\()p Fu(F)9 b Fo(\))p 330 363
V 384 412 a(Retrie)o(v)o(e)14 b(\256le)g Fu(F)p 912 363
V 965 339 a Fo(tuple)p 1084 339 18 4 v 22 w(order)p 1581
363 4 77 v 1634 352 a(File)p 1727 352 18 4 v 22 w(scan\()p
Fu(F)9 b Fo(\))p 2206 363 4 77 v -112 429 4 67 v 330
429 V 912 429 V 965 410 a(selection)p 1175 410 18 4 v
21 w(predicate)p 1581 429 4 67 v 1585 397 622 4 v 2206
429 4 67 v -112 497 4 68 v 330 497 V 912 497 V 965 477
a(projected)p 1184 477 18 4 v 22 w(attrib)o(utes)p 1581
497 4 68 v 1634 469 a(Inde)o(x)p 1768 469 18 4 v 22 w(scan\()p
Fu(F)g Fo(\))p 2206 497 4 68 v -112 500 2323 4 v -112
567 4 67 v -59 582 a(SOR)m(T\()p Fu(S)147 590 y Fn(1)178
582 y Fo(\))p 330 567 V 384 583 a(Sort)15 b(stream)f
Fu(S)705 591 y Fn(1)p 912 567 V 965 580 a Fo(tuple)p
1084 580 18 4 v 22 w(order)p 1581 567 4 67 v 1634 547
a(Mer)o(ge)p 1788 547 18 4 v 21 w(sort\()p Fu(S)1953
555 y Fn(1)1986 547 y Fo(\))p 2206 567 4 67 v 1585 570
626 4 v -112 633 4 67 v 330 633 V 912 633 V 1581 633
V 1634 613 a(Null\()p Fu(S)1797 621 y Fn(1)1830 613 y
Fo(\))p 2206 633 V -112 646 2323 13 v -112 793 a FG(T)-7
b(able)18 b(1:)28 b(Operators)17 b(and)g(algorithms)g(in)h(a)h
(centralized)e(query)f(optimizer)h(and)-112 893 y(their)i(additional)g
(parameters)p 2477 33 1523 13 v 2477 99 4 67 v 2530 80
a Fp(Pr)o(operty)p 3032 99 V 333 w(Description)p 3996
99 V 2477 112 1523 13 v 2477 178 4 67 v 2530 158 a Fo(join)p
2623 158 18 4 v 22 w(predicate)p 3032 178 4 67 v 230
w(join)c(predicate)g(for)g(JOIN)g(operator)p 3996 178
V 2477 182 1523 4 v 2477 248 4 67 v 2530 228 a(selection)p
2740 228 18 4 v 21 w(predicate)p 3032 248 4 67 v 114
w(selection)g(predicate)f(for)h(RET)f(operator)p 3996
248 V 2477 251 1523 4 v 2477 318 4 67 v 2530 331 a(tuple)p
2649 331 18 4 v 21 w(order)p 3032 318 4 67 v 3085 298
a(tuple)h(order)g(of)g(resulting)g(stream,)p 3996 318
V 2477 384 V 3032 384 V 3085 364 a(DONT)p 3250 364 18
4 v 21 w(CARE)e(if)i(none)p 3996 384 4 67 v 2477 388
1523 4 v 2477 454 4 67 v 2530 434 a(num)p 2636 434 18
4 v 21 w(records)p 3032 454 4 67 v 260 w(number)h(of)e(tuples)h(of)g
(resulting)g(stream)p 3996 454 V 2477 457 1523 4 v 2477
524 4 67 v 2530 504 a(tuple)p 2649 504 18 4 v 21 w(size)p
3032 524 4 67 v 327 w(size)f(of)h(indi)o(vidual)g(tuple)g(in)g(stream)p
3996 524 V 2477 527 1523 4 v 2477 593 4 67 v 2530 574
a(projected)p 2749 574 18 4 v 21 w(attrib)o(utes)p 3032
593 4 67 v 103 w(projected)g(attrib)o(utes)g(for)g(RET)f(operator)p
3996 593 V 2477 597 1523 4 v 2477 663 4 67 v 2530 643
a(attrib)o(utes)p 3032 663 V 340 w(list)h(of)g(attrib)o(utes)p
3996 663 V 2477 666 1523 4 v 2477 733 4 67 v 2530 713
a(cost)p 3032 733 V 461 w(estimated)g(cost)f(of)h(algorithm)p
3996 733 V 2477 745 1523 13 v 2477 893 a FG(T)-7 b(able)16
b(2:)28 b(Properties)15 b(of)h(nodes)f(in)i(an)f(operator)e(tree)p
-105 1246 1938 4 v -105 2116 4 870 v 61 1362 a Fm(SOR)n(T)c(\(JOIN)g
(\(RET)h(\()p Fl(R)449 1374 y Fn(1)481 1362 y Fm(\),)f(RET)h(\()p
Fl(R)661 1374 y Fn(2)693 1362 y Fm(\)\)\))346 1462 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodesort 16 { .5 3.36499
0.06248 false .5 12.47998 InitRnode  } NewNode end end

346 1462 a Fm(SOR)n(T)353 1557 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodejoin 16 { .5 3.36499
0.06248 false .5 10.82999 InitRnode  } NewNode end end
 353 1557 a Fm(JOIN)303
1732 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodesort
/TheNodejoin InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 303 1732 a 264 1651 a
 tx@Dict begin tx@NodeDict begin {  } /TheNoderetr1 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 264 1651 a Fm(RET)453 1651
y
 tx@Dict begin tx@NodeDict begin {  } /TheNoderetr2 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 453 1651 a Fm(RET)303 1732 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoin
/TheNoderetr1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 303 1732 a 303 1732 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoin
/TheNoderetr2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end

303 1732 a 265 1740 a
 tx@Dict begin tx@NodeDict begin {  } /TheNoder1 16 { .5 3.41667 1.5
false .5 9.05264 InitRnode  } NewNode end end
 265 1740 a Fl(R)308 1752 y Fn(1)455
1740 y
 tx@Dict begin tx@NodeDict begin {  } /TheNoder2 16 { .5 3.41667 1.5
false .5 9.05264 InitRnode  } NewNode end end
 455 1740 a Fl(R)498 1752 y Fn(2)303 1732 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderetr1
/TheNoder1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 303
1732 a 303 1732 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderetr2
/TheNoder2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 303 1732 a 27 1914 a Fz(\(a\))37 b(An)f(e)o
(xpression)j(and)e(its)27 1993 y(corresponding)19 b(operator)g(tree)p
872 2091 4 820 v 1237 1457 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodemergesort 16 { .5 3.36499
1.09 false .5 22.25996 InitRnode  } NewNode end end
 1237 1457 a Fm(Mer)o(ge)p
1346 1457 13 4 v 16 w(sort)1219 1552 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodenestedloops 16 { .5 3.36499
1.07999 false .5 26.51999 InitRnode  } NewNode end end
 1219 1552 a Fm(Nested)p
1336 1552 13 4 v 16 w(loops)1235 1732 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodemergesort
/TheNodenestedloops InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 1235 1732 a 1158
1651 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodefilescanr1 16 { .5 3.36499
0.04 false .5 18.465 InitRnode  } NewNode end end
 1158 1651 a Fm(File)p 1225 1651 13 4 v 15 w(scan)1347
1651 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodefilescanr2 16 { .5 3.36499
0.04 false .5 18.465 InitRnode  } NewNode end end
 1347 1651 a Fm(File)p 1414 1651 13 4 v 15 w(scan)1235
1732 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodenestedloops
/TheNodefilescanr1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 1235 1732 a 1235 1732 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodenestedloops
/TheNodefilescanr2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 1235 1732 a 1197 1740
a
 tx@Dict begin tx@NodeDict begin {  } /TheNoder1 16 { .5 3.41667 1.5
false .5 9.05264 InitRnode  } NewNode end end
 1197 1740 a Fl(R)1240 1752 y Fn(1)1386 1740 y
 tx@Dict begin tx@NodeDict begin {  } /TheNoder2 16 { .5 3.41667 1.5
false .5 9.05264 InitRnode  } NewNode end end
 1386
1740 a Fl(R)1429 1752 y Fn(2)1235 1732 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodefilescanr1
/TheNoder1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 1235 1732 a
1235 1732 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodefilescanr2
/TheNoder2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 1235 1732 a 959 1914 a Fz(\(b\))h(Possible)i(access)g(plan)
g(for)959 1993 y(operator)d(tree)f(in)f(\(a\))p 1829
2116 4 870 v -105 2119 1938 4 v 1831 2136 19 877 v -89
2136 1938 19 v -26 2318 a FG(Figure)i(1:)30 b(Example)19
b(of)h(an)g(operator)e(tree)i(and)g(access)h(plan)-112
2520 y Fw(Descriptors.)82 b FG(A)16 b FF(pr)l(operty)g
FG(of)g(a)h(node)e(is)i(a)g(\(user)n(-de\256ned\))d(v)n(ari-)-112
2620 y(able)31 b(that)g(contains)g(information)e(used)i(by)g(an)h
(optimizer)-5 b(.)62 b(An)-112 2720 y FF(annotation)25
b FG(is)k(a)f Fk(h)p FF(pr)l(operty)-5 b(,)21 b(value)n
Fk(i)29 b FG(pair)f(that)g(is)h(assigned)e(to)h(a)-112
2819 y(node.)40 b(A)25 b FF(descriptor)h FG(is)g(a)f(list)g(of)f
(annotations)f(that)h(describes)g(a)-112 2919 y(node)j(of)h(an)h
(operator)e(tree;)33 b(e)n(v)o(ery)27 b(node)g(has)i(its)h(o)n(wn)e
(descrip-)-112 3019 y(tor)-5 b(.)56 b(As)30 b(an)f(e)o(xample,)h(T)-7
b(able)29 b(2)h(lists)g(some)f(typical)g(properties)-112
3118 y(that)20 b(might)g(be)h(used)g(in)f(a)i(descriptor)-5
b(.)29 b(Note)21 b(that)g(descriptors)e(for)-112 3218
y(stream)24 b(and)h(stored)f(\256les)i(may)f(ha)n(v)o(e)f(dif)n(ferent)
g(properties.)42 b(The)-112 3317 y(follo)n(wing)17 b(notations)g(will)j
(be)e(useful)g(in)h(our)f(subsequent)f(discus-)-112 3417
y(sions.)27 b(If)14 b Fv(S)228 3429 y Fu(i)268 3417 y
FG(is)g(a)g(stream,)g(then)g Fj(D)876 3429 y Fi(i)913
3417 y FG(is)g(its)g(descriptor)-5 b(.)26 b(Annotations)-112
3517 y(of)20 b Fv(S)29 3529 y Fu(i)78 3517 y FG(are)h(accessed)g(by)f
(a)i(structure)e(member)f(relationship,)h(e.g.,)-112
3616 y Fj(D)-39 3628 y Fi(i)-14 3616 y Fv(:)p FG(num)p
163 3616 25 4 v 29 w(records)n(.)29 b(Also,)20 b(let)h
Fv(E)k FG(be)20 b(an)g(e)o(xpression)e(and)h(let)h Fj(D)h
FG(be)-112 3716 y(its)g(descriptor)-5 b(.)28 b(W)-7 b(e)21
b(will)g(write)g(this)f(as)h Fv(E)28 b Fh(:)23 b Fj(D)p
FG(.)-112 3904 y(E)p Fz(XAMPLE)c FG(2.)145 b(The)19 b(e)o(xpression,)
-112 4055 y Fo(SOR)m(T)o Ft(\()p Fo(JOIN)o Ft(\()p Fo(RET)o
Ft(\()p Fu(R)396 4063 y Fn(1)428 4055 y Ft(\):)p Fi(D)530
4063 y Fg(3)566 4055 y Fu(;)p Fo(RET)o Ft(\()p Fu(R)772
4063 y Fn(2)804 4055 y Ft(\):)p Fi(D)906 4063 y Fg(4)942
4055 y Ft(\):)p Fi(D)1044 4063 y Fg(5)1079 4055 y Ft(\):)p
Fi(D)1181 4063 y Fg(6)-112 4206 y FG(corresponds)k(to)j(the)g(operator)
e(tree)i(in)g(Figure)f(1\(a\),)h(and)g(sho)n(ws)-112
4305 y(the)20 b(descriptors)f(of)h(the)g(v)n(arious)f(nodes.)706
b Fs(\003)-29 4466 y FG(A)19 b(notational)e(simpli\256cation)h(can)g
(be)h(made)f(here.)28 b(Additional)-112 4565 y(parameters)13
b(of)i(operators)f(can)h(be)g(treated)g(the)g(same)g(w)o(ay)h(as)g
(other)-112 4665 y(properties)j(of)i(a)h(node;)f(essential)h
(parameters,)e(ho)n(we)n(v)o(er)m(,)f(are)j FF(e)n(x-)-112
4764 y(pr)m(essions)p FG(.)28 b(Thus,)17 b(the)h(term)f(descriptor)f
(in)h(the)h(remainder)d(of)i(this)-112 4864 y(paper)24
b(will)i(refer)f(to)h(a)g(set)h(of)e(properties,)g(including)f
(additional)-112 4964 y(parameters,)18 b(as)j(sho)n(wn)f(in)g(T)-7
b(able)20 b(2.)-29 5063 y(Currently)-5 b(,)34 b(descriptor)e
(properties)g(are)h(de\256ned)f(entirely)g(by)-112 5163
y(the)i(user;)42 b(ho)n(we)n(v)o(er)m(,)36 b(we)f(en)m(vision)e(pro)o
(viding)f(a)j(hierarchy)d(of)-112 5263 y(pre-de\256ned)17
b(descriptor)i(types)h(to)g(aid)h(this)f(process.)2044
1243 y Fw(Access)f(Plans.)82 b FG(An)18 b FF(access)h(plan)e
FG(is)i(an)f(operator)e(tree)i(in)h(which)2044 1342 y(all)i(interior)e
(nodes)g(are)h(algorithms.)2044 1593 y(E)p Fz(XAMPLE)f
FG(3.)144 b(An)19 b(access)h(plan)f(for)g(the)g(operator)e(tree)j(in)f
(Fig-)2044 1692 y(ure)h(1\(a\))f(is)i(sho)n(wn)f(in)g(Figure)f(1\(b\).)
828 b Fs(\003)2044 1977 y Fx(2.2)99 b(Prairie)25 b(optimization)f
(paradigm)2044 2149 y FG(Prairie)k(admits)g(tw)o(o)g(rather)g(dif)n
(ferent)e(means)i(of)g(optimization:)2044 2248 y(top-do)n(wn)20
b(and)h(bottom-up.)33 b(A)22 b(top-do)n(wn)e(query)h(optimizer)g(op-)
2044 2348 y(timizes)27 b(the)f(parents)g(of)h(a)g(node)e(prior)h(to)h
(optimizing)d(the)j(node)2044 2447 y(itself.)54 b(A)28
b(bottom-up)e(optimizer)h(optimizes)h(the)g(children)f(of)h(a)2044
2547 y(node)i(prior)h(to)g(optimizing)f(the)h(node.)62
b(The)31 b(earliest)h(optimiz-)2044 2647 y(ers)g(\(System)g(R)h([11])e
(and)h(R)2945 2617 y Ff(\003)3016 2647 y FG([3]\))f(emplo)o(yed)f(the)j
(bottom-up)2044 2746 y(approach.)2127 2854 y(Our)19 b(research)f
(concentrates)g(on)h(a)h(top-do)n(wn)e(optimization)f(of)2044
2954 y(operator)24 b(trees.)49 b(W)-7 b(e)27 b(ha)n(v)o(e)f(chosen)g
(this)h(approach)d(because)i(we)2044 3054 y(intend)d(to)h(translate)g
(Prairie)g(rules)g(into)f(the)h(format)f(required)f(by)2044
3153 y(the)28 b(V)-11 b(olcano)28 b(query)f(optimizer)g(generator)f
([7])i(which)g(is)h(based)2044 3253 y(on)h(a)h(top-do)n(wn)e(strate)o
(gy)-5 b(.)60 b(Gi)n(v)o(en)30 b(an)h(appropriate)d(search)i(en-)2044
3353 y(gine,)24 b(Prairie)f(can)g(potentially)g(also)h(be)f(used)h
(with)f(a)i(bottom-up)2044 3452 y(optimization)19 b(strate)o(gy;)g(ho)n
(we)n(v)o(er)m(,)f(we)j(will)g(not)g(discuss)f(this)h(ap-)2044
3552 y(proach)d(in)j(this)f(paper)-5 b(.)2127 3660 y(In)18
b(query)e(optimization,)h(there)h(are)g(certain)f(annotations)g(\(such)
2044 3760 y(as)30 b(additional)e(parameters\))f(that)j(are)f(kno)n(wn)e
(before)h(an)o(y)h(opti-)2044 3859 y(mization)c(is)j(be)o(gun.)46
b(These)26 b(annotations)f(can)i(be)f(computed)f(at)2044
3959 y(the)32 b(time)g(that)g(the)g(operator)f(tree)h(is)h
(initialized,)h(and)e(will)g(not)2044 4059 y(change)16
b(with)i(application)e(of)h(rules.)28 b(Our)17 b(follo)n(wing)f
(discussions)2044 4158 y(assume)k(operator)e(trees)j(are)f
(initialized.)2127 4266 y(There)41 b(are)i(tw)o(o)f(types)g(of)g
(algebraic)g(transformations)e(\(or)2044 4366 y FF(r)m(e)o(write)33
b(rules)p FG(\))g(in)f(Prairie:)54 b(T)-8 b(-rules)32
b(\(\252transformation)e(rules\272\))2044 4466 y(and)21
b(I-rules)h(\(\252implementation)d(rules\272\).)35 b(Each)22
b(rule)f(transforms)2044 4565 y(an)26 b(e)o(xpression)e(into)i(another)
e(based)h(on)h(additional)e(conditions;)2044 4665 y(the)h
(transformation)d(also)j(results)g(in)g(a)g(mapping)e(of)h(descriptors)
2044 4764 y(between)13 b(e)o(xpressions.)24 b(W)-7 b(e)13
b(de\256ne)g(T)-8 b(-rules)13 b(and)g(I-rules)g(precisely)2044
4864 y(in)19 b(the)g(follo)n(wing)f(sections)h(and)f(illustrate)h(them)
g(with)g(e)o(xamples.)2044 4964 y(Our)f(e)o(xamples)f(are)i(chosen)e
(from)h(rules)g(that)h(w)o(ould)e(be)i(used)f(in)h(a)2044
5063 y(centralized)24 b(relational)g(query)g(optimizer;)j(the)e
(operators,)g(algo-)2044 5163 y(rithms,)h(and)e(properties)g(are)h
(subsets)g(of)g(those)g(in)g(T)-7 b(ables)25 b(1)h(and)2044
5263 y(2.)p eop
%%Page: 4 4
4 3 bop -110 24 1947 4 v -110 1928 4 1905 v 31 101 a
Fu(E)s Ft(\()p Fu(x)147 109 y Fn(1)178 101 y Fu(;)11
b(:)h(:)f(:)g(;)g(x)372 109 y Fl(n)412 101 y Ft(\))19
b(:)g Fi(D)552 109 y Fg(1)606 101 y Ft(=)-11 b Ff(\))19
b Fu(E)783 72 y Fe(0)805 101 y Ft(\()p Fu(x)869 109 y
Fn(1)901 101 y Fu(;)12 b(:)f(:)g(:)g(;)g(x)1095 109 y
Fl(n)1135 101 y Ft(\))19 b(:)g Fi(D)1275 109 y Fg(2)1656
101 y Fo(\(1\))31 167 y Ff(ff)244 234 y Fo(pre-test)c(statements)31
300 y Ff(gg)31 367 y Fo(test)31 433 y Ff(ff)244 500 y
Fo(post-test)g(statements)31 566 y Ff(gg)493 708 y Fz(\(a\))j(General)g
(form)f(of)g(a)g(T)-6 b(-rule)p -61 806 1849 4 v 31 883
a Fo(JOIN)o Ft(\()p Fo(JOIN)p Ft(\()p Fu(S)375 891 y
Fn(1)407 883 y Fu(;)11 b(S)479 891 y Fn(2)512 883 y Ft(\))18
b(:)h Fi(D)651 891 y Fg(4)687 883 y Fu(;)11 b(S)759 891
y Fn(3)791 883 y Ft(\))19 b(:)g Fi(D)931 891 y Fg(5)1656
883 y Fo(\(2\))89 983 y Ft(=)-11 b Ff(\))18 b Fo(JOIN)p
Ft(\()p Fu(S)406 991 y Fn(1)438 983 y Fu(;)11 b Fo(JOIN)p
Ft(\()p Fu(S)662 991 y Fn(2)694 983 y Fu(;)g(S)766 991
y Fn(3)799 983 y Ft(\))18 b(:)h Fi(D)938 991 y Fg(6)974
983 y Ft(\))g(:)g Fi(D)1114 991 y Fg(7)31 1066 y Ff(ff)244
1132 y Fi(D)301 1140 y Fg(6)337 1132 y Fu(:)p Fo(attrib)o(utes)g
Ft(=)g Fo(union)c Ft(\()p Fi(D)891 1140 y Fg(2)927 1132
y Fu(:)p Fo(attrib)o(utes)o Fu(;)c Fi(D)1249 1140 y Fg(3)1285
1132 y Fu(:)p Fo(attrib)o(utes)p Ft(\))k(;)31 1199 y
Ff(gg)31 1265 y Fo(is)p 73 1265 18 4 v 20 w(associati)o(v)o(e)e
Ft(\()p Fi(D)440 1273 y Fg(6)476 1265 y Fu(:)p Fo(join)p
589 1265 V 21 w(predicate)p Fu(;)e Fi(D)908 1273 y Fg(6)944
1265 y Fu(:)p Fo(attrib)o(utes)p Fu(;)g Fi(D)1267 1273
y Fg(5)1303 1265 y Fu(:)p Fo(join)p 1416 1265 V 21 w(predicate)p
Ft(\))31 1332 y Ff(ff)244 1398 y Fi(D)301 1406 y Fg(7)356
1398 y Ft(=)19 b Fi(D)483 1406 y Fg(5)533 1398 y Ft(;)244
1464 y Fi(D)301 1472 y Fg(7)337 1464 y Fu(:)p Fo(join)p
450 1464 V 21 w(predicate)g Ft(=)g Fi(D)827 1472 y Fg(4)863
1464 y Fu(:)p Fo(join)p 976 1464 V 21 w(predicate)14
b Ft(;)244 1531 y Fi(D)301 1539 y Fg(6)337 1531 y Fu(:)p
Fo(tuple)p 476 1531 V 21 w(size)k Ft(=)h Fi(D)730 1539
y Fg(2)766 1531 y Fu(:)p Fo(tuple)p 905 1531 V 21 w(size)14
b Ft(+)h Fi(D)1151 1539 y Fg(3)1187 1531 y Fu(:)p Fo(tuple)p
1326 1531 V 21 w(size)f Ft(;)244 1597 y Fi(D)301 1605
y Fg(6)337 1597 y Fu(:)p Fo(num)p 463 1597 V 21 w(records)19
b Ft(=)g Fo(cardinality)c Ft(\()p Fi(D)1087 1605 y Fg(2)1123
1597 y Fu(;)c Fi(D)1211 1605 y Fg(3)1247 1597 y Ft(\))j(;)31
1664 y Ff(gg)588 1806 y Fz(\(b\))j(Join)g(associati)n(vity)p
1834 1928 4 1905 v -110 1931 1947 4 v 1835 1948 19 1912
v -93 1948 1947 19 v 606 2131 a FG(Figure)i(2:)30 b(T)-8
b(-rule)-112 2371 y Fx(2.3)99 b(T)-7 b(ransf)n(ormation)24
b(rules)-112 2549 y FG(T)m(ransformation)30 b(rules,)35
b(or)e(T)-8 b(-rules)32 b(for)h(short,)i(de\256ne)d(equi)n(v)n(a-)-112
2649 y(lences)f(among)f(pairs)h(of)g(e)o(xpressions;)k(the)o(y)c
(de\256ne)f(mappings)-112 2748 y(from)g(one)h(operator)f(tree)i(to)g
(another)-5 b(.)63 b(Let)32 b Fv(E)37 b FG(and)31 b Fv(E)1585
2718 y Ff(0)1641 2748 y FG(be)g(e)o(x-)-112 2848 y(pressions)20
b(that)h(in)m(v)n(olv)o(e)e(only)h(abstract)h(operators.)29
b(Equation)19 b(\(1\))-112 2948 y(\(sho)n(wn)j(in)i(Figure)g(2\(a\)\))e
(sho)n(ws)i(the)g(general)f(form)g(of)g(a)i(T)-8 b(-rule.)-112
3047 y(The)20 b(actions)g(of)h(a)g(T)-8 b(-rule)20 b(de\256ne)g(the)h
(equi)n(v)n(alences)e(between)h(the)-112 3147 y(descriptors)d(of)i
(nodes)g(of)f(the)i(original)d(operator)h(tree)h Fv(E)25
b FG(with)19 b(the)-112 3246 y(nodes)g(of)g(the)h(output)e(tree)i
Fv(E)756 3216 y Ff(0)780 3246 y FG(;)g(these)g(actions)g(consist)g(of)f
(a)h(series)-112 3346 y(of)h(\(C)i(or)f(C++\))g(assignment)751
3316 y Ft(2)809 3346 y FG(statements.)35 b(The)22 b(left-hand)e(sides)
-112 3446 y(of)30 b(these)i(statements)f(refer)g(to)g(descriptors)f(of)
h(e)o(xpressions)f(on)-112 3545 y(the)20 b(right-hand)e(side)j(of)f
(the)g(T)-8 b(-rule;)20 b(the)h(right-hand)d(sides)j(of)f(the)-112
3645 y(statements)14 b(can)h(refer)e(to)i(an)o(y)f(descriptor)f(in)i
(the)f(T)-8 b(-rule.)27 b(Function)-112 3745 y(\(called)d
FF(helper)i FG(functions\))d(calls)j(can)e(also)i(appear)d(on)i(the)f
(right)-112 3844 y(side)d(of)g(the)g(assignment)f(statements.)32
b(Thus,)20 b(descriptors)g(on)h(the)-112 3944 y FF(left-hand)29
b(side)i FG(of)g(a)g(T)-8 b(-rule)31 b(are)g FF(ne)o(ver)h
FG(changed)e(in)h(the)g(rule')-5 b(s)-112 4043 y(actions.)28
b(A)18 b FF(test)i FG(is)f(needed)d(to)i(determine)e(if)i(the)g
(transformations)-112 4143 y(of)h(the)i(T)-8 b(-rule)19
b(are)h(in)h(f)o(act)f(applicable.)-29 4254 y(Purely)15
b(as)h(an)g(optimization,)f(it)h(is)h(usually)f(the)f(case)i(that)f
(not)f(all)-112 4354 y(statements)g(in)g(a)g(T)-8 b(-rule')j(s)15
b(actions)g(need)f(to)h(be)g(e)o(x)o(ecuted)e(prior)h(to)h(a)-112
4454 y(T)-8 b(-rule')j(s)18 b(test.)29 b(F)o(or)18 b(this)h(reason,)f
(the)g(actions)g(of)g(a)h(T)-8 b(-rule)18 b(are)g(split)-112
4553 y(into)j(tw)o(o)h(groups;)f(those)h(that)g(need)f(to)h(be)g(e)o(x)
o(ecuted)e(prior)h(to)h(the)-112 4653 y(T)-8 b(-rule')j(s)13
b(test,)i(and)e(those)g(that)h(can)f(be)g(e)o(x)o(ecuted)f(after)h(a)h
(successful)-112 4752 y(test.)29 b(These)19 b(groups)f(of)h(statements)
g(comprise,)g(respecti)n(v)o(ely)-5 b(,)17 b(the)p -112
4870 788 4 v -28 4924 a Fr(2)7 4947 y Fz(The)c(actions)i(can)f(be)f
(non-assignment)j(statements)f(\(lik)o(e)g(function)g(calls\),)g(b)o
(ut)-112 5026 y(in)23 b(this)h(case,)i(the)e(P2V)f(pre-processor)j
(\(described)f(in)f(Section)h(3\))f(needs)g(some)-112
5105 y(hints)h(about)i(the)f(properties)h(that)g(are)f(changed)h(by)e
(the)h(statement)h(in)f(order)g(to)-112 5184 y(correctly)17
b(cate)o(gorize)h(each)d(property)l(.)25 b(F)o(or)14
b(simplicity)l(,)j(in)d(this)h(paper)m(,)h(we)f(assume)-112
5263 y(all)j(actions)g(consist)g(of)f(assignment)i(statements.)p
2046 24 1947 4 v 2046 1687 4 1664 v 2187 92 a Fu(E)s
Ft(\()p Fu(x)2303 100 y Fn(1)2335 92 y Fu(;)11 b(:)g(:)g(:)g(;)g(x)2528
100 y Fl(n)2568 92 y Ft(\))19 b(:)g Fi(D)2708 100 y Fg(1)2763
92 y Ft(=)-11 b Ff(\))18 b Fu(A)p Ft(\()p Fu(x)3001 100
y Fn(1)3033 92 y Fu(;)11 b(:)g(:)g(:)g(;)h(x)3227 100
y Fl(n)3267 92 y Ft(\))19 b(:)f Fi(D)3406 100 y Fg(2)3812
92 y Fo(\(3\))2187 159 y(test)2187 225 y Ff(ff)2401 292
y Fo(pre-opt)d(statements)2187 358 y Ff(gg)2187 424 y(ff)2401
491 y Fo(post-opt)g(statements)2187 557 y Ff(gg)2639
700 y Fz(\(a\))i(General)i(form)e(of)g(an)g(I-rule)p
2095 798 1849 4 v 2187 875 a Fo(SOR)m(T)o Ft(\()p Fu(S)2399
883 y Fn(1)2431 875 y Ft(\))i(:)f Fi(D)2570 883 y Fg(2)2625
875 y Ft(=)-11 b Ff(\))19 b Fo(Mer)o(ge)p 2904 875 18
4 v 21 w(sort)p Ft(\()p Fu(S)3076 883 y Fn(1)3108 875
y Ft(\))g(:)f Fi(D)3247 883 y Fg(3)3812 875 y Fo(\(4\))2187
958 y Ft(\()p Fi(D)2270 966 y Fg(2)2306 958 y Fu(:)p
Fo(tuple)p 2445 958 V 20 w(order)e Ft(!)9 b(=)18 b Fo(DONT)p
2862 958 V 21 w(CARE)o Ft(\))2187 1024 y Ff(ff)2401 1090
y Fi(D)2458 1098 y Fg(3)2512 1090 y Ft(=)h Fi(D)2639
1098 y Fg(2)2690 1090 y Ft(;)2187 1157 y Ff(gg)2187 1223
y(ff)2401 1290 y Fi(D)2458 1298 y Fg(3)2493 1290 y Fu(:)p
Fo(cost)g Ft(=)g Fi(D)2753 1298 y Fg(1)2788 1290 y Fu(:)p
Fo(cost)2699 1356 y Ft(+\()p Fi(D)2833 1364 y Fg(3)2868
1356 y Fu(:)p Fo(num)p 2994 1356 V 21 w(records)p Ft(\))c
Ff(\003)h Ft(log\()p Fi(D)3442 1364 y Fg(3)3478 1356
y Fu(:)p Fo(num)p 3604 1356 V 21 w(records)p Ft(\))f(;)2187
1423 y Ff(gg)2630 1565 y Fz(\(b\))i(Mer)o(ge-sort)i(sort)e(algorithm)p
3990 1687 4 1664 v 2046 1690 1947 4 v 3992 1707 19 1670
v 2063 1707 1947 19 v 2770 1890 a FG(Figure)i(3:)30 b(I-rule)2044
2113 y FF(pr)m(e-test)22 b FG(and)d FF(post-test)j FG(statements)e(of)g
(the)g(T)-8 b(-rule.)3566 2083 y Ft(3)2044 2330 y FG(E)p
Fz(XAMPLE)19 b FG(4.)145 b(The)21 b(associati)n(vity)f(of)h(JOINs)g(is)
h(e)o(xpressed)d(by)2044 2429 y(T)-8 b(-rule)19 b(\(2\))h(in)g(Figure)g
(2\(b\).)1082 b Fs(\003)2044 2683 y Fx(2.4)99 b(Implementation)26
b(rules)2044 2844 y FG(Implementation)k(rules,)37 b(or)c(I-rules)f(for)
h(short,)j(de\256ne)d(equi)n(v)n(a-)2044 2944 y(lences)f(between)f(e)o
(xpressions)f(and)i(their)f(implementing)f(algo-)2044
3043 y(rithms.)k(Let)23 b Fv(E)k FG(be)22 b(an)g(e)o(xpression)f(and)g
Fv(A)i FG(be)f(an)g(algorithm)f(that)2044 3143 y(implements)27
b Fv(E)5 b FG(.)52 b(The)28 b(general)e(form)h(of)h(an)f(I-rule)g(is)i
(gi)n(v)o(en)d(by)2044 3243 y(Equation)18 b(\(3\))i(\(sho)n(wn)f(in)h
(Figure)g(3\(a\)\).)2127 3345 y(The)g(actions)h(associated)g(with)g(an)
g(I-rule)f(are)h(de\256ned)e(in)j(three)2044 3445 y(parts.)37
b(The)23 b(\256rst)h(part,)f(or)g FF(test)p FG(,)h(is)g(a)g(boolean)d
(e)o(xpression)g(whose)2044 3544 y(v)n(alue)e(determines)g(whether)g
(or)h(not)g(the)g(rule)g(can)g(be)g(applied.)2127 3647
y(The)c(second)g(part,)h(or)f FF(pr)m(e-opt)f(statements)p
FG(,)j(is)f(a)g(set)h(of)e(descrip-)2044 3747 y(tor)23
b(assignment)g(statements)h(that)g(are)g(e)o(x)o(ecuted)d(only)i(if)h
(the)g(test)2044 3846 y(is)h(true)f(and)g FF(befor)m(e)g
FG(an)o(y)f(of)h(the)h(inputs)e Fv(x)3295 3858 y Fu(i)3348
3846 y FG(of)h Fv(E)30 b FG(are)25 b(optimized.)2044
3946 y(Additional)d(parameters)g(of)i(nodes)f(are)g(usually)g(assigned)
g(in)h(the)2044 4045 y(pre-opt)f(section.)45 b(This)25
b(is)h(necessary)f(before)f(an)o(y)g(of)h(the)h(nodes)2044
4145 y(on)20 b(the)g(right)f(side)i(can)f(be)g(optimized.)2127
4248 y(The)g(third)h(part,)g(or)f FF(post-opt)g(statements)p
FG(,)h(is)h(a)g(set)f(of)g(descrip-)2044 4347 y(tor)i(assignment)g
(statements)g(that)h(are)f(e)o(x)o(ecuted)e FF(after)26
b FG(all)e Fv(x)3859 4359 y Fu(i)3911 4347 y FG(are)2044
4447 y(optimized.)29 b(Normally)-5 b(,)19 b(the)i(post-opt)f
(statements)g(compute)g(cost)2044 4546 y(properties)15
b(that)h(can)h(only)e(be)i(determined)d(once)i(the)g(inputs)g(to)h(the)
2044 4646 y(algorithm)k(are)h(completely)f(optimized)g(and)h(their)g
(costs)h(kno)n(wn.)2044 4746 y(This)34 b FF(does)f(not)p
FG(,)k(ho)n(we)n(v)o(er)m(,)e(imply)e(a)h(bottom-up)e(optimization)2044
4845 y(strate)o(gy)-5 b(.)43 b(It)25 b(simply)g(means)g(that)g
(although)f(I-rules)g(are)h(applied)2044 4945 y(to)20
b(parents)g(before)f(their)i(children)e(are)h(optimized,)f(the)i
FF(cost)h FG(\(and)p 2044 5028 788 4 v 2129 5081 a Fr(3)2163
5105 y Fz(W)-5 b(e)28 b(suspect)h(it)g(is)f(possible)i(to)f(use)f
(data-\257o)n(w)i(analysis)g(to)e(partition)j(the)2044
5184 y(assignment)17 b(statements)h(automatically)l(,)h(b)o(ut)d(for)g
(no)n(w)l(,)g(we)f(let)i(the)g(rule-writer)h(do)2044
5263 y(the)g(partitioning.)p eop
%%Page: 5 5
5 4 bop -112 21 a FG(other)17 b(properties)f(in)i(the)g(post-opt)e
(section\))i(of)f(the)h(parent)f(cannot)-112 120 y(be)j(computed)e
(until)i(the)g(children)f(ha)n(v)o(e)g(been)h(optimized.)-112
325 y(E)p Fz(XAMPLE)f FG(5.)149 b(Equation)24 b(\(4\))g(\(in)g(Figure)h
(3\(b\)\))e(sho)n(ws)i(the)g(I-)-112 425 y(rule)19 b(that)i(implements)
e(the)h(SOR)-5 b(T)21 b(operator)d(by)i(Mer)o(ge)p 1564
425 25 4 v 28 w(sort.)59 b Fs(\003)-112 668 y Fx(2.5)99
b(Null)24 b(algorithm)-112 826 y FG(Recall)h(that,)g(in)g(Section)f(1,)
h(we)g(mentioned)e(that)h(Prairie)h(allo)n(ws)-112 925
y(users)f(to)g(treat)g(all)g(operators)f(and)g(algorithms)g(as)i
(\256rst-class)g(ob-)-112 1025 y(jects,)g(i.e.,)g(all)f(operators)f
(and)h(algorithms)e(are)i(e)o(xplicit,)h(in)f(con-)-112
1125 y(trast)36 b(to)h(enforcers)e(in)h(V)-11 b(olcano)36
b(or)g(glue)g(in)g(Starb)n(urst.)78 b(This)-112 1224
y(requires)23 b(that)h(Prairie)h(pro)o(vide)d(a)j(mechanism)e(where)g
(users)i(can)-112 1324 y(also)20 b(\252delete\272)g(one)g(or)g(more)g
(of)g(the)g(e)o(xplicit)g(operators)f(from)g(e)o(x-)-112
1423 y(pressions.)37 b(This)24 b(is)g(done)e(by)h(ha)n(ving)f(a)h
(special)h(class)g(of)f(I-rules)-112 1523 y(that)16 b(ha)n(v)o(e)g(the)
h(form)f(gi)n(v)o(en)f(by)i(Equation)e(\(5\))h(in)h(Figure)f(4\(a\).)27
b(The)-112 1623 y(left)21 b(side)h(of)g(the)f(rule)g(is)i(a)f(single)g
(abstract)f(operator)f Fv(O)25 b FG(with)c(one)-112 1722
y(stream)j(input)f Fv(S)380 1734 y Ft(1)418 1722 y FG(.)42
b(The)24 b(right)g(side)g(of)g(the)h(rule)f(is)h(an)f(algorithm)-112
1822 y(called)f(\252Null\272)g(with)h(the)f(same)h(stream)f(input)g(b)n
(ut)g(with)h(a)g(dif)n(fer)n(-)-112 1922 y(ent)d(descriptor)-5
b(.)34 b(As)23 b(the)f(name)f(suggests,)h(the)g(Null)g(algorithm)f(is)
-112 2021 y(supposed)26 b(to)i(pass)h(its)f(input)g(unchanged)d(to)j
(algorithms)e(abo)o(v)o(e)-112 2121 y(it)e(in)f(an)g(operator)f(tree.)
39 b(This)23 b(is)h(accomplished)e(in)h(the)h(I-rule)e(as)-112
2220 y(follo)n(ws.)-29 2321 y(The)g(test)h(for)f(this)h(I-rule)f(is)h
(al)o(w)o(ays)g(TR)m(UE,)f(i.e.,)h(an)o(y)f(node)g(in)-112
2421 y(an)f(operator)f(tree)i(with)g Fv(O)k FG(as)c(its)h(operator)d
(can)i(be)g(implemented)-112 2520 y(by)d(the)g(Null)h(algorithm.)27
b(The)20 b(actions)f(associated)g(with)h(this)g(rule)-112
2620 y(ha)n(v)o(e)c(a)i(speci\256c)f(pattern.)27 b(The)17
b(pre-opt)f(section)h(consists)g(of)g(three)-112 2720
y(statements.)38 b(The)22 b(\256rst)i(statement)f(copies)g(the)g
(descriptor)f(of)h(the)-112 2819 y(operator)29 b Fv(O)35
b FG(to)d(the)g(algorithm)e(Null.)65 b(The)31 b(second)g(statement)-112
2919 y(sets)36 b(the)f(descriptor)e(of)i(the)g(stream)g
Fv(S)1102 2931 y Ft(1)1174 2919 y FG(on)g(the)g(right)f(side)i(to)-112
3018 y(the)31 b(descriptor)g(of)g(the)h(stream)g Fv(S)926
3030 y Ft(1)996 3018 y FG(on)f(the)h(left)g(side.)64
b(Why)32 b(is)-112 3118 y(it)23 b(necessary)f(to)h(do)f(this?)38
b(The)22 b(k)o(e)o(y)h(lies)g(in)g(the)g(third)f(statement.)-112
3218 y(This)13 b(statement)g(copies)g(the)g(property)g(\252prop)o(erty)
o(\272)g(of)g(the)f(oper)o(ator)-112 3317 y Fv(O)21 b
FG(node)d(on)g(the)g(left)h(side)g(to)g(the)f(\252property\272)e(of)j
(the)f(input)g(stream)-112 3417 y Fv(S)-61 3429 y Ft(1)-5
3417 y FG(on)g(the)g(right)g(side.)29 b(Since)18 b(left-hand)f(side)i
(descriptors)e(cannot)-112 3517 y(be)25 b(changed)g(in)h(an)g(I-rule,)g
(a)h(ne)n(w)e(descriptor)g Fj(D)1383 3529 y Fi(3)1452
3517 y FG(is)i(necessary)-112 3616 y(for)19 b Fv(S)56
3628 y Ft(1)114 3616 y FG(to)h(con)m(v)o(e)o(y)e(the)i(property)e
(propagation)f(information.)-29 3717 y(The)48 b(post-opt)f(section)h
(in)h(the)g(I-rule)e(has)i(only)f(a)h(cost-)-112 3816
y(assignment)23 b(statement;)k(this)e(simply)g(sets)h(the)e(cost)h(of)g
(the)g(Null)-112 3916 y(node)19 b(to)h(the)g(cost)h(of)f(its)h
(optimized)e(input)g(stream.)-29 4017 y(The)f(Null)h(algorithm,)e
(therefore,)g(serv)o(es)h(to)h(ef)n(fecti)n(v)o(ely)e(trans-)-112
4116 y(form)i(a)h(single)g(operator)f(to)h(a)h(no-op.)-112
4322 y(E)p Fz(XAMPLE)e FG(6.)149 b(Equation)24 b(\(6\))g(\(in)g(Figure)
h(4\(b\)\))e(sho)n(ws)i(the)g(I-)-112 4421 y(rule)15
b(that)g(re)n(writes)h(the)f(SOR)-5 b(T)17 b(operator)c(to)j(use)g(a)g
(Null)g(algorithm.)-112 4521 y Fs(\003)-112 4876 y FB(3)119
b(The)30 b(P2V)g(pr)n(e-pr)n(ocessor)-112 5063 y FG(In)38
b(Section)g(1,)43 b(we)c(enumerated)e(the)h(four)g(primary)f(goals)h
(of)-112 5163 y(Prairie,)22 b(viz.,)g(uniformity)e(in)i(operator)e(and)
i(algorithms;)f(unifor)n(-)-112 5263 y(mity)i(in)h(properties;)h
(uniformity)c(in)j(property-transformations;)p 2046 24
1947 4 v 2046 1886 4 1863 v 2187 92 a Fu(O)r Ft(\()p
Fu(S)2306 100 y Fn(1)2338 92 y Ft(\))19 b(:)g Fi(D)2478
100 y Fg(2)2532 92 y Ft(=)-11 b Ff(\))19 b Fo(Null)q
Ft(\()p Fu(S)2828 100 y Fn(1)2879 92 y Ft(:)f Fi(D)2973
100 y Fg(3)3009 92 y Ft(\))h(:)g Fi(D)3149 100 y Fg(4)3812
92 y Fo(\(5\))2187 159 y(TR)n(UE)2187 225 y Ff(ff)2401
292 y Fi(D)2458 300 y Fg(4)2512 292 y Ft(=)g Fi(D)2639
300 y Fg(2)2690 292 y Ft(;)2401 358 y Fi(D)2458 366 y
Fg(3)2512 358 y Ft(=)g Fi(D)2639 366 y Fg(1)2690 358
y Ft(;)2401 424 y Fi(D)2458 432 y Fg(3)2493 424 y Fu(:)p
Fo(property)h Ft(=)f Fi(D)2856 432 y Fg(2)2892 424 y
Fu(:)p Fo(property)c Ft(;)2187 491 y Ff(gg)2187 557 y(ff)2401
624 y Fi(D)2458 632 y Fg(4)2493 624 y Fu(:)p Fo(cost)k
Ft(=)g Fi(D)2753 632 y Fg(3)2788 624 y Fu(:)p Fo(cost)14
b Ft(;)2187 690 y Ff(gg)2559 832 y Fz(\(a\))j(General)i(form)e(of)g(a)g
(\252Null\272)h(I-rule)p 2095 931 1849 4 v 2187 1007
a Fo(SOR)m(T)o Ft(\()p Fu(S)2399 1015 y Fn(1)2431 1007
y Ft(\))h(:)f Fi(D)2570 1015 y Fg(2)2683 1007 y Ft(=)-11
b Ff(\))19 b Fo(Null)p Ft(\()p Fu(S)2978 1015 y Fn(1)3029
1007 y Ft(:)g Fi(D)3124 1015 y Fg(3)3160 1007 y Ft(\))g(:)g
Fi(D)3300 1015 y Fg(4)3812 1007 y Fo(\(6\))2187 1090
y(TR)n(UE)2187 1157 y Ff(ff)2401 1223 y Fi(D)2458 1231
y Fg(4)2512 1223 y Ft(=)g Fi(D)2639 1231 y Fg(2)2690
1223 y Ft(;)2401 1290 y Fi(D)2458 1298 y Fg(3)2512 1290
y Ft(=)g Fi(D)2639 1298 y Fg(1)2690 1290 y Ft(;)2401
1356 y Fi(D)2458 1364 y Fg(3)2493 1356 y Fu(:)p Fo(tuple)p
2632 1356 18 4 v 21 w(order)h Ft(=)f Fi(D)2919 1364 y
Fg(2)2955 1356 y Fu(:)p Fo(tuple)p 3094 1356 V 20 w(order)d
Ft(;)2187 1423 y Ff(gg)2187 1489 y(ff)2401 1555 y Fi(D)2458
1563 y Fg(4)2493 1555 y Fu(:)p Fo(cost)j Ft(=)g Fi(D)2753
1563 y Fg(3)2788 1555 y Fu(:)p Fo(cost)14 b Ft(;)2187
1622 y Ff(gg)2718 1764 y Fz(\(b\))j(Null)h(sort)f(algorithm)p
3990 1886 4 1863 v 2046 1889 1947 4 v 3992 1906 19 1870
v 2063 1906 1947 19 v 2365 2089 a FG(Figure)j(4:)29 b(The)20
b(\252Null\272)g(algorithm)f(concept)2044 2301 y(and)36
b(ef)n(\256cient)h(generation)f(of)h(Prairie)g(optimizers.)79
b(The)37 b(\256rst)2044 2401 y(three)17 b(goals)h(are)f(dri)n(v)o(en)f
(by)i(the)f(need)g(for)g(conceptual)f(simplicity;)2044
2500 y(ho)n(we)n(v)o(er)m(,)34 b(the)o(y)e(alone)h(do)g(not)g
(necessarily)f(generate)h(ef)n(\256cient)2044 2600 y(optimizers.)62
b(The)32 b(P2V)g(pre-processor)d(ensures)i(that)h(ef)n(\256cient)2044
2699 y(optimizers)e(can)h(be)f(realized)h(from)f(Prairie)h
(speci\256cations,)h(by)2044 2799 y(translating)d(them)g(to)h(the)g(V)
-11 b(olcano)29 b(frame)n(w)o(ork)f(and)i(then)f(gen-)2044
2899 y(erating)22 b(an)h(optimizer)f(by)h(compiling)f(with)h(the)g(V)
-11 b(olcano)22 b(search)2044 2998 y(engine.)27 b(This)17
b(Prairie)g(optimizer)n(-generator)c(paradigm)i(is)j(sho)n(wn)2044
3098 y(schematically)k(in)g(Figure)g(5.)37 b(The)22 b(pre-processor)f
(itself)i(is)g(4500)2044 3198 y(lines)f(of)j Fd(flex)d
FG(and)f Fd(bison)g FG(code.)33 b(In)21 b(this)h(section,)g(we)g
(brie\257y)2044 3297 y(describe)13 b(the)h(pre-processor)d(steps)k(and)
f(e)o(xplain)e(why)h(the)i(Prairie-)2044 3397 y(to-V)-11
b(olcano)26 b(transformation)g(is)k(non-tri)n(vial.)51
b(A)29 b(more)f(detailed)2044 3496 y(description)18 b(of)i(the)h
(pre-processor)c(is)k(gi)n(v)o(en)e(in)i([5].)2127 3596
y(The)c(speci\256cation)h(of)f(an)h(optimizer)f(in)h(V)-11
b(olcano)17 b(consists)i(of)f(a)2044 3696 y(set)i(of)f(transformation)e
(rules)j(\(called)f(\252trans)p 3386 3696 25 4 v 29 w(rules\272\))g
(and)g(imple-)2044 3795 y(mentation)14 b(rules)g(\(called)g(\252impl)p
3004 3795 V 24 w(rules\272\),)g(a)g(set)g(of)g(properties,)e(and)2044
3895 y(some)i(support)g(functions.)22 b(The)14 b(join)g(associati)n
(vity)g(trans)p 3736 3895 V 26 w(rule)g(\(cf.)2044 3995
y(Figure)19 b(2\(b\)\))g(in)h(V)-11 b(olcano)20 b(is)h(as)g(follo)n(ws)
3259 3964 y Ft(4)3295 3995 y FG(:)2210 4155 y Ft(\()p
Fo(JOIN)f(?op)p 2469 4155 18 4 v 21 w(ar)o(g5)h Ft(\(\()p
Fo(JOIN)g(?op)p 2896 4155 V 21 w(ar)o(g4)g Ft(\(?1)g(?2\)\))g(?3\)\))
2293 4280 y Ff(\000)-23 b Fu(>)p Ft(\()p Fo(JOIN)20 b(?op)p
2633 4280 V 21 w(ar)o(g7)h Ft(\(?1)g(\()p Fo(JOIN)g(?op)p
3145 4280 V 21 w(ar)o(g6)g Ft(\(?2)g(?3\)\)\)\))2044
4440 y FG(The)32 b(important)f(point)h(to)g(note)h(is)g(the)g(use)f(of)
h FF(oper)o(ator)e(ar)m(gu-)2044 4540 y(ments)21 b FG(\(denoted)e(by)h
(\252op)p 2801 4540 25 4 v 29 w(ar)o(g\272)g(in)g(rules\);)h(these)g
(ar)o(guments)e(con-)2044 4640 y(tain)i(properties)g(used)g(in)h(the)g
(rule')-5 b(s)21 b(actions,)h(b)n(ut)f(unlik)o(e)g(Prairie,)2044
4739 y(the)o(y)31 b(do)g(not)h(contain)e FF(all)j FG(the)e(properties)g
(of)g(an)h(operator)e(tree)2044 4839 y(node.)e(There)18
b(are)h(other)f(property)f(classes,)k(lik)o(e)e(algorithm)f(ar)o(gu-)
2044 4939 y(ment,)26 b(logical)f(property)-5 b(,)23 b(system)j
(property)-5 b(,)24 b(physical)g(property)-5 b(,)2044
5038 y(and)25 b(cost.)46 b(Thus,)26 b(while)g(Prairie)g(uses)g(a)g
(uniform)e(descriptor)g(to)p 2044 5107 788 4 v 2129 5160
a Fr(4)2163 5184 y Fz(There)15 b(are)f(conditions)j(and)d(actions)i
(associated)g(with)f(V)-9 b(olcano)16 b(rules)e(that)h(are)2044
5263 y(not)i(sho)n(wn)h(here.)p eop
%%Page: 6 6
6 5 bop -98 24 1923 4 v -98 1420 4 1397 v 371 1324 a
@beginspecial @setspecial
 tx@Dict begin STP newpath 2.6 SLW 0. setgray  [ 17.07164 128.0373
119.50148 128.0373 119.50148 25.60745 17.07164 25.60745  /Lineto /lineto
load def false Polygon  gsave 2.6 SLW 0. setgray 0 setlinecap stroke
 grestore gsave 1.0 SLW 1. setgray stroke grestore end
 
@endspecial @beginspecial
@setspecial
 tx@Dict begin STP newpath 0.8 SLW 0. setgray  [ 34.14328 153.64476
102.42984 153.64476 102.42984 136.57312 34.14328 136.57312  /Lineto
/lineto load def false Polygon  gsave 1. setgray fill  grestore gsave
0.8 SLW 0. setgray 0 setlinecap stroke  grestore end
 
@endspecial 754 139 a @beginspecial @setspecial
 tx@Dict begin STP newpath 0.0 SLW 1. setgray  0. true 3.0 neg 3.0875
neg 47.33098 7.711 .5 Frame  gsave 1. setgray fill  grestore end


@endspecial Fo(Prairie)15 b(Rule)f(Set)371 1324 y @beginspecial
@setspecial
 tx@Dict begin STP newpath 0.8 SLW 0. setgray  /ArrowA { moveto } def
/ArrowB { /ArrowBc [ 6 2 roll ] cvx def ArrowBc BeginArrow false 0.4
1.4 2.0 3. Arrow  EndArrow  } def [ 68.28656 119.50148 68.28656 136.57312
 /Lineto /lineto load def false Line  gsave 2.0 2 mul CLW add SLW 1.
setgray stroke grestore gsave 0.8 SLW 0. setgray 0 setlinecap stroke
 grestore gsave ArrowBc ArrowB pop pop pop pop grestore end
 
@endspecial @beginspecial @setspecial
 tx@Dict begin STP newpath 2.6 SLW 0. setgray  [ 34.14328 119.50148
102.42984 119.50148 102.42984 102.42984 34.14328 102.42984  /Lineto
/lineto load def false Polygon  gsave 2.6 SLW 0. setgray 0 setlinecap
stroke  grestore gsave 1.0 SLW 1. setgray stroke grestore end
 
@endspecial
719 416 a(P2V)h(Pre-processor)371 1324 y @beginspecial
@setspecial
 tx@Dict begin STP newpath 0.8 SLW 0. setgray  /ArrowA { moveto } def
/ArrowB { /ArrowBc [ 6 2 roll ] cvx def ArrowBc BeginArrow false 0.4
1.4 2.0 3. Arrow  EndArrow  } def [ 68.28656 85.3582 68.28656 102.42984
 /Lineto /lineto load def false Line  gsave 2.0 2 mul CLW add SLW 1.
setgray stroke grestore gsave 0.8 SLW 0. setgray 0 setlinecap stroke
 grestore gsave ArrowBc ArrowB pop pop pop pop grestore end
 
@endspecial @beginspecial @setspecial
 tx@Dict begin STP newpath 0.8 SLW 0. setgray  [ 34.14328 85.3582 102.42984
85.3582 102.42984 68.28656 34.14328 68.28656  /Lineto /lineto load
def false Polygon  gsave 0.5 setgray fill  grestore gsave 0.8 SLW 0.
setgray 0 setlinecap stroke  grestore end
 
@endspecial
736 706 a @beginspecial @setspecial
 tx@Dict begin STP newpath 0.0 SLW 1. setgray  0. true 3.0 neg 3.0875
neg 51.482 7.711 .5 Frame  gsave 1. setgray fill  grestore end
 
@endspecial(V)-7
b(olcano)14 b(Rule)h(Set)371 1324 y @beginspecial @setspecial
 tx@Dict begin STP newpath 0.8 SLW 0. setgray  /ArrowA { moveto } def
/ArrowB { /ArrowBc [ 6 2 roll ] cvx def ArrowBc BeginArrow false 0.4
1.4 2.0 3. Arrow  EndArrow  } def [ 68.28656 51.21492 68.28656 68.28656
 /Lineto /lineto load def false Line  gsave 2.0 2 mul CLW add SLW 1.
setgray stroke grestore gsave 0.8 SLW 0. setgray 0 setlinecap stroke
 grestore gsave ArrowBc ArrowB pop pop pop pop grestore end


@endspecial @beginspecial @setspecial
 tx@Dict begin STP newpath 2.6 SLW 0. setgray  [ 34.14328 51.21492
102.42984 51.21492 102.42984 34.14328 34.14328 34.14328  /Lineto /lineto
load def false Polygon  gsave 2.6 SLW 0. setgray 0 setlinecap stroke
 grestore gsave 1.0 SLW 1. setgray stroke grestore end
 
@endspecial 843
950 a(V)-7 b(olcano)694 1017 y(Optimizer)o(-Generator)371
1324 y @beginspecial @setspecial
 tx@Dict begin STP newpath 0.8 SLW 0. setgray  /ArrowA { moveto } def
/ArrowB { /ArrowBc [ 6 2 roll ] cvx def ArrowBc BeginArrow false 0.4
1.4 2.0 3. Arrow  EndArrow  } def [ 68.28656 17.07164 68.28656 34.14328
 /Lineto /lineto load def false Line  gsave 2.0 2 mul CLW add SLW 1.
setgray stroke grestore gsave 0.8 SLW 0. setgray 0 setlinecap stroke
 grestore gsave ArrowBc ArrowB pop pop pop pop grestore end
 
@endspecial @beginspecial
@setspecial
 tx@Dict begin STP newpath 0.8 SLW 0. setgray  [ 34.14328 17.07164
102.42984 17.07164 102.42984 0.0 34.14328 0.0  /Lineto /lineto load
def false Polygon  gsave 0.5 setgray fill  grestore gsave 0.8 SLW 0.
setgray 0 setlinecap stroke  grestore end
 
@endspecial 740 1267 a @beginspecial @setspecial
 tx@Dict begin STP newpath 0.0 SLW 1. setgray  0. true 3.0 neg 4.526
neg 50.62799 7.711 .5 Frame  gsave 1. setgray fill  grestore end


@endspecial(Query)15 b(Optimizer)-948 b(Operator)15
b(T)n(ree)371 1324 y @beginspecial @setspecial
 tx@Dict begin STP newpath 0.8 SLW 0. setgray  /ArrowA { moveto } def
/ArrowB { /ArrowBc [ 6 2 roll ] cvx def ArrowBc BeginArrow false 0.4
1.4 2.0 3. Arrow  EndArrow  } def [ 34.14328 8.53581 17.07164 8.53581
 /Lineto /lineto load def false Line  gsave 2.0 2 mul CLW add SLW 1.
setgray stroke grestore gsave 0.8 SLW 0. setgray 0 setlinecap stroke
 grestore gsave ArrowBc ArrowB pop pop pop pop grestore end
 
@endspecial
@beginspecial @setspecial
 tx@Dict begin STP newpath 0.8 SLW 0. setgray  /ArrowA { moveto } def
/ArrowB { /ArrowBc [ 6 2 roll ] cvx def ArrowBc BeginArrow false 0.4
1.4 2.0 3. Arrow  EndArrow  } def [ 119.50148 8.53581 102.42984 8.53581
 /Lineto /lineto load def false Line  gsave 2.0 2 mul CLW add SLW 1.
setgray stroke grestore gsave 0.8 SLW 0. setgray 0 setlinecap stroke
 grestore gsave ArrowBc ArrowB pop pop pop pop grestore end
 
@endspecial 1363 1273 a(Access)e(Plan)p
1822 1420 V -98 1423 1923 4 v 1823 1440 19 1403 v -81
1440 1923 19 v -112 1623 a FG(Figure)58 b(5:)107 b(The)58
b(Prairie)h(optimizer)n(-generator)c(paradigm.)-112 1722
y(Double-box)o(ed)60 b(modules)j(represent)f(softw)o(are)i(generators,)
-112 1822 y(shaded)17 b(box)o(es)g(represent)g(generated)g(programs.)26
b(The)18 b(outermost)-112 1922 y(double-box)o(ed)e(portion)k(denotes)g
(the)h(Prairie)g(optimizer)f(genera-)-112 2021 y(tor)-5
b(.)-112 2214 y(encode)14 b(properties,)h(V)-11 b(olcano)14
b(partitions)h(the)h(properties)e(into)h(dif-)-112 2314
y(ferent)27 b(classes.)53 b(The)27 b(P2V)h(pre-processor)e(partitions)h
(a)h(Prairie)-112 2414 y(descriptor)33 b(into)i(the)h(dif)n(ferent)d
(property)g(classes)k(required)c(by)-112 2513 y(V)-11
b(olcano.)30 b(This)22 b(is)g(a)f(non-tri)n(vial)e(task,)j(since)f(it)h
(requires)e(parsing)-112 2613 y(the)g(Prairie)g(rules)g(and)g(their)g
(actions.)-29 2713 y(Impl)p 134 2713 25 4 v 28 w(rules)15
b(in)g(V)-11 b(olcano)14 b(defer)g(most)h(of)g(the)f(actions)h
(associated)-112 2812 y(with)j(the)g(rules)f(to)h(support)f(functions.)
27 b(Each)17 b(algorithm)g(has)h(four)-112 2912 y(support)d(functions)g
(associated)i(with)g(it.)29 b(A)17 b(Prairie)g(speci\256cation,)-112
3011 y(on)f(the)g(other)g(hand,)g(contains)g(all)h(the)g(actions)f(in)h
(the)g(correspond-)-112 3111 y(ing)i(rule.)29 b(The)19
b(P2V)h(pre-processor)e(parses)i(a)g(Prairie)g(I-rule,)e(and)-112
3211 y(automatically)29 b(generates)h(all)i(the)f(V)-11
b(olcano)30 b(support)g(functions)-112 3310 y(from)24
b(the)h(rule.)44 b(This)26 b(is)g(also)g(a)f(comple)o(x)f(process,)i
(since)f(it)h(de-)-112 3410 y(pends)c(partly)h(on)g(the)h(partitioning)
e(of)h(properties)f(mentioned)g(in)-112 3510 y(the)28
b(last)i(paragraph,)e(and)h(also)g(because)f(it)h(requires)f
(relocating)-112 3609 y(pieces)d(of)g(code)f(from)g(Prairie)h(rules)h
(to)f(V)-11 b(olcano)24 b(support)g(func-)-112 3709 y(tions.)-29
3808 y(The)d(third)g(salient)h(feature)e(of)i(a)g(V)-11
b(olcano)20 b(speci\256cation)h(is)i(the)-112 3908 y(presence)13
b(of)h(implicit,)i(or)e(hidden,)g(algorithms,)g(called)h
FF(enfor)m(cer)o(s)p FG(.)-112 4008 y(In)f(Prairie,)h(all)g(algorithms)
e(are)h(e)o(xplicit.)26 b(Consider)m(,)15 b(for)e(e)o(xample,)-112
4107 y(the)18 b(Mer)o(ge)p 230 4107 V 28 w(sort)h(algorithm)e(in)i
(Figure)f(3\(b\).)27 b(In)18 b(a)h(V)-11 b(olcano)18
b(spec-)-112 4207 y(i\256cation,)24 b(this)g(algorithm)f(w)o(ould)g(be)
h(classi\256ed)h(as)f(an)g(enforcer)m(,)-112 4307 y(since)34
b(it)h(enforces)e(the)h(sortedness)g(property)-5 b(.)69
b(The)34 b(P2V)h(pre-)-112 4406 y(processor)27 b(determines)h(the)h
(Prairie)g(algorithms)f(that)h(are)g(func-)-112 4506
y(tionally)g(V)-11 b(olcano)30 b(enforcers,)h(and)e(deletes)i(the)f
(corresponding)-112 4605 y(Prairie)k(rules)g(to)g(generate)f(the)h(V)
-11 b(olcano)33 b(speci\256cation.)71 b(This)-112 4705
y(requires)33 b(the)i(pre-processor)e(to)i(migrate)f(the)h(\(deleted\))
f(rule')-5 b(s)-112 4805 y(actions)19 b(to)i(V)-11 b(olcano)19
b(support)g(functions.)-29 4904 y(The)27 b(P2V)i(pre-processor)c(also)k
(generates)e(a)i(set)g(of)f(compact)-112 5004 y(V)-11
b(olcano)24 b(rules)i(by)f(mer)o(ging)f(Prairie)h(rules)h(whene)n(v)o
(er)d(possible.)-112 5104 y(Consider)m(,)18 b(for)i(e)o(xample,)f(the)h
(follo)n(wing)e(set)j(of)f(rules)g(in)h(Prairie:)-103
5263 y Fo(JOIN)p Ft(\()p Fu(S)90 5271 y Fn(1)122 5263
y Fu(;S)183 5271 y Fn(2)215 5263 y Ft(\):)p Fi(D)317
5271 y Fg(3)436 5263 y Fh(=)-14 b Fk(\))83 b Fo(JOPR)o
Ft(\()p Fo(SOR)m(T)o Ft(\()p Fu(S)1026 5271 y Fn(1)1058
5263 y Ft(\):)p Fi(D)1160 5271 y Fg(4)1196 5263 y Fu(;)p
Fo(SOR)m(T)o Ft(\()p Fu(S)1428 5271 y Fn(2)1460 5263
y Ft(\):)p Fi(D)1562 5271 y Fg(5)1597 5263 y Ft(\):)p
Fi(D)1699 5271 y Fg(6)2127 21 y Fo(SOR)m(T)o Ft(\()p
Fu(S)2339 29 y Fn(1)2371 21 y Ft(\):)p Fi(D)2473 29 y
Fg(2)2592 21 y Fh(=)-14 b Fk(\))83 b Fo(Null)p Ft(\()p
Fu(S)2979 29 y Fn(1)3011 21 y Ft(:)p Fi(D)3087 29 y Fg(3)3123
21 y Ft(\):)p Fi(D)3225 29 y Fg(4)2044 145 y Fo(JOPR)o
Ft(\()p Fu(S)2246 153 y Fn(1)2279 145 y Fu(;S)2340 153
y Fn(2)2371 145 y Ft(\):)p Fi(D)2473 153 y Fg(3)2592
145 y Fh(=)-14 b Fk(\))83 b Fo(Nested)p 2974 145 18 4
v 20 w(loops)p Ft(\()p Fu(S)3184 153 y Fn(1)3216 145
y Ft(:)p Fi(D)3292 153 y Fg(4)3328 145 y Fu(;S)3389 153
y Fn(2)3421 145 y Ft(\):)p Fi(D)3523 153 y Fg(5)2044
316 y FG(The)24 b(\256rst)g(rule)g(is)h(a)g(T)-8 b(-rule,)24
b(and)f(the)i(ne)o(xt)e(tw)o(o)h(are)g(I-rules.)40 b(The)2044
416 y(P2V)26 b(pre-processor)d(combines)h(the)i(abo)o(v)o(e)e(set)i(of)
g(Prairie)f(rules)2044 515 y(into)20 b(a)g(single)g(I-rule,)2044
686 y Fo(JOIN)p Ft(\()p Fu(S)2237 694 y Fn(1)2269 686
y Fu(;S)2330 694 y Fn(2)2362 686 y Ft(\):)p Fi(D)2464
694 y Fg(3)2582 686 y Fh(=)-14 b Fk(\))83 b Fo(Nested)p
2964 686 V 20 w(loops)p Ft(\()p Fu(S)3174 694 y Fn(1)3206
686 y Ft(:)p Fi(D)3282 694 y Fg(4)3318 686 y Fu(;S)3379
694 y Fn(2)3411 686 y Ft(\):)p Fi(D)3513 694 y Fg(5)2044
857 y FG(and)19 b(then)h(translates)g(it)h(into)f(a)h(single)f(V)-11
b(olcano)19 b(impl)p 3625 857 25 4 v 29 w(rule.)2044
1151 y FB(4)119 b(Experimental)30 b(r)n(esults)2044 1341
y FG(This)k(section)g(presents)g(e)o(xperimental)e(results)i(which)g
(demon-)2044 1441 y(strate)e(the)h(v)n(alue)f(of)g(Prairie)g(in)g
(specifying)f(rule)h(sets)i(of)e(rule-)2044 1541 y(based)f(optimizers.)
64 b(Our)32 b(e)o(xperiments)e(consist)j(of)f(specifying)2044
1640 y(rule-based)17 b(optimizers)i(using)g(Prairie)g(and)g(generating)
e(optimiz-)2044 1740 y(ers)f(using)f(the)g(P2V)h(pre-processor)c(and)j
(the)h(optimizer)n(-generator)2044 1839 y(paradigm)i(of)i(Figure)g(5.)
2127 1942 y(In)26 b([4],)g(we)h(presented)d(an)i(implementation)e(of)i
(a)g(centralized)2044 2041 y(relational)33 b(query)f(optimizer)h(using)
h(Prairie.)70 b(Using)34 b(the)g(P2V)2044 2141 y(translator)m(,)g(we)e
(translated)g(this)g(to)h(V)-11 b(olcano)31 b(format)g(and)h(opti-)2044
2240 y(mized)h(se)n(v)o(eral)h(queries)f(using)g(the)h(resultant)g
(optimizer)-5 b(.)69 b(F)o(or)2044 2340 y(comparison,)22
b(we)h(hand-coded)d(the)k(same)f(optimizer)f(directly)h(in)2044
2440 y(V)-11 b(olcano.)66 b(The)32 b(results)h(presented)f(there)g(sho)
n(wed)g(that,)k(using)2044 2539 y(Prairie)19 b(\(compared)f(to)i
(directly)f(using)g(V)-11 b(olcano\))18 b(resulted)i(in)f(ap-)2044
2639 y(proximately)27 b(50\045)j(sa)n(vings)f(in)h(lines)g(of)g(code)f
(with)h(ne)o(gligible)2044 2739 y(\(less)d(than)e(5\045\))h(increase)g
(in)g(query)f(optimization)f(time.)48 b(Ho)n(w-)2044
2838 y(e)n(v)o(er)m(,)23 b(the)h(optimizer)e(w)o(as)j(quite)e(small)i
(in)f(terms)g(of)f(the)h(number)2044 2938 y(of)c(operators,)e
(algorithms)h(and)h(rules.)2127 3040 y(F)o(or)i(a)h(more)f(realistic)h
(e)n(v)n(aluation)e(of)i(Prairie,)g(we)g(needed)e(an-)2044
3139 y(swers)g(to)f(the)g(follo)n(wing)f(questions:)2106
3313 y(1.)41 b(Is)20 b(Prairie)h(adequate)d(for)i(lar)o(ge-scale)f
(rule)h(sets?)2106 3489 y(2.)41 b(Ho)n(w)13 b(is)i(programmer)c
(producti)n(vity)g(enhanced)h(by)h(the)h(high-)2210 3588
y(le)n(v)o(el)20 b(abstractions)f(of)h(Prairie?)2106
3764 y(3.)41 b(Can)30 b(Prairie)f(rule)h(sets)g(be)g(translated)f
(automatically)f(into)2210 3864 y(ef)n(\256cient)20 b(implementations?)
2127 4037 y(W)-7 b(e)18 b(addressed)e(the)i(\256rst)g(question)e(by)h
(using)g(the)g(T)-6 b(e)o(xas)17 b(Instru-)2044 4137
y(ments)j(Open)g(OODB)i(query)d(optimizer)g(rule)i(set,)g(which)f(has)h
(the)2044 4237 y(lar)o(gest)29 b(publicly)h(a)n(v)n(ailable)f(rule)h
(set.)61 b(W)-7 b(e)31 b(describe)f(this)h(opti-)2044
4336 y(mizer)22 b(in)i(the)f(ne)o(xt)f(section,)h(and)g(then)f(gi)n(v)o
(e)h(our)f(assessments)i(to)2044 4436 y(the)c(last)h(tw)o(o)f
(questions)g(in)g(subsequent)f(sections.)2044 4687 y
Fx(4.1)99 b(The)74 b(T)-9 b(exas)73 b(Instruments)h(Open)g(OODB)2268
4803 y(query)26 b(optimizer)2044 4964 y FG(The)45 b(T)-6
b(e)o(xas)46 b(Instruments)f(Open)g(Object-Oriented)f(Database)2044
5063 y(Management)16 b(System)j(is)h(an)e(open,)g(e)o(xtensible,)g
(object-oriented)2044 5163 y(database)49 b(system)g(which)h(pro)o
(vides)d(users)j(an)g(architectural)2044 5263 y(frame)n(w)o(ork)27
b(that)j(is)h(con\256gurable)c(in)j(an)g(incremental)e(manner)-5
b(.)p eop
%%Page: 7 7
7 6 bop -112 21 a FG(The)42 b(query)f(optimizer)g(in)i(the)g(Open)f
(OODB)h([2])f(is)i(gener)n(-)-112 120 y(ated)35 b(using)f(V)-11
b(olcano.)74 b(It)36 b(is)g(written)f(as)h(a)f(set)i(of)e(trans)p
1671 120 25 4 v 29 w(rules)-112 220 y(and)21 b(impl)p
188 220 V 29 w(rules)h(that)h(de\256ne)e(the)i(algebra)e(of)h(an)g
(object-oriented)-112 319 y(database)34 b(system.)75
b(Currently)-5 b(,)37 b(there)e(are)g(17)g(transformation)-112
419 y(rules)13 b(and)g(9)h(implementation)e(rules)i(together)e(with)i
(about)f Fh(13)p Fv(;)h Fh(000)-112 519 y FG(lines)26
b(of)f(code)g(for)g(support)f(functions;)j(this,)g(of)f(course,)f(can)h
(be)-112 618 y(changed)18 b(by)i(an)g(Open)f(OODB)i(user)f(for)g
(speci\256c)g(needs.)-112 895 y Fx(4.2)99 b(Pr)n(ogrammer)25
b(pr)n(oducti)o(vity)-112 1064 y FG(Programmer)11 b(producti)n(vity)g
(can)i(be)h(measured)e(in)i(dif)n(ferent)e(w)o(ays.)-112
1164 y(An)29 b(admittedly)f(simplistic)j(metric)e(is)h(the)g(number)e
(of)h(lines)h(of)-112 1263 y(code)24 b(that)i(must)f(be)g(written.)45
b(But)26 b(there)e(are)i(also)f(less)i(tangible)-112
1363 y(measures,)16 b(such)h(as)g(the)g(amount)e(of)i(conceptual)e(ef)n
(fort)g(needed)h(to)-112 1463 y(understand)k(a)k(particular)d
(programming)f(task.)37 b(Our)23 b(e)o(xperience)-112
1562 y(with)d(the)h(Open)f(OODB)i(query)d(optimizer)g(suggests)i(that)g
(Prairie)-112 1662 y(e)o(xcels)f(on)g(the)g(latter)m(,)g(while)g(of)n
(fering)f(modest)g(reductions)g(in)i(the)-112 1762 y(v)n(olume)e(of)h
(code)f(that)h(needs)g(to)h(be)f(written.)-29 1868 y(W)-7
b(e)16 b(con)m(v)o(erted)e(by)h(hand)g(the)h(Open)f(OODB)h(query)f
(optimizer')-5 b(s)-112 1968 y(V)-11 b(olcano)15 b(speci\256cations)g
(to)h(Prairie.)28 b(This)16 b(w)o(as)h(a)f(non-tri)n(vial)f(task)-112
2068 y(because)27 b(of)h(the)h(relati)n(v)o(ely)e(lar)o(ge)g(size)i(of)
f(the)h(rule)f(set)h(and)f(the)-112 2167 y(comple)o(xity)f(of)j(the)g
(support)e(functions.)57 b(This)30 b(w)o(as)g(where)f(we)-112
2267 y(found)c(Prairie)j(helped)f(in)g(conceptually)f(simplifying)g
(the)i(rules)-112 2366 y(and)j(actions.)63 b(W)-7 b(e)33
b(then)e(used)g(our)g(P2V)h(pre-processor)d(to)j(re-)-112
2466 y(constitute)22 b(these)i(Prairie)f(speci\256cations)g(as)i(V)-11
b(olcano)22 b(speci\256ca-)-112 2566 y(tions.)59 b(As)31
b(described)e(in)i(Section)f(3,)i(this)f(process)f(in)m(v)n(olv)o(ed)e
(a)-112 2665 y(considerable)19 b(le)n(v)o(el)i(of)h(comple)o(xity)-5
b(,)19 b(partly)i(because)f(the)i(Prairie)-112 2765 y(speci\256cation)h
(had)g(22)g(T)-8 b(-rules)24 b(and)f(11)g(I-rules)h(compared)d(to)j(17)
-112 2865 y(trans)p 55 2865 V 29 w(rules)32 b(and)g(9)h(impl)p
659 2865 V 29 w(rules)g(in)f(the)h(V)-11 b(olcano)31
b(speci\256cation;)-112 2964 y(the)25 b(reconstituted)f(V)-11
b(olcano)24 b(speci\256cation)g(had)h(the)h(same)f(num-)-112
3064 y(ber)19 b(of)g(trans)p 270 3064 V 29 w(rules)h(and)f(impl)p
774 3064 V 29 w(rules)h(as)g(the)g(original)e(hand-coded)-112
3163 y(speci\256cation.)-29 3270 y(Con)m(v)o(erting)c(the)g(Open)g
(OODB)g(op)o(timizer)f(ru)o(le)h(set)g(into)f(Prair)o(ie)-112
3370 y(format)19 b(actually)h(simpli\256ed)g(its)i(speci\256cation)e
(as)h(the)g(comple)o(xi-)-112 3469 y(ties)i(of)g(the)g(V)-11
b(olcano)22 b(model)h(were)f(remo)o(v)o(ed.)36 b(The)22
b(reduction)g(in)-112 3569 y(lines)14 b(of)g(code)f(w)o(as)i(modest)f
(\320)h(there)e(w)o(as)i(about)e(a)i(10\045)f(sa)n(vings.)1820
3539 y Ft(5)-112 3669 y FG(Ho)n(we)n(v)o(er)m(,)24 b(as)j(mentioned)c
(abo)o(v)o(e,)j(sa)n(vings)f(in)h(lines)g(of)f(code)g(do)-112
3768 y(not)i(adequately)g(re\257ect)h(increases)g(in)g(programmer)d
(producti)n(v-)-112 3868 y(ity)-5 b(.)38 b(W)-7 b(e)25
b(found)d(the)h(encapsulated)f(speci\256cations)h(of)g(Prairie)g(\320)
-112 3968 y(namely)-5 b(,)34 b(the)f(use)h(of)e(a)i(single)f
(descriptor)e(and)i(fe)n(wer)f(e)o(xplicit)-112 4067
y(support)18 b(functions)h(\320)i(made)e(rule)h(programming)d
FF(muc)o(h)i FG(easier)-5 b(.)-112 4344 y Fx(4.3)99 b(P)n(erf)n
(ormance)81 b(r)n(esults)g(using)g(the)h(Open)112 4460
y(OODB)24 b(optimizer)-29 4629 y FG(The)17 b(acid)g(test)h(of)f
(Prairie)g(w)o(as)i(whether)d(Prairie)h(speci\256cations)-112
4729 y(could)c(be)i(translated)f(into)g(ef)n(\256cient)h(optimizer)e
(implementations.)-112 4828 y(Our)24 b(e)o(xperiments)f(using)h(the)h
(Open)g(OODB)g(consisted)g(of)f(opti-)-112 4928 y(mizing)j(8)h(dif)n
(ferent)e(queries)h(using)h(the)g(tw)o(o)g(query)f(optimizers)p
-112 5028 788 4 v -28 5081 a Fr(5)7 5105 y Fz(The)16
b(original)j(V)-9 b(olcano)18 b(speci\256cation)i(had)c
Fc(13)p Fb(;)c Fc(400)17 b Fz(lines,)g(the)g(Prairie)h(spec-)-112
5184 y(i\256cation)25 b(had)f Fc(12)p Fb(;)12 b Fc(100)23
b Fz(lines,)j(and)e(the)g(P2V)-7 b(-generated)26 b(V)-9
b(olcano)26 b(speci\256cation)-112 5263 y(had)17 b Fc(15)p
Fb(;)12 b Fc(800)17 b Fz(lines.)2044 21 y FG(generated,)h(respecti)n(v)
o(ely)-5 b(,)19 b(using)h(Prairie)g(and)g(using)h(V)-11
b(olcano)19 b(di-)2044 120 y(rectly)d(\(in)g(the)h(remainder)e(of)h
(this)h(section,)g(we)g(will)h(use)e(\252Prairie\272)2044
220 y(and)g(\252V)-11 b(olcano\272)15 b(to)h(denote)g(these)g(tw)o(o)h
(approaches\).)26 b(There)15 b(were)2044 319 y(4)j(distinct)h(e)o
(xpressions)e(that)i(were)f(used)g(to)h(generate)e(the)i(queries)2044
419 y(used)h(in)i(the)f(e)o(xperiments;)e(these)i(are)g(sho)n(wn)f(in)i
(Figure)e(6.)32 b(Each)2044 519 y(e)o(xpression)18 b(represents)i(an)g
Fv(N)9 b FG(-w)o(ay)19 b(join)h(query)f(for)h(v)n(arying)e
Fv(N)9 b FG(.)2127 627 y(The)27 b(\256rst)g(e)o(xpression)f(E1)h(is)h
(a)g(simple)f(retrie)n(v)n(al)f(and)g(join)h(of)2044
726 y(base)21 b(classes.)33 b(The)21 b(second,)f(E2,)h(is)i(also)e(a)h
(join)f(of)g(base)g(classes;)2044 826 y(ho)n(we)n(v)o(er)m(,)33
b(after)f(each)h(class)g(retrie)n(v)n(al,)i(an)d(attrib)n(ute)g(has)h
(to)g(be)2044 926 y(materialized)25 b(\(i.e.,)j(brought)d(into)h(vie)n
(w\))g(before)f(the)i(join.)48 b(The)2044 1025 y(third)17
b(and)g(fourth)f(e)o(xpressions)g(\(E3)h(and)g(E4\))g(are)g(the)h(same)
g(as)g(the)2044 1125 y(\256rst)23 b(and)f(second)g(\(E1)g(and)h(E2\))f
(respecti)n(v)o(ely)-5 b(,)21 b(e)o(xcept)h(that)h(there)2044
1224 y(is)g(a)g(selection)e(of)h(attrib)n(utes)g(\(the)g(select)h
(operator)d(is)k(the)e(root)f(of)2044 1324 y(the)f(e)o(xpressions\).)
2603 1294 y Ft(6)2127 1432 y FG(The)35 b(algebra)g(that)i(w)o(as)f
(used)g(in)g(the)g(Prairie)g(and)g(V)-11 b(olcano)2044
1532 y(optimizers)19 b(for)g(our)g(e)o(xperiments)e(consisted)j(of)f(5)
h(relational)f(op-)2044 1631 y(erators)f(SELECT)-6 b(,)18
b(PR)m(OJECT)-6 b(,)18 b(JOIN,)h(RET)g(and)f(UNNEST)g(\(for)2044
1731 y(set-v)n(alued)g(attrib)n(utes\))h(and)f(an)h(object-oriented)e
(operator)g(called)2044 1831 y(MA)-9 b(T)13 b(\(for)f(MA)-9
b(T)j(erialize;)15 b(it)f(is)g(fundamentally)d(a)j(pointer)n(-chasing)
2044 1930 y(operator)k(for)i(attrib)n(utes)g(of)g(a)g(class\).)30
b(There)19 b(were)i(8)f(algorithms.)2127 2038 y(There)13
b(are)g(man)o(y)g(param)o(eters)g(th)o(at)g(can)f(be)g(v)m(aried)g(whe)
o(n)h(b)o(en)o(ch-)2044 2138 y(marking)f(a)j(query)e(optimizer)-5
b(.)26 b(Since)14 b(our)f(objecti)n(v)o(e)g(w)o(as)i(to)f(v)o(erify)
2044 2237 y(that)j(the)h(Prairie)f(approach)f(did)h(not)g(sacri\256ce)h
(ef)n(\256cienc)o(y)-5 b(,)16 b(our)g(cri-)2044 2337
y(teria)g(for)g(the)g(queries)g(w)o(as)h(that)f(the)o(y)g(test)h(a)g
(majority)e(of)h(the)g(rules,)2044 2437 y(with)32 b(v)n(arying)d
(properties)i(of)g(the)h(base)f(classes.)65 b(T)-7 b(o)32
b(this)g(end,)2044 2536 y(we)21 b(tested)h(our)e(optimizer)g(\(and)g
(the)h(V)-11 b(olcano)20 b(optimizer\))g(with)h(8)2044
2636 y(dif)n(ferent)g(queries)i(\(sho)n(wn)f(in)h(T)-7
b(able)24 b(3\).)38 b(The)23 b(eight)f(queries)h(Q1)2044
2736 y(through)d(Q8)i(are)g(deri)n(v)o(ed)f(from)g(the)h(4)g(e)o
(xpressions)f(in)i(Figure)e(6.)2044 2835 y(Each)15 b(e)o(xpression)f
(E1)i(through)d(E4)j(is)g(used)g(to)g(obtain)f(tw)o(o)h(queries)2044
2935 y(for)k(a)h(\256x)o(ed)f(number)e Fv(N)30 b FG(of)20
b(JOINs)i(in)e(the)h(e)o(xpression.)29 b(The)20 b(only)2044
3034 y(dif)n(ference)13 b(between)h(the)h(tw)o(o)g(queries)f(obtained)g
(from)g(an)g(e)o(xpres-)2044 3134 y(sion)19 b(is)i(that)e(the)h
(\256rst)g(one)f(does)h(not)f(contain)g(an)o(y)f(indices)i(on)f(an)o(y)
2044 3234 y(classes,)25 b(whereas)e(the)g(second)f(one)h(contains)g(a)g
(single)g(inde)o(x)f(on)2044 3333 y(each)f(base)i(class)g(occurring)c
(in)j(the)h(e)o(xpression.)33 b(In)21 b(e)o(xpressions)2044
3433 y(where)16 b(a)i(SELECT)f(is)h(present)e(\(E3)h(and)f(E4\),)h(the)
h(selection)e(pred-)2044 3533 y(icate)21 b(is)g(a)g(conjunction)e(of)h
(equality)g(predicates)f FF(bc)3585 3545 y Fu(i)3636
3533 y Fh(==)k FF(const)3964 3545 y Fu(i)3992 3533 y
FG(,)2044 3632 y(where)17 b FF(bc)2344 3644 y Fu(i)2390
3632 y FG(is)i(an)f(attrib)n(ute)g(of)g(class)h FF(C)3178
3644 y Fu(i)3206 3632 y FG(,)g(and)e FF(const)3560 3644
y Fu(i)3606 3632 y FG(is)i(a)g(constant)2044 3732 y(\(we)k(arbitrarily)
f(set)h(this)h(to)f Fv(i)p FG(,)h(because)e(its)j(v)n(alue)d(doesn')o
(t)g(af)n(fect)2044 3831 y(the)j(correctness)g(or)g(performance)d(of)k
(the)f(optimizer\).)44 b(In)25 b(addi-)2044 3931 y(tion,)32
b(for)e(queries)g(with)h(a)g(SELECT)g(and)f(whose)g(base)h(classes)2044
4031 y(ha)n(v)o(e)24 b(indices)h(\(Q6)g(and)g(Q8)g(in)h(T)-7
b(able)25 b(3\),)h(the)f(\(single\))f(inde)o(x)g(of)2044
4130 y(each)c(base)h(class)h(w)o(as)g(chosen)e(to)h(be)g(the)g(attrib)n
(ute)f(referenced)f(in)2044 4230 y(the)25 b(selection)g(predicate.)44
b(F)o(or)25 b(e)o(xample,)g(class)i FF(C)3574 4242 y
Fu(i)3628 4230 y FG(w)o(as)f(chosen)2044 4330 y(to)i(ha)n(v)o(e)g(an)g
(inde)o(x)f(on)g(attrib)n(ute)h FF(bc)3132 4342 y Fu(i)3160
4330 y FG(.)54 b(The)28 b(join)f(predicates)h(for)2044
4429 y(each)13 b(JOIN)i(were)f(chosen)f(at)i(random,)e(and)h(were)f(al)
o(w)o(ays)i(equality)2044 4529 y(predicates.)27 b(The)17
b(choice)g(of)g(JOIN)h(predicates)f(w)o(as)h(such)f(that)h(the)p
2044 4633 V 2129 4687 a Fr(6)2163 4710 y Fz(The)23 b(most)g(comple)o(x)
i(e)o(xpression)f(E4)f(consists)h(of)f(all)h(operators)h(in)f(the)f
(al-)2044 4789 y(gebra,)17 b(e)o(xcept)i(PR)m(OJECT)d(and)h(UNNEST)-5
b(.)15 b(PR)m(OJECT)h(w)o(as)h(not)h(considered)h(be-)2044
4868 y(cause)d(it)g(appeared)i(in)d(only)h(one)g(impl)p
2948 4868 20 4 v 25 w(rule)g(and)g(no)g(trans)p 3412
4868 V 25 w(rules,)g(and)g(thus,)f(w)o(ould)2044 4947
y(not)22 b(af)n(fect)h(the)f(size)h(of)e(the)h(search)h(space)f(of)f
(abstract)j(e)o(xpressions.)39 b(UNNEST)2044 5026 y(w)o(as)20
b(not)h(considered)i(because)f(it)f(appeared)i(in)e(e)o(xactly)h(one)f
(trans)p 3656 5026 V 25 w(rule)h(and)f(one)2044 5105
y(impl)p 2169 5105 V 24 w(rule;)g(including)h(it)d(in)g(our)g(queries)h
(w)o(ould)g(ha)o(v)o(e)f(increased)i(the)f(number)f(of)2044
5184 y(parameters)f(that)f(could)h(af)n(fect)g(our)f(run-times.)25
b(W)-5 b(e)15 b(preferred)k(to)d(concentrate)k(on)2044
5263 y(simple)d(JOIN)g(e)o(xpressions.)p eop
%%Page: 8 8
8 7 bop -112 24 2130 4 v -112 1001 4 978 v -37 707 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodecl1 16 { .5 3.37999 1.5
false .5 7.23782 InitRnode  } NewNode end end

-37 707 a Fa(C)-10 719 y Fn(1)-47 618 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcl1 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 -47 618 a Fm(RET)-7
699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecl1
/TheNodegetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 -7 699 a 152 707 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodecl2 16 { .5 3.37999 1.5
false .5 7.23782 InitRnode  } NewNode end end
 152 707 a Fa(C)179 719 y Fn(2)142
618 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcl2 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 142 618 a Fm(RET)-7 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecl2
/TheNodegetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 -7 699 a 42 524 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodejoingetcl1getcl2 16 {
.5 3.36499 0.06248 false .5 10.82999 InitRnode  } NewNode end end
 42
524 a Fm(JOIN)-7 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoingetcl1getcl2
/TheNodegetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 -7 699 a -7 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoingetcl1getcl2
/TheNodegetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 -7 699 a 182
415 a
 tx@Dict begin 45. Rot  end
 182 415 a 143 418 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodedots 16 { .5 0.61111
0.0 false .5 9.32877 InitRnode  } NewNode end end
 143 418 a Fl(:)10 b(:)g(:)182
415 y
 tx@Dict begin 45. neg Rot  end
 182 415 a -7 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoingetcl1getcl2
/TheNodedots InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 -7 699 a 331 429 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcln 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 331 429 a
Fm(RET)336 520 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodecln 16 { .5 3.37999 0.99998
false .5 8.23898 InitRnode  } NewNode end end
 336 520 a Fa(C)364 528 y Fl(n)-7 699
y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecln
/TheNodegetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 -7 699 a 231 335 a
 tx@Dict begin tx@NodeDict begin {  } /TheNoderoot 16 { .5 3.36499
0.06248 false .5 10.82999 InitRnode  } NewNode end end
 231 335 a Fm(JOIN)-7 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderoot
/TheNodedots InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 -7 699
a -7 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderoot
/TheNodegetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 -7 699 a 100 881 a Fz(\(a\))17 b(E1)p 447
976 4 928 v 476 707 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodecl1 16 { .5 3.37999 1.5
false .5 7.23782 InitRnode  } NewNode end end
 476 707 a Fa(C)504 719 y Fn(1)467
618 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcl1 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 467 618 a Fm(RET)506 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecl1
/TheNodegetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 506 699 a 665 707 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodecl2 16 { .5 3.37999 1.5
false .5 7.23782 InitRnode  } NewNode end end

665 707 a Fa(C)693 719 y Fn(2)656 618 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcl2 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 656 618 a Fm(RET)506
699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecl2
/TheNodegetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 506 699 a 463 524 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodematgetcl1 16 { .5 3.36499
0.0 false .5 10.55498 InitRnode  } NewNode end end
 463 524 a Fm(MA)-5 b(T)506
699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodegetcl1
/TheNodematgetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 506 699 a 652 524 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodematgetcl2 16 { .5 3.36499
0.0 false .5 10.55498 InitRnode  } NewNode end end
 652 524 a Fm(MA)g(T)506 699
y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodegetcl2
/TheNodematgetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 506 699 a 556 429 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodejoinmatgetcl1matgetcl2
16 { .5 3.36499 0.06248 false .5 10.82999 InitRnode  } NewNode end
end
 556 429 a Fm(JOIN)506 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoinmatgetcl1matgetcl2
/TheNodematgetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 506
699 a 506 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoinmatgetcl1matgetcl2
/TheNodematgetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 506 699 a 695 321 a
 tx@Dict begin 45. Rot  end
 695 321 a 656 324
a
 tx@Dict begin tx@NodeDict begin {  } /TheNodedots 16 { .5 0.61111
0.0 false .5 9.32877 InitRnode  } NewNode end end
 656 324 a Fl(:)11 b(:)f(:)695 321 y
 tx@Dict begin 45. neg Rot  end
 695 321 a 506 699
a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoinmatgetcl1matgetcl2
/TheNodedots InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 506 699 a 845 429 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcln 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 845 429 a Fm(RET)850 520 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodecln 16 { .5 3.37999 0.99998
false .5 8.23898 InitRnode  } NewNode end end
 850
520 a Fa(C)878 528 y Fl(n)506 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecln
/TheNodegetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 506 699 a 841 335
a
 tx@Dict begin tx@NodeDict begin {  } /TheNodematgetcln 16 { .5 3.36499
0.0 false .5 10.55498 InitRnode  } NewNode end end
 841 335 a Fm(MA)-5 b(T)506 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodematgetcln
/TheNodegetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 506 699 a 745 240
a
 tx@Dict begin tx@NodeDict begin {  } /TheNoderoot 16 { .5 3.36499
0.06248 false .5 10.82999 InitRnode  } NewNode end end
 745 240 a Fm(JOIN)506 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderoot
/TheNodedots InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 506 699 a 506 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderoot
/TheNodematgetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 506
699 a 611 881 a Fz(\(b\))17 b(E2)p 961 976 4 928 v 990
707 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodecl1 16 { .5 3.37999 1.5
false .5 7.23782 InitRnode  } NewNode end end
 990 707 a Fa(C)1018 719 y Fn(1)981 618 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcl1 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 981 618
a Fm(RET)1020 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecl1
/TheNodegetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1020 699 a 1179 707 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodecl2 16 { .5 3.37999 1.5
false .5 7.23782 InitRnode  } NewNode end end
 1179 707 a
Fa(C)1207 719 y Fn(2)1170 618 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcl2 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 1170 618 a Fm(RET)1020
699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecl2
/TheNodegetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1020 699 a 1070 524 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodejoingetcl1getcl2 16 {
.5 3.36499 0.06248 false .5 10.82999 InitRnode  } NewNode end end
 1070 524 a Fm(JOIN)1020 699
y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoingetcl1getcl2
/TheNodegetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1020 699 a 1020 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoingetcl1getcl2
/TheNodegetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1020 699 a 1209 415 a
 tx@Dict begin 45. Rot  end
 1209 415
a 1170 418 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodedots 16 { .5 0.61111
0.0 false .5 9.32877 InitRnode  } NewNode end end
 1170 418 a Fl(:)11 b(:)f(:)1209 415 y
 tx@Dict begin 45. neg Rot  end
 1209
415 a 1020 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoingetcl1getcl2
/TheNodedots InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 1020 699 a 1359 429 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcln 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 1359 429 a Fm(RET)1364
520 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodecln 16 { .5 3.37999 0.99998
false .5 8.23898 InitRnode  } NewNode end end
 1364 520 a Fa(C)1392 528 y Fl(n)1020 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecln
/TheNodegetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1020
699 a 1259 335 a
 tx@Dict begin tx@NodeDict begin {  } /TheNoderoot 16 { .5 3.36499
0.06248 false .5 10.82999 InitRnode  } NewNode end end
 1259 335 a Fm(JOIN)1020 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderoot
/TheNodedots InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 1020 699
a 1020 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderoot
/TheNodegetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1020 699 a 1227 240 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodeselect 16 { .5 3.36499
0.06248 false .5 18.33496 InitRnode  } NewNode end end
 1227 240 a Fm(SELECT)1020
699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodeselect
/TheNoderoot InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 1020 699 a 1127 881 a Fz(\(c\))17 b(E3)p 1474 976
4 928 v 1504 707 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodecl1 16 { .5 3.37999 1.5
false .5 7.23782 InitRnode  } NewNode end end
 1504 707 a Fa(C)1531 719 y Fn(1)1495
618 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcl1 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 1495 618 a Fm(RET)1534 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecl1
/TheNodegetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1534 699 a 1693 707
a
 tx@Dict begin tx@NodeDict begin {  } /TheNodecl2 16 { .5 3.37999 1.5
false .5 7.23782 InitRnode  } NewNode end end
 1693 707 a Fa(C)1720 719 y Fn(2)1684 618 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcl2 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 1684 618
a Fm(RET)1534 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecl2
/TheNodegetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1534 699 a 1490 524 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodematgetcl1 16 { .5 3.36499
0.0 false .5 10.55498 InitRnode  } NewNode end end
 1490 524 a
Fm(MA)-5 b(T)1534 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodegetcl1
/TheNodematgetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 1534 699 a 1679 524 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodematgetcl2 16 { .5 3.36499
0.0 false .5 10.55498 InitRnode  } NewNode end end
 1679 524
a Fm(MA)g(T)1534 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodegetcl2
/TheNodematgetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 1534 699 a 1583 429 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodejoinmatgetcl1matgetcl2
16 { .5 3.36499 0.06248 false .5 10.82999 InitRnode  } NewNode end
end
 1583 429
a Fm(JOIN)1534 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoinmatgetcl1matgetcl2
/TheNodematgetcl1 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 1534 699 a 1534 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoinmatgetcl1matgetcl2
/TheNodematgetcl2 InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 1534 699 a
1723 321 a
 tx@Dict begin 45. Rot  end
 1723 321 a 1684 324 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodedots 16 { .5 0.61111
0.0 false .5 9.32877 InitRnode  } NewNode end end
 1684 324 a Fl(:)10 b(:)h(:)1723
321 y
 tx@Dict begin 45. neg Rot  end
 1723 321 a 1534 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodejoinmatgetcl1matgetcl2
/TheNodedots InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 1534 699 a 1873 429 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodegetcln 16 { .5 3.36499
0.0 false .5 9.44498 InitRnode  } NewNode end end
 1873
429 a Fm(RET)1878 520 y
 tx@Dict begin tx@NodeDict begin {  } /TheNodecln 16 { .5 3.37999 0.99998
false .5 8.23898 InitRnode  } NewNode end end
 1878 520 a Fa(C)1905 528 y Fl(n)1534
699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodecln
/TheNodegetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1534 699 a 1868 335 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodematgetcln 16 { .5 3.36499
0.0 false .5 10.55498 InitRnode  } NewNode end end
 1868 335 a Fm(MA)-5 b(T)1534
699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodematgetcln
/TheNodegetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0
setlinecap stroke  grestore  grestore end
 1534 699 a 1772 240 a
 tx@Dict begin tx@NodeDict begin {  } /TheNoderoot 16 { .5 3.36499
0.06248 false .5 10.82999 InitRnode  } NewNode end end
 1772 240 a Fm(JOIN)1534 699
y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderoot
/TheNodedots InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 1534 699 a 1534 699 a
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNoderoot
/TheNodematgetcln InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray
0 setlinecap stroke  grestore  grestore end
 1534 699 a 1741 146 a
 tx@Dict begin tx@NodeDict begin {  } /TheNodeselect 16 { .5 3.36499
0.06248 false .5 18.33496 InitRnode  } NewNode end end
 1741 146
a Fm(SELECT)1534 699 y
 tx@Dict begin gsave STV newpath 0.8 SLW 0. setgray  /ArrowA { moveto
} def /ArrowB { } def tx@NodeDict begin 0.0 0.0 neg 1.0 1.0 /TheNodeselect
/TheNoderoot InitNC { NCLine  } if end gsave 0.8 SLW 0. setgray 0 setlinecap
stroke  grestore  grestore end
 1534 699 a 1639 881 a Fz(\(d\))17
b(E4)p 2014 1001 4 978 v -112 1004 2130 4 v 2015 1021
19 984 v -96 1021 2130 19 v -112 1204 a FG(Figure)g(6:)28
b(Expressions)17 b(used)h(in)g(generating)e(queries)h(for)h(e)o
(xperiments)p 2359 358 1644 13 v 2359 424 4 67 v 2412
438 a Fp(Query)p 2620 424 V 2673 443 a(Indices?)p 2930
424 V 2983 438 a(Expr)o(ession)p 3306 424 V 3471 404
a(Rules)d(matched)p 3999 424 V 3309 427 694 4 v 2359
491 4 67 v 2620 491 V 2930 491 V 3306 491 V 3359 471
a Fo(trans)p 3475 471 18 4 v 21 w(rules)p 3656 491 4
67 v 103 w(impl)p 3818 471 18 4 v 22 w(rules)p 3999 491
4 67 v 2359 503 1644 13 v 2359 569 4 67 v 2456 549 a(Q1)p
2620 569 V 214 w(No)p 2930 569 V 3087 589 a(E1)p 3306
569 V 316 w(3)p 3656 569 V 318 w(3)p 3999 569 V 2359
573 575 4 v 2359 636 4 67 v 2456 616 a(Q2)p 2620 636
V 207 w(Y)-6 b(es)p 2930 636 V 3306 636 V 3656 636 V
3999 636 V 2359 639 1644 4 v 2359 706 4 67 v 2456 686
a(Q3)p 2620 706 V 214 w(No)p 2930 706 V 3087 725 a(E2)p
3306 706 V 316 w(8)p 3656 706 V 318 w(4)p 3999 706 V
2359 709 575 4 v 2359 772 4 67 v 2456 752 a(Q4)p 2620
772 V 207 w(Y)g(es)p 2930 772 V 3306 772 V 3656 772 V
3999 772 V 2359 775 1644 4 v 2359 842 4 67 v 2456 822
a(Q5)p 2620 842 V 214 w(No)p 2930 842 V 3087 861 a(E3)p
3306 842 V 316 w(9)p 3656 842 V 3815 862 a(5)p 3999 842
V 2359 845 575 4 v 2359 908 4 67 v 2456 888 a(Q6)p 2620
908 V 207 w(Y)g(es)p 2930 908 V 3306 908 V 3656 908 V
3999 908 V 2359 911 1644 4 v 2359 978 4 67 v 2456 958
a(Q7)p 2620 978 V 214 w(No)p 2930 978 V 3087 997 a(E4)p
3306 978 V 302 w(16)p 3656 978 V 303 w(7)p 3999 978 V
2359 981 575 4 v 2359 1044 4 67 v 2456 1024 a(Q8)p 2620
1044 V 207 w(Y)g(es)p 2930 1044 V 3306 1044 V 3656 1044
V 3999 1044 V 2359 1057 1644 13 v 2566 1204 a FG(T)f(able)20
b(3:)30 b(Queries)20 b(used)g(in)g(e)o(xperiments)-112
1554 y(queries)i(corresponded)e(to)k(linear)f(query)f(graphs.)38
b(In)23 b(the)g(future,)-112 1654 y(we)16 b(will)h(e)o(xperiment)d
(with)i(non-linear)e(\(e.g.,)i(star\))g(query)f(graphs.)-29
1755 y(T)-7 b(able)52 b(3)h(also)g(sho)n(ws)g(the)f(number)f(of)h
(trans)p 1497 1755 25 4 v 30 w(rules)g(and)-112 1855
y(impl)p 46 1855 V 29 w(rules)23 b(that)h(are)f(matched)g(by)g(each)g
(e)o(xpression.)38 b(These)23 b(are)-112 1954 y(the)36
b(rules)h(whose)f(left)h(hand)f(sides)h(match)g(a)g(sub-e)o(xpression.)
-112 2054 y(Ho)n(we)n(v)o(er)m(,)20 b(not)i(all)g(the)g(rules)g(were)g
(necessarily)g(applicable.)33 b(F)o(or)-112 2153 y(instance,)25
b(an)g(impl)p 469 2153 V 29 w(rule)g(with)g(an)h(inde)o(x)d(scan)j(w)o
(ould)e(not)h(apply)-112 2253 y(to)20 b(Q3,)g(although)e(it)j(might)f
(apply)f(to)h(Q4.)-29 2354 y(Queries)32 b(Q1)h(through)e(Q8)i(were)g
(optimized)f(for)g(increasing)-112 2454 y(number)d Fv(N)41
b FG(of)31 b(JOINs.)64 b(F)o(or)32 b(a)g(\256x)o(ed)e(number)g(of)h
(JOINs)i(in)e(a)-112 2554 y(query)-5 b(,)14 b(we)i(v)n(aried)f(the)h
(cardinalities)f(of)g(the)h(base)g(classes)h(5)f(times,)-112
2653 y(each)h(time)h(generating)e(a)i(query)f(with)h(dif)n(ferent)e
(class)i(properties,)-112 2753 y(and)30 b(a)n(v)o(eraged)g(the)h
(run-times)f(o)o(v)o(er)g(the)h(5)h(query)d(instances)j(to)-112
2852 y(generate)20 b(the)h(per)n(-query)f(optimization)g(time.)33
b(Thus,)21 b(each)h(point)-112 2952 y(in)g(our)f(graphs)g(represents)h
(the)g(a)n(v)o(erage)f(of)h(5)g(queries.)34 b(The)22
b(run-)-112 3052 y(times)c(were)f(measured)585 3022 y
Ft(7)639 3052 y FG(using)g(the)h(GNU)g Fd(time)g FG(command.)26
b(All)-112 3151 y(e)o(xperiments)13 b(were)i(performed)e(on)i(a)h
(lightly)f(loaded)f(DECstation)-112 3251 y(5000/200)j(running)h(Ultrix)
i(4.2.)-29 3352 y(The)13 b(optimization)g(times)g(for)g(ea)o(ch)f(qu)o
(ery)g(fo)o(r)h(b)o(oth)f(ap)o(pr)o(oach)o(es)-112 3452
y(\(Prairie)h(and)g(V)-11 b(olcano\))13 b(are)g(sho)n(wn)g(in)g
(Figures)g(7\(a\))g(thro)o(ug)o(h)g(7\()o(h\))o(.)-112
3552 y(The)25 b(number)g(of)h(joins)g(in)g(each)g(set)h(of)f(graphs)f
(w)o(as)i(v)n(aried)e(to)h(a)-112 3651 y(maximum)18 b(of)i(8,)g(or)g
(until)g(virtual)f(memory)g(w)o(as)i(e)o(xhausted.)-29
3753 y(The)i(\256rst)h(set)h(of)e(graphs)f(\(Figures)h(7\(a\))g(and)g
(7\(b\)\))f(sho)n(ws)i(the)-112 3852 y(performance)32
b(of)k(a)g(simple)f(relational-type)f(query)-5 b(.)73
b(The)36 b(op-)-112 3952 y(timization)30 b(times)j(are)e(almost)h
(identical)f(between)g(Prairie)g(and)-112 4051 y(V)-11
b(olcano,)32 b(and)f(the)h(notable)e(point)h(is)h(that)f(the)h
(presence)e(of)h(an)-112 4151 y(inde)o(x)16 b(does)h(not)g(change)f
(the)i(optimizer')-5 b(s)16 b(beha)n(vior)m(,)g(i.e.,)i(the)g(tw)o(o)
-112 4251 y(graphs)24 b(are)i(identical.)46 b(This)26
b(arises)h(because)e(the)h(optimizer)f(al-)-112 4350
y(gebra)g(had)h(only)g(tw)o(o)h(join)f(algorithms)g(\(pointer)f(join)h
(and)g(hash)-112 4450 y(join\),)19 b(neither)g(of)h(which)g(mak)o(es)g
(use)g(of)g(an)o(y)f(indices.)-29 4551 y(The)13 b(second)f(set)i(of)g
(graphs)e(\(Figures)h(7\(c\))f(and)h(7\(d\)\))f(sho)n(ws)i(the)-112
4651 y(results)25 b(of)g(optimizing)f(Q3)i(and)f(Q4.)44
b(Here,)27 b(as)f(in)g(Figures)f(7\(a\))-112 4750 y(and)33
b(7\(b\),)i(the)f(presence)f(\(or)g(absence\))g(of)g(indices)h(mak)o
(es)f(no)-112 4850 y(dif)n(ference.)46 b(Both)26 b(the)h(Prairie)f(and)
g(V)-11 b(olcano)26 b(approaches)e(ha)n(v)o(e)-112 4950
y(comparable)d(run-times.)40 b(The)24 b(sharp)f(jump)h(in)g(the)g
(graphs)f(from)p -112 5028 788 4 v -28 5081 a Fr(7)7
5105 y Fz(Since)j(the)g(run-times)h(were)f(too)f(small)h(to)g(be)f
(measured)h(accurately)j(with)-112 5184 y Fy(time)p Fz(,)19
b(each)i(query)g(instance)h(w)o(as)f(optimized)h(3000)f(times)f(\(in)h
(a)f(loop\))h(and)f(the)-112 5263 y(total)e(time)g(w)o(as)f(di)n(vided)
i(by)e(3000)h(to)f(get)h(the)g(per)o(-query)g(optimization)i(time.)2044
1554 y FG(7-w)o(ay)12 b(to)i(8-w)o(ay)f(joins)g(is)i(due)d(to)i(the)f
(f)o(act)h(that)g(since)f(all)h(optimiza-)2044 1654 y(tion)25
b(is)h(done)f(in)h(main)f(memory)-5 b(,)24 b(dynamic)g(memory)g
(allocation)2044 1753 y(\(caused)29 b(by)h Fd(malloc)g
FG(calls\))h(results)g(in)f(a)h(lot)f(of)h(thrashing)e(at)2044
1853 y(this)d(point.)44 b(W)-7 b(e)26 b(speculate)f(that)g(in)h
(systems)g(with)f(more)g(virtual)2044 1952 y(memory)-5
b(,)18 b(the)i(graphs)f(will)i(be)f(smoother)-5 b(.)2127
2057 y(The)15 b(third)f(and)g(fourth)g(sets)i(of)f(graphs)f(in)h
(Figures)g(7\(e\))f(through)2044 2157 y(7\(h\))k(are)i(optimizations)f
(of)g(queries)h(with)g(a)g(selection)f(predicate.)2044
2257 y(In)c(these)h(cases,)g(the)g(presence)e(of)i(an)f(inde)o(x)f(mak)
o(es)h(a)h(dif)n(ference)e(if)2044 2356 y(the)21 b(inde)o(x)e(is)j
(referenced)c(in)j(the)g(selection)g(predicate)e(\(as)i(we)g(de-)2044
2456 y(signed\).)27 b(Also,)19 b(in)g(these)g(tw)o(o)f(\256gures,)h
(the)f(performance)e(of)i(both)2044 2556 y(Prairie)e(and)h(V)-11
b(olcano)16 b(w)o(as)h(almost)g(identical,)g(e)o(xcept)e(that)i
(Prairie)2044 2655 y(does)29 b(slightly)f(w)o(orse)h(due)g(to)g(the)g
(lar)o(ger)f(number)f(of)33 b Fd(malloc)2044 2755 y FG(calls)23
b(that)f(the)h(P2V)f(translator)g(introduces.)34 b(Also,)23
b(note)f(that)h(we)2044 2854 y(could)c(only)g(go)g(up)h(to)g(3-w)o(ay)f
(joins)g(before)g(virtual)g(memory)f(w)o(as)2044 2954
y(e)o(xhausted.)34 b(As)23 b(the)g(a)n(v)n(ailable)f(memory)e
(decreases,)j(there)f(is)h(in-)2044 3054 y(creased)15
b(thrashing)f(\(as)i(sho)n(wn)f(by)h(the)g(sharp)f(changes)f(in)i
(slope)g(in)2044 3153 y(the)k(plots\))g(resulting)f(in)i(a)f(much)f
(slo)n(wer)h(optimization)f(process.)2127 3258 y(In)j(all)h(four)f
(sets)i(of)e(plots,)h(we)g(can)f(see)i(that)e(Prairie)h(performs)2044
3358 y(with)34 b(almost)g(\(less)h(than)e Fh(5\045)i
FG(v)n(ariation\))d(the)i(same)g(ef)n(\256cienc)o(y)2044
3457 y(as)i(V)-11 b(olcano.)76 b(In)36 b(e)o(xtreme)e(cases,)41
b(when)35 b(memory)f(is)j(scarce,)2044 3557 y(Prairie)17
b(runs)f(more)h(slo)n(wly)g(\(about)e Fh(15\045)p FG(\))i(\(e.g.,)f
(Figure)h(7\(f\)\),)f(b)n(ut)2044 3657 y(we)31 b(belie)n(v)o(e)f(that)h
(this)h(situation)e(already)g(represents)g(a)h(serious)2044
3756 y(bottleneck)18 b(for)i(both)f(V)-11 b(olcano)20
b(and)f(Prairie.)2127 3861 y(The)13 b(results)h(presented)e(in)h(this)h
(section)g(sho)n(w)f(that)g(Prairie)h(opti-)2044 3961
y(mizers)h(need)g(not)g(sacri\256ce)h(ef)n(\256cienc)o(y)e(for)g
(clarity)-5 b(,)16 b(e)n(v)o(en)e(for)h(lar)o(ge)2044
4060 y(rule)f(sets.)28 b(More)14 b(research)g(and)g(v)n(alidation)f(is)
i(necessary)f(to)g(v)o(erify)2044 4160 y(that)20 b(Prairie)g(is)h(an)f
(ef)n(\256cient)g(tool)g(for)g(optimizer)f(speci\256cation.)2044
4469 y FB(5)119 b(Related)31 b(r)n(esear)n(ch)2044 4665
y FG(The)d(System)h(R)g(optimizer)f([11])f(w)o(as)j(the)f(most)f
(important)f(de-)2044 4764 y(v)o(elopment)g(in)j(query)f(optimization)f
(research.)57 b(It)30 b(w)o(as)h(a)f(cost-)2044 4864
y(based)19 b(centralized)f(relational)g(query)g(optimizer)h(and)f
(introduced)2044 4964 y(a)g(v)n(ariety)e(of)h(k)o(e)o(y)g(concepts)f
(lik)o(e)i(\252interesting\272)e(e)o(xpressions,)g(car)n(-)2044
5063 y(dinality)35 b(estimation)g(using)h(selecti)n(vity)g(f)o(actors)f
(and)h(dynamic)2044 5163 y(programming)14 b(with)j(pruning)e(of)i
(search)g(space.)28 b(These)17 b(concepts)2044 5263 y(continue)h(to)j
(be)f(important)f(in)h(query)f(optimizer)g(research.)p
eop
%%Page: 9 9
9 8 bop -104 24 1935 4 v -104 3720 4 3697 v 66 715 a
@beginspecial 50 @llx 50 @lly 500 @urx 375 @ury 850 @rwi
@setspecial
%%BeginDocument: runtime.Q1.ps
/m {moveto} bind def
/l {lineto} bind def
/RJ {
 stringwidth neg exch neg exch
 rmoveto
} bind def
/CS {
 stringwidth
 2 div neg exch 2 div neg exch
 rmoveto
} bind def
0.25 0.25 scale
1 setlinecap
/Times-Italic findfont 
120 scalefont
 setfont
[] 0 setdash
420 376 m
420 1785 l
2030 1785 l
2030 376 l
420 376 l
stroke
[] 0 setdash
420 376 m
420 396 l
621 376 m
621 396 l
822 376 m
822 396 l
1023 376 m
1023 396 l
1225 376 m
1225 396 l
1426 376 m
1426 396 l
1627 376 m
1627 396 l
1828 376 m
1828 396 l
2030 376 m
2030 396 l
420 1785 m
420 1765 l
621 1785 m
621 1765 l
822 1785 m
822 1765 l
1023 1785 m
1023 1765 l
1225 1785 m
1225 1765 l
1426 1785 m
1426 1765 l
1627 1785 m
1627 1765 l
1828 1785 m
1828 1765 l
2030 1785 m
2030 1765 l
/Times-Italic findfont 
120 scalefont
 setfont
/Times-Roman findfont 
120 scalefont
 setfont
stroke
420 276 m
gsave
420 276 translate
0 rotate
0 -40  m
(0) CS
(0) show
grestore
newpath
621 276 m
gsave
621 276 translate
0 rotate
0 -40  m
(1) CS
(1) show
grestore
newpath
822 276 m
gsave
822 276 translate
0 rotate
0 -40  m
(2) CS
(2) show
grestore
newpath
1023 276 m
gsave
1023 276 translate
0 rotate
0 -40  m
(3) CS
(3) show
grestore
newpath
1225 276 m
gsave
1225 276 translate
0 rotate
0 -40  m
(4) CS
(4) show
grestore
newpath
1426 276 m
gsave
1426 276 translate
0 rotate
0 -40  m
(5) CS
(5) show
grestore
newpath
1627 276 m
gsave
1627 276 translate
0 rotate
0 -40  m
(6) CS
(6) show
grestore
newpath
1828 276 m
gsave
1828 276 translate
0 rotate
0 -40  m
(7) CS
(7) show
grestore
newpath
2030 276 m
gsave
2030 276 translate
0 rotate
0 -40  m
(8) CS
(8) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
1225 76 m
gsave
1225 76 translate
0 rotate
0 0  m
(Number of joins) CS
(Number of joins) show
grestore
newpath
420 376 m
430 376 l
420 611 m
430 611 l
420 846 m
430 846 l
420 1081 m
430 1081 l
420 1315 m
430 1315 l
420 1550 m
430 1550 l
420 1785 m
430 1785 l
2030 376 m
2020 376 l
2030 611 m
2020 611 l
2030 846 m
2020 846 l
2030 1081 m
2020 1081 l
2030 1315 m
2020 1315 l
2030 1550 m
2020 1550 l
2030 1785 m
2020 1785 l
stroke
420 376 m
440 376 l
420 846 m
440 846 l
420 1315 m
440 1315 l
420 1785 m
440 1785 l
2030 376 m
2010 376 l
2030 846 m
2010 846 l
2030 1315 m
2010 1315 l
2030 1785 m
2010 1785 l
/Times-Roman findfont 
120 scalefont
 setfont
stroke
348 376 m
gsave
348 376 translate
0 rotate
0 -40  m
(0) RJ
(0) show
grestore
newpath
348 846 m
gsave
348 846 translate
0 rotate
0 -40  m
(1000) RJ
(1000) show
grestore
newpath
348 1315 m
gsave
348 1315 translate
0 rotate
0 -40  m
(2000) RJ
(2000) show
grestore
newpath
348 1785 m
gsave
348 1785 translate
0 rotate
0 -40  m
(3000) RJ
(3000) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
-2 1080 m
gsave
-2 1080 translate
90 rotate
0 0  m
(CPU time \(microseconds\)) CS
(CPU time \(microseconds\)) show
grestore
newpath
420 418 m
621 537 l
822 661 l
1023 789 l
1225 909 l
1426 1046 l
1627 1183 l
1828 1320 l
2030 1449 l
stroke
420 418 30 0 360 arc
gsave fill grestore
stroke
621 537 30 0 360 arc
gsave fill grestore
stroke
822 661 30 0 360 arc
gsave fill grestore
stroke
1023 789 30 0 360 arc
gsave fill grestore
stroke
1225 909 30 0 360 arc
gsave fill grestore
stroke
1426 1046 30 0 360 arc
gsave fill grestore
stroke
1627 1183 30 0 360 arc
gsave fill grestore
stroke
1828 1320 30 0 360 arc
gsave fill grestore
stroke
2030 1449 30 0 360 arc
gsave fill grestore
stroke
420 421 m
621 541 l
822 670 l
1023 801 l
1225 935 l
1426 1066 l
1627 1229 l
1828 1355 l
2030 1504 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
420 451 m
390 421 l
420 391 l
450 421 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
420 451 m
390 421 l
420 391 l
450 421 l
420 451 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
621 571 m
591 541 l
621 511 l
651 541 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
621 571 m
591 541 l
621 511 l
651 541 l
621 571 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
822 700 m
792 670 l
822 640 l
852 670 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
822 700 m
792 670 l
822 640 l
852 670 l
822 700 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1023 831 m
993 801 l
1023 771 l
1053 801 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1023 831 m
993 801 l
1023 771 l
1053 801 l
1023 831 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1225 965 m
1195 935 l
1225 905 l
1255 935 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1225 965 m
1195 935 l
1225 905 l
1255 935 l
1225 965 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1426 1096 m
1396 1066 l
1426 1036 l
1456 1066 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1426 1096 m
1396 1066 l
1426 1036 l
1456 1066 l
1426 1096 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1627 1259 m
1597 1229 l
1627 1199 l
1657 1229 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1627 1259 m
1597 1229 l
1627 1199 l
1657 1229 l
1627 1259 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1828 1385 m
1798 1355 l
1828 1325 l
1858 1355 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1828 1385 m
1798 1355 l
1828 1325 l
1858 1355 l
1828 1385 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
2030 1534 m
2000 1504 l
2030 1474 l
2060 1504 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
2030 1534 m
2000 1504 l
2030 1474 l
2060 1504 l
2030 1534 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
929 1359 m
929 1659 l
1771 1659 l
1771 1359 l
929 1359 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
995 1584 m
1259 1584 l
stroke
995 1584 30 0 360 arc
gsave fill grestore
stroke
1259 1584 30 0 360 arc
gsave fill grestore
stroke
1325 1584 m
gsave
1325 1584 translate
0 rotate
0 -40  m
(Prairie) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
995 1434 m
1259 1434 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
995 1464 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
1259 1464 l
stroke
1325 1434 m
gsave
1325 1434 translate
0 rotate
0 -40  m
(Volcano) show
grestore
newpath
showpage
%%EndDocument
 @endspecial 267 842 a Fz(\(a\))17 b(Query)h(1)974 715
y @beginspecial 50 @llx 50 @lly 500 @urx 375 @ury 850
@rwi @setspecial
%%BeginDocument: runtime.Q2.ps
/m {moveto} bind def
/l {lineto} bind def
/RJ {
 stringwidth neg exch neg exch
 rmoveto
} bind def
/CS {
 stringwidth
 2 div neg exch 2 div neg exch
 rmoveto
} bind def
0.25 0.25 scale
1 setlinecap
/Times-Italic findfont 
120 scalefont
 setfont
[] 0 setdash
420 376 m
420 1785 l
2030 1785 l
2030 376 l
420 376 l
stroke
[] 0 setdash
420 376 m
420 396 l
621 376 m
621 396 l
822 376 m
822 396 l
1023 376 m
1023 396 l
1225 376 m
1225 396 l
1426 376 m
1426 396 l
1627 376 m
1627 396 l
1828 376 m
1828 396 l
2030 376 m
2030 396 l
420 1785 m
420 1765 l
621 1785 m
621 1765 l
822 1785 m
822 1765 l
1023 1785 m
1023 1765 l
1225 1785 m
1225 1765 l
1426 1785 m
1426 1765 l
1627 1785 m
1627 1765 l
1828 1785 m
1828 1765 l
2030 1785 m
2030 1765 l
/Times-Italic findfont 
120 scalefont
 setfont
/Times-Roman findfont 
120 scalefont
 setfont
stroke
420 276 m
gsave
420 276 translate
0 rotate
0 -40  m
(0) CS
(0) show
grestore
newpath
621 276 m
gsave
621 276 translate
0 rotate
0 -40  m
(1) CS
(1) show
grestore
newpath
822 276 m
gsave
822 276 translate
0 rotate
0 -40  m
(2) CS
(2) show
grestore
newpath
1023 276 m
gsave
1023 276 translate
0 rotate
0 -40  m
(3) CS
(3) show
grestore
newpath
1225 276 m
gsave
1225 276 translate
0 rotate
0 -40  m
(4) CS
(4) show
grestore
newpath
1426 276 m
gsave
1426 276 translate
0 rotate
0 -40  m
(5) CS
(5) show
grestore
newpath
1627 276 m
gsave
1627 276 translate
0 rotate
0 -40  m
(6) CS
(6) show
grestore
newpath
1828 276 m
gsave
1828 276 translate
0 rotate
0 -40  m
(7) CS
(7) show
grestore
newpath
2030 276 m
gsave
2030 276 translate
0 rotate
0 -40  m
(8) CS
(8) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
1225 76 m
gsave
1225 76 translate
0 rotate
0 0  m
(Number of joins) CS
(Number of joins) show
grestore
newpath
420 376 m
430 376 l
420 611 m
430 611 l
420 846 m
430 846 l
420 1081 m
430 1081 l
420 1315 m
430 1315 l
420 1550 m
430 1550 l
420 1785 m
430 1785 l
2030 376 m
2020 376 l
2030 611 m
2020 611 l
2030 846 m
2020 846 l
2030 1081 m
2020 1081 l
2030 1315 m
2020 1315 l
2030 1550 m
2020 1550 l
2030 1785 m
2020 1785 l
stroke
420 376 m
440 376 l
420 846 m
440 846 l
420 1315 m
440 1315 l
420 1785 m
440 1785 l
2030 376 m
2010 376 l
2030 846 m
2010 846 l
2030 1315 m
2010 1315 l
2030 1785 m
2010 1785 l
/Times-Roman findfont 
120 scalefont
 setfont
stroke
348 376 m
gsave
348 376 translate
0 rotate
0 -40  m
(0) RJ
(0) show
grestore
newpath
348 846 m
gsave
348 846 translate
0 rotate
0 -40  m
(1000) RJ
(1000) show
grestore
newpath
348 1315 m
gsave
348 1315 translate
0 rotate
0 -40  m
(2000) RJ
(2000) show
grestore
newpath
348 1785 m
gsave
348 1785 translate
0 rotate
0 -40  m
(3000) RJ
(3000) show
grestore
newpath
420 418 m
621 539 l
822 664 l
1023 783 l
1225 906 l
1426 1037 l
1627 1176 l
1828 1304 l
2030 1451 l
stroke
420 418 30 0 360 arc
gsave fill grestore
stroke
621 539 30 0 360 arc
gsave fill grestore
stroke
822 664 30 0 360 arc
gsave fill grestore
stroke
1023 783 30 0 360 arc
gsave fill grestore
stroke
1225 906 30 0 360 arc
gsave fill grestore
stroke
1426 1037 30 0 360 arc
gsave fill grestore
stroke
1627 1176 30 0 360 arc
gsave fill grestore
stroke
1828 1304 30 0 360 arc
gsave fill grestore
stroke
2030 1451 30 0 360 arc
gsave fill grestore
stroke
420 412 m
621 533 l
822 661 l
1023 796 l
1225 926 l
1426 1063 l
1627 1212 l
1828 1355 l
2030 1504 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
420 442 m
390 412 l
420 382 l
450 412 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
420 442 m
390 412 l
420 382 l
450 412 l
420 442 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
621 563 m
591 533 l
621 503 l
651 533 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
621 563 m
591 533 l
621 503 l
651 533 l
621 563 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
822 691 m
792 661 l
822 631 l
852 661 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
822 691 m
792 661 l
822 631 l
852 661 l
822 691 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1023 826 m
993 796 l
1023 766 l
1053 796 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1023 826 m
993 796 l
1023 766 l
1053 796 l
1023 826 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1225 956 m
1195 926 l
1225 896 l
1255 926 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1225 956 m
1195 926 l
1225 896 l
1255 926 l
1225 956 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1426 1093 m
1396 1063 l
1426 1033 l
1456 1063 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1426 1093 m
1396 1063 l
1426 1033 l
1456 1063 l
1426 1093 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1627 1242 m
1597 1212 l
1627 1182 l
1657 1212 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1627 1242 m
1597 1212 l
1627 1182 l
1657 1212 l
1627 1242 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1828 1385 m
1798 1355 l
1828 1325 l
1858 1355 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1828 1385 m
1798 1355 l
1828 1325 l
1858 1355 l
1828 1385 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
2030 1534 m
2000 1504 l
2030 1474 l
2060 1504 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
2030 1534 m
2000 1504 l
2030 1474 l
2060 1504 l
2030 1534 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
929 1359 m
929 1659 l
1771 1659 l
1771 1359 l
929 1359 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
995 1584 m
1259 1584 l
stroke
995 1584 30 0 360 arc
gsave fill grestore
stroke
1259 1584 30 0 360 arc
gsave fill grestore
stroke
1325 1584 m
gsave
1325 1584 translate
0 rotate
0 -40  m
(Prairie) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
995 1434 m
1259 1434 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
995 1464 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
1259 1464 l
stroke
1325 1434 m
gsave
1325 1434 translate
0 rotate
0 -40  m
(Volcano) show
grestore
newpath
showpage
%%EndDocument
 @endspecial 1173 842 a(\(b\))f(Query)h(2)p -34 943 1816
4 v 66 1632 a @beginspecial 50 @llx 50 @lly 500 @urx
375 @ury 850 @rwi @setspecial
%%BeginDocument: runtime.Q3.ps
/m {moveto} bind def
/l {lineto} bind def
/RJ {
 stringwidth neg exch neg exch
 rmoveto
} bind def
/CS {
 stringwidth
 2 div neg exch 2 div neg exch
 rmoveto
} bind def
0.25 0.25 scale
1 setlinecap
/Times-Italic findfont 
120 scalefont
 setfont
[] 0 setdash
420 376 m
420 1785 l
2030 1785 l
2030 376 l
420 376 l
stroke
[] 0 setdash
420 376 m
420 396 l
621 376 m
621 396 l
822 376 m
822 396 l
1023 376 m
1023 396 l
1225 376 m
1225 396 l
1426 376 m
1426 396 l
1627 376 m
1627 396 l
1828 376 m
1828 396 l
2030 376 m
2030 396 l
420 1785 m
420 1765 l
621 1785 m
621 1765 l
822 1785 m
822 1765 l
1023 1785 m
1023 1765 l
1225 1785 m
1225 1765 l
1426 1785 m
1426 1765 l
1627 1785 m
1627 1765 l
1828 1785 m
1828 1765 l
2030 1785 m
2030 1765 l
/Times-Italic findfont 
120 scalefont
 setfont
/Times-Roman findfont 
120 scalefont
 setfont
stroke
420 276 m
gsave
420 276 translate
0 rotate
0 -40  m
(0) CS
(0) show
grestore
newpath
621 276 m
gsave
621 276 translate
0 rotate
0 -40  m
(1) CS
(1) show
grestore
newpath
822 276 m
gsave
822 276 translate
0 rotate
0 -40  m
(2) CS
(2) show
grestore
newpath
1023 276 m
gsave
1023 276 translate
0 rotate
0 -40  m
(3) CS
(3) show
grestore
newpath
1225 276 m
gsave
1225 276 translate
0 rotate
0 -40  m
(4) CS
(4) show
grestore
newpath
1426 276 m
gsave
1426 276 translate
0 rotate
0 -40  m
(5) CS
(5) show
grestore
newpath
1627 276 m
gsave
1627 276 translate
0 rotate
0 -40  m
(6) CS
(6) show
grestore
newpath
1828 276 m
gsave
1828 276 translate
0 rotate
0 -40  m
(7) CS
(7) show
grestore
newpath
2030 276 m
gsave
2030 276 translate
0 rotate
0 -40  m
(8) CS
(8) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
1225 76 m
gsave
1225 76 translate
0 rotate
0 0  m
(Number of joins) CS
(Number of joins) show
grestore
newpath
420 376 m
430 376 l
420 517 m
430 517 l
420 658 m
430 658 l
420 799 m
430 799 l
420 940 m
430 940 l
420 1081 m
430 1081 l
420 1221 m
430 1221 l
420 1362 m
430 1362 l
420 1503 m
430 1503 l
420 1644 m
430 1644 l
420 1785 m
430 1785 l
2030 376 m
2020 376 l
2030 517 m
2020 517 l
2030 658 m
2020 658 l
2030 799 m
2020 799 l
2030 940 m
2020 940 l
2030 1081 m
2020 1081 l
2030 1221 m
2020 1221 l
2030 1362 m
2020 1362 l
2030 1503 m
2020 1503 l
2030 1644 m
2020 1644 l
2030 1785 m
2020 1785 l
stroke
420 376 m
440 376 l
420 658 m
440 658 l
420 940 m
440 940 l
420 1221 m
440 1221 l
420 1503 m
440 1503 l
420 1785 m
440 1785 l
2030 376 m
2010 376 l
2030 658 m
2010 658 l
2030 940 m
2010 940 l
2030 1221 m
2010 1221 l
2030 1503 m
2010 1503 l
2030 1785 m
2010 1785 l
/Times-Roman findfont 
120 scalefont
 setfont
stroke
348 376 m
gsave
348 376 translate
0 rotate
0 -40  m
(0) RJ
(0) show
grestore
newpath
348 658 m
gsave
348 658 translate
0 rotate
0 -40  m
(1000) RJ
(1000) show
grestore
newpath
348 940 m
gsave
348 940 translate
0 rotate
0 -40  m
(2000) RJ
(2000) show
grestore
newpath
348 1221 m
gsave
348 1221 translate
0 rotate
0 -40  m
(3000) RJ
(3000) show
grestore
newpath
348 1503 m
gsave
348 1503 translate
0 rotate
0 -40  m
(4000) RJ
(4000) show
grestore
newpath
348 1785 m
gsave
348 1785 translate
0 rotate
0 -40  m
(5000) RJ
(5000) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
-2 1080 m
gsave
-2 1080 translate
90 rotate
0 0  m
(CPU time \(microseconds\)) CS
(CPU time \(microseconds\)) show
grestore
newpath
420 401 m
621 489 l
822 578 l
1023 672 l
1225 762 l
1426 865 l
1627 969 l
1828 1076 l
2030 1574 l
stroke
420 401 30 0 360 arc
gsave fill grestore
stroke
621 489 30 0 360 arc
gsave fill grestore
stroke
822 578 30 0 360 arc
gsave fill grestore
stroke
1023 672 30 0 360 arc
gsave fill grestore
stroke
1225 762 30 0 360 arc
gsave fill grestore
stroke
1426 865 30 0 360 arc
gsave fill grestore
stroke
1627 969 30 0 360 arc
gsave fill grestore
stroke
1828 1076 30 0 360 arc
gsave fill grestore
stroke
2030 1574 30 0 360 arc
gsave fill grestore
stroke
420 402 m
621 485 l
822 568 l
1023 644 l
1225 736 l
1426 821 l
1627 918 l
1828 1019 l
2030 1511 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
420 432 m
390 402 l
420 372 l
450 402 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
420 432 m
390 402 l
420 372 l
450 402 l
420 432 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
621 515 m
591 485 l
621 455 l
651 485 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
621 515 m
591 485 l
621 455 l
651 485 l
621 515 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
822 598 m
792 568 l
822 538 l
852 568 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
822 598 m
792 568 l
822 538 l
852 568 l
822 598 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1023 674 m
993 644 l
1023 614 l
1053 644 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1023 674 m
993 644 l
1023 614 l
1053 644 l
1023 674 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1225 766 m
1195 736 l
1225 706 l
1255 736 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1225 766 m
1195 736 l
1225 706 l
1255 736 l
1225 766 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1426 851 m
1396 821 l
1426 791 l
1456 821 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1426 851 m
1396 821 l
1426 791 l
1456 821 l
1426 851 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1627 948 m
1597 918 l
1627 888 l
1657 918 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1627 948 m
1597 918 l
1627 888 l
1657 918 l
1627 948 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1828 1049 m
1798 1019 l
1828 989 l
1858 1019 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1828 1049 m
1798 1019 l
1828 989 l
1858 1019 l
1828 1049 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
2030 1541 m
2000 1511 l
2030 1481 l
2060 1511 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
2030 1541 m
2000 1511 l
2030 1481 l
2060 1511 l
2030 1541 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
929 1359 m
929 1659 l
1771 1659 l
1771 1359 l
929 1359 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
995 1584 m
1259 1584 l
stroke
995 1584 30 0 360 arc
gsave fill grestore
stroke
1259 1584 30 0 360 arc
gsave fill grestore
stroke
1325 1584 m
gsave
1325 1584 translate
0 rotate
0 -40  m
(Prairie) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
995 1434 m
1259 1434 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
995 1464 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
1259 1464 l
stroke
1325 1434 m
gsave
1325 1434 translate
0 rotate
0 -40  m
(Volcano) show
grestore
newpath
showpage
%%EndDocument
 @endspecial 267 1760 a(\(c\))f(Query)h(3)974 1632 y
@beginspecial 50 @llx 50 @lly 500 @urx 375 @ury 850 @rwi
@setspecial
%%BeginDocument: runtime.Q4.ps
/m {moveto} bind def
/l {lineto} bind def
/RJ {
 stringwidth neg exch neg exch
 rmoveto
} bind def
/CS {
 stringwidth
 2 div neg exch 2 div neg exch
 rmoveto
} bind def
0.25 0.25 scale
1 setlinecap
/Times-Italic findfont 
120 scalefont
 setfont
[] 0 setdash
420 376 m
420 1785 l
2030 1785 l
2030 376 l
420 376 l
stroke
[] 0 setdash
420 376 m
420 396 l
621 376 m
621 396 l
822 376 m
822 396 l
1023 376 m
1023 396 l
1225 376 m
1225 396 l
1426 376 m
1426 396 l
1627 376 m
1627 396 l
1828 376 m
1828 396 l
2030 376 m
2030 396 l
420 1785 m
420 1765 l
621 1785 m
621 1765 l
822 1785 m
822 1765 l
1023 1785 m
1023 1765 l
1225 1785 m
1225 1765 l
1426 1785 m
1426 1765 l
1627 1785 m
1627 1765 l
1828 1785 m
1828 1765 l
2030 1785 m
2030 1765 l
/Times-Italic findfont 
120 scalefont
 setfont
/Times-Roman findfont 
120 scalefont
 setfont
stroke
420 276 m
gsave
420 276 translate
0 rotate
0 -40  m
(0) CS
(0) show
grestore
newpath
621 276 m
gsave
621 276 translate
0 rotate
0 -40  m
(1) CS
(1) show
grestore
newpath
822 276 m
gsave
822 276 translate
0 rotate
0 -40  m
(2) CS
(2) show
grestore
newpath
1023 276 m
gsave
1023 276 translate
0 rotate
0 -40  m
(3) CS
(3) show
grestore
newpath
1225 276 m
gsave
1225 276 translate
0 rotate
0 -40  m
(4) CS
(4) show
grestore
newpath
1426 276 m
gsave
1426 276 translate
0 rotate
0 -40  m
(5) CS
(5) show
grestore
newpath
1627 276 m
gsave
1627 276 translate
0 rotate
0 -40  m
(6) CS
(6) show
grestore
newpath
1828 276 m
gsave
1828 276 translate
0 rotate
0 -40  m
(7) CS
(7) show
grestore
newpath
2030 276 m
gsave
2030 276 translate
0 rotate
0 -40  m
(8) CS
(8) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
1225 76 m
gsave
1225 76 translate
0 rotate
0 0  m
(Number of joins) CS
(Number of joins) show
grestore
newpath
420 376 m
430 376 l
420 517 m
430 517 l
420 658 m
430 658 l
420 799 m
430 799 l
420 940 m
430 940 l
420 1081 m
430 1081 l
420 1221 m
430 1221 l
420 1362 m
430 1362 l
420 1503 m
430 1503 l
420 1644 m
430 1644 l
420 1785 m
430 1785 l
2030 376 m
2020 376 l
2030 517 m
2020 517 l
2030 658 m
2020 658 l
2030 799 m
2020 799 l
2030 940 m
2020 940 l
2030 1081 m
2020 1081 l
2030 1221 m
2020 1221 l
2030 1362 m
2020 1362 l
2030 1503 m
2020 1503 l
2030 1644 m
2020 1644 l
2030 1785 m
2020 1785 l
stroke
420 376 m
440 376 l
420 658 m
440 658 l
420 940 m
440 940 l
420 1221 m
440 1221 l
420 1503 m
440 1503 l
420 1785 m
440 1785 l
2030 376 m
2010 376 l
2030 658 m
2010 658 l
2030 940 m
2010 940 l
2030 1221 m
2010 1221 l
2030 1503 m
2010 1503 l
2030 1785 m
2010 1785 l
/Times-Roman findfont 
120 scalefont
 setfont
stroke
348 376 m
gsave
348 376 translate
0 rotate
0 -40  m
(0) RJ
(0) show
grestore
newpath
348 658 m
gsave
348 658 translate
0 rotate
0 -40  m
(1000) RJ
(1000) show
grestore
newpath
348 940 m
gsave
348 940 translate
0 rotate
0 -40  m
(2000) RJ
(2000) show
grestore
newpath
348 1221 m
gsave
348 1221 translate
0 rotate
0 -40  m
(3000) RJ
(3000) show
grestore
newpath
348 1503 m
gsave
348 1503 translate
0 rotate
0 -40  m
(4000) RJ
(4000) show
grestore
newpath
348 1785 m
gsave
348 1785 translate
0 rotate
0 -40  m
(5000) RJ
(5000) show
grestore
newpath
420 400 m
621 492 l
822 575 l
1023 669 l
1225 759 l
1426 866 l
1627 962 l
1828 1069 l
2030 1578 l
stroke
420 400 30 0 360 arc
gsave fill grestore
stroke
621 492 30 0 360 arc
gsave fill grestore
stroke
822 575 30 0 360 arc
gsave fill grestore
stroke
1023 669 30 0 360 arc
gsave fill grestore
stroke
1225 759 30 0 360 arc
gsave fill grestore
stroke
1426 866 30 0 360 arc
gsave fill grestore
stroke
1627 962 30 0 360 arc
gsave fill grestore
stroke
1828 1069 30 0 360 arc
gsave fill grestore
stroke
2030 1578 30 0 360 arc
gsave fill grestore
stroke
420 400 m
621 484 l
822 567 l
1023 645 l
1225 735 l
1426 823 l
1627 915 l
1828 1024 l
2030 1517 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
420 430 m
390 400 l
420 370 l
450 400 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
420 430 m
390 400 l
420 370 l
450 400 l
420 430 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
621 514 m
591 484 l
621 454 l
651 484 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
621 514 m
591 484 l
621 454 l
651 484 l
621 514 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
822 597 m
792 567 l
822 537 l
852 567 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
822 597 m
792 567 l
822 537 l
852 567 l
822 597 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1023 675 m
993 645 l
1023 615 l
1053 645 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1023 675 m
993 645 l
1023 615 l
1053 645 l
1023 675 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1225 765 m
1195 735 l
1225 705 l
1255 735 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1225 765 m
1195 735 l
1225 705 l
1255 735 l
1225 765 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1426 853 m
1396 823 l
1426 793 l
1456 823 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1426 853 m
1396 823 l
1426 793 l
1456 823 l
1426 853 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1627 945 m
1597 915 l
1627 885 l
1657 915 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1627 945 m
1597 915 l
1627 885 l
1657 915 l
1627 945 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1828 1054 m
1798 1024 l
1828 994 l
1858 1024 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1828 1054 m
1798 1024 l
1828 994 l
1858 1024 l
1828 1054 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
2030 1547 m
2000 1517 l
2030 1487 l
2060 1517 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
2030 1547 m
2000 1517 l
2030 1487 l
2060 1517 l
2030 1547 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
929 1359 m
929 1659 l
1771 1659 l
1771 1359 l
929 1359 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
995 1584 m
1259 1584 l
stroke
995 1584 30 0 360 arc
gsave fill grestore
stroke
1259 1584 30 0 360 arc
gsave fill grestore
stroke
1325 1584 m
gsave
1325 1584 translate
0 rotate
0 -40  m
(Prairie) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
995 1434 m
1259 1434 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
995 1464 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
1259 1464 l
stroke
1325 1434 m
gsave
1325 1434 translate
0 rotate
0 -40  m
(Volcano) show
grestore
newpath
showpage
%%EndDocument
 @endspecial 1173 1760 a(\(d\))f(Query)h(4)p -34 1861
V 66 2550 a @beginspecial 50 @llx 50 @lly 500 @urx 375
@ury 850 @rwi @setspecial
%%BeginDocument: runtime.Q5.ps
/m {moveto} bind def
/l {lineto} bind def
/RJ {
 stringwidth neg exch neg exch
 rmoveto
} bind def
/CS {
 stringwidth
 2 div neg exch 2 div neg exch
 rmoveto
} bind def
0.25 0.25 scale
1 setlinecap
/Times-Italic findfont 
120 scalefont
 setfont
[] 0 setdash
420 376 m
420 1785 l
2030 1785 l
2030 376 l
420 376 l
stroke
[] 0 setdash
420 376 m
420 396 l
956 376 m
956 396 l
1493 376 m
1493 396 l
2030 376 m
2030 396 l
420 1785 m
420 1765 l
956 1785 m
956 1765 l
1493 1785 m
1493 1765 l
2030 1785 m
2030 1765 l
/Times-Italic findfont 
120 scalefont
 setfont
/Times-Roman findfont 
120 scalefont
 setfont
stroke
420 276 m
gsave
420 276 translate
0 rotate
0 -40  m
(0) CS
(0) show
grestore
newpath
956 276 m
gsave
956 276 translate
0 rotate
0 -40  m
(1) CS
(1) show
grestore
newpath
1493 276 m
gsave
1493 276 translate
0 rotate
0 -40  m
(2) CS
(2) show
grestore
newpath
2030 276 m
gsave
2030 276 translate
0 rotate
0 -40  m
(3) CS
(3) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
1225 76 m
gsave
1225 76 translate
0 rotate
0 0  m
(Number of joins) CS
(Number of joins) show
grestore
newpath
420 376 m
430 376 l
420 552 m
430 552 l
420 728 m
430 728 l
420 904 m
430 904 l
420 1081 m
430 1081 l
420 1257 m
430 1257 l
420 1433 m
430 1433 l
420 1609 m
430 1609 l
420 1785 m
430 1785 l
2030 376 m
2020 376 l
2030 552 m
2020 552 l
2030 728 m
2020 728 l
2030 904 m
2020 904 l
2030 1081 m
2020 1081 l
2030 1257 m
2020 1257 l
2030 1433 m
2020 1433 l
2030 1609 m
2020 1609 l
2030 1785 m
2020 1785 l
stroke
420 376 m
440 376 l
420 728 m
440 728 l
420 1081 m
440 1081 l
420 1433 m
440 1433 l
420 1785 m
440 1785 l
2030 376 m
2010 376 l
2030 728 m
2010 728 l
2030 1081 m
2010 1081 l
2030 1433 m
2010 1433 l
2030 1785 m
2010 1785 l
/Times-Roman findfont 
120 scalefont
 setfont
stroke
348 376 m
gsave
348 376 translate
0 rotate
0 -40  m
(0) RJ
(0) show
grestore
newpath
348 728 m
gsave
348 728 translate
0 rotate
0 -40  m
(2000) RJ
(2000) show
grestore
newpath
348 1081 m
gsave
348 1081 translate
0 rotate
0 -40  m
(4000) RJ
(4000) show
grestore
newpath
348 1433 m
gsave
348 1433 translate
0 rotate
0 -40  m
(6000) RJ
(6000) show
grestore
newpath
348 1785 m
gsave
348 1785 translate
0 rotate
0 -40  m
(8000) RJ
(8000) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
-2 1080 m
gsave
-2 1080 translate
90 rotate
0 0  m
(CPU time \(microseconds\)) CS
(CPU time \(microseconds\)) show
grestore
newpath
420 424 m
956 511 l
1493 671 l
2030 1778 l
stroke
420 424 30 0 360 arc
gsave fill grestore
stroke
956 511 30 0 360 arc
gsave fill grestore
stroke
1493 671 30 0 360 arc
gsave fill grestore
stroke
2030 1778 30 0 360 arc
gsave fill grestore
stroke
420 426 m
956 522 l
1493 688 l
2030 1737 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
420 456 m
390 426 l
420 396 l
450 426 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
420 456 m
390 426 l
420 396 l
450 426 l
420 456 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
956 552 m
926 522 l
956 492 l
986 522 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
956 552 m
926 522 l
956 492 l
986 522 l
956 552 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1493 718 m
1463 688 l
1493 658 l
1523 688 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1493 718 m
1463 688 l
1493 658 l
1523 688 l
1493 718 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
2030 1767 m
2000 1737 l
2030 1707 l
2060 1737 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
2030 1767 m
2000 1737 l
2030 1707 l
2060 1737 l
2030 1767 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
929 1359 m
929 1659 l
1771 1659 l
1771 1359 l
929 1359 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
995 1584 m
1259 1584 l
stroke
995 1584 30 0 360 arc
gsave fill grestore
stroke
1259 1584 30 0 360 arc
gsave fill grestore
stroke
1325 1584 m
gsave
1325 1584 translate
0 rotate
0 -40  m
(Prairie) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
995 1434 m
1259 1434 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
995 1464 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
1259 1464 l
stroke
1325 1434 m
gsave
1325 1434 translate
0 rotate
0 -40  m
(Volcano) show
grestore
newpath
showpage
%%EndDocument
 @endspecial 267 2680 a(\(e\))f(Query)h(5)974 2550 y
@beginspecial 50 @llx 50 @lly 500 @urx 375 @ury 850 @rwi
@setspecial
%%BeginDocument: runtime.Q6.ps
/m {moveto} bind def
/l {lineto} bind def
/RJ {
 stringwidth neg exch neg exch
 rmoveto
} bind def
/CS {
 stringwidth
 2 div neg exch 2 div neg exch
 rmoveto
} bind def
0.25 0.25 scale
1 setlinecap
/Times-Italic findfont 
120 scalefont
 setfont
[] 0 setdash
420 376 m
420 1785 l
2030 1785 l
2030 376 l
420 376 l
stroke
[] 0 setdash
420 376 m
420 386 l
956 376 m
956 386 l
1493 376 m
1493 386 l
2030 376 m
2030 386 l
420 1785 m
420 1775 l
956 1785 m
956 1775 l
1493 1785 m
1493 1775 l
2030 1785 m
2030 1775 l
stroke
420 376 m
420 396 l
956 376 m
956 396 l
1493 376 m
1493 396 l
2030 376 m
2030 396 l
420 1785 m
420 1765 l
956 1785 m
956 1765 l
1493 1785 m
1493 1765 l
2030 1785 m
2030 1765 l
/Times-Italic findfont 
120 scalefont
 setfont
/Times-Roman findfont 
120 scalefont
 setfont
stroke
420 276 m
gsave
420 276 translate
0 rotate
0 -40  m
(0) CS
(0) show
grestore
newpath
956 276 m
gsave
956 276 translate
0 rotate
0 -40  m
(1) CS
(1) show
grestore
newpath
1493 276 m
gsave
1493 276 translate
0 rotate
0 -40  m
(2) CS
(2) show
grestore
newpath
2030 276 m
gsave
2030 276 translate
0 rotate
0 -40  m
(3) CS
(3) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
1225 76 m
gsave
1225 76 translate
0 rotate
0 0  m
(Number of joins) CS
(Number of joins) show
grestore
newpath
420 376 m
430 376 l
420 517 m
430 517 l
420 658 m
430 658 l
420 799 m
430 799 l
420 940 m
430 940 l
420 1081 m
430 1081 l
420 1221 m
430 1221 l
420 1362 m
430 1362 l
420 1503 m
430 1503 l
420 1644 m
430 1644 l
420 1785 m
430 1785 l
2030 376 m
2020 376 l
2030 517 m
2020 517 l
2030 658 m
2020 658 l
2030 799 m
2020 799 l
2030 940 m
2020 940 l
2030 1081 m
2020 1081 l
2030 1221 m
2020 1221 l
2030 1362 m
2020 1362 l
2030 1503 m
2020 1503 l
2030 1644 m
2020 1644 l
2030 1785 m
2020 1785 l
stroke
420 376 m
440 376 l
420 658 m
440 658 l
420 940 m
440 940 l
420 1221 m
440 1221 l
420 1503 m
440 1503 l
420 1785 m
440 1785 l
2030 376 m
2010 376 l
2030 658 m
2010 658 l
2030 940 m
2010 940 l
2030 1221 m
2010 1221 l
2030 1503 m
2010 1503 l
2030 1785 m
2010 1785 l
/Times-Roman findfont 
120 scalefont
 setfont
stroke
348 376 m
gsave
348 376 translate
0 rotate
0 -40  m
(0) RJ
(0) show
grestore
newpath
348 658 m
gsave
348 658 translate
0 rotate
0 -40  m
(2000) RJ
(2000) show
grestore
newpath
348 940 m
gsave
348 940 translate
0 rotate
0 -40  m
(4000) RJ
(4000) show
grestore
newpath
348 1221 m
gsave
348 1221 translate
0 rotate
0 -40  m
(6000) RJ
(6000) show
grestore
newpath
348 1503 m
gsave
348 1503 translate
0 rotate
0 -40  m
(8000) RJ
(8000) show
grestore
newpath
348 1785 m
gsave
348 1785 translate
0 rotate
0 -40  m
(10000) RJ
(10000) show
grestore
newpath
420 415 m
956 490 l
1493 633 l
2030 1651 l
stroke
420 415 30 0 360 arc
gsave fill grestore
stroke
956 490 30 0 360 arc
gsave fill grestore
stroke
1493 633 30 0 360 arc
gsave fill grestore
stroke
2030 1651 30 0 360 arc
gsave fill grestore
stroke
420 416 m
956 493 l
1493 631 l
2030 1462 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
420 446 m
390 416 l
420 386 l
450 416 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
420 446 m
390 416 l
420 386 l
450 416 l
420 446 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
956 523 m
926 493 l
956 463 l
986 493 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
956 523 m
926 493 l
956 463 l
986 493 l
956 523 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1493 661 m
1463 631 l
1493 601 l
1523 631 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1493 661 m
1463 631 l
1493 601 l
1523 631 l
1493 661 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
2030 1492 m
2000 1462 l
2030 1432 l
2060 1462 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
2030 1492 m
2000 1462 l
2030 1432 l
2060 1462 l
2030 1492 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
929 1359 m
929 1659 l
1771 1659 l
1771 1359 l
929 1359 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
995 1584 m
1259 1584 l
stroke
995 1584 30 0 360 arc
gsave fill grestore
stroke
1259 1584 30 0 360 arc
gsave fill grestore
stroke
1325 1584 m
gsave
1325 1584 translate
0 rotate
0 -40  m
(Prairie) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
995 1434 m
1259 1434 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
995 1464 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
1259 1464 l
stroke
1325 1434 m
gsave
1325 1434 translate
0 rotate
0 -40  m
(Volcano) show
grestore
newpath
showpage
%%EndDocument
 @endspecial 1178 2678 a(\(f\))f(Query)h(6)p -34 2781
V 66 3470 a @beginspecial 50 @llx 50 @lly 500 @urx 375
@ury 850 @rwi @setspecial
%%BeginDocument: runtime.Q7.ps
/m {moveto} bind def
/l {lineto} bind def
/RJ {
 stringwidth neg exch neg exch
 rmoveto
} bind def
/CS {
 stringwidth
 2 div neg exch 2 div neg exch
 rmoveto
} bind def
0.25 0.25 scale
1 setlinecap
/Times-Italic findfont 
120 scalefont
 setfont
[] 0 setdash
420 376 m
420 1785 l
2030 1785 l
2030 376 l
420 376 l
stroke
[] 0 setdash
420 376 m
420 396 l
956 376 m
956 396 l
1493 376 m
1493 396 l
2030 376 m
2030 396 l
420 1785 m
420 1765 l
956 1785 m
956 1765 l
1493 1785 m
1493 1765 l
2030 1785 m
2030 1765 l
/Times-Italic findfont 
120 scalefont
 setfont
/Times-Roman findfont 
120 scalefont
 setfont
stroke
420 276 m
gsave
420 276 translate
0 rotate
0 -40  m
(0) CS
(0) show
grestore
newpath
956 276 m
gsave
956 276 translate
0 rotate
0 -40  m
(1) CS
(1) show
grestore
newpath
1493 276 m
gsave
1493 276 translate
0 rotate
0 -40  m
(2) CS
(2) show
grestore
newpath
2030 276 m
gsave
2030 276 translate
0 rotate
0 -40  m
(3) CS
(3) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
1225 76 m
gsave
1225 76 translate
0 rotate
0 0  m
(Number of joins) CS
(Number of joins) show
grestore
newpath
420 376 m
430 376 l
420 517 m
430 517 l
420 658 m
430 658 l
420 799 m
430 799 l
420 940 m
430 940 l
420 1081 m
430 1081 l
420 1221 m
430 1221 l
420 1362 m
430 1362 l
420 1503 m
430 1503 l
420 1644 m
430 1644 l
420 1785 m
430 1785 l
2030 376 m
2020 376 l
2030 517 m
2020 517 l
2030 658 m
2020 658 l
2030 799 m
2020 799 l
2030 940 m
2020 940 l
2030 1081 m
2020 1081 l
2030 1221 m
2020 1221 l
2030 1362 m
2020 1362 l
2030 1503 m
2020 1503 l
2030 1644 m
2020 1644 l
2030 1785 m
2020 1785 l
stroke
420 376 m
440 376 l
420 658 m
440 658 l
420 940 m
440 940 l
420 1221 m
440 1221 l
420 1503 m
440 1503 l
420 1785 m
440 1785 l
2030 376 m
2010 376 l
2030 658 m
2010 658 l
2030 940 m
2010 940 l
2030 1221 m
2010 1221 l
2030 1503 m
2010 1503 l
2030 1785 m
2010 1785 l
/Times-Roman findfont 
120 scalefont
 setfont
stroke
348 376 m
gsave
348 376 translate
0 rotate
0 -40  m
(0) RJ
(0) show
grestore
newpath
348 658 m
gsave
348 658 translate
0 rotate
0 -40  m
(2000) RJ
(2000) show
grestore
newpath
348 940 m
gsave
348 940 translate
0 rotate
0 -40  m
(4000) RJ
(4000) show
grestore
newpath
348 1221 m
gsave
348 1221 translate
0 rotate
0 -40  m
(6000) RJ
(6000) show
grestore
newpath
348 1503 m
gsave
348 1503 translate
0 rotate
0 -40  m
(8000) RJ
(8000) show
grestore
newpath
348 1785 m
gsave
348 1785 translate
0 rotate
0 -40  m
(10000) RJ
(10000) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
-83 1080 m
gsave
-83 1080 translate
90 rotate
0 0  m
(CPU time \(microseconds\)) CS
(CPU time \(microseconds\)) show
grestore
newpath
420 425 m
956 510 l
1493 670 l
2030 1637 l
stroke
420 425 30 0 360 arc
gsave fill grestore
stroke
956 510 30 0 360 arc
gsave fill grestore
stroke
1493 670 30 0 360 arc
gsave fill grestore
stroke
2030 1637 30 0 360 arc
gsave fill grestore
stroke
420 420 m
956 501 l
1493 648 l
2030 1470 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
420 450 m
390 420 l
420 390 l
450 420 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
420 450 m
390 420 l
420 390 l
450 420 l
420 450 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
956 531 m
926 501 l
956 471 l
986 501 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
956 531 m
926 501 l
956 471 l
986 501 l
956 531 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1493 678 m
1463 648 l
1493 618 l
1523 648 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1493 678 m
1463 648 l
1493 618 l
1523 648 l
1493 678 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
2030 1500 m
2000 1470 l
2030 1440 l
2060 1470 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
2030 1500 m
2000 1470 l
2030 1440 l
2060 1470 l
2030 1500 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
929 1359 m
929 1659 l
1771 1659 l
1771 1359 l
929 1359 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
995 1584 m
1259 1584 l
stroke
995 1584 30 0 360 arc
gsave fill grestore
stroke
1259 1584 30 0 360 arc
gsave fill grestore
stroke
1325 1584 m
gsave
1325 1584 translate
0 rotate
0 -40  m
(Prairie) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
995 1434 m
1259 1434 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
995 1464 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
1259 1464 l
stroke
1325 1434 m
gsave
1325 1434 translate
0 rotate
0 -40  m
(Volcano) show
grestore
newpath
showpage
%%EndDocument
 @endspecial 265 3598 a(\(g\))f(Query)h(7)974 3470 y
@beginspecial 50 @llx 50 @lly 500 @urx 375 @ury 850 @rwi
@setspecial
%%BeginDocument: runtime.Q8.ps
/m {moveto} bind def
/l {lineto} bind def
/RJ {
 stringwidth neg exch neg exch
 rmoveto
} bind def
/CS {
 stringwidth
 2 div neg exch 2 div neg exch
 rmoveto
} bind def
0.25 0.25 scale
1 setlinecap
/Times-Italic findfont 
120 scalefont
 setfont
[] 0 setdash
420 376 m
420 1785 l
2030 1785 l
2030 376 l
420 376 l
stroke
[] 0 setdash
420 376 m
420 396 l
956 376 m
956 396 l
1493 376 m
1493 396 l
2030 376 m
2030 396 l
420 1785 m
420 1765 l
956 1785 m
956 1765 l
1493 1785 m
1493 1765 l
2030 1785 m
2030 1765 l
/Times-Italic findfont 
120 scalefont
 setfont
/Times-Roman findfont 
120 scalefont
 setfont
stroke
420 276 m
gsave
420 276 translate
0 rotate
0 -40  m
(0) CS
(0) show
grestore
newpath
956 276 m
gsave
956 276 translate
0 rotate
0 -40  m
(1) CS
(1) show
grestore
newpath
1493 276 m
gsave
1493 276 translate
0 rotate
0 -40  m
(2) CS
(2) show
grestore
newpath
2030 276 m
gsave
2030 276 translate
0 rotate
0 -40  m
(3) CS
(3) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
1225 76 m
gsave
1225 76 translate
0 rotate
0 0  m
(Number of joins) CS
(Number of joins) show
grestore
newpath
420 376 m
430 376 l
420 517 m
430 517 l
420 658 m
430 658 l
420 799 m
430 799 l
420 940 m
430 940 l
420 1081 m
430 1081 l
420 1221 m
430 1221 l
420 1362 m
430 1362 l
420 1503 m
430 1503 l
420 1644 m
430 1644 l
420 1785 m
430 1785 l
2030 376 m
2020 376 l
2030 517 m
2020 517 l
2030 658 m
2020 658 l
2030 799 m
2020 799 l
2030 940 m
2020 940 l
2030 1081 m
2020 1081 l
2030 1221 m
2020 1221 l
2030 1362 m
2020 1362 l
2030 1503 m
2020 1503 l
2030 1644 m
2020 1644 l
2030 1785 m
2020 1785 l
stroke
420 376 m
440 376 l
420 658 m
440 658 l
420 940 m
440 940 l
420 1221 m
440 1221 l
420 1503 m
440 1503 l
420 1785 m
440 1785 l
2030 376 m
2010 376 l
2030 658 m
2010 658 l
2030 940 m
2010 940 l
2030 1221 m
2010 1221 l
2030 1503 m
2010 1503 l
2030 1785 m
2010 1785 l
/Times-Roman findfont 
120 scalefont
 setfont
stroke
348 376 m
gsave
348 376 translate
0 rotate
0 -40  m
(0) RJ
(0) show
grestore
newpath
348 658 m
gsave
348 658 translate
0 rotate
0 -40  m
(2000) RJ
(2000) show
grestore
newpath
348 940 m
gsave
348 940 translate
0 rotate
0 -40  m
(4000) RJ
(4000) show
grestore
newpath
348 1221 m
gsave
348 1221 translate
0 rotate
0 -40  m
(6000) RJ
(6000) show
grestore
newpath
348 1503 m
gsave
348 1503 translate
0 rotate
0 -40  m
(8000) RJ
(8000) show
grestore
newpath
348 1785 m
gsave
348 1785 translate
0 rotate
0 -40  m
(10000) RJ
(10000) show
grestore
newpath
420 421 m
956 504 l
1493 650 l
2030 1549 l
stroke
420 421 30 0 360 arc
gsave fill grestore
stroke
956 504 30 0 360 arc
gsave fill grestore
stroke
1493 650 30 0 360 arc
gsave fill grestore
stroke
2030 1549 30 0 360 arc
gsave fill grestore
stroke
420 420 m
956 502 l
1493 647 l
2030 1475 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
420 450 m
390 420 l
420 390 l
450 420 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
420 450 m
390 420 l
420 390 l
450 420 l
420 450 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
956 532 m
926 502 l
956 472 l
986 502 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
956 532 m
926 502 l
956 472 l
986 502 l
956 532 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1493 677 m
1463 647 l
1493 617 l
1523 647 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1493 677 m
1463 647 l
1493 617 l
1523 647 l
1493 677 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
2030 1505 m
2000 1475 l
2030 1445 l
2060 1475 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
2030 1505 m
2000 1475 l
2030 1445 l
2060 1475 l
2030 1505 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
929 1359 m
929 1659 l
1771 1659 l
1771 1359 l
929 1359 l
stroke
/Times-Roman findfont 
120 scalefont
 setfont
995 1584 m
1259 1584 l
stroke
995 1584 30 0 360 arc
gsave fill grestore
stroke
1259 1584 30 0 360 arc
gsave fill grestore
stroke
1325 1584 m
gsave
1325 1584 translate
0 rotate
0 -40  m
(Prairie) show
grestore
newpath
/Times-Roman findfont 
120 scalefont
 setfont
995 1434 m
1259 1434 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
995 1464 m
965 1434 l
995 1404 l
1025 1434 l
995 1464 l
stroke
1.000000 1.000000 1.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
closepath
gsave eofill grestore
stroke
0.000000 0.000000 0.000000 setrgbcolor
1259 1464 m
1229 1434 l
1259 1404 l
1289 1434 l
1259 1464 l
stroke
1325 1434 m
gsave
1325 1434 translate
0 rotate
0 -40  m
(Volcano) show
grestore
newpath
showpage
%%EndDocument
 @endspecial 1173 3598 a(\(h\))f(Query)h(8)p 1827 3720
4 3697 v -104 3723 1935 4 v 1829 3740 19 3703 v -87 3740
1935 19 v -39 3923 a FG(Figure)i(7:)29 b(Query)19 b(optimization)g
(times)h(for)g(Q1)g(through)e(Q8)-29 4158 y(The)29 b(query)g(optimizer)
g(in)h(R)849 4128 y Ff(\003)918 4158 y FG([3])g(w)o(orks)f(in)i
(essentially)f(the)-112 4257 y(same)16 b(w)o(ay)g(as)g(that)g(of)g
(System)g(R,)h(e)o(xcept)d(that)i(R)1322 4227 y Ff(\003)1378
4257 y FG(is)g(a)h(distrib)n(uted)-112 4357 y(database)31
b(system)i(which)f(introduces)f(some)h(subtle)g(complica-)-112
4457 y(tions)20 b(in)g(its)h(query)e(optimizer)-5 b(.)-29
4565 y(The)23 b(Starb)n(urst)h(query)f(optimizer)g([10])g(uses)i(rules)
f(for)f(all)i(de-)-112 4665 y(cisions)i(that)g(need)f(to)h(be)g(tak)o
(en)f(by)h(the)g(query)e(optimizer)-5 b(.)49 b(The)-112
4764 y(rules)17 b(are)g(functional)e(in)j(nature)e(and)g(transform)g(a)
i(gi)n(v)o(en)e(operator)-112 4864 y(tree)k(into)g(another)-5
b(.)28 b(The)19 b(rules)i(are)f(commonly)e(those)i(that)g(re\257ect)
-112 4964 y(relational)27 b(calculus)g(f)o(acts.)53 b(In)27
b(Starb)n(urst,)j(the)d(query)g(re)n(writing)-112 5063
y(phase)21 b(is)i(dif)n(ferent)e(from)g(the)h(optimization)f(phase.)35
b(The)21 b(re)n(writ-)-112 5163 y(ing)13 b(phase)g(transforms)g(the)g
(query)g(itself)h(into)g(equi)n(v)n(alent)e(operator)-112
5263 y(trees)21 b(based)f(on)h(relational)f(calculus)g(rules.)31
b(The)21 b(plan)f(optimiza-)2044 21 y(tion)e(phase)g(selects)h
(algorithms)e(for)h(each)g(operator)f(in)h(the)g(opera-)2044
120 y(tor)g(tree)g(that)h(is)g(obtained)e(after)h(re)n(writing.)28
b(The)18 b(disadv)n(antage)e(of)2044 220 y(separating)21
b(the)i(query)e(re)n(write)i(and)f(the)g(optimization)g(phases)g(is)
2044 319 y(that)17 b(pruning)e(of)j(the)f(search)g(space)g(is)i(not)e
(possible)g(during)e(query)2044 419 y(re)n(write,)k(since)i(the)f(re)n
(write)g(phase)f(is)j(non-cost-based.)2127 519 y(Fre)o(ytag)13
b([6])i(describes)f(a)h(rule-based)e(query)g(optimizer)h(similar)2044
618 y(to)26 b(Starb)n(urst.)45 b(The)25 b(rules)h(are)g(based)f(on)g
(LISP-lik)o(e)h(representa-)2044 718 y(tions)d(of)g(access)h(plans.)37
b(The)23 b(rules)g(themselv)o(es)g(are)g(recursi)n(v)o(ely)2044
818 y(de\256ned)j(on)g(smaller)h(e)o(xpressions)f(\(operator)f
(trees\).)49 b(Although)2044 917 y(se)n(v)o(eral)23 b(e)o(xpressions)f
(can)i(contain)f(a)h(common)e(sub-e)o(xpression,)2044
1017 y(Fre)o(ytag)d(doesn')o(t)f(consider)g(the)i(possibility)g(of)f
(sharing.)28 b(Expres-)2044 1116 y(sions)22 b(are)f(e)n(v)n(aluated)f
(each)h(time)h(the)o(y)f(are)g(encountered.)30 b(This)22
b(is)2044 1216 y(ob)o(viously)14 b(inef)n(\256cient.)27
b(In)17 b(addition,)f(as)h(in)g(Starb)n(urst,)g(he)g(doesn')o(t)2044
1316 y(consider)j(the)i(cost)f(transformations)e(inherent)i(in)g(an)o
(y)g(query)f(op-)2044 1415 y(timizer;)g(rules)g(are)g(syntactic)g
(transformation)e(rules.)2127 1515 y(EXODUS)j([9])g(pro)o(vides)f(an)h
(optimizer)f(generator)f(which)i(ac-)2044 1615 y(cepts)j(a)g
(rule-based)e(speci\256cation)h(of)g(the)h(data)g(model)f(as)h(input.)
2044 1714 y(The)18 b(optimizer)g(generator)f(compiles)h(these)h(rules,)
f(together)g(with)2044 1814 y(pre-de\256ned)d(rules,)k(to)f(generate)f
(an)h(optimizer)f(for)g(the)h(particular)2044 1913 y(data)25
b(model)g(and)g(set)h(of)f(operators.)44 b(Unlik)o(e)25
b(Fre)o(ytag,)g(the)h(opti-)2044 2013 y(mizer)18 b(generator)g(for)g
(EXODUS)h(allo)n(ws)h(for)e(C)i(code)f(along)f(with)2044
2113 y(de\256nitions)28 b(of)h(ne)n(w)g(rules.)56 b(This)29
b(allo)n(ws)g(the)g(database)g(imple-)2044 2212 y(mentor)17
b(the)h(freedom)e(to)i(associate)g(an)o(y)f(action)h(with)g(a)g
(particular)2044 2312 y(rule.)28 b(Operator)15 b(trees)j(in)f(EXODUS)h
(are)f(constructed)f(bottom-up)2044 2412 y(from)j(pre)n(viously)f
(constructed)h(trees.)2127 2511 y(The)14 b(V)-11 b(olcano)14
b(optimizer)g(generator)f(project)h([7])g(e)n(v)n(olv)o(ed)f(from)2044
2611 y(the)22 b(EXODUS)g(project.)33 b(It)22 b(is)h(dif)n(ferent)d
(from)h(all)i(the)f(abo)o(v)o(e)e(op-)2044 2710 y(timizers)k(in)h(one)e
(signi\256cant)h(w)o(ay:)38 b(it)25 b(is)g(a)g(top-do)n(wn)d(optimizer)
2044 2810 y(compared)16 b(with)i(the)g(bottom-up)e(strate)o(gy)h(of)h
(the)g(others.)28 b(Opera-)2044 2910 y(tor)16 b(trees)i(are)e
(optimized)g(starting)g(from)g(the)h(root)f(while)h(sub-trees)2044
3009 y(are)g(not)h(yet)g(optimized.)27 b(This)18 b(leads)g(to)g(a)g
(constraint-dri)n(v)o(en)c(gen-)2044 3109 y(eration)23
b(of)g(the)h(search)f(space.)40 b(While)25 b(this)f(method)f(results)h
(in)g(a)2044 3209 y(tight)k(control)g(of)g(the)h(search)f(space,)i(it)g
(is)f(uncon)m(v)o(entional)c(and)2044 3308 y(requires)16
b(careful)g(attention)h(on)g(the)g(part)g(of)g(the)h(optimizer)e
(imple-)2044 3408 y(mentor)j(to)h(ensure)f(that)h(le)o(gal)g(operator)e
(trees)i(are)h(not)e(accidently)2044 3508 y(left)25 b(out)g(of)f(the)h
(search)g(space.)43 b(W)-7 b(e)26 b(ha)n(v)o(e)e(used)h(V)-11
b(olcano)24 b(as)i(our)2044 3607 y(back-end)18 b(search)i(engine.)2044
3881 y FB(6)119 b(Conclusion)31 b(and)g(futur)n(e)f(w)o(ork)2044
4067 y FG(Current)24 b(rule-based)f(query)h(optimizers)g(do)h(not)g
(pro)o(vide)e(a)i(v)o(ery)2044 4167 y(intuiti)n(v)o(e)c(and)g
(conceptually)f(streamlined)h(frame)n(w)o(ork)f(to)i(de\256ne)2044
4266 y(rules)31 b(and)f(actions.)61 b(Our)30 b(e)o(xperiences)f(with)i
(the)g(V)-11 b(olcano)30 b(op-)2044 4366 y(timizer)j(generator)f
(suggest)h(that)h(its)h(model)e(of)g(rules)h(and)f(the)2044
4466 y(e)o(xpression)17 b(of)h(these)h(rules)f(is)h(much)f(more)g
(complicated)e(and)i(too)2044 4565 y(lo)n(w-le)n(v)o(el)25
b(than)h(it)h(needs)e(to)i(be.)47 b(As)27 b(a)g(consequence,)e(rule)h
(sets)2044 4665 y(in)k(V)-11 b(olcano)28 b(are)i(fragile,)h(hard)e(to)h
(write,)i(and)d(deb)n(ug.)56 b(Similar)2044 4764 y(problems)16
b(may)i(e)o(xist)g(in)g(other)f(contemporary)e(rule-based)h(query)2044
4864 y(optimizers.)2127 4964 y(W)-7 b(e)21 b(belie)n(v)o(e)d(that)i
(rule-based)e(query)g(optimizers)h(will)h(be)g(stan-)2044
5063 y(dard)h(tools)i(of)f(future)f(database)h(systems.)36
b(The)23 b(pragmatic)e(dif)n(\256-)2044 5163 y(culties)h(of)f(using)g
(e)o(xisting)g(rule-based)f(optimizers)g(led)i(us)g(to)f(de-)2044
5263 y(v)o(elop)f(Prairie,)h(an)g(e)o(xtensible)f(and)h(structured)e
(algebraic)h(frame-)p eop
%%Page: 10 10
10 9 bop -112 21 a FG(w)o(ork)36 b(for)g(specifying)f(rules.)78
b(Prairie)37 b(is)h(similar)f(to)g(e)o(xisting)-112 120
y(optimizers)21 b(in)i(that)f(it)h(supports)f(both)f(transformation)f
(rules)i(and)-112 220 y(implementation)g(rules.)42 b(Ho)n(we)n(v)o(er)m
(,)23 b(Prairie)i(mak)o(es)f(se)n(v)o(eral)g(im-)-112
319 y(pro)o(v)o(ements:)-50 503 y(1.)41 b(it)14 b(of)n(fers)e(a)i
(conceptually)e(more)g(streamlined)h(model)f(for)h(rule)54
603 y(speci\256cation;)-50 793 y(2.)41 b(rules)18 b(are)g
(encapsulated,)e(there)i(are)g(no)g(\252hidden\272)e(operators)54
893 y(or)j(\252hidden\272)g(algorithms;)-50 1083 y(3.)41
b(implementation)19 b(hints)i(\(e.g.,)f(enforcers\))g(are)h(deduced)e
(au-)54 1182 y(tomatically;)-50 1372 y(4.)41 b(and)19
b(it)i(has)g(ef)n(\256cient)e(implementations.)-29 1556
y(W)-7 b(e)26 b(ha)n(v)o(e)f(e)o(xplained)f(ho)n(w)h(the)h(\256rst)g
(three)f(points)g(are)h(impor)n(-)-112 1656 y(tant)19
b(for)g(simplifying)f(rule)h(speci\256cations)g(and)g(making)g(rule)g
(sets)-112 1755 y(less)27 b(brittle)g(for)f(e)o(xtensibility)-5
b(.)46 b(A)27 b(consequence)e(is)i(that)g(Prairie)-112
1855 y(rules)20 b(are)h(simpler)g(and)f(more)g(rob)n(ust)h(than)f
(rules)h(of)f(e)o(xisting)h(op-)-112 1955 y(timizers)j(\(e.g.,)h(V)-11
b(olcano\).)41 b(W)-7 b(e)25 b(addressed)f(the)g(fourth)f(point)h(by)
-112 2054 y(b)n(uilding)h(a)i(P2V)g(pre-processor)d(which)i(uses)h
(sophisticated)f(al-)-112 2154 y(gorithms)e(to)j(compose)e(and)g
(compact)g(a)i(Prairie)f(rule)g(set)h(into)e(a)-112 2253
y(V)-11 b(olcano)22 b(rule)i(set.)41 b(T)-7 b(o)24 b(demonstrate)e(the)
i(scalability)g(of)f(our)g(ap-)-112 2353 y(proach,)18
b(we)j(re)n(wrote)e(the)i(TI)f(Open)g(OODB)h(rule)f(set)h(as)g(a)g
(Prairie)-112 2453 y(rule)e(set,)h(generated)d(its)k(V)-11
b(olcano)18 b(counterpart,)f(and)i(sho)n(wed)g(that)-112
2552 y(the)g(performance)e(of)j(the)f(synthesized)g(V)-11
b(olcano)19 b(rule)g(set)i(closely)-112 2652 y(matches)e(the)i
(hand-crafted)c(V)-11 b(olcano)19 b(rule)h(set.)-29 2758
y(Our)26 b(future)f(w)o(ork)h(will)h(concentrate)e(on)h(de)n(v)o
(eloping)e(higher)n(-)-112 2857 y(le)n(v)o(el)13 b(abstractions)g
(using)g(Prairie,)c(including)k(automatically)g(gen-)-112
2957 y(erating)i(Prairie)i(rule)g(sets,)h(and)f(combining)d(multiple)i
(Prairie)h(rule)-112 3056 y(sets)k(to)f(automatically)f(generate)g(ef)n
(\256cient)h(optimizers.)-112 3369 y FB(Ackno)o(wledgments)-112
3566 y FG(W)-7 b(e)31 b(wish)f(to)g(thank)f(T)-6 b(e)o(xas)29
b(Instruments,)i(Inc.)e(for)g(making)g(the)-112 3666
y(Open)h(OODB)h(source)g(code)f(a)n(v)n(ailable)g(to)h(us.)62
b(Comments)30 b(by)-112 3766 y(Jos)-1 3765 y(\302)-6
3766 y(e)20 b(Blak)o(ele)o(y)-5 b(,)19 b(Anne)g(Ngu,)g(V)-5
b(i)n(v)o(ek)19 b(Singhal,)g(Thomas)f(W)-7 b(oo)20 b(and)-112
3865 y(the)h(anon)o(ymous)d(referees)i(greatly)h(impro)o(v)o(ed)d(the)j
(quality)g(of)g(the)-112 3965 y(paper)-5 b(.)-112 4278
y FB(Refer)n(ences)-71 4475 y FG([1])40 b(D.)15 b(S.)h(Batory)-5
b(.)19 b(Building)14 b(blocks)g(of)h(database)f(management)67
4574 y(systems.)28 b(T)-6 b(echnical)18 b(Report)g(TR\26187\26123,)f
(The)h(Uni)n(v)o(ersity)67 4674 y(of)i(T)-6 b(e)o(xas)20
b(at)h(Austin,)f(February)e(1988.)-71 4864 y([2])40 b(Jos)178
4863 y(\302)173 4864 y(e)e(A.)f(Blak)o(ele)o(y)-5 b(,)40
b(W)m(illiam)d(J.)h(McK)n(enna,)i(and)c(Goetz)67 4964
y(Graefe.)h(Experiences)21 b(b)n(uilding)h(the)h(Open)f(OODB)i(query)67
5063 y(optimizer)-5 b(.)28 b(In)19 b FF(Pr)l(oceedings)f(1993)h(A)n(CM)
h(SIGMOD)f(Inter)n(-)67 5163 y(national)27 b(Confer)m(ence)h(on)g(Mana)
o(g)o(ement)f(of)i(Data)p FG(,)h(pages)67 5263 y(287\261296,)17
b(W)-7 b(ashington,)20 b(May)f(1993.)2085 21 y([3])41
b(Dean)33 b(Daniels,)k(P)o(atricia)c(Selinger)m(,)j(Laura)c(Haas,)37
b(Bruce)2224 120 y(Lindsay)-5 b(,)24 b(C.)i(Mohan,)f(Adrian)g(W)-7
b(alk)o(er)m(,)26 b(and)f(P)o(aul)g(W)m(ilms.)2224 220
y(An)13 b(introduction)e(to)j(distrib)n(uted)f(query)f(compilation)f
(in)j(R)3953 190 y Ff(\003)3992 220 y FG(.)2224 319 y(In)22
b FF(Pr)l(oceedings)g(2nd)g(International)e(Confer)m(ence)i(on)h(Dis-)
2224 419 y(trib)n(uted)14 b(Databases)p FG(,)e(pages)i(291\261309,)c
(Berlin,)k(September)2224 519 y(1982.)2085 685 y([4])41
b(Dinesh)31 b(Das)g(and)g(Don)g(Batory)-5 b(.)57 b(Prairie:)52
b(An)31 b(algebraic)2224 784 y(frame)n(w)o(ork)38 b(for)i(rule)g
(speci\256cation)g(in)h(query)e(optimiz-)2224 884 y(ers.)72
b(In)36 b FF(Pr)l(oceedings)f(of)i(the)f(W)-8 b(orkshop)36
b(on)g(Database)2224 984 y(Query)14 b(Optimizer)h(Gener)o(ator)o(s)f
(and)g(Rule-Based)f(Optimiz-)2224 1083 y(er)o(s)p FG(,)21
b(pages)f(139\261154,)d(Dallas,)j(September)f(1993.)2085
1249 y([5])41 b(Dinesh)31 b(Das)i(and)f(Don)g(Batory)-5
b(.)60 b(Prairie:)53 b(A)33 b(rule)e(spec-)2224 1349
y(i\256cation)e(frame)n(w)o(ork)f(for)h(query)f(optimizers.)54
b(T)-6 b(echnical)2224 1449 y(Report)22 b(TR)i(94\26116,)e(The)g(Uni)n
(v)o(ersity)g(of)h(T)-6 b(e)o(xas)23 b(at)g(Austin,)2224
1548 y(May)d(1994.)2085 1714 y([6])41 b(Johann)15 b(Christoph)h(Fre)o
(ytag.)23 b(A)18 b(rule-based)d(vie)n(w)i(of)f(query)2224
1814 y(optimization.)22 b(In)17 b FF(Pr)l(oceedings)f(1987)g(A)n(CM)i
(SIGMOD)f(In-)2224 1913 y(ternational)12 b(Confer)m(ence)g(on)h(Mana)o
(g)o(ement)f(of)h(Data)p FG(,)h(pages)2224 2013 y(173\261180,)j(San)j
(Francisco,)f(May)h(1987.)2085 2179 y([7])41 b(Goetz)c(Graefe.)74
b(V)-11 b(olcano,)41 b(an)c(e)o(xtensible)g(and)g(parallel)2224
2279 y(query)25 b(e)n(v)n(aluation)h(system.)48 b(T)-6
b(echnical)26 b(Report)h(CU\261CS\261)2224 2378 y(481\26190,)15
b(Uni)n(v)o(ersity)g(of)i(Colorado)e(at)j(Boulder)m(,)e(July)h(1990.)
2085 2544 y([8])41 b(Goetz)25 b(Graefe.)44 b(Query)26
b(e)n(v)n(aluation)e(techniques)h(for)g(lar)o(ge)2224
2644 y(databases.)58 b FF(A)n(CM)32 b(Computing)e(Surve)n(ys)p
FG(,)k(25\(2\):73\261170,)2224 2744 y(June)20 b(1993.)2085
2910 y([9])41 b(Goetz)32 b(Graefe)g(and)g(Da)n(vid)h(J.)g(DeW)m(itt.)63
b(The)33 b(EXODUS)2224 3009 y(optimizer)23 b(generator)-5
b(.)38 b(In)24 b FF(Pr)l(oceedings)f(1987)g(A)n(CM)i(SIG-)2224
3109 y(MOD)40 b(International)e(Confer)m(ence)h(on)h(Mana)o(g)o(ement)e
(of)2224 3209 y(Data)p FG(,)19 b(pages)h(387\261394,)d(San)j
(Francisco,)g(May)g(1987.)2044 3375 y([10])40 b(L.)23
b(M.)g(Haas,)h(J.)g(C.)g(Fre)o(ytag,)f(G.)g(M.)h(Lohman,)e(and)g(H.)i
(Pi-)2224 3474 y(rahesh.)31 b(Extensible)20 b(query)g(processing)g(in)i
(Starb)n(urst.)32 b(Re-)2224 3574 y(search)20 b(Report)g(RJ)i(6610,)e
(IBM)h(Almaden)e(Research)i(Cen-)2224 3674 y(ter)m(,)e(December)g
(1988.)2044 3840 y([11])40 b(P)-9 b(.)33 b(G.)g(Selinger)m(,)h(M.)f(M.)
g(Astrahan,)i(D.)e(D.)g(Chamberlin,)2224 3939 y(R.)17
b(A.)g(Lorie,)g(and)f(T)-6 b(.)17 b(G.)g(Price.)24 b(Access)18
b(path)e(selection)h(in)g(a)2224 4039 y(relational)24
b(database)g(management)f(system.)41 b(In)25 b FF(Pr)l(oceed-)2224
4138 y(ings)34 b(1979)f(A)n(CM)i(SIGMOD)g(International)d(Confer)m
(ence)2224 4238 y(on)26 b(Mana)o(g)o(ement)f(of)i(Data)p
FG(,)h(pages)f(23\26134,)f(Boston,)i(May)2224 4338 y(1979.)2044
4504 y([12])40 b(Michael)18 b(Stonebrak)o(er)e(and)i(La)o(wrence)g(A.)h
(Ro)n(we.)26 b(The)18 b(de-)2224 4603 y(sign)g(of)g(Postgres.)27
b(In)18 b FF(Pr)l(oceedings)f(1986)g(A)n(CM)i(SIGMOD)2224
4703 y(International)38 b(Confer)m(ence)h(on)h(Mana)o(g)o(ement)f(of)i
(Data)p FG(,)2224 4803 y(pages)19 b(340\261355,)e(W)-7
b(ashington,)20 b(May)g(1986.)p eop
%%Trailer
end
userdict /end-hook known{end-hook}if
%%EOF