Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Partitioned view problem

Partitioned view problem

From: Wilhelm Thieme <w.thieme_at_consunet.nl>
Date: 1997/12/10
Message-ID: <66mr6r$s5u$1@news.worldonline.nl>#1/1

Hi everyone

I'm struggeling with a partitioned view which will NOT give me the performance as expected.

The view is created as follows:
create or replace view temp as
select * from table_19971118 where date_col=to_date('19971118','yyyymmdd') union all
select * from table_19971119 where date_col=to_date('19971118','yyyymmdd') union all
select * from table_19971120 where date_col=to_date('19971118','yyyymmdd') union all
select * from table_19971121 where date_col=to_date('19971118','yyyymmdd') /

any query directly performed on the underlaying table takes considerable (depending on the number of tables 5, 10 or more times) less time compared to
the same query using the view.

Example:
select count(1) from table_19971118;
vs
select count(1) from temp where date_col=to_date('19971118','yyyymmdd');

I noticed the following: the more tables in the view the worse the performance.

Things that I've already checked:
- Parameter partition_view_enabled = TRUE

We're using an IBM SP2 configuration (AIX) with OPS 7.3.3 (10 oracle instances)

Any ideas welcome!

Thanks

Wilhelm Thieme Received on Wed Dec 10 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US