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

  免費注冊 查看新帖 |

Chinaunix

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

Postgresql9.1.6在大量進行insert和空間查詢時 內(nèi)存溢出的問題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2014-07-17 14:48 |只看該作者 |倒序瀏覽
目前是這樣的,要做一個網(wǎng)絡(luò)分析。所以會有大量的空間查詢和insert操作進行。
發(fā)現(xiàn)在大量操作時,會導(dǎo)致系統(tǒng)內(nèi)存溢出,進而數(shù)據(jù)庫的progress就crash了。無法再連。
下面是截取的日志,這個上面是大量的SPI TupTable這樣的語句,非常多。

      SPI TupTable: 8192 total in 1 blocks; 6824 free (0 chunks); 1368 used
      SPI TupTable: 8192 total in 1 blocks; 6824 free (0 chunks); 1368 used
      SPI TupTable: 8192 total in 1 blocks; 6824 free (0 chunks); 1368 used
  MessageContext: 24576 total in 2 blocks; 19128 free (6 chunks); 5448 used
  Operator class cache: 8192 total in 1 blocks; 4872 free (0 chunks); 3320 used
  smgr relation table: 8192 total in 1 blocks; 760 free (0 chunks); 7432 used
  TransactionAbortContext: 32768 total in 1 blocks; 32752 free (0 chunks); 16 used
  Portal hash: 8192 total in 1 blocks; 3912 free (0 chunks); 4280 used
  PortalMemory: 8192 total in 1 blocks; 7768 free (1 chunks); 424 used
    PortalHeapMemory: 7168 total in 3 blocks; 1640 free (0 chunks); 5528 used
      ExecutorState: 32832 total in 3 blocks; 5384 free (1 chunks); 27448 used
LOG:  server process (PID 11452) was terminated by exception 0xC0000005
HINT:  See C include file "ntstatus.h" for a description of the hexadecimal value.
LOG:  terminating any other active server processes
WARNING:  terminating connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back the current transaction and e
xit, because another server process exited abnormally and possibly corrupted shared memory.
HINT:  In a moment you should be able to reconnect to the database and repeat your command.
WARNING:  terminating connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back the current transaction and e
xit, because another server process exited abnormally and possibly corrupted shared memory.
HINT:  In a moment you should be able to reconnect to the database and repeat your command.
LOG:  all server processes terminated; reinitializing
LOG:  database system was interrupted; last known up at 2014-07-17 13:46:05 HKT
LOG:  database system was not properly shut down; automatic recovery in progress
LOG:  redo starts at 1/D104A18
LOG:  record with zero length at 1/D10C980
LOG:  redo done at 1/D10C940
LOG:  last completed transaction was at log time 2014-07-17 13:57:03.486+08
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started


還請大家不吝賜教啊。

論壇徽章:
7
數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2015-08-08 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2015-08-29 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2015-08-29 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2015-09-18 06:20:00數(shù)據(jù)庫技術(shù)版塊每周發(fā)帖之星
日期:2015-11-06 19:56:51數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-01-22 06:20:00數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-02-05 06:20:00
2 [報告]
發(fā)表于 2014-07-17 21:13 |只看該作者
報一下具體啊
操作系統(tǒng)版本,內(nèi)存大小,cpu核數(shù),數(shù)據(jù)量大小,數(shù)據(jù)庫shared_buffers, work_mem 等等

回復(fù) 1# letheanwater


   

論壇徽章:
0
3 [報告]
發(fā)表于 2014-07-21 11:21 |只看該作者
肯定你用了C語言寫的擴展,而那個擴展里面有bug,從異?磻(yīng)該是訪問非法內(nèi)存位置。
您需要登錄后才可以回帖 登錄 | 注冊

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

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP