Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: LOCALLY MANAGED EXTENT PERFORMANCE
Ever heard "3 Party App" where you have no access to the code?
I was also temped by the theory that number of extents don't matter much but I changed my mind after testing LMT with uniform extents for a 3. party app in which there are several tables that jump to 3-4G from 0 bytes during day..all users started screaming and we had to go to LMT with auto allocate to calm down the users...
You keep repeating yourself, telling well-known facts making it like I oppose them. I'm not saying uniform LMT is a bad thing. All I'm saying is it should be used if you know estimated size of tables. And even though LMTs reduces the extent allocation cost dramatically, there are some cases where thousands of extents may cause some headache..
Even popular Oracle paper, "How to Stop Defragmenting and Start Living:
The Definitive Word on Fragmentation", warns DBAs about excessive
extents. Below is a clip from the paper:
...
2.1.4 Monitor and Potentially Relocate Segments Having More Than
1024 Extents
Oracle supports an unlimited number of extents in a segment. The
performance for DML operations is largely independent of the number of
extents in the segment. However, certain DDL operations such as dropping
and truncating of segments are sensitive to the number of extents.
Performance measures for these operations have shown that a few thousand
extents can be supported by Oracle without a significant impact on
performance. A reasonable maximum has been determined to be 4096.
..
So if number of extents is such a benign thing, then why would Oracle warn DBAs about it and recommend monitoring tables/indexes with more than 4096 extents ?
I was also a little Socratic about your next N extent "alert" ? We still didn't hear from you about it.. I already started losing my confidence about your "alert".. The questions are still open: does it handle PCT_INCREASE? Does it compare only current biggest free extent or last N free extents in the tablespace ? If it is using only biggest free extent it is not doing the "job" you are claiming it is doing.. Unless you sacrifice a good deal of CPU power, it is not easy to monitor free space for next N extents..
Thanks,
=20
Ibrahim DOGAN
Sr. Sybase/Oracle DBA
www.lowes.com
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org=20
> [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Tim Gorman
> Sent: Monday, April 25, 2005 5:10 PM
> To: oracle-l_at_freelists.org
> Subject: Re: LOCALLY MANAGED EXTENT PERFORMANCE
>=20
...
..=20
> 1. How often do I truncate?
> 2. Even if I truncate often, could I use the "REUSE=20
> STORAGE" clause
> instead of the default "DROP STORAGE"? After all, repeated
> truncations indicate that the space is getting reused over and
> over again. Why deallocate storage if its going to be reused?
> 3. Why should truncate performance, even if done frequently, trump
> other considerations?
>=20
>=20
>=20
>=20
>=20 >=20 >=20
>=20
>=20
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Apr 26 2005 - 14:30:03 CDT