設置oracle最大遊標

1、查看ORACLE最大遊標數


  C:\Documents and Settings\Administrator>sqlplus "sys/orcl@orcl as sysdba"   

  SQL> show parameter open_cursors;

  NAME TYPE VALUE
  ----------------------------------- ----------- ------------------------------
  open_cursors integer 300


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

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

  ----------
  17494

  3、修改ORACLE最大遊標數

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

  系統已更改。

  SQL> show parameter open_cursors;

  NAME TYPE VALUE
  ------------------------------------ ----------- ------------------------------
  open_cursors integer 1000
發佈了32 篇原創文章 · 獲贊 40 · 訪問量 17萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章