My Oracle Support Banner

Too Much Temp Space Used When Sorting A Small Lob Segment (Doc ID 2364117.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

Too much temp space used when running a simple SQL which sort a small LOB segment. The LOB segment is less than 1MB, but the sort takes more than 600MB temp space to store LOB_DATA; it is far more bigger than expected. (to sort 1MB LOB data, we need 600MB temp space, which is not reasonable):

A full testcase:

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.