| From: | Steve Adams |
| Date: | 21-Feb-2001 00:24 |
| Subject: | Trick with PCTINCREASE 1 is garbage? |
|
|
It is a half-truth. SMON executes the following query every 5 minutes.
select
f.file#,
f.block#,
f.ts#,
f.length
from
fet$ f,
ts$ t
where
t.ts# = f.ts# and
t.dflextpct != 0 and
t.bitmapped = 0
The query returns one row for each free extent in all the candidate tablespaces
for coalescing. SMON then sorts the result set and scans through for sets of
contiguous free extents that can be coalesced. Up to 8 such sets of extents may
be coalesced each time this is done. Because the free extent rows are first
sorted, low numbered tablespaces will always be coalesced before higher number
ones. However, there is no limit on the number of tablespaces that will be
considered.
So the "trick" works as intended. But that does not mean that I like it. In fact, I dislike it. A tablespace level uniform extent size policy is more reliable and more efficient. See the Ixora web tip Planning Extents for my reasoning.
|
![]() |
Today I've been told by two very experienced DBAs, that the trick
"PCTINCREASE for the tablespace to 1; PCTINCREASE for each segment to 0; then SMON will regularly coalesce freed extends" doesn't work, because
Now my question: Is that right? I heard that for the first time.
|