eygle.com   eygle.com
eygle.com  
 

« April 5, 2006 | Blog首页 | April 8, 2006 »



April 6, 2006

PGA_AGGREGATE_TARGET参数的变更

作者:eygle

出处:http://blog.eygle.com

从Oracle9i开始,Oracle引入了自动PGA管理的新特型,PGA_AGGREGATE_TARGET参数用于控制PGA的总体期望目标:

$ sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Thu Apr 6 16:40:13 2006
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
SQL> show parameter pga
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
pga_aggregate_target                 big integer 1073741824
SQL>

但是在Oracle9i中,PGA_AGGREGATE_TARGET参数仅对专用服务器模式下(Dedicated Server)的专属连接有效,对共享服务器(Shared Server)连接无效;从Oracle10g开始PGA_AGGREGATE_TARGET对专用服务器连接和共享服务器连接同时生效。

 

Posted by eygle at 4:37 PM | Comments (0)


Oracle10g与各版本的连通性

作者:eygle

出处:http://blog.eygle.com

昨天有朋友问到Oracle10g和Oracle8i的连通性问题,一时记不清楚,同事作了一些测试.得到的结论是:

Oracle8.1.5可以连接Oracle10g
Oracle8.1.7也可以连接Oracle10g
Oracle10gR2可以连接Oracle8.1.7,但是不能连接Oracle8.1.5
Oracle10g和Oracle9i各版本可以互连.

简要记录于此:


1.Oracle8.1.5连接Oracle10gR1
oracle:/oracle/oracle8/network/admin>sqlplus /nolog
            SQL*Plus: Release 8.1.5.0.0 - Production on Wed Apr 5 17:21:30 2006
            (c) Copyright 1999 oracle Corporation.  All rights reserved.
            SQL> conn mlqin/*****@mmsdb
            Connected.
            SQL> select * from v$version
            2  /
            BANNER
            ----------------------------------------------------------------
            oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - 64bi
            PL/SQL Release 10.1.0.3.0 - Production
            CORE    10.1.0.3.0      Production
            TNS for Solaris: Version 10.1.0.3.0 - Production
            NLSRTL Version 10.1.0.3.0 - Production
            SQL> exit
            

2.Oracle8.1.7连接Oracle10gR2
$ sqlplus /nolog
            SQL*Plus: Release 8.1.7.0.0 - Production on Wed Apr 5 16:58:05 2006
            (c) Copyright 2000 oracle Corporation.  All rights reserved.
            SQL> conn mlqin/*****@hsstat
            Connected.
            SQL> select * from v$version;
            BANNER
            ----------------------------------------------------------------
            oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
            PL/SQL Release 10.2.0.1.0 - Production
            CORE    10.2.0.1.0      Production
            TNS for Solaris: Version 10.2.0.1.0 - Production
            NLSRTL Version 10.2.0.1.0 - Production
            SQL> exit
            Disconnected from oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
            With the Partitioning, OLAP and Data Mining options

3.Oracle10gR2连接Oracle8.1.7.4
$ sqlplus /nolog
            SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 5 17:19:01 2006
            Copyright (c) 1982, 2005, oracle.  All rights reserved.
            SQL> conn mlqin/*****@test8
            Connected.
            SQL> select * from v$version;
            BANNER
            ----------------------------------------------------------------
            Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
            PL/SQL Release 8.1.7.4.0 - Production
            CORE    8.1.7.0.0       Production
            TNS for Solaris: Version 8.1.7.4.0 - Production
            NLSRTL Version 3.4.1.0.0 - Production
            SQL> 

4.Oracle10gR2不能连接Oracle8.1.5
$ sqlplus /nolog
            SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 5 17:09:38 2006
            Copyright (c) 1982, 2005, oracle.  All rights reserved.
            SQL> conn mlqin/****@199
            ERROR:
            ORA-03134: Connections to this server version are no longer supported.
            

Posted by eygle at 4:35 PM | Comments (2)



CopyRight © 2004-2008 eygle.com, All rights reserved.