ORA-01555 快照过旧--详细解释
日期:2008年6月15日 作者: 查看:[大字体 中字体 小字体]-
select index_column from table_name where index_column > 24;
Examples
~~~~~~~~
Listed below are some PL/SQL examples that can be used to illustrate the ORA-1555 cases given above. Before these PL/SQL examples will return this error the database must be configured as follows :
o Use a small buffer cache (db_block_buffers).
REASON: You do not want the session executing the script to be able to find old versions of the block in the buffer cache which can be used to satisfy a block visit without requiring the rollback information.
o Use one rollback segment other than SYSTEM.
REASON: You need to ensure that the work being done is generating rollback information that will overwrite the rollback information required.
o Ensure that the rollback segment is small.
REASON: See the reason for using one rollback segment.
ROLLBACK OVERWRITTEN
rem * 1555_a.sql -
rem * Example of getting ora-1555 "Snapshot too old" by
rem * session overwriting the rollback information required
rem * by the same session.
drop table bigemp;
create table bigemp (a number, b varchar2(30), done char(1));
drop table dummy1;
create table dummy1 (a varchar2(200));
rem * Populate the example tables.
begin
for i in 1..4000 loop
insert into bigemp values (mod(i,20), to_char(i), 'N');
if mod(i,100) = 0 then
insert into dummy1 values ('ssssssssssss');
commit;
end if;
end loop;
commit;
end;
/
rem * Ensure that table is 'cleaned out'.
select count(*) from bigemp;
declare
-- Must use a predicate so that we revisit a changed block at a different
-- time. - 上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 下一页
-
- ORA-01555 快照过旧--详细解释 相关文章:
- ·CPU主要参数名词解释
- ·Oracle主要的配置文件解释
- ·ORA-01555 快照过旧--详细解释
- ·解释一个关于Hibernate lazy的问题
- ·自己动手做一个SQL解释器
- ·详细解释主板的供电机制
- ·Java基础-关于session的详细解释
- ·CheckStyle及其配置的详细解释
- ·名词解释:什么是SSL VPN
- ·Win2000命令全集及解释
- ORA-01555 快照过旧--详细解释 相关软件
- ·经济解释
- 特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作
- 者.文章版权归文章原始作者所有.对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转
- 载的文章有版权问题请联系编辑人员,我们尽快予以更正. 转载请注明来源:http://www.hackhome.com
下一篇:RMAN命令
精品推荐
热点TOP10
- ·Pro*C的使用
- ·Oracle触发器详细介绍
- ·Oracle的SQL*PLUS命令的使用大全
- ·oracle中pro*c的学习
- ·Oracle中分区表的使用
- ·Oracle job 管理
- ·详细介绍ORACLE sqlplus命令
- ·了解 Oracle ADF:入门示例
- ·ORACLE备份&恢复案例--ORACLE BACKUP&RESTORE SCHEME
- ·ORACLE UPDATE 语句语法与性能分析的一点看法
- ·ORA-12154: TNS: 无法解析指定的连接标识符
- ·如何使用Oracle case函数
- ·Oracle数据类型简介
- ·把Oracle数据库移植到Microsoft SQL Server 7.0
- ·如何在oracle中导入dmp数据库文件
- ·oracle双机热备份方法
- ·ORA-00257: archiver error. Connect internal only, until freed.
- ·VMware下RedHat安装Oracle 9i RAC全攻略
- ·Oracle常用的OCI函数
- ·在PL/SQL 开发中调试存储过程和函数的一般性方法
特别推荐
- ·Oracle数据库处理时间的几个小技巧
- ·Oracle数据库中TNS常见问题处理方案
- ·入侵Oracle数据库常用操作命令
- ·ORACLE UPDATE 语句语法与性能分析的一点看法
- ·Oracle SQL精妙SQL语句讲解
- ·Oracle环境下APACHE虚拟服务器如何设置
- ·常见Oracle HINT的用法
- ·ORA-00257: archiver error. Connect internal only, until freed.
- ·oracle的update问题
- ·小议索引的使用
- ·oracle产品服务和技术级别介绍,OrACLE服务
- ·Oracle 数据类型
- ·Oracle数据库检查死锁的sql
- ·怎样将冷备份移植到另一台Solaris机器上
- ·Oracle 动态SQL返回单条结果和结果集
- ·手动建立 Oracle9i 数据库
- ·Oracle内存结构(二)----Shared Pool的详细信息
- ·DELPHI 调用 Oracle 存储过程并返回数据集的例子.
- ·关于block中行数据的存储与空间重组三
- ·Sybase及SQL Anywhere SQL语句小结
