newbie question about memory
- From: Sergei Shelukhin <realgeek@xxxxxxxxx>
- Date: 27 Apr 2007 22:00:36 -0700
Hi. I am a database prorgammer and I work on windows/MSSQL or with
small MySql databases 90% of the time, however on a project that is on
the way now, I have to use PostgreSQL on Linux; moreover, I need to
configure the server.
So, as I was figuring out the amount of memory on the server that I
can grab for db server operations, I stumbled upon an interesting
thing.
According to cat /proc/meminfo, I have 2 Gb of memory and 500Mb are
free.
Now the database is very big, but it's not operating it, so I was
surprised to see such a high memory use.
I checked ps -eo user,comm,%mem, and memory percents total to about
1.2% 0_o I see a lot of fancy labels in meminfo output, cached, etc,
but I cannot figure out what they mean and google seems
uncooperative :)
I have two questions
1) Where did the memory go?
2) Can it be freed e.g. can I safely assume that I have 1-1.5Gb for
PostgreSQL to roam free?
.
- Follow-Ups:
- Re: newbie question about memory
- From: Jean-David Beyer
- Re: newbie question about memory
- From: Stefan Patric
- Re: newbie question about memory
- Prev by Date: Re: Accidental deletion. Help please!
- Next by Date: Re: newbie question about memory
- Previous by thread: understanding reverse proxy using squid
- Next by thread: Re: newbie question about memory
- Index(es):
Relevant Pages
|