ORA-01466: unable to read data - table definition has changed
2014-06-03 19:44
369 查看
1.
Oracle建议我们等待大约5分钟之后再进行flashback query新创建的表,否则可能会碰到这个错误ORA-01466: unable to read data - table
definition has changed. 注意这个5分钟时间间隔正好是9i 中SCN和timestamp相map的时间间隔,虽然可以用timestamp来进行flashback query,但实质还是根据该timestamp对应的SCN来进行flasbback
query, 由于timestamp不是实时地跟SCN对应上, 因此我们需要等段时间来让timestamp跟SCN同步上, 因此用SCN会比timestamp更准确些。注意SCN会在每个commit的时候增长。
2. 在创建好表之后,最好等几分钟让SCN增加。如果尝试去flashback一个新创建的表,可能会遇到ORA-01466:
unable to read data - table definition has changed
SQL> create table fbt
2 ( x integer,
3 y timestamp,
4 z varchar2(30));
Table created.
SQL> exec dbms_lock.sleep(10);
PL/SQL procedure successfully completed.
SQL> insert into fbt values(1, LOCALTIMESTAMP, 'Initial population');
1 row created.
SQL> commit;
Commit complete.
Oracle建议我们等待大约5分钟之后再进行flashback query新创建的表,否则可能会碰到这个错误ORA-01466: unable to read data - table
definition has changed. 注意这个5分钟时间间隔正好是9i 中SCN和timestamp相map的时间间隔,虽然可以用timestamp来进行flashback query,但实质还是根据该timestamp对应的SCN来进行flasbback
query, 由于timestamp不是实时地跟SCN对应上, 因此我们需要等段时间来让timestamp跟SCN同步上, 因此用SCN会比timestamp更准确些。注意SCN会在每个commit的时候增长。
2. 在创建好表之后,最好等几分钟让SCN增加。如果尝试去flashback一个新创建的表,可能会遇到ORA-01466:
unable to read data - table definition has changed
SQL> create table fbt
2 ( x integer,
3 y timestamp,
4 z varchar2(30));
Table created.
SQL> exec dbms_lock.sleep(10);
PL/SQL procedure successfully completed.
SQL> insert into fbt values(1, LOCALTIMESTAMP, 'Initial population');
1 row created.
SQL> commit;
Commit complete.
相关文章推荐
- ORA-01466: unable to read data - table definition has changed
- ORA-01466: unable to read data - table definition has changed
- ORA-01466: unable to read data - table definition has changed
- DBSPI40-1: Unable to fetch data from table 'V$SYSSTAT' [ORA-03135: connection lost contact]
- ORA-01653: unable to extend table FND_CONCURRENT_REQUESTS by 16 in tablespace APPS_TS_TX_DATA
- SQLException: ORA-01653: unable to extend table ... by 1024 in tablespace RISK_DATA
- 【hbase】Unable to read additional data from client sessionid 0x15c92bd1fca0003, likely client has closed socket
- EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has cl
- Unable to read additional data from client sessionid 0x0, likely client has closed socket
- ORA-01652 : Unable to extend temp segment by 128 in tablespace temp
- ORA-00604: error occurred at recursive SQL level 1 ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM
- ORA-01652:unable to extend temp segment by num in tablespace name
- form builder was unable to read the device settings from the datastore问题解决
- ora-01654 ORA-01654: unable to extend index HRERP.INDEX_DATE by 128 in tablespace
- ORA-1652错误 unable to extend temp segment by 128 in tablespace
- ORA-01653: unable to extend table string.string by string in tablespace string
- Oracle内部错误ORA-07445: [ACCESS_VIOLATION] [unable_to_trans_pc][UNABLE_TO_READ]
- ORA-1652: unable to extend temp segment by 128 in tablespace
- ORA-01652:unable to extend temp segment by num in tablespace name
- WARNING: failed to online diskgroup resource ora.DATA.dg (unable to communicate with CRSD/OHASD)