RE: Partition Elimination

2001-06-01 Thread dave . leach

Many thanks for the replies on this.

I was indeed using autotrace instead of doing an explain plan with utlxpls.
I have also found the detail I was looking for in the documentation (can't
beleive I didn't seee it before, it must have been a long day!!).

Cheers,

Dave Leach

-Original Message-
Sent: 31 May 2001 18:22
To: Multiple recipients of list ORACLE-L


Oracle could be doing partition elimination but the tools that you are using
to see the execution plan is not showing you the details you're looking for.

I usually do:

Truncate table plan_table;
explain plan for your-sql;
select * from plan_table;


There should be two columns that indicate the partition-start_number and the
partition_stop_number for this full table scan.

If it's not working let's know.

Regards,

Waleed

-Original Message-
Sent: Thursday, May 31, 2001 12:01 PM
To: Multiple recipients of list ORACLE-L


Hi All,

Can anyone help me with this.

I have range partitioned a table (no indexes) and then computed statistics.
I have now queried the table using the partition key as the only criteria in
the where clause.  Why does Oracle still do a full table scan, why is it not
clever enough to only scan the partition(s) effected by the where
condition?.

The Oracle documentation gives a good insight into partitioning but does not
go into detail about when partition elimination will be performed and what
the explain plan would look like when this occurs.  If anyone can point me
to a section of the documentation that covers this I would be grateful.  

Many Thanks,

Dave Leach


** 
The above information is confidential to the addressee and may be
privileged.  Unauthorised access and use is prohibited. 

Internet communications are not secure and therefore this Company does not
accept legal responsibility for the contents of this message. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. 

Hogg Robinson PLC 
Registered Office: Abbey House, 282 Farnborough Road, 
Farnborough, 
Hampshire GU14 7NJ 
Registered in England and Wales No 3249700 

** 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Khedr, Waleed
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


** 
The above information is confidential to the addressee and may be
privileged.  Unauthorised access and use is prohibited. 

Internet communications are not secure and therefore this Company does not
accept legal responsibility for the contents of this message. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. 

Hogg Robinson PLC 
Registered Office: Abbey House, 282 Farnborough Road, 
Farnborough, 
Hampshire GU14 7NJ 
Registered in England and Wales No 3249700 

** 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Partition Elimination

2001-05-31 Thread dave . leach

Hi All,

Can anyone help me with this.

I have range partitioned a table (no indexes) and then computed statistics.
I have now queried the table using the partition key as the only criteria in
the where clause.  Why does Oracle still do a full table scan, why is it not
clever enough to only scan the partition(s) effected by the where
condition?.

The Oracle documentation gives a good insight into partitioning but does not
go into detail about when partition elimination will be performed and what
the explain plan would look like when this occurs.  If anyone can point me
to a section of the documentation that covers this I would be grateful.  

Many Thanks,

Dave Leach


** 
The above information is confidential to the addressee and may be
privileged.  Unauthorised access and use is prohibited. 

Internet communications are not secure and therefore this Company does not
accept legal responsibility for the contents of this message. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. 

Hogg Robinson PLC 
Registered Office: Abbey House, 282 Farnborough Road, 
Farnborough, 
Hampshire GU14 7NJ 
Registered in England and Wales No 3249700 

** 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Partition Elimination

2001-05-31 Thread Toepke, Kevin M

Dave:

Oracle does do partition elimination in this case...check out he
partition_start and partition_stop columns of you plan_table.

Kevin

-Original Message-
Sent: Thursday, May 31, 2001 12:01 PM
To: Multiple recipients of list ORACLE-L


Hi All,

Can anyone help me with this.

I have range partitioned a table (no indexes) and then computed statistics.
I have now queried the table using the partition key as the only criteria in
the where clause.  Why does Oracle still do a full table scan, why is it not
clever enough to only scan the partition(s) effected by the where
condition?.

The Oracle documentation gives a good insight into partitioning but does not
go into detail about when partition elimination will be performed and what
the explain plan would look like when this occurs.  If anyone can point me
to a section of the documentation that covers this I would be grateful.  

Many Thanks,

Dave Leach


** 
The above information is confidential to the addressee and may be
privileged.  Unauthorised access and use is prohibited. 

Internet communications are not secure and therefore this Company does not
accept legal responsibility for the contents of this message. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. 

Hogg Robinson PLC 
Registered Office: Abbey House, 282 Farnborough Road, 
Farnborough, 
Hampshire GU14 7NJ 
Registered in England and Wales No 3249700 

** 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Toepke, Kevin M
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Partition Elimination

2001-05-31 Thread Khedr, Waleed

Oracle could be doing partition elimination but the tools that you are using
to see the execution plan is not showing you the details you're looking for.

I usually do:

Truncate table plan_table;
explain plan for your-sql;
select * from plan_table;


There should be two columns that indicate the partition-start_number and the
partition_stop_number for this full table scan.

If it's not working let's know.

Regards,

Waleed

-Original Message-
Sent: Thursday, May 31, 2001 12:01 PM
To: Multiple recipients of list ORACLE-L


Hi All,

Can anyone help me with this.

I have range partitioned a table (no indexes) and then computed statistics.
I have now queried the table using the partition key as the only criteria in
the where clause.  Why does Oracle still do a full table scan, why is it not
clever enough to only scan the partition(s) effected by the where
condition?.

The Oracle documentation gives a good insight into partitioning but does not
go into detail about when partition elimination will be performed and what
the explain plan would look like when this occurs.  If anyone can point me
to a section of the documentation that covers this I would be grateful.  

Many Thanks,

Dave Leach


** 
The above information is confidential to the addressee and may be
privileged.  Unauthorised access and use is prohibited. 

Internet communications are not secure and therefore this Company does not
accept legal responsibility for the contents of this message. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. 

Hogg Robinson PLC 
Registered Office: Abbey House, 282 Farnborough Road, 
Farnborough, 
Hampshire GU14 7NJ 
Registered in England and Wales No 3249700 

** 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Khedr, Waleed
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Partition Elimination

2001-05-31 Thread Jay Hostetter

Check optimizer_mode in v$parameter for your session.  I don't think it will eliminate 
partitions if it is RULE.

Here is an explain plan from a simple select on a partitioned table.  An index exists:

SELECT STATEMENT Optimizer=CHOOSE (Cost=1.69535189333285 Card=32 Bytes=3488)
  PARTITION RANGE (SINGLE)
TABLE ACCESS (BY LOCAL INDEX ROWID) OF DMS_AMA_RECORDS (Cost=1.69535189333285 
Card=32 Bytes=3488)
  BITMAP CONVERSION (TO ROWIDS)
BITMAP INDEX (SINGLE VALUE) OF DMS_AMA_RECORDS_UI1


Jay Hostetter
Oracle DBA
D.  E. Communications
Ephrata, PA  USA

 [EMAIL PROTECTED] 05/31/01 12:00PM 
Hi All,

Can anyone help me with this.

I have range partitioned a table (no indexes) and then computed statistics.
I have now queried the table using the partition key as the only criteria in
the where clause.  Why does Oracle still do a full table scan, why is it not
clever enough to only scan the partition(s) effected by the where
condition?.

The Oracle documentation gives a good insight into partitioning but does not
go into detail about when partition elimination will be performed and what
the explain plan would look like when this occurs.  If anyone can point me
to a section of the documentation that covers this I would be grateful.  

Many Thanks,

Dave Leach


** 
The above information is confidential to the addressee and may be
privileged.  Unauthorised access and use is prohibited. 

Internet communications are not secure and therefore this Company does not
accept legal responsibility for the contents of this message. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. 

Hogg Robinson PLC 
Registered Office: Abbey House, 282 Farnborough Road, 
Farnborough, 
Hampshire GU14 7NJ 
Registered in England and Wales No 3249700 

** 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: 
  INET: [EMAIL PROTECTED] 

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Jay Hostetter
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Partition Elimination

2001-05-31 Thread Khedr, Waleed

Yes it does.

The scan will be range of partitions and the execution plan will show
partition stop = key and partition start = key.

Regards,

Waleed

-Original Message-
Sent: Thursday, May 31, 2001 3:17 PM
To: Multiple recipients of list ORACLE-L


Can oracle do partition elimination when ysing bind variables?

Alex Hillman

-Original Message-
Sent: Thursday, May 31, 2001 1:16 PM
To: Multiple recipients of list ORACLE-L


Dave:

Oracle does do partition elimination in this case...check out he
partition_start and partition_stop columns of you plan_table.

Kevin

-Original Message-
Sent: Thursday, May 31, 2001 12:01 PM
To: Multiple recipients of list ORACLE-L


Hi All,

Can anyone help me with this.

I have range partitioned a table (no indexes) and then computed statistics.
I have now queried the table using the partition key as the only criteria in
the where clause.  Why does Oracle still do a full table scan, why is it not
clever enough to only scan the partition(s) effected by the where
condition?.

The Oracle documentation gives a good insight into partitioning but does not
go into detail about when partition elimination will be performed and what
the explain plan would look like when this occurs.  If anyone can point me
to a section of the documentation that covers this I would be grateful.  

Many Thanks,

Dave Leach


** 
The above information is confidential to the addressee and may be
privileged.  Unauthorised access and use is prohibited. 

Internet communications are not secure and therefore this Company does not
accept legal responsibility for the contents of this message. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. 

Hogg Robinson PLC 
Registered Office: Abbey House, 282 Farnborough Road, 
Farnborough, 
Hampshire GU14 7NJ 
Registered in England and Wales No 3249700 

** 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Toepke, Kevin M
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Hillman, Alex
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Khedr, Waleed
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Partition Elimination

2001-05-31 Thread Hillman, Alex

Can oracle do partition elimination when ysing bind variables?

Alex Hillman

-Original Message-
Sent: Thursday, May 31, 2001 1:16 PM
To: Multiple recipients of list ORACLE-L


Dave:

Oracle does do partition elimination in this case...check out he
partition_start and partition_stop columns of you plan_table.

Kevin

-Original Message-
Sent: Thursday, May 31, 2001 12:01 PM
To: Multiple recipients of list ORACLE-L


Hi All,

Can anyone help me with this.

I have range partitioned a table (no indexes) and then computed statistics.
I have now queried the table using the partition key as the only criteria in
the where clause.  Why does Oracle still do a full table scan, why is it not
clever enough to only scan the partition(s) effected by the where
condition?.

The Oracle documentation gives a good insight into partitioning but does not
go into detail about when partition elimination will be performed and what
the explain plan would look like when this occurs.  If anyone can point me
to a section of the documentation that covers this I would be grateful.  

Many Thanks,

Dave Leach


** 
The above information is confidential to the addressee and may be
privileged.  Unauthorised access and use is prohibited. 

Internet communications are not secure and therefore this Company does not
accept legal responsibility for the contents of this message. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. 

Hogg Robinson PLC 
Registered Office: Abbey House, 282 Farnborough Road, 
Farnborough, 
Hampshire GU14 7NJ 
Registered in England and Wales No 3249700 

** 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Toepke, Kevin M
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Hillman, Alex
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Partition Elimination

2001-05-31 Thread Toepke, Kevin M

At parse time, the optimizer determines that partition elimination can be
done -- which partitions to use is determined after the values are bound to
the query.

-Original Message-
Sent: Thursday, May 31, 2001 3:17 PM
To: Multiple recipients of list ORACLE-L


Can oracle do partition elimination when ysing bind variables?

Alex Hillman

-Original Message-
Sent: Thursday, May 31, 2001 1:16 PM
To: Multiple recipients of list ORACLE-L


Dave:

Oracle does do partition elimination in this case...check out he
partition_start and partition_stop columns of you plan_table.

Kevin

-Original Message-
Sent: Thursday, May 31, 2001 12:01 PM
To: Multiple recipients of list ORACLE-L


Hi All,

Can anyone help me with this.

I have range partitioned a table (no indexes) and then computed statistics.
I have now queried the table using the partition key as the only criteria in
the where clause.  Why does Oracle still do a full table scan, why is it not
clever enough to only scan the partition(s) effected by the where
condition?.

The Oracle documentation gives a good insight into partitioning but does not
go into detail about when partition elimination will be performed and what
the explain plan would look like when this occurs.  If anyone can point me
to a section of the documentation that covers this I would be grateful.  

Many Thanks,

Dave Leach


** 
The above information is confidential to the addressee and may be
privileged.  Unauthorised access and use is prohibited. 

Internet communications are not secure and therefore this Company does not
accept legal responsibility for the contents of this message. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. 

Hogg Robinson PLC 
Registered Office: Abbey House, 282 Farnborough Road, 
Farnborough, 
Hampshire GU14 7NJ 
Registered in England and Wales No 3249700 

** 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Toepke, Kevin M
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Hillman, Alex
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Toepke, Kevin M
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Partition Elimination

2001-05-31 Thread Jared Still


The docs actually do a good job of showing what the explain plan
will look like for a partition elimination.

Look at the 'Explan Plan' chapter of 'Designing and Tuning for Performance'

Are you using ?/rdbms/admin/utlxplp.sql to examine your explain plan?

Jared


On Thursday 31 May 2001 09:00, [EMAIL PROTECTED] wrote:
 Hi All,

 Can anyone help me with this.

 I have range partitioned a table (no indexes) and then computed statistics.
 I have now queried the table using the partition key as the only criteria
 in the where clause.  Why does Oracle still do a full table scan, why is it
 not clever enough to only scan the partition(s) effected by the where
 condition?.

 The Oracle documentation gives a good insight into partitioning but does
 not go into detail about when partition elimination will be performed and
 what the explain plan would look like when this occurs.  If anyone can
 point me to a section of the documentation that covers this I would be
 grateful.

 Many Thanks,

 Dave Leach


 **
 The above information is confidential to the addressee and may be
 privileged.  Unauthorised access and use is prohibited.

 Internet communications are not secure and therefore this Company does not
 accept legal responsibility for the contents of this message.

 If you are not the intended recipient, any disclosure, copying,
 distribution or any action taken or omitted to be taken in reliance on it,
 is prohibited and may be unlawful.

 Hogg Robinson PLC
 Registered Office: Abbey House, 282 Farnborough Road,
 Farnborough,
 Hampshire GU14 7NJ
 Registered in England and Wales No 3249700

 **
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jared Still
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).