I was comparing the performance of different cursors in MS SQL
I was working with about 4 million rows in the following example
FORWARD_ONLY STATIC READ_ONLY
Apr 23 2015 4:50PM
CURSOR OPENED
Apr 23 2015 4:53PM
LOOP FINISHED
Apr 23 2015 4:53PM
DEALLALLOCATED
Apr 23 2015 4:53PM
FORWARD_ONLY FAST_FORWARD READ_ONLY
Apr 23 2015 4:53PM
CURSOR OPENED
Apr 23 2015 4:59PM
LOOP FINISHED
Apr 23 2015 4:59PM
DEALLALLOCATED
Apr 23 2015 4:59PM
FORWARD_ONLY KEYSET READ_ONLY
Apr 23 2015 5:00PM
CURSOR OPENED
Apr 23 2015 5:10PM
LOOP FINISHED
Apr 23 2015 5:10PM
DEALLALLOCATED
Apr 23 2015 5:10PM
FORWARD_ONLY DYNAMIC READ_ONLY
Apr 23 2015 5:10PM
CURSOR OPENED
Apr 23 2015 5:16PM
LOOP FINISHED
Apr 23 2015 5:16PM
DEALLALLOCATED
I was working with about 4 million rows in the following example
FORWARD_ONLY STATIC READ_ONLY
Apr 23 2015 4:50PM
CURSOR OPENED
Apr 23 2015 4:53PM
LOOP FINISHED
Apr 23 2015 4:53PM
DEALLALLOCATED
Apr 23 2015 4:53PM
FORWARD_ONLY FAST_FORWARD READ_ONLY
Apr 23 2015 4:53PM
CURSOR OPENED
Apr 23 2015 4:59PM
LOOP FINISHED
Apr 23 2015 4:59PM
DEALLALLOCATED
Apr 23 2015 4:59PM
FORWARD_ONLY KEYSET READ_ONLY
Apr 23 2015 5:00PM
CURSOR OPENED
Apr 23 2015 5:10PM
LOOP FINISHED
Apr 23 2015 5:10PM
DEALLALLOCATED
Apr 23 2015 5:10PM
FORWARD_ONLY DYNAMIC READ_ONLY
Apr 23 2015 5:10PM
CURSOR OPENED
Apr 23 2015 5:16PM
LOOP FINISHED
Apr 23 2015 5:16PM
DEALLALLOCATED
Comments
Post a Comment