2008-01-18 09:46:06.392 GMT Thread[main,5,main] (XID = 207), (SESSIONID = 0), select unbound_e.empid, unbound_p.projid 
from departments this, 
     employees unbound_e, 
     projects unbound_p 
where exists ( 
    select 1 from employees this_employees_e 
    where exists ( 
        select 1 from project_employees this_employees_e_projects_p 
        where this_employees_e_projects_p.empid = this_employees_e.empid 
        and this_employees_e.department = this.id 
        and unbound_p.projid = this_employees_e_projects_p.projid 
        and unbound_e.empid = this_employees_e.empid) 
    ) ******* Project-Restrict ResultSet (11):
Number of opens = 1
Rows seen = 3
Rows filtered = 0
restriction = false
projection = true
	constructor time (milliseconds) = 0
	open time (milliseconds) = 0
	next time (milliseconds) = 0
	close time (milliseconds) = 0
	restriction time (milliseconds) = 0
	projection time (milliseconds) = 0
	optimizer estimated row count:            1.00
	optimizer estimated cost:           59.16

Source result set:
	Nested Loop Exists Join ResultSet:
	Number of opens = 1
	Rows seen from the left = 3
	Rows seen from the right = 3
	Rows filtered = 0
	Rows returned = 3
		constructor time (milliseconds) = 0
		open time (milliseconds) = 0
		next time (milliseconds) = 0
		close time (milliseconds) = 0
		optimizer estimated row count:            1.00
		optimizer estimated cost:           59.16

	Left result set:
		Nested Loop Exists Join ResultSet:
		Number of opens = 1
		Rows seen from the left = 3
		Rows seen from the right = 3
		Rows filtered = 0
		Rows returned = 3
			constructor time (milliseconds) = 0
			open time (milliseconds) = 0
			next time (milliseconds) = 0
			close time (milliseconds) = 0
			optimizer estimated row count:            1.00
			optimizer estimated cost:           57.59

		Left result set:
			Nested Loop Exists Join ResultSet:
			Number of opens = 1
			Rows seen from the left = 3
			Rows seen from the right = 3
			Rows filtered = 0
			Rows returned = 3
				constructor time (milliseconds) = 0
				open time (milliseconds) = 0
				next time (milliseconds) = 0
				close time (milliseconds) = 0
				optimizer estimated row count:            1.00
				optimizer estimated cost:           51.79

			Left result set:
				Hash Exists Join ResultSet:
				Number of opens = 1
				Rows seen from the left = 3
				Rows seen from the right = 3
				Rows filtered = 0
				Rows returned = 3
					constructor time (milliseconds) = 0
					open time (milliseconds) = 0
					next time (milliseconds) = 0
					close time (milliseconds) = 0
					optimizer estimated row count:            1.00
					optimizer estimated cost:           50.22

				Left result set:
					Index Scan ResultSet for PROJECTS using constraint PROJS_PK at read committed isolation level using instantaneous share row locking chosen by the optimizer
					Number of opens = 1
					Rows seen = 3
					Rows filtered = 0
					Fetch Size = 16
						constructor time (milliseconds) = 0
						open time (milliseconds) = 0
						next time (milliseconds) = 0
						close time (milliseconds) = 0
						next time in milliseconds/row = 0

					scan information: 
						Bit set of columns fetched={0}
						Number of columns fetched=1
						Number of deleted rows visited=0
						Number of pages visited=1
						Number of rows qualified=3
						Number of rows visited=3
						Scan type=btree
						Tree height=-1
						start position: 
	None
						stop position: 
	None
						qualifiers:
None
						optimizer estimated row count:            9.00
						optimizer estimated cost:           20.41

				Right result set:
					Hash Scan ResultSet for PROJECT_EMPLOYEES at read committed isolation level using instantaneous share row locking: 
					Number of opens = 3
					Hash table size = 3
					Hash key is column number 0
					Rows seen = 3
					Rows filtered = 0
						constructor time (milliseconds) = 0
						open time (milliseconds) = 0
						next time (milliseconds) = 0
						close time (milliseconds) = 0
						next time in milliseconds/row = 0

					scan information: 
						Bit set of columns fetched=All
						Number of columns fetched=2
						Number of pages visited=1
						Number of rows qualified=7
						Number of rows visited=7
						Scan type=heap
						start position: 
