---
title: "Oracle物化视图刷新方式on commit"
author: "lifaming15"
date: "2013-03-06T20:11:00Z"
tags: []
slug: "oracle-on-commit"
draft: false
lastmod: "2013-08-28T21:54:43Z"
id: 1932894
url: "https://lifaming15.iteye.com/blog/1932894"
---

```
General Restrictions on Fast Refresh
The defining query of the materialized view is restricted as follows:

The materialized view must not contain references to non-repeating expressions like SYSDATE and ROWNUM.

The materialized view must not contain references to RAW or LONG RAW data types.

It cannot contain a SELECT list subquery.

It cannot contain analytical functions (for example, RANK) in the SELECT clause.

It cannot contain a MODEL clause.

It cannot contain a HAVING clause with a subquery.

It cannot contain nested queries that have ANY, ALL, or NOT EXISTS.

It cannot contain a [START WITH …] CONNECT BY clause.

It cannot contain multiple detail tables at different sites.

On-commit materialized view cannot have remote detail tables.

Nested materialized views must have a join or aggregate.
```