I have a table that has only a few records in it at the time, and they
get deleted every few seconds and new records are inserted. Table never
has more than 5-10 records in it.
However, I noticed a deteriorating performance in deletes and inserts
on it. So I performed vacuum analyze on it three ti
Hi,
Could someone tell m how to measure postgres memory usage.
Is there a pg_* view to measure?
Thank you
NikT
ame like
'Maximum Workspace Memory (KB)%') * 100.0
/
(select cntr_value
from sys.dm_os_performance_counters
where object_name like '%Memory Manager%' and counter_name like
'Target Server Memory (KB)%') as Ratio
-- Oracle
SELECT sum(bytes)/1024/1024
M v$sysstat
WHERE name = 'session pga memory')
GROUP BY ROLLUP (nm);
Sure, I will take up the task, will send you the script once it is ready,
so you can bless it. :)
Regards
Nik
On Tue, Apr 9, 2013 at 11:34 AM, hubert depesz lubaczewski <
dep...@depesz.com> wrote:
>
clusive lock for truncate
scan
Thank you
Nik
stale very quickly.
Thank you
Nik
Hi,
What is the recommended swap space for postgres or 9.0.11 or 9.2.3 on
linux(3.0.58-0.6)
RAM on the hox is 32GB.
Thank you
Nik