SQL> alter table emp shrink space; alter table emp shrink space * ERROR at line 1: ORA-10663: Object has rowid based materialized views SQL> David Fitzjarrell ________________________________ From: Mike Hayes <funrx1@xxxxxxxxx> To: oracle-l@xxxxxxxxxxxxx Sent: Monday, March 11, 2013 2:47 PM Subject: Materialized views with rowid question If I create a materialized view log 'WITH ROWID' on a table that has row movement enabled and later do alter table shrink or flashback table is the materialized view log kept up to date? For example: CREATE MATERIALIZED VIEW LOG ON T NOCACHE WITH ROWID INCLUDING NEW VALUES; Later I issue: alter table T shrink space compact; I have always used a primary key when working with rowid in the past but unfortunately vendor product whose table does not have a primary key. Should I make sure the row movement is disabled on tables with MVs created like this? Thanks in advance - Mike -- //www.freelists.org/webpage/oracle-l -- //www.freelists.org/webpage/oracle-l