materialized views

2003-08-27 Thread Sai Selvaganesan
hi   materialized views become invalid as soon as a complete or fast refresh of the mv is done. is this how it is supposed to work? the status is invalid in dba_objects and is set to 'N' in dba_mview_analysis. i have been struggling to understand this. i read thru few docs on metalink

materialized views

2002-10-23 Thread Gary Jackson
Can anyone confirm whether or not a materialized view in 8.1.7 EE can be based upon a snapshot within the same schema? SunOS 5.6 - 8.1.7.0.0 EE _ Get a speedy connection with MSN Broadband.  Join now! http://resourcecenter.msn.co

Materialized Views

2001-08-28 Thread Lindsay Stoddard
Hi List, I am having trouble replicating a schema onto another database. I have looked at the Oracle documentation and am having a hard time deciding which steps to take in accomplishing this task. The schema includes tables indexes, packages, and triggers. I have had success in creating a mat

MATERIALIZED VIEWS

2001-11-29 Thread Harvinder Singh
Hi, We need to create the materialized view on query like: select * from table1 union all select * from table2 union all select * from tabl3 we r getting error set operation not allows. Is there any other way to create the materialized views based on union all queries??? Thanks -Harvinder

Materialized Views

2001-05-31 Thread Ron Thomas
I've been expirementing with MV for a couple of days. Interesting gotcha's for fast refresh on commit, but otherwise cool stuff. Now for the question. If I have a base table of 1 millions rows of time series data and I want to produce MVs for day, month, and year aggregates, would it be bette

Re: materialized views

2003-08-27 Thread Arup Nanda
Sai,   You may want to check bug# 1188948; it sounds like your case.   HTH.   Arup - Original Message - From: Sai Selvaganesan To: Multiple recipients of list ORACLE-L Sent: Tuesday, August 26, 2003 9:04 PM Subject: materialized views hi

RE: materialized views

2002-10-23 Thread DENNIS WILLIAMS
Gary - I seem to recall a restriction based on the refresh scheme. Something like if the underlying materialized view/snapshot has a refresh log, then the new materialized view can't be fast refreshed, or something like that. Other than that, maybe the best approach is to just try it. Dennis Willi

Materialized views not refreshing

2003-02-25 Thread Jared Still
Dear list, Have any of you every experienced MV's not refreshing for no particular reason? We have been using some simple MV's for several months with no problem. Now after upgrading our app and database, there seem to be problems. Servers: Master: Win2k SP2 Oracle 8.1.7.4.1 Slave: NT 4

Materialized views in RBO

2001-09-19 Thread Amar Kumar Padhi
Title: Materialized views in RBO Our production database runs in RBO. We are evaluating the option of using Materialized views. Oracle manuals says that even if the parameter OPTIMIZER_MODE is set to RULE, the use of these features enables the CBO.  Has anyone used this feature in RBO?  We

Re: materialized views - please help

2003-08-27 Thread Sai Selvaganesan
iginal Message - From: Sai Selvaganesan To: Multiple recipients of list ORACLE-L Sent: Tuesday, August 26, 2003 9:04 PM Subject: materialized views hi   materialized views become invalid as soon as a complete or fast refresh of the mv is done. is this how it is supposed to work? the status is i

RE: Materialized views not refreshing

2003-02-25 Thread Stephane Faroult
>Dear list, > >Have any of you every experienced MV's not >refreshing >for no particular reason? > >We have been using some simple MV's for several >months >with no problem. Now after upgrading our app and >database, >there seem to be problems. > >Servers: > >Master: Win2k SP2 Oracle 8.1.7.4.

Re: Materialized views not refreshing

