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

📄 distinctelimination.out

📁 derby database source code.good for you.
💻 OUT
📖 第 1 页 / 共 5 页
字号:
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: Sort ResultSet:Number of opens = 1Rows input = 9Rows returned = 3Eliminate duplicates = trueIn sorted order = falseSort information: 	Number of rows input=9	Number of rows output=3	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0Source result set:	Table Scan ResultSet for TWO at serializable isolation level using share table locking chosen by the optimizer	Number of opens = 1	Rows seen = 9	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={1, 2}		Number of columns fetched=2		Number of pages visited=1		Number of rows qualified=9		Number of rows visited=9		Scan type=heap		start position: null		stop position: null		qualifiers:Noneij> -- more than one table in the select listselect distinct a.c1, b.c1 from one a, two b where a.c1 = b.c1 and b.c2 =1;C1         |C1         -----------------------1          |1          2          |2          3          |3          ij> -- Following runtime statistics output should have Eliminate duplicates = truevalues SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	-- more than one table in the select listselect distinct a.c1, b.c1 from one a, two b where a.c1 = b.c1 and b.c2 =1Parse 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: Sort ResultSet:Number of opens = 1Rows input = 9Rows returned = 3Eliminate duplicates = trueIn sorted order = falseSort information: 	Number of rows input=9	Number of rows output=3	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0Source result set:	Project-Restrict ResultSet (5):	Number of opens = 1	Rows seen = 9	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	Source result set:		Nested Loop Exists Join ResultSet:		Number of opens = 1		Rows seen from the left = 9		Rows seen from the right = 9		Rows filtered = 0		Rows returned = 9			constructor time (milliseconds) = 0			open time (milliseconds) = 0			next time (milliseconds) = 0			close time (milliseconds) = 0		Left result set:			Table Scan ResultSet for TWO at serializable isolation level using share table locking chosen by the optimizer			Number of opens = 1			Rows seen = 9			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, 1}				Number of columns fetched=2				Number of pages visited=1				Number of rows qualified=9				Number of rows visited=9				Scan type=heap				start position: null				stop position: null				qualifiers:Column[0][0] Id: 1Operator: =Ordered nulls: falseUnknown return value: falseNegate comparison result: false		Right result set:			Index Scan ResultSet for ONE using index ONE_C1 at serializable isolation level using share row locking chosen by the optimizer			Number of opens = 9			Rows seen = 9			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=9				Number of rows qualified=9				Number of rows visited=9				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> -- cross product joinselect distinct a.c1 from one a, two b;C1         -----------1          2          3          4          5          6          7          8          ij> -- Following runtime statistics output should have Eliminate duplicates = truevalues SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	-- cross product joinselect distinct a.c1 from one a, two bParse 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: Sort ResultSet:Number of opens = 1Rows input = 72Rows returned = 8Eliminate duplicates = trueIn sorted order = true	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0Source result set:	Nested Loop Join ResultSet:	Number of opens = 1	Rows seen from the left = 8	Rows seen from the right = 72	Rows filtered = 0	Rows returned = 72		constructor time (milliseconds) = 0		open time (milliseconds) = 0		next time (milliseconds) = 0		close time (milliseconds) = 0	Left result set:		Index Scan ResultSet for ONE using index ONE_C1 at serializable isolation level using share table locking chosen by the optimizer		Number of opens = 1		Rows seen = 8		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=8			Number of rows visited=8			Scan type=btree			Tree height=-1			start position: 	None			stop position: 	None			qualifiers:None	Right result set:		Index Scan ResultSet for TWO using index TWO_C1C3 at serializable isolation level using share table locking chosen by the optimizer		Number of opens = 8		Rows seen = 72		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={}			Number of columns fetched=0			Number of deleted rows visited=0			Number of pages visited=8			Number of rows qualified=72			Number of rows visited=72			Scan type=btree			Tree height=1			start position: 	None			stop position: 	None			qualifiers:Noneij> -- no single table will yield at most 1 rowselect distinct a.c1, a.c3, a.c2 from two a, two b where a.c1 = b.c1;C1         |C3         |C2         -----------------------------------

⌨️ 快捷键说明

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