Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Table Partitioning Question
Dereck L. Dietz wrote:
> "DA Morgan" <damorgan_at_psoug.org> wrote in message
> news:1156115363.498021_at_bubbleator.drizzle.com...
>> The indexes should almost undoubtedly be local not global and it seems >> likely your understanding of the partitioning, translated into your >> WHERE clauses is not correct leading to a lack of pruning. >>
The primary key is irrelevant to partitioning.
>> It would be nice to see the Explain Plan? Be sure you create it using >> DBMS_XPLAN not some legacy script.
EXPLAIN PLAN using DBMS_XPLAN will take less than 100 milliseconds. I strongly recommend using it. If you are unfamiliar with it go to Morgan' Library at www.psoug.org and look up the syntax and view a demo.
>> Can you run DBMS_METADATA on the remote server and get the actual DDL?
>> Does this Oracle installation have a version number?
?
10.1.0.3?
10.1.0.4?
If not 10.1.0.4 I would strongly urge applying the patch.
>> Are statistics current and created using DBMS_STATS? Using what >> METHOD_OPT value?
The ANALYZE command was deprecated a long time ago and is of no value with 10.1.0.4. This is one change that should be made immediately.
>> But in the end it is likely inevitable that you will either have global >> indexes or good performance. You seem to indicate that your efforts are >> doomed to failure in advance. Why?
Contact me off-line. Your management needs to see this as a situation where they either give this DBA some serious training or replace them. What you describe is irresponsible: Likely common but irresponsible.
Oh am I glad for tenure. ;-)
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Sun Aug 20 2006 - 22:36:36 CDT
![]() |
![]() |