******************** Script profiler ********************
Total time: 0.027605
Total SQL time: 0.016429
SQL count: 20 (selects: 18 | executes: 10)
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.000134): 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.000599): 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.00055): SELECT c.* FROM config c
hostinventoriesoverview.php:29 → require_once() → select_config() → DBselect() in include/profiles.inc.php:33
SQL (0.000163): 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.000726): 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.000404): 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.000369): 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.000323): 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.000318): 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.000104): 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.000105): 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.001966): 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.000138): 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.000401): 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.000575): 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.000104): BEGIN
hostinventoriesoverview.php:162 → require_once() → DBstart() → DBexecute() in include/db.inc.php:234
SQL (0.000426): UPDATE profiles SET value_str='ASC', type=3 WHERE userid=2 AND idx='web.hostinventoriesoverview.php.sortorder' AND idx2='0'
hostinventoriesoverview.php:162 → require_once() → CProfile::flush() → CProfile::updateDB() → DBexecute() in include/classes/user/CProfile.php:338
SQL (0.000221): 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.00019): 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.008613): COMMIT
hostinventoriesoverview.php:162 → require_once() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:291