isolationlevels.out

来自「derby database source code.good for you.」· OUT 代码 · 共 683 行 · 第 1/3 页

OUT
683
字号
-----------1          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	-- verify matching index scan gets row lock at read committedselect * from t1 where c1 = 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: Index Scan ResultSet for T1 using constraint ASDF at read committed isolation level using share row locking chosen by the optimizerNumber of opens = 1Rows seen = 1Rows filtered = 0Fetch Size = 1	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0	next time in milliseconds/row = 0scan 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: 0 	stop position: 	> on first 1 column(s).	Ordered null semantics on the following columns: 0 	qualifiers:Noneij> -- verify SET ISOLATION commits and changes isolation levelset isolation read committed;0 rows inserted/updated/deletedij> execute getIsolation;1   ----CS  ij> -- rollback should find nothing to undorollback;ij> select * from t1;C1         -----------1          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	select * from t1Parse 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: Index Scan ResultSet for T1 using constraint ASDF at read committed isolation level using instantaneous share row locking chosen by the optimizerNumber of opens = 1Rows seen = 1Rows filtered = 0Fetch Size = 16	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0	next time in milliseconds/row = 0scan 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: 	None	stop position: 	None	qualifiers:Noneij> set current isolation = reset;0 rows inserted/updated/deletedij> execute getIsolation;1   ----ij> -- verify SET ISOLATION commits and changes isolation levelset current isolation = RS;0 rows inserted/updated/deletedij> execute getIsolation;1   ----RS  ij> -- rollback should find nothing to undorollback;ij> select * from t1;C1         -----------1          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	select * from t1Parse 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: Index Scan ResultSet for T1 using constraint ASDF at repeatable read isolation level using share row locking chosen by the optimizerNumber of opens = 1Rows seen = 1Rows filtered = 0Fetch Size = 16	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0	next time in milliseconds/row = 0scan 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: 	None	stop position: 	None	qualifiers:Noneij> set isolation to reset;0 rows inserted/updated/deletedij> execute getIsolation;1   ----ij> -- verify SET ISOLATION commits and changes isolation levelset isolation = dirty read;0 rows inserted/updated/deletedij> execute getIsolation;1   ----UR  ij> -- rollback should find nothing to undorollback;ij> select * from t1;C1         -----------1          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	select * from t1Parse 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: Index Scan ResultSet for T1 using constraint ASDF at read uncommitted isolation level using share row locking chosen by the optimizerNumber of opens = 1Rows seen = 1Rows filtered = 0Fetch Size = 16	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0	next time in milliseconds/row = 0scan 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: 	None	stop position: 	None	qualifiers:None

⌨️ 快捷键说明

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