For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
select * from v$version; Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi PL/SQL Release 10.2.0.5.0 - Production "CORE 10.2.0.5.0 Production" TNS for HPUX: Version 10.2.0.5.0 - Production NLSRTL Version 10.2.0.5.0 - Production
Only you can answer that question based on YOUR systems needs (why did you create the MV?)
CREATE MATERIALIZED VIEW LLNK.MVW_SAMPLE NOCOMPRESS NOLOGGING TABLESPACE SAMPLE_DATA_TS BUILD IMMEDIATE USING INDEX REFRESH FORCE ON DEMAND START WITH sysdate+0 NEXT SYSDATE + 60 AS SELECT Name FOLDERNAME FROM EMP;
Are you really doing a straight SELECT with no WHERE clause and no aggregation in your materialized view? If so, why would it be more efficient to read N rows from your materialized view than to read N rows from your base table? If you're just eliminating some columns, it would probably be easier to do a full scan on an index on the NAME column.