Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Zabbix Help only
Search
Advanced Search
Forums
New Topics
Today's Posts
Home
Forum
Zabbix Discussions and Feedback
Zabbix Help
If this is your first visit, be sure to check out the
FAQ
by clicking the link above. You may have to
REGISTER
before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Ad Widget
Collapse
Zabbix performance optimizing
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
2
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
1
2
template
Next
Colttt
Senior Member
Joined:
Mar 2009
Posts:
878
#16
11-03-2014, 14:56
how many db_syncers do you use??
please post you hardware enviroment and you postgresql.conf!
Debian-User
Sorry for my bad english
Comment
Post
Cancel
avecsi
Member
Joined:
Nov 2013
Posts:
40
#17
11-03-2014, 15:27
Originally posted by
Colttt
how many db_syncers do you use??
please post you hardware enviroment and you postgresql.conf!
Hi,
I use 4 db syncers - I think thats the default settings
All box are Vm and running Ubuntu 12.04 TLS and using FC SAN
Always 1 vritual socket and 1vcpu is 2000MHz
Webinterface:
2vcpu and 8GB ram
Zabbix server
4vcpu 8GB ram
DB box:
4vcpu and 16GB ram
My postgressql config is the default config file with:
datestyle = 'iso, dmy'
default_text_search_config = 'pg_catalog.english'
Package: postgresql-9.1
New: yes
State: installed
Automatically installed: yes
Version: 9.1.11-0ubuntu0.12.04
I didnt do any optimization on the postgresql yet.
Comment
Post
Cancel
avecsi
Member
Joined:
Nov 2013
Posts:
40
#18
12-03-2014, 10:56
I changed
MaxHousekeeperDelete=200 to MaxHousekeeperDelete=40
Housekeeper still running for 3hours.
Is that possible to turn off HK and do it manually?
Comment
Post
Cancel
avecsi
Member
Joined:
Nov 2013
Posts:
40
#19
12-03-2014, 12:15
zabbix=> SELECT pg_database.datname, pg_database_size(pg_database.datname), pg_size_pretty(pg_database_size(pg_database.datnam e)) FROM pg_database ORDER BY pg_database_size DESC;
datname | pg_database_size | pg_size_pretty
-----------+------------------+----------------
zabbix | 149852889912 | 140 GB
zabbix=> SELECT nspname || '.' || relname AS "relation",
zabbix-> pg_size_pretty(pg_total_relation_size(C.oid)) AS "total_size"
zabbix-> FROM pg_class C
zabbix-> LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)
zabbix-> WHERE nspname NOT IN ('pg_catalog', 'information_schema')
zabbix-> AND C.relkind <> 'i'
zabbix-> AND nspname !~ '^pg_toast'
zabbix-> ORDER BY pg_total_relation_size(C.oid) DESC
zabbix-> LIMIT 20;
relation | total_size
---------------------------+------------
public.history | 74 GB
public.history_uint | 55 GB
public.trends_uint | 4931 MB
public.trends | 2395 MB
public.alerts | 1932 MB
public.items | 593 MB
public.events | 391 MB
public.sessions | 69 MB
public.history_str | 47 MB
public.history_text | 33 MB
My histroy table is a little bit big
Comment
Post
Cancel
avecsi
Member
Joined:
Nov 2013
Posts:
40
#20
12-03-2014, 16:30
I disabled unnecessary items and triggers for one of my biggest template
Before:
Required server performance, new values per second 213.17
After:
Required server performance, new values per second
130.08
I should start with this
Comment
Post
Cancel
Previous
1
2
template
Next
Working...
Yes
No
OK
OK
Cancel
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕
Comment