AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Languages, Compilers and Interpreters C,C++,C#,.NET,Java,PHP,Perl,SQL and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Jan 12, 2005, 07:24   #1
Младенец
 
Join Date: Jan 2005
Location: Armenia
Posts: 5
Rep Power: 0
Reputation: 10
Unhappy MS SQL RAM problem

Всем привет
у меня стоит MS SQL 8.0 (2000)
и постоянно забивается ОЗУ
процес sqlservr.exe постоянно растет
и приходится время от времени перезагружать SQL
чтобы освободить ОЗУ

есть идеи?
armen13 is offline   Reply With Quote Quote selected
Old Jan 12, 2005, 08:00   #2
Say no to alco like Gates
 
Hrach_Techie's Avatar
 
Join Date: Aug 2004
Location: Apparently the anti-alcoholism campaign hasn't worked very well for Gates after the last Zaher party ...
Posts: 16,259
Rep Power: 7
Reputation: 337
page file size-i het xaxacel es?
__________________
Мадмазель, Медам, Месье! "Глория" меняет курс и направляется в Кейптаун! Кому это не нравится будет расстрелян на месте. (с)

http://texneg.livejournal.com
Hrach_Techie is offline   Reply With Quote Quote selected
Old Jan 12, 2005, 08:40   #3
Младенец
 
Join Date: Jan 2005
Location: Armenia
Posts: 5
Rep Power: 0
Reputation: 10
Проблема не в page -e
постепенно обьем памяти растет
и под конец достигнув около 800Мб программы дают connetion timeout
исправляется только перезапуском SQl -a
armen13 is offline   Reply With Quote Quote selected
Old Jan 12, 2005, 09:13   #4
Guru Apprentice
 
Join Date: Feb 2002
Location: /dev/null
Posts: 520
Rep Power: 7
Reputation: 10
Send a message via ICQ to Ektich Send a message via Yahoo to Ektich
Выкинь нах. MS MSQ и поставь MySQL, у него насколько я знаю память не "протекает". То что ты описываешь - классический memory leak.
__________________
\/\/h47'5 1n 4 n4m3? 7h47 wh1(h w3 (4|| 4 r053,
8y 4ny 07h3r n4m3 w0u|d 5m3|| 45 5w337...
Ektich is offline   Reply With Quote Quote selected
Old Jan 12, 2005, 09:16   #5
Guru Apprentice
 
Join Date: Feb 2002
Location: /dev/null
Posts: 520
Rep Power: 7
Reputation: 10
Send a message via ICQ to Ektich Send a message via Yahoo to Ektich
I stay corrected

Google нашел следующее (линк здесь

INF: SQL Server Memory Usage
Article ID : 321363
Last Review : October 30, 2003
Revision : 1.0
This article was previously published under Q321363
On this Page
SUMMARY SUMMARY
MORE INFORMATION MORE INFORMATION
SUMMARY
When you start SQL Server, SQL Server memory usage may continue to steadily increase and not decrease, even when activity on the server is low. Additionally, the Task Manager and Performance Monitor may show that the physical memory available on the computer is steadily decreasing until the available memory is between 4 to 10 MB.

This behavior alone does not indicate a memory leak. This behavior is normal and is an intended behavior of the SQL Server buffer pool.

By default, SQL Server dynamically grows and shrinks the size of its buffer pool (cache) depending on the physical memory load reported by the operating system. As long as enough memory is available to prevent paging (between 4 - 10 MB), the SQL Server buffer pool will continue to grow. As other processes on the same computer as SQL Server allocate memory, the SQL Server buffer manager will release memory as needed. SQL Server can free and acquire several megabytes of memory each second, allowing it to quickly adjust to memory allocation changes.
MORE INFORMATION
You can establish upper and lower limits to the amount of memory (buffer pool) used by the SQL Server database engine with the min server memory and max server memory configuration options. Before you set the min server memory and max server memory options, review the references in the section titled "Memory" in the following Microsoft Knowledge Base article:
319942 HOW TO: Determine Proper SQL Server Configuration Settings
Note that the max server memory option only limits the size of the SQL Server buffer pool. The max server memory option does not limit a remaining unreserved memory area that SQL Server leaves for allocations of other components such as extended stored procedures, COM objects, non-shared DLLs, EXEs, and MAPI components. Because of the preceding allocations, it is normal for the SQL Server private bytes to exceed the max server memory configuration. For additional information about allocations from this unreserved memory area, click the article number below to view the article in the Microsoft Knowledge Base:
316749 PRB: There May Not Be Enough Virtual Memory with Large Number of Databases
REFERENCES
SQL Server Books Online; topics: "Effects of min and max server memory"; "Memory Architecture"; "Memory Architecture"; "Server Memory Options"; "SQL Server Memory Pool"
APPLIES TO
• Microsoft SQL Server 2000 Standard Edition
• Microsoft SQL Server 7.0 Standard Edition
Top of Page Top of Page
Keywords:
kbinfo KB321363
__________________
\/\/h47'5 1n 4 n4m3? 7h47 wh1(h w3 (4|| 4 r053,
8y 4ny 07h3r n4m3 w0u|d 5m3|| 45 5w337...
Ektich is offline   Reply With Quote Quote selected
Old Jan 12, 2005, 09:17   #6
Младенец
 
Join Date: Jan 2005
Location: Armenia
Posts: 5
Rep Power: 0
Reputation: 10
Считаю что надо понять проблему а не бежать от нее
может ошибка не в SQL a .NET
тоесть проблема в проге которая работает с SQL
Кстати софт на писан на C#
armen13 is offline   Reply With Quote Quote selected
Old Jan 12, 2005, 10:19   #7
Профессор
 
Nikita's Avatar
 
Join Date: Jan 2005
Location: Perm
Posts: 2,142
Rep Power: 4
Reputation: 10
Send a message via ICQ to Nikita
v linux-e yest` komanda "sync" mojet i v winde chtoto podobnoye yest
a yesh`o mojet u tebya Buffer ochen` bol`shoy stoit ... i yego nujno umen`****`
Nikita is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pancake flipping problem acid Algorithms 1 Jun 2, 2004 19:16
Sql Collation Problem Masud Languages, Compilers and Interpreters 13 Mar 21, 2004 05:08
SQL first steps shatver Languages, Compilers and Interpreters 13 Nov 13, 2002 18:35
sql Paloma Languages, Compilers and Interpreters 9 Oct 20, 2002 13:32
Access Problem hov Web Development 0 Sep 25, 2002 23:19


All times are GMT. The time now is 04:31.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link