2003-02-25 Thread Connor McDonald
Probably a little obvious, but what do you get when you slap a trace on the refresh job (on both source and target db's) - do you see any attempt to read rows from the mview log at all? any updates being attempted on the target? hth connor --- Jared Still <[EMAIL PROTECTED]> wrote: > > Dear lis

Re: Materialized views not refreshing

2003-02-25 Thread Jared Still
You're right, it is obvious, but I hadn't yet done it. The thought had occurred to me to do this at both nodes, but I think lack of sleep has dulled my senses a bit and I forgot to do it. All the work involved in repeating myself in the TAR maybe, I dunno. I've dropped and recreated the offen

Re: Materialized views not refreshing

2003-02-25 Thread Jared Still
No errors, no trace files. Refreshing via refresh group or directly via the snapshot both failed to update the MV. They've since been recreated and are working at the moment. I'll slap a big ole note on my forehead that says 'run a trace on them stupid!' so I will remember to do so if these st

RE: Materialized views not refreshing

2003-02-25 Thread Darrell Landrum
Is the job even firing at all? It is a common step in upgrading to set job_queue_processes=0 and this will prevent materialized views from refreshing automatically. Make sure this is greater than 0; I normally set it to 2. >>> [EMAIL PROTECTED] 02/25/03 04:29AM >>> >Dear

Re: Materialized views not refreshing

2003-02-25 Thread Thomas Day
cc: Sent by: rootSubject: Re: Materialized views not re

RE: Materialized views not refreshing

2003-02-25 Thread Henry Poras
Jared, Does it work if you do a manual refresh? Henry -Original Message- Sent: Tuesday, February 25, 2003 3:49 AM To: Multiple recipients of list ORACLE-L Dear list, Have any of you every experienced MV's not refreshing for no particular reason? We have been using some simple MV's f

Re: Materialized views not refreshing

2003-02-25 Thread Jared Still
Didn't help to do it manually. On Tuesday 25 February 2003 06:14, Henry Poras wrote: > Jared, > Does it work if you do a manual refresh? > > Henry > > -Original Message- > Sent: Tuesday, February 25, 2003 3:49 AM > To: Multiple recipients of list ORACLE-L > > > > Dear list, > > Have any

Re: Materialized views not refreshing

2003-02-25 Thread Jared Still
Yes, the jobs were firing, verified by timestamps in both the dba_jobs and dba_refresh views. On Tuesday 25 February 2003 05:33, Darrell Landrum wrote: > Is the job even firing at all? It is a common step in upgrading to set > job_queue_processes=0 and this will prevent materialized view

Re: Materialized views not refreshing

2003-02-25 Thread Jared Still
Jared Still >of list ORACLE-L <[EMAIL PROTECTED]> @cybcon.com> cc: > Sent by: root Subject: Re: Materialized > views not refreshing > > > 02/25/2003 06:49 >

Re: Materialized views not refreshing

2003-02-25 Thread brian . mcgraw
l? It is a common step in upgrading > to set > > job_queue_processes=0 and this will prevent materialized views from > > refreshing automatically. Make sure this is greater than 0; I > normally set > > it to 2. > > > > >>> [EMAIL PROTECTED] 02/2

Re: Materialized views not refreshing

2003-02-25 Thread Zale Dba
TED]> Reply-To: [EMAIL PROTECTED] To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> Subject: Re: Materialized views not refreshing Date: Tue, 25 Feb 2003 11:39:09 -0800 No, they were not being purged. On Tuesday 25 February 2003 05:59, Thomas Day wrote: > We had the problem wher

Re: Materialized views not refreshing

2003-02-25 Thread Arup Nanda
rading to set > > job_queue_processes=0 and this will prevent materialized views from > > refreshing automatically. Make sure this is greater than 0; I normally set > > it to 2. > > > > >>> [EMAIL PROTECTED] 02/25/03 04:29AM >>> > > > >

Re: Materialized views not refreshing

2003-02-25 Thread Thomas Day
> cc: Sent by: rootSubject: Re: Materialized views not refresh

Re: Materialized views not refreshing

2003-02-25 Thread Jared . Still
bject:Re: Materialized views not refreshing Jared - I assume you're attempting fast refreshes - Is it feasible to attempt a full refresh? I remember problems w/ snapshots (in the 8.0.4 days) where the snapshot logs would just stop working. I had to perform a full refresh of the sna

Re: Materialized views not refreshing

2003-02-25 Thread Jared . Still
Subject: Re: Materialized views not refreshing Jared, I know this may sound stupid, but when you upgrade you change job_queue_processes to zero. Did you reset your init parameter back after the upgrade? I have seen that cause this problem before. Hope it is this simple

