Hi everybody!
We're running 1.6.2 on Debian using PostgreSQL and switching to Configuration/Triggers is extremely slow (takes about 2 minutes to go there)
My data:
Systems: 160 (47 monitored)
Elements: 7147 (3783 monitored)
Triggers: 529 (510 monitored)
New values per sec: 438
My server:
CPU: 2xDualCore Opteron 2220, 2.8 GHz
Mem: 8 GB
Mountpoint for Postgresql: LVM with 110G free space running XFS file system
I've already tuned my postgresql installation.
I suppose, that this query slows the whole thing down:
SELECT DISTINCT g.groupid,g.name FROM groups g, hosts_groups hg, hosts h WHERE (g.groupid IN (8,7,11,12,2,10,9,5,1,3,4)) AND hg.groupid=g.groupid AND h.hostid=hg.hostid AND EXISTS(SELECT DISTINCT i.itemid FROM items i WHERE i.hostid=h.hostid ) ORDER BY g.name
What can I do?
Kind regards,
Dennis
We're running 1.6.2 on Debian using PostgreSQL and switching to Configuration/Triggers is extremely slow (takes about 2 minutes to go there)
My data:
Systems: 160 (47 monitored)
Elements: 7147 (3783 monitored)
Triggers: 529 (510 monitored)
New values per sec: 438
My server:
CPU: 2xDualCore Opteron 2220, 2.8 GHz
Mem: 8 GB
Mountpoint for Postgresql: LVM with 110G free space running XFS file system
I've already tuned my postgresql installation.
I suppose, that this query slows the whole thing down:
SELECT DISTINCT g.groupid,g.name FROM groups g, hosts_groups hg, hosts h WHERE (g.groupid IN (8,7,11,12,2,10,9,5,1,3,4)) AND hg.groupid=g.groupid AND h.hostid=hg.hostid AND EXISTS(SELECT DISTINCT i.itemid FROM items i WHERE i.hostid=h.hostid ) ORDER BY g.name
What can I do?
Kind regards,
Dennis
Comment