Facebook

×
  BENCHMARKS  
Loading Time: Base Classes  0.0103
Controller Execution Time ( Products / Index )  0.0613
Total Execution Time  0.0716
  MEMORY USAGE  
10.06M bytes
  CLASS/METHOD  
products/index
  URI STRING  
rem
  GET DATA  
No GET data exists
  POST DATA  
No POST data exists
  DATABASE:  oilnaryihosting_alohousevn (products:$db)   QUERIES: 22 (0.0084 )  (Hide)
0.0004   SHOW TABLES FROM `oilnaryihosting_alohousevn
0.0022   SELECT *
FROM `cle_users_metadata`
WHERE `object_id` = 1
AND `meta_key` = 'capabilities' 
0.0005   SELECT `id`
FROM `cle_products_categories`
WHERE `lft` >= '76'
AND `rgt` <= '77'
ORDER BY `order
0.0019   SELECT `cle_relationships`.`category_id`, count( DISTINCT object_id ) as count
FROM 
`cle_relationships`
JOIN `cle_productsON `cle_relationships`.`object_id` = `cle_products`.`id`
WHERE `type` = 'product'
AND `cle_relationships`.`object_type` = 'products'
AND `cle_relationships`.`value` = 'products_categories'
AND `cle_relationships`.`category_idIN('43')
GROUP BY `cle_relationships`.`category_id
0.0000   SELECT `id`
FROM `cle_products_categories`
WHERE `lft` >= '76'
AND `rgt` <= '77'
ORDER BY `order
0.0000   SELECT `cle_relationships`.`category_id`, count( DISTINCT object_id ) as count
FROM 
`cle_relationships`
JOIN `cle_productsON `cle_relationships`.`object_id` = `cle_products`.`id`
WHERE `type` = 'product'
AND `cle_relationships`.`object_type` = 'products'
AND `cle_relationships`.`value` = 'products_categories'
AND `cle_relationships`.`category_idIN('43')
GROUP BY `cle_relationships`.`category_id
0.0000   SELECT `id`
FROM `cle_products_categories`
WHERE `lft` >= '76'
AND `rgt` <= '77'
ORDER BY `order
0.0006   SELECT `cle_products`.*
FROM `cle_products`
JOIN `cle_relationshipsON `cle_relationships`.`object_id` = `cle_products`.`id`
WHERE `public` = 1
AND `trash` = 0
AND `type` = 'product'
AND `cle_relationships`.`object_type` = 'products'
AND `cle_relationships`.`value` = 'products_categories'
AND `cle_relationships`.`category_idIN('43')
GROUP BY `cle_products`.`id`
ORDER BY `cle_products`.`order`, `cle_products`.`createddesc 
0.0001   SELECT `id`
FROM `cle_products_categories`
WHERE `lft` >= '76'
AND `rgt` <= '77'
ORDER BY `order
0.0000   SELECT `cle_products`.*
FROM `cle_products`
JOIN `cle_relationshipsON `cle_relationships`.`object_id` = `cle_products`.`id`
WHERE `public` = 1
AND `trash` = 0
AND `type` = 'product'
AND `cle_relationships`.`object_type` = 'products'
AND `cle_relationships`.`value` = 'products_categories'
AND `cle_relationships`.`category_idIN('43')
GROUP BY `cle_products`.`id`
ORDER BY `cle_products`.`order`, `cle_products`.`createddesc 
0.0003   SELECT `cle_products_categories`.`id`, `cle_products_categories`.`name`, `cle_products_categories`.`slug`
FROM `cle_products_categories`
WHERE `public` = 1
AND `lft` <= '76'
AND `rgt` >= '77'
ORDER BY `level
0.0002   SELECT *
FROM `cle_relationships`
WHERE `category_id` = 'main-nav'
AND `object_type` = 'menu' 
0.0002   SELECT *
FROM `cle_relationships`
WHERE `category_id` = 'main-vertical'
AND `object_type` = 'menu' 
0.0002   SELECT *
FROM `cle_relationships`
WHERE `category_id` = 'menu-mobile'
AND `object_type` = 'menu' 
0.0002   SELECT *
FROM `cle_group`
WHERE `id` = '7' 
0.0003   SELECT *
FROM `cle_menu`
WHERE `menu_id` = '7'
AND `parent_id` = 0
ORDER BY 
`order`, `createddesc 
0.0003   SELECT *
FROM `cle_menu`
WHERE `parent_id` = '56'
AND `menu_id` = '7'
ORDER BY `order`, `createddesc 
0.0003   SELECT *
FROM `cle_menu`
WHERE `parent_id` = '57'
AND `menu_id` = '7'
ORDER BY `order`, `createddesc 
0.0002   SELECT *
FROM `cle_menu`
WHERE `parent_id` = '58'
AND `menu_id` = '7'
ORDER BY `order`, `createddesc 
0.0002   SELECT *
FROM `cle_menu`
WHERE `parent_id` = '59'
AND `menu_id` = '7'
ORDER BY `order`, `createddesc 
0.0002   SELECT *
FROM `cle_menu`
WHERE `parent_id` = '60'
AND `menu_id` = '7'
ORDER BY `order`, `createddesc 
0.0000   SELECT `cle_products_categories`.`id`, `cle_products_categories`.`name`, `cle_products_categories`.`slug`
FROM `cle_products_categories`
WHERE `public` = 1
AND `lft` <= '76'
AND `rgt` >= '77'
ORDER BY `level
  DUPLICATE QUERIES: oilnaryihosting_alohousevn (products:$db)  
[4]  SELECT `id` FROM `cle_products_categories` WHERE `lft` >= '76' AND `rgt` <= '77' ORDER BY `order`
[2]  SELECT `cle_relationships`.`category_id`, count( DISTINCT object_id ) as count FROM `cle_relationships` JOIN `cle_products` ON `cle_relationships`.`object_id` = `cle_products`.`id` WHERE `type` = 'product' AND `cle_relationships`.`object_type` = 'products' AND `cle_relationships`.`value` = 'products_categories' AND `cle_relationships`.`category_id` IN('43') GROUP BY `cle_relationships`.`category_id`
[2]  SELECT `cle_products`.* FROM `cle_products` JOIN `cle_relationships` ON `cle_relationships`.`object_id` = `cle_products`.`id` WHERE `public` = 1 AND `trash` = 0 AND `type` = 'product' AND `cle_relationships`.`object_type` = 'products' AND `cle_relationships`.`value` = 'products_categories' AND `cle_relationships`.`category_id` IN('43') GROUP BY `cle_products`.`id` ORDER BY `cle_products`.`order`, `cle_products`.`created` desc
[2]  SELECT `cle_products_categories`.`id`, `cle_products_categories`.`name`, `cle_products_categories`.`slug` FROM `cle_products_categories` WHERE `public` = 1 AND `lft` <= '76' AND `rgt` >= '77' ORDER BY `level`
  HTTP HEADERS  (Show)
  SESSION DATA  (Show)
  CONFIG VARIABLES  (Show)