转--逻辑STANDBY支持与不支持的表和数据类型

Creating a Logical Standby Database
1         确认主库包含逻辑STANDBY支持的表和数据类型
1、 逻辑STANDBY支持的数据类型:
CHAR
NCHAR
VARCHAR2 and VARCHAR
NVARCHAR2
NUMBER
DATE
TIMESTAMP
TIMESTAMP WITH TIME ZONE
TIMESTAMP WITH LOCAL TIME ZONE
INTERVAL YEAR TO MONTH
INTERVAL DAY TO SECOND
RAW
CLOB
BLOB
2、逻辑STANDBY不支持的数据类型:
NCLOB,  LONG RAW, BFILE, ROWID, and UROWID
3、逻辑STANDBY不支持的表和序列:
Tables and sequences in the SYS schema
Tables with unsupported datatypes
Tables used to support functional indexes
Tables used to support materialized views
Global temporary tables
逻辑STANDBY不支持的表和列可以通过视图dba_logstdby_unsupported来查询:
SELECT * FROM DBA_LOGSTDBY_UNSUPPORTED;
4、逻辑STANDBY不支持的SQL语句操作(会过滤掉下面语句):
ALTER DATABASE
ALTER SESSION
ALTER SNAPSHOT
ALTER SNAPSHOT LOG
ALTER SYSTEM SWITCH LOG
CREATE CONTROL FILE
CREATE DATABASE
CREATE DATABASE LINK
CREATE PFILE FROM SPFILE
CREATE SCHEMA AUTHORIZATION
CREATE SNAPSHOT
CREATE SNAPSHOT LOG
CREATE SPFILE FROM PFILE
CREATE TABLE AS SELECT FROM A CLUSTER TABLE
DROP DATABASE LINK
DROP SNAPSHOT
DROP SNAPSHOT LOG
EXPLAIN
LOCK TABLE
RENAME
SET CONSTRAINTS
SET ROLE
SET TRANSACTION
确认主数据库是否包含不支持的对象能够查询数据字典表dba_logstdby_unsupported:
sql>select distinct owner,table_name from dba_logstdby_unsupported
order by owner,table_name;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15881763/viewspace-691122/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/15881763/viewspace-691122/

你可能感兴趣的:(转--逻辑STANDBY支持与不支持的表和数据类型)