⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subqueryflattening.out

📁 derby database source code.good for you.
💻 OUT
📖 第 1 页 / 共 5 页
字号:
select * from outer1 o where o.c1 = ANY (select c1 from idx1);C1         |C2         |C3         -----------------------------------1          |2          |3          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	-- simple ANYselect * from outer1 o where o.c1 = ANY (select c1 from idx1)Parse Time: 0Bind Time: 0Optimize Time: 0Generate Time: 0Compile Time: 0Execute Time: 0Begin Compilation Timestamp : nullEnd Compilation Timestamp : nullBegin Execution Timestamp : nullEnd Execution Timestamp : nullStatement Execution Plan Text: Project-Restrict ResultSet (4):Number of opens = 1Rows seen = 1Rows filtered = 0restriction = falseprojection = true	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0	restriction time (milliseconds) = 0	projection time (milliseconds) = 0Source result set:	Nested Loop Exists Join ResultSet:	Number of opens = 1	Rows seen from the left = 2	Rows seen from the right = 1	Rows filtered = 0	Rows returned = 1		constructor time (milliseconds) = 0		open time (milliseconds) = 0		next time (milliseconds) = 0		close time (milliseconds) = 0	Left result set:		Table Scan ResultSet for OUTER1 at serializable isolation level using share table locking chosen by the optimizer		Number of opens = 1		Rows seen = 2		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=All			Number of columns fetched=3			Number of pages visited=1			Number of rows qualified=2			Number of rows visited=2			Scan type=heap			start position: null			stop position: null			qualifiers:None	Right result set:		Index Scan ResultSet for IDX1 using index IDX1_1 at serializable isolation level using share row locking chosen by the optimizer		Number of opens = 2		Rows seen = 1		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=2			Number of rows qualified=1			Number of rows visited=1			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:Noneij> -- another simple ANYselect * from outer1 o where o.c2 > ANY (select c1 from idx1 i where o.c1 = i.c1);C1         |C2         |C3         -----------------------------------1          |2          |3          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	-- another simple ANYselect * from outer1 o where o.c2 > ANY (select c1 from idx1 i where o.c1 = i.c1)Parse Time: 0Bind Time: 0Optimize Time: 0Generate Time: 0Compile Time: 0Execute Time: 0Begin Compilation Timestamp : nullEnd Compilation Timestamp : nullBegin Execution Timestamp : nullEnd Execution Timestamp : nullStatement Execution Plan Text: Project-Restrict ResultSet (4):Number of opens = 1Rows seen = 1Rows filtered = 0restriction = falseprojection = true	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0	restriction time (milliseconds) = 0	projection time (milliseconds) = 0Source result set:	Nested Loop Exists Join ResultSet:	Number of opens = 1	Rows seen from the left = 2	Rows seen from the right = 1	Rows filtered = 0	Rows returned = 1		constructor time (milliseconds) = 0		open time (milliseconds) = 0		next time (milliseconds) = 0		close time (milliseconds) = 0	Left result set:		Table Scan ResultSet for OUTER1 at serializable isolation level using share table locking chosen by the optimizer		Number of opens = 1		Rows seen = 2		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=All			Number of columns fetched=3			Number of pages visited=1			Number of rows qualified=2			Number of rows visited=2			Scan type=heap			start position: null			stop position: null			qualifiers:None	Right result set:		Index Scan ResultSet for IDX1 using index IDX1_1 at serializable isolation level using share row locking chosen by the optimizer		Number of opens = 2		Rows seen = 1		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=2			Number of rows qualified=1			Number of rows visited=1			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:Column[0][0] Id: 0Operator: <Ordered nulls: falseUnknown return value: falseNegate comparison result: falseij> -- comparisons with parametersprepare p1 as 'select * from outer1 o where exists (select * from idx1 i where i.c1 = ?)';ij> execute p1 using 'values 1';IJ WARNING: Autocommit may close using result setC1         |C2         |C3         -----------------------------------1          |2          |3          4          |5          |6          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	select * from outer1 o where exists (select * from idx1 i where i.c1 = ?)Parse Time: 0Bind Time: 0Optimize Time: 0Generate Time: 0Compile Time: 0Execute Time: 0Begin Compilation Timestamp : nullEnd Compilation Timestamp : nullBegin Execution Timestamp : nullEnd Execution Timestamp : nullStatement Execution Plan Text: Project-Restrict ResultSet (4):Number of opens = 1Rows seen = 2Rows filtered = 0restriction = falseprojection = true	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0	restriction time (milliseconds) = 0	projection time (milliseconds) = 0Source result set:	Nested Loop Join ResultSet:	Number of opens = 1	Rows seen from the left = 1	Rows seen from the right = 2	Rows filtered = 0	Rows returned = 2		constructor time (milliseconds) = 0		open time (milliseconds) = 0		next time (milliseconds) = 0		close time (milliseconds) = 0	Left result set:		Index Scan ResultSet for IDX1 using index IDX1_1 at serializable isolation level using share row locking chosen by the optimizer		Number of opens = 1		Rows seen = 1		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=1			Number of rows qualified=1			Number of rows visited=1			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	Right result set:		Table Scan ResultSet for OUTER1 at serializable isolation level using share table locking chosen by the optimizer		Number of opens = 1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -