Oracle查看和修改其最大的游標數


以下的文章主要是介紹Oracle查看和修改其最大的游標數,本文主要是通過相關代碼的方式來引出Oracle查看和修改其最大的游標數的實際操作步驟,以下就是文章的具體內容的描述,望你在瀏覽完之后,會有所收獲。

1、Oracle查看Oracle最大游標數

  C:/Documents and Settings/Administrator>sqlplus "sys/admin@test151 as sysdba"      (sys以dba登錄test151服務)

  SQL*Plus: Release 9.2.0.1.0 - Production on 星期四 11月 5 09:08:04 2009

  Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

  連接到:

  Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

  With the Partitioning, OLAP and Oracle Data Mining options

  JServer Release 9.2.0.1.0 - Production

  SQL> show parameter open_cursors;

  NAME                                 TYPE        VALUE

  ------------------------------------ ----------- ------------------------------

  open_cursors                         integer     300

2、查看當前打開的游標數目

  SQL> select count(*) from v$open_cursor;

  COUNT(*)

  ----------

  17494

3、修改ORACLE最大游標數

  SQL> alter system set open_cursors=1000 scope=both;

  系統已更改。

  SQL> show parameter open_cursors;

  NAME                                 TYPE        VALUE

  ------------------------------------ ----------- ------------------------------

  open_cursors                         integer     1000

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM