oracle中设置了最大链接数还是报错
2017-04-27 16:21
162 查看
须要更新的数据有1100条。我连接的时候一直报错
ORA-12518, TNS:listener could not hand off client connection
依据商品的文章设置了最大连接数为:1200。session为1200*1.1+5=1325。可是tomcat还是报错
ORA-12518, TNS:listener could not
hand off client connection
查看最大连接数:
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 0
db_writer_processes integer 1
gcs_server_processes integer 0
job_queue_processes integer 10
log_archive_max_processes integer 2
processes integer 1200
查看当前的的数据库v$processes 仅仅有356,v$session 352
PMON每5分钟更新listener中的内容,所以listener和数据库不一定是同步的,你如今从数据库上得知有356个连接。并不代表listener里面记录的是356个, 5分钟之内非常可能还没有被pmon更新,依旧保持着1200所以你报错ORA-12518 而不是ora-00020
ORA-12518, TNS:listener could not hand off client connection
依据商品的文章设置了最大连接数为:1200。session为1200*1.1+5=1325。可是tomcat还是报错
ORA-12518, TNS:listener could not
hand off client connection
查看最大连接数:
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 0
db_writer_processes integer 1
gcs_server_processes integer 0
job_queue_processes integer 10
log_archive_max_processes integer 2
processes integer 1200
查看当前的的数据库v$processes 仅仅有356,v$session 352
PMON每5分钟更新listener中的内容,所以listener和数据库不一定是同步的,你如今从数据库上得知有356个连接。并不代表listener里面记录的是356个, 5分钟之内非常可能还没有被pmon更新,依旧保持着1200所以你报错ORA-12518 而不是ora-00020
SQL> show parameter pga; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ pga_aggregate_target big integer 194M SQL> select * from v$resource_limit; RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_ALLOCATION LIMIT_VALUE ------------------------------ ------------------- --------------- -------------------- -------------------- processes 24 366 1200 1200 sessions 27 362 1325 1325 enqueue_locks 15 25 15950 15950 enqueue_resources 15 43 6048 UNLIMITED ges_procs 0 0 0 0 ges_ress 0 0 0 UNLIMITED ges_locks 0 0 0 UNLIMITED ges_cache_ress 0 0 0 UNLIMITED ges_reg_msgs 0 0 0 UNLIMITED ges_big_msgs 0 0 0 UNLIMITED ges_rsv_msgs 0 0 0 0 gcs_resources 0 0 0 0 gcs_shadows 0 0 0 0 dml_locks 0 51 5828 UNLIMITED temporary_table_locks 0 3 UNLIMITED UNLIMITED transactions 1 7 1457 UNLIMITED branches 0 0 1457 UNLIMITED cmtcallbk 0 2 1457 UNLIMITED sort_segment_locks 0 3 UNLIMITED UNLIMITED max_rollback_segments 11 11 1457 65535 RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_ALLOCATION LIMIT_VALUE ------------------------------ ------------------- --------------- -------------------- -------------------- max_shared_servers 1 1 UNLIMITED UNLIMITED parallel_max_servers 0 0 40 3600 22 rows selected
相关文章推荐
- oracle中设置了最大链接数还是报错
- 如何在 SQL 服务器中设置到 Oracle 的链接服务器并进行故障排除
- 将Oracle数据库操作模式改为共享服务器模式--调整ORACLE内存设置--修改Oracle最大连接
- [MySQL] 允许远程访问并设置最大链接数
- mysql 最大链接数 max_connections 设置
- 设置oracle最大游标
- 将Oracle数据库操作模式改为共享服务器模式--调整ORACLE内存设置--修改Oracle最大连接数
- oracle数据链接无效以及chrome浏览器input最大长度的问题
- dz设置伪静态后复制帖子链接还是动态解决办法
- 设置oracle最大连接数
- 设置 oracle 最大连接数
- SQL SERVER 链接服务器设置 (Oracle to Sqlserver)
- Oracle设置最大连接数
- ConnectionString设置最大链接池数目和最小数目
- 设置mysql最大链接数
- Mysql中设置和查看最大链接数
- oracle最大可以设置多少游标数
- 查看oracle的process和session设置的最大值和峰值
- HOW TO:在 SQL Server 中设置与 Oracle 间的链接服务器和进行疑难解答
- Oracle设置游标的最大数和查看游标数