Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Max Extents Scripts
Lee Broders wrote:
>
> Does anyone have a script that will check if any of the table extents are
> nearing max_extent
> Please
Something like this?
select *
from dba_segments
where owner = 'OWNER'
and segment_name = 'TABLE_NAME'
and (extents*1.22)>max_extents --percent
--and (extents+2)>=max_extents --count
--
_ _ | || |___ _ _ _ _ _ _ _ | __ / -_) ' \| '_| || | _|_|_ |_||_\___|_||_|_| \_, | (. .)
![]() |
![]() |