Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Oracle Materialized View
Oracle Materialized View
Silver Member
Can we create a MAS file from a materialized view? When I use the tool to create mas files (or synonyms) it shows all of my tables except the table that stores the Materialized view. When I ask it to show me tables and views, I still get nothing.

Any ideas?

Posts: 35 | Registered: April 20, 2006Reply With QuoteReport This Post
Silver Member
posted Hide Post
Can't help directly on your question (After we migrated to 713 we are not able to create synonyms using the tool).
However accessing materialized views is definitely possible. We create the master files manually and access materialized views from WF.
Posts: 38 | Location: India | Registered: May 18, 2005Reply With QuoteReport This Post
Silver Member
posted Hide Post
Thanks! Manual creation it is then...
Posts: 35 | Registered: April 20, 2006Reply With QuoteReport This Post
posted Hide Post
Might be an Oracle security thing that it's not putting the MV into all_tables. Try upping your privs to

select any dictionary

(if your dba lets you).

Have always wondered if there is a focexec on the server that corresponds to CREATE SYNONYM that can be modded to incorporate MV's.

Anyone know?

Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Reply With QuoteReport This Post
posted Hide Post suggests you can do it manually until the issue is fixed im 7.6:



Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Gold member
posted Hide Post
I had problems with an Oracle materialized view (Oracle9i Enterprise Edition Release where I got the error "(FOC1567) CREATE SYNONYM: DATASOURCE 'DATA_MV' IS NOT UNIQUE."

I worked with the DBA (this is a development environment) and looked at all of the possible reasons I could find - problems in comments, duplicate columns, etc., etc.

What finally worked was this:

The DBA made an Oracle VIEW of the Oracle MATERIALIZED VIEW. The WebFOCUS Metadata "Create Synonym" functionality finally worked on this.

So if you have access to the Oracle DBA, try having them make a View of the Materialized View.
Posts: 64 | Location: Denver | Registered: July 20, 2005Reply With QuoteReport This Post
posted Hide Post
if you're using the 'create synonym' gui tool, you have to make sure the appropriate checkboxes are selected. it gives you an option for tables and views by default. a mat view isn't either of these.

We create synonyms all the time using the Mat Views.... but here's a little tidbit for you...the Oracle optimizer 9i or greater can use a Mat view implicitly if you query the underlying table...this helps if you have to aggregate a tremendous amount of data or have indexes with low selectivity (cardinality i think yall call it).

We use an IBM iseries and Materialized Query Tables (MQT) have been a blessing for our datawarehouse.

Also, your materialized view logs will speed up refresh time quite a bit too...definitely look into that if you're not 2 cents.

Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
Posts: 611 | Registered: January 04, 2007Reply With QuoteReport This Post
posted Hide Post
Hi Jackson,
We use star schema and creat fact tables from JDEdwards. The dasboards performance is not impresive to the top management (6-7 fex).

I was reading about Materialized views and have the fillowing questions:-
- Can I create it based on the fact table or it should be joined with demensions?
-we update nightly so I like to truncate and then load the data to these view after finishing the fact tables in the data migrator, is this possible?
Please let me know.

7.6.4, OS/400 AS/400
Posts: 2 | Registered: August 27, 2008Reply With QuoteReport This Post
  Powered by Social Strata  

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Oracle Materialized View

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.