"Alexander B." <[EMAIL PROTECTED]> writes:
> I have a Postgres server that has more than 500MB ( shared_buffers =
> 64000) and looking at TOP command, I couldn't understand why appears
> some process with 536m and other with 23m.
> What's the difference between?

Some versions of top only count the pages of shared memory that a
given process has actually touched so far.  So for example in the
shared buffer arena, the reported usage will rise as the process runs
longer and chances to use buffers other than the ones it's used already.
It's pretty misleading, because it makes normal behavior look like a
memory leak :-(

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to