interference icon indicating copy to clipboard operation
interference copied to clipboard

temp deallocate should be async

Open yuriy-glotanov opened this issue 6 years ago • 0 comments

Describe the bug Execute of sql statement produce some amount of temporary frames, from which sql cursor may retrieve data until commit, After commit we start deallocate of these frames, and user session thread wait until deallocate was completed. This is not good.

To Reproduce


Expected behavior Need to implements async deallocate procedure, which should be start after commit. This procedure should be contain additional checks for completely deallocate in case of shutdown/restart.

yuriy-glotanov avatar Dec 13 '19 13:12 yuriy-glotanov