Re: Materialized views not refreshing

2003-02-25 Thread Jared . Still
a" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/25/2003 12:54 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject:Re: Materialized views not refreshing Jared, I joined this thread late; s

Substitute for Materialized Views/Snapshots?

2001-08-13 Thread Chris Rezek
We are running 8.1.6 Standard Edition on Solaris hardware. We are building a reporting system and would have liked to use materialized views (snapshots) but this feature is not available in Standard Edition. We need to create read-consistent copies of several million-row tables each night at

Fast Refresh of Materialized views

2001-08-28 Thread Vikas Kawatra
We've noticed that our fast refresh takes longer than complete refresh - and that's puzzling .We have MV logs based on the PK of the FACT table - and the MV's are JOIN ONLY . Any suggestions would be welcome ! vikas -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Vikas

Re: Snapshots VS Materialized Views

2002-03-14 Thread tday6
Different names for the same thing. Snapshots is being phased out and the new terminology is materialized views. Todd Carlson

RE: Snapshots VS Materialized Views

2002-03-14 Thread Todd Carlson
Isn't that just like Oracle... Shesh Todd -Original Message- Kevin M Sent: Thursday, March 14, 2002 10:34 AM To: Multiple recipients of list ORACLE-L materialized views are snapshots snapshots are materialized views. Any questions? -Original Message- Sent: Thursday, Mar

RE: Snapshots VS Materialized Views

2002-03-14 Thread Jay Hostetter
pients of list ORACLE-L materialized views are snapshots snapshots are materialized views. Any questions? -Original Message- Sent: Thursday, March 14, 2002 10:24 AM To: Multiple recipients of list ORACLE-L Hello All, Sun 5.8 Oracle 8.1.7.2 At a client site the developers are building a

RE: Snapshots VS Materialized Views

2002-03-14 Thread Kimberly Smith
It does explain why you can't find a good comparison though:-) The package for materialized views is actually the snap shot packages. Just a public synonym that makes it look different (at least in 8i). -Original Message- Carlson Sent: Thursday, March 14, 2002 9:25 AM To: Mul

Re: Materialized views in RBO

2001-09-22 Thread Christian Trassens
--- Amar Kumar Padhi <[EMAIL PROTECTED]> wrote: > > Our production database runs in RBO. We are > evaluating the option of using > Materialized views. Oracle manuals says that even if > the parameter > OPTIMIZER_MODE is set to RULE, the use of these > features enables th

Base table of materialized views

2001-10-26 Thread Sherrie . Kubis
I have posed this question to Oracle support and have yet to receive an understandable answer, so I thought it best to ask the experts. I used to run under 8.1.5 with compatibility set to 8.0. Whenever I created a snapshot I had an underlying table snap$_ that was the physical table residing in

Query not using Materialized Views

2001-11-15 Thread Harvinder Singh
Hi, I have just created a materialized view on 3 base tables involving only join condition. But oracle is not using this MV when resolving this query. Schema is analyzed with compute. query_rewrite_enable=true. What can be the possible cause. Thanks -Harvinder create MATERIALIZED view t_vw_

Adding Indexes on Materialized views

2001-06-04 Thread Vikas Kawatra
Has anyone created indexes on MV's ? Syntax? URLs ? thanks vikas -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Vikas Kawatra INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet

RE: Substitute for Materialized Views/Snapshots?

2001-08-13 Thread Page, Bruce
Substitute for Materialized Views/Snapshots? > > > We are running 8.1.6 Standard Edition on Solaris hardware. We are > building a reporting system and would have liked to use materialized > views (snapshots) but this feature is not available in Standard > Edition. We need to

RE: Substitute for Materialized Views/Snapshots?

