Skip to Main Content

Oracle Database Discussions

Announcement

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!

Difference between View and Materialized View

eysFeb 17 2015 — edited Feb 17 2015

Hello,

I have an Oracle DB Version 11.2.0.4.0. My Problem is that the same fields are handled different in Views and MViews.

e.g. I have the following column:

CI_ELIDCHAR(42 BYTE)

The View and the MView get their data from the same source via a DB-Link.

create materialized view T_Server as select * from fachcmdb.server@cmdb;

create or replace force view V_Server as select * from fachcmdb.server@cmdb;

But the content in this column looks different.

In the MView: '739PNV392Q2U29                            '

In the View: '5BVKN3ZNLGH5MT'

So I have a lot of empty spaces in the MView but I don't know why.

If it helps, my DB has the following NLS-Settings:

NLS_CHARACTERSETAL32UTF8
NLS_NCHAR_CHARACTERSETAL16UTF16

Can you tell me what's the problem?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2015
Added on Feb 17 2015
12 comments
494 views