|
Re: 在9204上也是这样.
最初由 Steven_1981 发布
[B]Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Steven_he>sqlplus user/passwd@abcd
SQL*Plus: Release 9.0.1.0.1 - Production on 星期四 4月 5 09:31:39 2007
(c) Copyright 2001 Oracle Corporation. All rights reserved.
连接到:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
SQL> archive log list;
ORA-01031: insufficient privileges (确定是归档.生产库)
SQL> create table hyf_test nologging as select * from dba_objects where 1=2;
表已创建。
SQL> select b.value from v$statname a, v$mystat b
2 where a.statistic#=b.statistic# and a.name='redo size';
VALUE
----------
40580
SQL> select logging from dba_tables where table_name='HYF_TEST';
LOG
---
NO
SQL> insert into hyf_test select * from dba_objects;
已创建10451行。
SQL> select b.value from v$statname a, v$mystat b
2 where a.statistic#=b.statistic# and a.name='redo size';
VALUE
----------
1156140
SQL> insert /* + append */[/COLOR] into hyf_test select * from dba_objects;
已创建10451行。
SQL> select b.value from v$statname a, v$mystat b
2 where a.statistic#=b.statistic# and a.name='redo size';
VALUE
----------
2231840
SQL> select 2231840-1156140,1156140-40580 from dual;
2231840-1156140 1156140-40580
--------------- -------------
1075700 1115560
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
PL/SQL Release 9.2.0.4.0 - Production
CORE 9.2.0.3.0 Production
TNS for Linux: Version 9.2.0.4.0 - Production
NLSRTL Version 9.2.0.4.0 - Production
SQL> [/B]
注意hints的 用法 ,是:
/*+ append */
而 不是
/* + append */ |
|