亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2615 | 回復(fù): 5
打印 上一主題 下一主題

請問,錯(cuò)誤代碼為4031的錯(cuò)誤怎么解決?多謝啊 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2006-11-06 20:12 |只看該作者 |倒序?yàn)g覽
最近的PRO*C程序老是在打開游標(biāo)的時(shí)候報(bào)1403錯(cuò)誤。
如下:-4031        ORACLE ERROR:ORA-04031: unable to allocate 52480 bytes of shared memory。

看了一下幫助手冊,是這么解釋地:
04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")"
// *Cause:  More shared memory is needed than was allocated in the shared
//          pool.
// *Action: If the shared pool is out of memory, either use the
//          dbms_shared_pool package to pin large packages,
//          reduce your use of shared memory, or increase the amount of
//          available shared memory by increasing the value of the
//          INIT.ORA parameters "shared_pool_reserved_size" and
//          "shared_pool_size".
//          If the large pool is out of memory, increase the INIT.ORA
//          parameter "large_pool_size".  


請問具體怎么解決?

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2006-11-06 21:41 |只看該作者
你把你的SGA分配貼出來。還有PGA。

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2006-11-06 21:47 |只看該作者
什么操作系統(tǒng), 內(nèi)核變量也貼出來看看

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2006-11-07 09:21 |只看該作者
1. 你的shared pool size設(shè)了多大?

2.看看你的open_cursor 是不是太多?
select count(*) from v$open_cursor

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2006-11-07 12:20 |只看該作者
操作系統(tǒng)是HP-UX,數(shù)據(jù)庫是9i的。幫忙診斷一下。
SQL> show sga

Total System Global Area 3916399840 bytes
Fixed Size                   742624 bytes
Variable Size             956301312 bytes
Database Buffers         2952790016 bytes
Redo Buffers                6565888 bytes

SQL> show parameter shared_pool_size

NAME                                 TYPE        VALUE
------------------------------------ ----------- -------------------
shared_pool_size                     big integer 738197504


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

  COUNT(*)
----------
      4067

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2006-11-08 02:29 |只看該作者
1. select REQUEST_FAILURES, LAST_FAILURE_SIZE from v$shared_pool_reserved;
2. SELECT SUM(PINS),SUM(RELOADS) FROM V$LIBRARYCACHE;
3. alter system flush shared_pool;
    執(zhí)行這條語句之后,還會(huì)不會(huì)再報(bào)這條錯(cuò)誤?
4. -4031        ORACLE ERROR:ORA-04031: unable to allocate 52480 bytes of shared memory。 這個(gè)后面是不是還有內(nèi)容?

數(shù)據(jù)庫版本和OS平臺(tái)?
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP