cs448/p3/formatted_solution.txt

185 lines
9.3 KiB
Plaintext
Raw Normal View History

2019-03-29 19:27:26 -04:00
Projection - Pipelining IndexScan
DriverId Age
--------------------
3 18.0
9 19.0
2 20.0
8 20.0
4 22.0
6 23.0
7 24.0
1 25.0
5 26.0
Projection - Pipelining KeyScan
DriverId Age
--------------------
2 20.0
8 20.0
Projection - Pipelining Selection
DriverId Age
--------------------
2 20.0
8 20.0
Projection - Pipelining Projection
DriverId Age
--------------------
1 25.0
2 20.0
3 18.0
4 22.0
5 26.0
6 23.0
7 24.0
8 20.0
9 19.0
Projection - Pipelining Simple Join
DriverId Age
--------------------
1 25.0
1 25.0
2 20.0
2 20.0
3 18.0
3 18.0
3 18.0
4 22.0
5 26.0
6 23.0
8 20.0
9 19.0
Projection - Pipelining Hash Join
DriverId Age
--------------------
3 18.0
1 25.0
9 19.0
5 26.0
1 25.0
2 20.0
3 18.0
4 22.0
2 20.0
8 20.0
3 18.0
6 23.0
KeyScan
DriverId FirstName LastName Age NumSeats
----------------------------------------------------------------------
2 Walid Aref 20.0 13
8 Arif Ghafoor 20.0 5
Selection
DriverId FirstName LastName Age NumSeats
----------------------------------------------------------------------
1 Ahmed Elmagarmid 25.0 5
4 Sunil Prabhakar 22.0 7
5 Elisa Bertino 26.0 5
6 Susanne Hambrusch 23.0 3
7 David Eberts 24.0 8
IndexScan
DriverId FirstName LastName Age NumSeats
----------------------------------------------------------------------
3 Christopher Clifton 18.0 4
9 Jeff Vitter 19.0 10
2 Walid Aref 20.0 13
8 Arif Ghafoor 20.0 5
4 Sunil Prabhakar 22.0 7
6 Susanne Hambrusch 23.0 3
7 David Eberts 24.0 8
1 Ahmed Elmagarmid 25.0 5
5 Elisa Bertino 26.0 5
Filescan
DriverId FirstName LastName Age NumSeats
----------------------------------------------------------------------
1 Ahmed Elmagarmid 25.0 5
2 Walid Aref 20.0 13
3 Christopher Clifton 18.0 4
4 Sunil Prabhakar 22.0 7
5 Elisa Bertino 26.0 5
6 Susanne Hambrusch 23.0 3
7 David Eberts 24.0 8
8 Arif Ghafoor 20.0 5
9 Jeff Vitter 19.0 10
Selection - Pipelining IndexScan
DriverId FirstName LastName Age NumSeats
----------------------------------------------------------------------
2 Walid Aref 20.0 13
Selection - Pipelining Keyscan
DriverId FirstName LastName Age NumSeats
----------------------------------------------------------------------
2 Walid Aref 20.0 13
Selection - Pipelining Selection
DriverId FirstName LastName Age NumSeats
----------------------------------------------------------------------
2 Walid Aref 20.0 13
Selection - Pipelining Projection
DriverId FirstName
------------------------------
2 Walid
Selection - Pipelining Simple Join
DriverId FirstName LastName Age NumSeats DriverId GroupId FromDate ToDate
--------------------------------------------------------------------------------------------------------------
2 Walid Aref 20.0 13 2 6 2/17/2006 2/20/2006
2 Walid Aref 20.0 13 2 7 2/18/2006 2/23/2006
Selection - Pipelining Hash Join
DriverId FirstName LastName Age NumSeats DriverId GroupId FromDate ToDate
--------------------------------------------------------------------------------------------------------------
2 Walid Aref 20.0 13 2 6 2/17/2006 2/20/2006
2 Walid Aref 20.0 13 2 7 2/18/2006 2/23/2006
Selection Multipled Predicates
DriverId FirstName LastName Age NumSeats
----------------------------------------------------------------------
1 Ahmed Elmagarmid 25.0 5
3 Christopher Clifton 18.0 4
5 Elisa Bertino 26.0 5
7 David Eberts 24.0 8
Hash Join - Pipelining Selection/Simple Join
DriverId FirstName LastName Age NumSeats DriverId GroupId FromDate ToDate GroupId GroupName
----------------------------------------------------------------------------------------------------------------------------------
6 Susanne Hambrusch 23.0 3 6 6 2/25/2006 2/26/2006 1 Purdue1
Hash Join - Pipelining Projection/Hash Join
DriverId Age DriverId GroupId FromDate ToDate GroupId GroupName
--------------------------------------------------------------------------------
9 19.0 9 1 2/15/2006 2/15/2006 1 Purdue1
4 22.0 4 1 2/19/2006 2/19/2006 1 Purdue1
1 25.0 1 2 2/12/2006 2/14/2006 2 Purdue2
3 18.0 3 2 2/24/2006 2/26/2006 2 Purdue2
1 25.0 1 3 2/15/2006 2/16/2006 3 Purdue3
3 18.0 3 4 2/18/2006 2/19/2006 4 Purdue4
3 18.0 3 5 2/10/2006 2/13/2006 5 Purdue5
8 20.0 8 5 2/20/2006 2/22/2006 5 Purdue5
2 20.0 2 6 2/17/2006 2/20/2006 6 Purdue6
6 23.0 6 6 2/25/2006 2/26/2006 6 Purdue6
5 26.0 5 7 2/14/2006 2/18/2006 7 Purdue7
2 20.0 2 7 2/18/2006 2/23/2006 7 Purdue7
Hash Join - Pipelining IndexScan/KeyScan
DriverId FirstName LastName Age NumSeats DriverId GroupId FromDate ToDate
--------------------------------------------------------------------------------------------------------------
9 Jeff Vitter 19.0 10 9 1 2/15/2006 2/15/2006
4 Sunil Prabhakar 22.0 7 4 1 2/19/2006 2/19/2006
Hash Join
DriverId FirstName LastName Age NumSeats DriverId GroupId FromDate ToDate
--------------------------------------------------------------------------------------------------------------
3 Christopher Clifton 18.0 4 3 5 2/10/2006 2/13/2006
1 Ahmed Elmagarmid 25.0 5 1 2 2/12/2006 2/14/2006
9 Jeff Vitter 19.0 10 9 1 2/15/2006 2/15/2006
5 Elisa Bertino 26.0 5 5 7 2/14/2006 2/18/2006
1 Ahmed Elmagarmid 25.0 5 1 3 2/15/2006 2/16/2006
2 Walid Aref 20.0 13 2 6 2/17/2006 2/20/2006
3 Christopher Clifton 18.0 4 3 4 2/18/2006 2/19/2006
4 Sunil Prabhakar 22.0 7 4 1 2/19/2006 2/19/2006
2 Walid Aref 20.0 13 2 7 2/18/2006 2/23/2006
8 Arif Ghafoor 20.0 5 8 5 2/20/2006 2/22/2006
3 Christopher Clifton 18.0 4 3 2 2/24/2006 2/26/2006
6 Susanne Hambrusch 23.0 3 6 6 2/25/2006 2/26/2006
Projection
FirstName NumSeats
------------------------------
Ahmed 5
Walid 13
Christopher 4
Sunil 7
Elisa 5
Susanne 3
David 8
Arif 5
Jeff 10