2001-08-14 Thread Grabowy, Chris
Two thoughts. 1) buy the Enterprise edition 2) export the tables from the database and then load them in. > -Original Message- > From: Chris Rezek [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 13, 2001 5:50 PM > To: Multiple recipients of list ORACLE-L > Subject: Sub

Re: Substitute for Materialized Views/Snapshots?

2001-08-14 Thread A. Bardeen
Chris, Read-only and updatable snapshots/materialized views are available with the Standard Edition starting with 8.1.5; SE can also be used for the master site for snapshots/MV's. EE is required only for multi-master replication and the data warehousing features of MV's (e.

Re: Substitute for Materialized Views/Snapshots?

2001-08-14 Thread Chris Rezek
econd. Is there a way I can do a CREATE AS SELECT or COPY for all five tables in a way that ensures this? Chris "A. Bardeen" wrote: > > Chris, > > Read-only and updatable snapshots/materialized views > are available with the Standard Edition starting with > 8.1.5; S

Re: Substitute for Materialized Views/Snapshots?

2001-08-14 Thread Ron Rogers
five tables in a way that ensures this? Chris "A. Bardeen" wrote: > > Chris, > > Read-only and updatable snapshots/materialized views > are available with the Standard Edition starting with > 8.1.5; SE can also be used for the master site for > snapshots/MV

RE: Substitute for Materialized Views/Snapshots?

2001-08-14 Thread Paul Baumgartel
I ordinarily wouldn't correct a misspelling, but in this case, it matters: it's "CONSISTENT", not "CONSISTANT". Paul Baumgartel MortgageSight Holdings, LLC [EMAIL PROTECTED] -Original Message- Sent: Tuesday, August 14, 2001 3:54 PM To: Multiple recipients of list ORACLE-L Chris, If y

RE: Substitute for Materialized Views/Snapshots?

2001-08-14 Thread Ron Rogers
Thanks Paul, I remember better that I type. The error message show me to look up the correct spelling. ROR mª¿ªm >>> [EMAIL PROTECTED] 08/14/01 04:06PM >>> I ordinarily wouldn't correct a misspelling, but in this case, it matters: it's "CONSISTENT", not "CONSISTANT". Paul Baumgartel MortgageSi

Re: Substitute for Materialized Views/Snapshots?

2001-08-18 Thread A. Bardeen
Chris, I'm confused by your statement "there is no materialized view functionality for SE" as this is completely incorrect. Read-only snapshots (called materialized views in 8i) have ALWAYS been available with Standard Edition (well, at least since 7.3) as they're consider

Re: Substitute for Materialized Views/Snapshots?

2001-08-20 Thread Chris Rezek
e: > > Chris, > > I'm confused by your statement "there is no > materialized view functionality for SE" as this is > completely incorrect. > > Read-only snapshots (called materialized views in 8i) > have ALWAYS been available with Standard Edition >

Re: Substitute for Materialized Views/Snapshots?

2001-08-20 Thread Chris Rezek
t; I'm confused by your statement "there is no > > materialized view functionality for SE" as this is > > completely incorrect. > > > > Read-only snapshots (called materialized views in 8i) > > have ALWAYS been available with Standard Edition

Re: Substitute for Materialized Views/Snapshots?

2001-08-20 Thread Chris Rezek
I don't know what to say. When I ran the exact SQL just now it worked - no errors at all. So it seems that MATERIALIZED VIEWs *are* available in SE. Very good news. Thank you especially to Anita who kept insisting that the statement should work. Chris Chris Rezek wrote: > > T

Re: Fast Refresh of Materialized views

2001-08-28 Thread Greg Moore
It may be that your fast refresh is actually doing a lot of work. This would happen if many rows in the source table were changed. If 99% of the rows changed, then a complete refresh will be faster, because you don't have the added overhead of reading the logs to determine which rows to refresh

RE: Fast Refresh of Materialized views

2001-08-28 Thread Vikas Kawatra
How do I find out if that is the case .The no of new inserts/updates is much lesser than the total no of rows in the tables.So why would the fast refresh take longer . Can we index the MV logs to speed up the process. vikas -Original Message- Sent: Tuesday, August 28, 2001 4:11 PM To: Mu

Re: Base table of materialized views

2001-10-28 Thread A. Bardeen
Sherrie, I'm afraid not. You might want to look into creating your snapshots off of prebuilt tables. When the snapshots are dropped the table is left so you could perform DML on it. I haven't played around with them enough yet to know if you'll need to do a complete refresh if you drop the sna

RE: Base table of materialized views

2001-10-29 Thread Aponte, Tony
Title: RE: Base table of materialized views I have a few questions that you can answer with by post of the snapshot creation command.  Also, the refresh type and any other relevant info. (i.e. snapshot log, etc.) Tony Aponte -Original Message- From: [EMAIL PROTECTED] [mailto

Re: Base table of materialized views

2001-11-02 Thread Sakthi , Raj
Yeah.. I know I am late...just catching up. If you are still looking for some workaround...*TEMPORARY* workaround is to use DBMS_SNAPSHOT.SET_I_AM_A_REFRESH (TRUE) and then you can do DMLs. But bewareall replication triggers would be disabled when you set it to true. After you are done set it

Re: Adding Indexes on Materialized views

2001-06-05 Thread Connor McDonald
You can but make sure they are non-unique, since Oracle does not give any guarantees of uniqueness during a refresh hth connor --- Vikas Kawatra <[EMAIL PROTECTED]> wrote: > Has anyone created indexes on MV's ? Syntax? URLs ? > > thanks > vikas > -- > Please see the official ORACLE-L FAQ: > ht

Re: Adding Indexes on Materialized views

2001-06-05 Thread A. Bardeen
That restriction was lifted in Oracle8 since deferrable constraints were introduced. Referential integrity and unique constraints are allowed on snapshots as long as they are created as deferrable since, as Connor mentioned, the uniqueness cannot be guaranteed during the refresh. Non-unique inde

Re: Adding Indexes on Materialized views

2001-06-05 Thread Connor McDonald
Speaking of weird replication things... Has anyone tried doing an standard ANALYZE command on the RUPD$... table. (On my install, 8.1.6+) it says that it worked but always gives null stats...Not important - but hm Connor --- "A. Bardeen" <[EMAIL PROTECTED]> wrote: > That restriction was lif

Materialized views across a db link

2001-03-02 Thread johnm9563
Anybody using MV`s thru a db link. I am trying to create a MV that is updated on commit. I can create this view if I get I keep it in the same db. I can get a MV that never will be refreshed working link. ( What good is that ?) The query is below Platform Irix 6.5 Oracle 8.1.6 Tia J

Re: Materialized views across a db link

2001-03-05 Thread Don Jerman
You can't create materialized views with ON COMMIT across a dblink, sorry. They didn't write the trigger to do remote procedure calls. You can set up Multimaster replication with the Synchronous option, but good luck :-). It puts you out of business if the communications link goes

RE: dware/materialized views/nulls/defaults - Gurus help

2002-07-31 Thread Paula_Stankus
Title: using stored procedures from pro*c Okay guys after feeling like a purist and that NULLS should not be stuffed with values just because - because of course maybe slight performance issue, also is it really the same meaning? and wanting easy way to build in consi

RE: dware/materialized views/nulls/defaults - Gurus help

2002-08-01 Thread Khedr, Waleed
Title: using stored procedures from pro*c Can you send  an example? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 01, 2002 3:23 AMTo: Multiple recipients of list ORACLE-LSubject: RE: dware/materialized views/nulls/defaults

automatic refresh of delta data for materialized views

2002-06-04 Thread Ferenc Mantfeld
Hi All I have a very large data set for a DW and I created a materialized view on it to give me a quick access to group by and summarization results, I want some way to be able to update the MV with just the delta after I perform an incremental load to the base fact or dimension tables on which t

Ignore my question about SNAPSHOTS and MATERIALIZED VIEWS

2001-12-21 Thread tday6
There were other problems which were masquerading as a refresh problem. Merry Christmas and Happy New Year to all. -- 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

Re: automatic refresh of delta data for materialized views

2002-06-05 Thread Stephane Faroult
Ferenc Mantfeld wrote: > > Hi All > > I have a very large data set for a DW and I created a materialized view on > it to give me a quick access to group by and summarization results, I want > some way to be able to update the MV with just the delta after I perform an > incremental load to the ba

RE: automatic refresh of delta data for materialized views

2002-06-06 Thread Ferenc Mantfeld
<> FM : Stephane, thanks for replying, as I am still not coming up with any good ideas myself on this. The whole snapshot idea has not crossed my mind until you mentioned it, but even with the snapshot logs, I would still need to calculate the summaries and aggregates on the entire set of tables