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 views

Partitioned views

From: Ronnie Doggart <rdoggart_at_netcomuk.co.uk>
Date: Tue, 02 Jun 1998 07:57:40 +0100
Message-ID: <3573A264.90C3451E@netcomuk.co.uk>


Hi All,

I have a database where I have two partitioned views (view_a, view_b) each doing a union all on 12 tables each and constrained using date. If I do a:

select * from view_a where date = '01-June-1998';

Then view_a partitions OK.

select * from view_b where date = '01-June-1998';

Then view_b partitions OK.

However if I issue the following query:

select * from view_a, view_b where view_a.date = '01-June-1998' and view_b.date = view_a.date and view_b.id = view_a.id;

Then view_a partitions but view_b does not and preforms full table scans on all tables.

What am I doing wrong !

Regards
Ron Received on Tue Jun 02 1998 - 01:57:40 CDT

Original text of this message

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