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

📄 aggregateoptimization.out

📁 derby database source code.good for you.
💻 OUT
📖 第 1 页 / 共 5 页
字号:
			projection time (milliseconds) = 0		Source result set:			Table Scan ResultSet for T2 at serializable isolation level using share table locking chosen by the optimizer			Number of opens = 1			Rows seen = 5			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, 1, 2}				Number of columns fetched=3				Number of pages visited=1				Number of rows qualified=5				Number of rows visited=5				Scan type=heap				start position: null				stop position: null				qualifiers:Noneij> -- clean updrop table t1;0 rows inserted/updated/deletedij> drop table t2;0 rows inserted/updated/deletedij> ---- max optimization: the optimization is to call the store-- with a special request for the last row in an index.  so-- we cannot deal with any predicates--set isolation read committed;0 rows inserted/updated/deletedij> create table x (x int, y int);0 rows inserted/updated/deletedij> create index ix on x(x);0 rows inserted/updated/deletedij> create index ixy on x(x,y);0 rows inserted/updated/deletedij> insert into x values (3,3),(7,7),(2,2),(666,6),(1,1);5 rows inserted/updated/deletedij> select max(x) from x;1          -----------666        ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	select max(x) from xParse 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:	Scalar Aggregate ResultSet:	Number of opens = 1	Rows input = 1		constructor time (milliseconds) = 0		open time (milliseconds) = 0		next time (milliseconds) = 0		close time (milliseconds) = 0	Index Key Optimization = true	Source result set:		Project-Restrict ResultSet (3):		Number of opens = 1		Rows seen = 1		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:			Last Key Index Scan ResultSet for X using index IXat read committed isolation level using share row locking chosen by the optimizer			Number of opens = 1			Rows seen = 1				constructor time (milliseconds) = 0				open time (milliseconds) = 0				next time (milliseconds) = 0				close time (milliseconds) = 0				next time in milliseconds/row = 0ij> select max(x) from x;1          -----------666        ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	select max(x) from xParse 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:	Scalar Aggregate ResultSet:	Number of opens = 1	Rows input = 1		constructor time (milliseconds) = 0		open time (milliseconds) = 0		next time (milliseconds) = 0		close time (milliseconds) = 0	Index Key Optimization = true	Source result set:		Project-Restrict ResultSet (3):		Number of opens = 1		Rows seen = 1		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:			Last Key Index Scan ResultSet for X using index IXat read committed isolation level using share row locking chosen by the optimizer			Number of opens = 1			Rows seen = 1				constructor time (milliseconds) = 0				open time (milliseconds) = 0				next time (milliseconds) = 0				close time (milliseconds) = 0				next time in milliseconds/row = 0ij> -- cannot use max optselect max(x) from x;1          -----------666        ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	-- cannot use max optselect max(x) from xParse 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:	Scalar Aggregate ResultSet:	Number of opens = 1	Rows input = 1		constructor time (milliseconds) = 0		open time (milliseconds) = 0		next time (milliseconds) = 0		close time (milliseconds) = 0	Index Key Optimization = true	Source result set:		Project-Restrict ResultSet (3):		Number of opens = 1		Rows seen = 1		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:			Last Key Index Scan ResultSet for X using index IXat read committed isolation level using share row locking chosen by the optimizer			Number of opens = 1			Rows seen = 1				constructor time (milliseconds) = 0				open time (milliseconds) = 0				next time (milliseconds) = 0				close time (milliseconds) = 0				next time in milliseconds/row = 0ij> select max(x) from x where x < 99;1          -----------7          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

⌨️ 快捷键说明

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