******************** Script profiler ********************
Total time: 0.025966
Total SQL time: 0.015543
SQL count: 19 (selects: 18 | executes: 9)
Peak memory usage: 2M
Memory limit: 128M
1. hostgroup.get [CPageFilter.php:371]
Parameters: Array
(
[output] => Array
(
[0] => groupid
[1] => name
)
[preservekeys] => 1
[real_hosts] => 1
)
| Result: Array
(
)
|
SQL (0.00015): COMMIT
hostinventoriesoverview.php:22 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:291
SQL (0.000538): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.menu.cm.last'
hostinventoriesoverview.php:29 → require_once() → zbx_construct_menu() → CProfile::update() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000545): SELECT c.* FROM config c
hostinventoriesoverview.php:29 → require_once() → select_config() → DBselect() in include/profiles.inc.php:33
SQL (0.00023): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.login.attempt.failed'
hostinventoriesoverview.php:29 → require_once() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000517): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.hostinventoriesoverview.php.sort'
hostinventoriesoverview.php:41 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.00035): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.hostinventoriesoverview.php.sortorder'
hostinventoriesoverview.php:42 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000397): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.cm.groupid'
hostinventoriesoverview.php:65 → CPageFilter->__construct() → CPageFilter->_getProfiles() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.00033): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.cm.hostid'
hostinventoriesoverview.php:65 → CPageFilter->__construct() → CPageFilter->_getProfiles() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000296): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.cm.graphid'
hostinventoriesoverview.php:65 → CPageFilter->__construct() → CPageFilter->_getProfiles() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000109): BEGIN
hostinventoriesoverview.php:65 → CPageFilter->__construct() → CPageFilter->_initGroups() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:234
SQL (0.000109): SELECT usrgrpid FROM users_groups WHERE userid='2'
hostinventoriesoverview.php:65 → CPageFilter->__construct() → CPageFilter->_initGroups() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHostGroup->get() → getUserGroupsByUserId() → DBselect() in include/perm.inc.php:283
SQL (0.00119): SELECT g.groupid,g.name FROM hstgrp g WHERE EXISTS (SELECT NULL FROM rights r WHERE g.groupid=r.id AND r.groupid=8 GROUP BY r.id HAVING MIN(r.permission)>0 AND MAX(r.permission)>='2') AND EXISTS (SELECT NULL FROM hosts h,hosts_groups hg WHERE hg.hostid=h.hostid AND h.status IN (0,1) AND g.groupid=hg.groupid)
hostinventoriesoverview.php:65 → CPageFilter->__construct() → CPageFilter->_initGroups() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHostGroup->get() → DBselect() in include/classes/api/services/CHostGroup.php:315
SQL (0.000128): COMMIT
hostinventoriesoverview.php:65 → CPageFilter->__construct() → CPageFilter->_initGroups() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:291
SQL (0.000552): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.latest.groupid'
hostinventoriesoverview.php:65 → CPageFilter->__construct() → CPageFilter->_initGroups() → CProfile::update() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000248): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.paging.lastpage'
hostinventoriesoverview.php:162 → require_once() → CProfile::update() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000113): BEGIN
hostinventoriesoverview.php:162 → require_once() → DBstart() → DBexecute() in include/db.inc.php:234
SQL (0.00079): UPDATE profiles SET value_str='hostinventoriesoverview.php', type=3 WHERE userid=2 AND idx='web.menu.cm.last' AND idx2='0'
hostinventoriesoverview.php:162 → require_once() → CProfile::flush() → CProfile::updateDB() → DBexecute() in include/classes/user/CProfile.php:338
SQL (0.000341): UPDATE profiles SET value_str='hostinventoriesoverview.php', type=3 WHERE userid=2 AND idx='web.paging.lastpage' AND idx2='0'
hostinventoriesoverview.php:162 → require_once() → CProfile::flush() → CProfile::updateDB() → DBexecute() in include/classes/user/CProfile.php:338
SQL (0.00861): COMMIT
hostinventoriesoverview.php:162 → require_once() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:291