ORA-02143: invalid STORAGE option --DSG oracle 11g 复制数据到oracle 10g
2012-10-17 02:36
260 查看
ORA-02143: invalid STORAGE option
ORA-02143: invalid STORAGE option
SQL: alter table "user"."table_name" ADD CONSTRAINT "table_PK" PRIMARY KEY ("ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE test ENABLE
报错原因:oracle 11g新增了一个存储选项 FLASH_CACHE,oracle 10g不支持此选项
FLASH_CACHE
The
flash cache is an extension of the database buffer cache that is stored on a flash disk, a storage device that uses flash memory. Because flash memory is faster than magnetic disks, the database can improve performance by caching buffers in the flash cache
instead of reading from magnetic disk.
KEEP Specify
NONE Specify
objects.
DEFAULT Specify
with the standard buffer cache replacement algorithm. This is the default if flash cache is configured and you do not specify
Note:
Database Smart Flash Cache is available only in Solaris and Oracle Linux.
解决办法:
在源端oracle 11g抽取sql语句是去掉存储选项,
在源端config下编辑session_prev.sql文件
配置如下:
declare
sql_str varchar2(500);
begin
DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'STORAGE',false);
end;
重新发起全同步问题解决
ORA-02143: invalid STORAGE option
SQL: alter table "user"."table_name" ADD CONSTRAINT "table_PK" PRIMARY KEY ("ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE test ENABLE
报错原因:oracle 11g新增了一个存储选项 FLASH_CACHE,oracle 10g不支持此选项
FLASH_CACHE
The
FLASH_CACHEclause lets you override the automatic buffer cache policy and specify how specific schema objects are cached in flash memory. To use this clause, Database Smart Flash Cache (flash cache) must be configured on your system. The
flash cache is an extension of the database buffer cache that is stored on a flash disk, a storage device that uses flash memory. Because flash memory is faster than magnetic disks, the database can improve performance by caching buffers in the flash cache
instead of reading from magnetic disk.
KEEP Specify
KEEPif you want the schema object buffers to remain cached in the flash cache as long as the flash cache is large enough.
NONE Specify
NONEto ensure that the schema object buffers are never cached in the flash cache. This allows you to reserve the flash cache space for more frequently accessed
objects.
DEFAULT Specify
DEFAULTif you want the schema object buffers to be written to the flash cache when they are aged out of main memory, and then be aged out of the flash cache
with the standard buffer cache replacement algorithm. This is the default if flash cache is configured and you do not specify
KEEPor
NONE.
Note:
Database Smart Flash Cache is available only in Solaris and Oracle Linux.
解决办法:
在源端oracle 11g抽取sql语句是去掉存储选项,
在源端config下编辑session_prev.sql文件
配置如下:
declare
sql_str varchar2(500);
begin
DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'STORAGE',false);
end;
重新发起全同步问题解决
相关文章推荐
- oracle 10g dblink连接11g ORA-01017 invalid username/password;logon denied
- oracle 11g和10g数据导出导入问题
- oracle导出dmp文件时,ORA-00904: "POLTYP": 标识符无效,是因为用的11g的exp工具而被导出的数据库是10g的,版本比它高
- 关于oracle 11g导出数据时 报 ORA 1455错误的处理
- oracle 11g首次装好后出现 ORA-01017 invalid username/password;logon denied;
- 【ORACLE】 11g 数据库表导出再导入10g 时空表不能导出的问题
- oracle 11g 报 ORA-00119: invalid specification for system parameter LOCAL_LISTENER错误
- Oracle 11g 导出数据报 “ORA-01455: 转换列溢出整数数据类型”的问题
- oracle_11g表+数据完美迁移到10g解决方案
- oracle 10g 导入到11g中会出现12899错误从而导致数据无法插入,进而数据丢失
- 【ORACLE】 11g 数据库表导出再导入10g 时空表不能导出的问题
- 关于在.NET中通过Parameter方式插入Oracle数据的错误提示——Oracle-ORA-01722 invalid number
- oracle 11g里边有scott用户,且脚本scott.sql无错 SQL> conn scott 输入口令: ERROR: ORA-01017: invalid username/passwor
- oracle 10g客户端导出11g用户的完整数据
- ORACLE 11G HOW TO FIX ORA-01017: invalid username /password;logon denied
- Oracle 11g数据导入到10g
- Oracle 11g 导出数据报 “ORA-01455: 转换列溢出整数数据类型”的问题
- oracle 10g数据迁移到11g
- ORACLE 数据库表字段查询报错之ORA-00904:invalid identifier
- Oracle 10g 到11g的数据迁移 导入导出 顺序步骤 expdp/impdp