Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Error on Materialized view : subquery or named view in FROM list even after view merging
Hello,
i'm trying to create a mview with FAST refresh, ON COMMIT and a query
with UNION ALL.
I succeed in creating some mview of this type, so i assume mview logs
creation is ok.
So i tried another another query, it didn't work and
DBMS_VIEW_EXPLAIN_MVIEW give me the following tips :
REFRESH_FAST_AFTER_INSERT F subquery or named view in FROM list even after view merging
The concerned query is :
SELECT
d.ID_PROP as ID_LINE,
'RT' as TYPE,
a.TYPE_SS_CAT as CAT,
COUNT(*) as TOTAL,
COUNT(a.TYPE_SS_CAT) as VALEUR,
'attn' as TYPE_COUNT,
d.MARCHE_ID,
1 as umarker
FROM
ATTN a inner join DBMV d on a.REF_INT_DBMV = d.ID
WHERE
d.ID_PROP IS NOT NULL AND a.INDICATOR = 1 AND a.TYPE_PROP = 'RT' AND d.MARCHE_ID = 1
d.ID_FG_LINE IS NOT NULL AND a.INDICATOR= 1 AND a.TYPE_PROP = 'FG' AND d.MARCHE_ID = 1
As english isn't my mothertongue, i don't fully understand the error
message and what it is the problem.
Oracle version is 9.2.
does anyone see the problem ?
regards,
-- VictorReceived on Tue Jul 25 2006 - 07:47:54 CDT
![]() |
![]() |