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 -> Re: Viewed Partitions

Re: Viewed Partitions

From: Jonathan Lewis <ora_mail_at_jlcomp.demon.co.uk>
Date: 1997/01/23
Message-ID: <32E73B9E.2084@jlcomp.demon.co.uk>#1/1

David Horlacher wrote:
>
> I am trying to implement partitioned views in 7.3 running on NT 3.5. I
> have defined my partitioned tables as recommended in the concepts manual
> using check constraints and then defining a view that unions all
> the partitions. I have also received and followed an oracle bulletin
> that describes a checklist for implementing partitioned views.
>
> When I select count(*) from my partitioned view where the
> partition_column = 'value', the optimizer still scans all the physical
> underlying tables.
>
> Has anyone implemented partitioned views successfully?

Yes, but they are fairly buggy. I've got sundry problems which will be fixed in 7.3.3 and 7.3.4, with some backports to 7.3.2.3.

There is a bug in some versions where partitioning does not work on char columns, or integer columns if the constraint is an equality.

Just in case, though:

	the union must be (explicitly or implicitly)
	select * from t1 union all select * from t2 ....

	all tables must be created identically (same cols, same order)

	all indexes must match across all tables

---
Jonathan Lewis
Received on Thu Jan 23 1997 - 00:00:00 CST

Original text of this message

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