Home » RDBMS Server » Performance Tuning » Solution req :Performance issue with partitioned table (Oracle 10gR2)
Solution req :Performance issue with partitioned table [message #514546] Tue, 05 July 2011 06:07 Go to next message
ganeshkn21
Messages: 36
Registered: June 2011
Location: bangalore
Member
hi,
i have a small issue..

a table test is partioned ( 2 partitions by list -p1 ,p2)
partition p1 -has 100000 records
partition p2 -has 600000 records

we have a query which has about 10 tables
in the join with (+) outer joins.
The table test is indexed on the parition key.
but the query does a full table scan on test table.
we have mentioned

select test.t1, a.a1, b.b1......,f.f1
from test partition (p1) ,a,b,c...f
where test.pk=a.pk(+)
........

the response time with the partition clause & without the opartition clause is very negligible (only 1 sec improvement).
The cost reduced drastically with the partition clause(the plan showed a change from partition list all to partition table single )
any suggestions to improve the time pls

regards
ganeshkn21
Re: Solution req :Performance issue with partitioned table [message #514549 is a reply to message #514546] Tue, 05 July 2011 06:13 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Quote:
the plan showed a change from partition list all to partition table single

I do not see any plan.

Quote:
any suggestions to improve the time pls

To improve a "very negligible" time?
You sentences are very confusing.
YOu said the times are very negligible with or without partition AND the cost reduce dramatically with the partition clause. Which cost? Wheree do you get them?....

For all performances questions, Please read http://www.orafaq.com/forum/mv/msg/84315/433888/102589/#msg_433888 and post the required information.

Regards
Michel
Re: Solution req :Performance issue with partitioned table [message #514551 is a reply to message #514549] Tue, 05 July 2011 06:28 Go to previous messageGo to next message
ganeshkn21
Messages: 36
Registered: June 2011
Location: bangalore
Member
hi sorry,
the response time of the query without the partition clause was about 8-10 sec approx
(explain plan cost 1932 )
select test.t1, a.a1, b.b1......,f.f1
from test ,a,b,c...f
where test.pk=a.pk(+)
........

the response time of the query with the partition clause was about 7-9 sec approx

(explain plan cost 67 )

select test.t1, a.a1, b.b1......,f.f1
from test partition (p1) ,a,b,c...f
where test.pk=a.pk(+)
........

only 1 sec improvement in response time.
the explain plan cost went down from about 1932 to


any suggestions to improve the time pls

Re: Solution req :Performance issue with partitioned table [message #514553 is a reply to message #514549] Tue, 05 July 2011 06:34 Go to previous message
cookiemonster
Messages: 13958
Registered: September 2008
Location: Rainy Manchester
Senior Member
Michel Cadot wrote on Tue, 05 July 2011 12:13

For all performances questions, Please read http://www.orafaq.com/forum/mv/msg/84315/433888/102589/#msg_433888 and post the required information.

Previous Topic: Typical Question of Query Performance
Next Topic: problem with outlines #2
Goto Forum:
  


Current Time: Sun Nov 24 21:52:15 CST 2024