null						stop position: 
null						scan qualifiers:
None
						next qualifiers:
Column[0][0] Id: 0
Operator: =
Ordered nulls: false
Unknown return value: false
Negate comparison result: false

						optimizer estimated row count:            1.00
						optimizer estimated cost:           29.80


			Right result set:
				Index Scan ResultSet for EMPLOYEES using constraint EMPS_PK at read committed isolation level using share row locking chosen by the optimizer
				Number of opens = 3
				Rows seen = 3
				Rows filtered = 0
				Fetch Size = 1
					constructor time (milliseconds) = 0
					open time (milliseconds) = 0
					next time (milliseconds) = 0
					close time (milliseconds) = 0
					next time in milliseconds/row = 0

				scan information: 
					Bit set of columns fetched={0}
					Number of columns fetched=1
					Number of deleted rows visited=0
					Number of pages visited=3
					Number of rows qualified=3
					Number of rows visited=3
					Scan type=btree
					Tree height=1
					start position: 
	>= on first 1 column(s).
	Ordered null semantics on the following columns: 
0 
					stop position: 
	> on first 1 column(s).
	Ordered null semantics on the following columns: 
0 
					qualifiers:
None
					optimizer estimated row count:            1.00
					optimizer estimated cost:            1.57


		Right result set:
			Index Row to Base Row ResultSet for EMPLOYEES:
			Number of opens = 3
			Rows seen = 3
			Columns accessed from heap = {2}
				constructor time (milliseconds) = 0
				open time (milliseconds) = 0
				next time (milliseconds) = 0
				close time (milliseconds) = 0
				optimizer estimated row count:            1.00
				optimizer estimated cost:            5.80

				Index Scan ResultSet for EMPLOYEES using constraint EMPS_PK at read committed isolation level using share row locking chosen by the optimizer
				Number of opens = 3
				Rows seen = 3
				Rows filtered = 0
				Fetch Size = 1
					constructor time (milliseconds) = 0
					open time (milliseconds) = 0
					next time (milliseconds) = 0
					close time (milliseconds) = 0
					next time in milliseconds/row = 0

				scan information: 
					Bit set of columns fetched=All
					Number of columns fetched=2
					Number of deleted rows visited=0
					Number of pages visited=3
					Number of rows qualified=3
					Number of rows visited=3
					Scan type=btree
					Tree height=1
					start position: 
	>= on first 1 column(s).
	Ordered null semantics on the following columns: 
0 
					stop position: 
	> on first 1 column(s).
	Ordered null semantics on the following columns: 
0 
					qualifiers:
Column[0][0] Id: 0
Operator: =
Ordered nulls: false
Unknown return value: false
Negate comparison result: false

					optimizer estimated row count:            1.00
					optimizer estimated cost:            5.80



	Right result set:
		Index Scan ResultSet for DEPARTMENTS using constraint DEPTS_PK at read committed isolation level using share row locking chosen by the optimizer
		Number of opens = 3
		Rows seen = 3
		Rows filtered = 0
		Fetch Size = 1
			constructor time (milliseconds) = 0
			open time (milliseconds) = 0
			next time (milliseconds) = 0
			close time (milliseconds) = 0
			next time in milliseconds/row = 0

		scan information: 
			Bit set of columns fetched={0}
			Number of columns fetched=1
			Number of deleted rows visited=0
			Number of pages visited=3
			Number of rows qualified=3
			Number of rows visited=3
			Scan type=btree
			Tree height=1
			start position: 
	>= on first 1 column(s).
	Ordered null semantics on the following columns: 

			stop position: 
	> on first 1 column(s).
	Ordered null semantics on the following columns: 

			qualifiers:
None
			optimizer estimated row count:            1.00
			optimizer estimated cost:            1.57
