ORA-02143: invalid STORAGE option --DSG oracle 11g 複製數據到oracle 10g

ORA-02143: invalid STORAGE option --DSG oracle 11g 複製數據到oracle 10g
分類: GoldenGate&DSG&SharePlex 2012-10-17 02:36 1065人閱讀 評論(0) 收藏 舉報
oracleflashcachedatabaseschemabuffer
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 ENABLEsql

報錯緣由:oracle 11g新增了一個存儲選項 FLASH_CACHE,oracle 10g不支持此選項
FLASH_CACHE
The FLASH_CACHE clause 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 SpecifyKEEP if you want the schema object buffers to remain cached in the flash cache as long as the flash cache is large enough.
NONE SpecifyNONE to 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 SpecifyDEFAULT if 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 specifyKEEP orNONE.
Note:
Database Smart Flash Cache is available only in Solaris and Oracle Linux.session

解決辦法:oracle

在源端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;ide

從新發起全同步問題解決this

相關文章
相關標籤/搜索