1、查看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 &nbsoracle账号p; 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
文章归档
- 2021年11月
- 2021年10月
- 2021年9月
- 2021年8月
- 2021年7月
- 2021年6月
- 2021年5月
- 2021年4月
- 2021年3月
- 2021年2月
- 2021年1月
- 2020年12月
- 2020年11月
- 2020年10月
- 2020年9月
- 2020年8月
- 2020年7月
- 2020年6月
- 2020年5月
- 2020年4月
- 2020年3月
- 2020年2月
- 2020年1月
- 2019年12月
- 2019年11月
- 2019年10月
- 2019年9月
- 2019年8月
- 2019年7月
- 2019年6月
- 2019年5月
- 2019年4月
- 2019年3月
- 2019年2月
- 2019年1月
- 2018年12月
- 2018年11月