Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2088353
  • 博文数量: 1647
  • 博客积分: 80000
  • 博客等级: 元帅
  • 技术积分: 9980
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 15:15
文章分类

全部博文(1647)

文章存档

2011年(1)

2008年(1646)

我的朋友

分类:

2008-10-28 17:46:36

SQL> connect / as sysdba
Connected.
SQL> alter system set "_disable_logging"=false;

System altered.

Elapsed: 00:00:00.05
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  286755168 bytes
Fixed Size                   731488 bytes
Variable Size             167772160 bytes
Database Buffers          117440512 bytes
Redo Buffers                 811008 bytes
Database mounted.
Database opened.
SQL> show parameter disable

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
_disable_logging                     boolean     FALSE

SQL> connect eygle/eygle
Connected.
SQL> set timing on
SQL>
SQL> begin    
  2    for i in 1 .. 10000 loop
  3   insert into test select * from dba_objects where rownum < 101;
  4  commit;
  5    end loop;
  6  end;
  7 /  

PL/SQL procedure successfully completed.

Elapsed: 00:01:54.04
SQL>
SQL> truncate table test;

Table truncated.

Elapsed: 00:01:01.56


--------------------next---------------------

阅读(168) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~