Facebook

×
  BENCHMARKS  
Loading Time: Base Classes  0.0104
Controller Execution Time ( Products / Index )  0.0543
Total Execution Time  0.0648
  MEMORY USAGE  
10.06M bytes
  CLASS/METHOD  
products/index
  URI STRING  
cua-luoi-xep-02-canh-he-sagowin-swb-l2
  GET DATA  
No GET data exists
  POST DATA  
No POST data exists
  DATABASE:  oilnaryihosting_alohousevn (products:$db)   QUERIES: 20 (0.0040 )  (Hide)
0.0005   SELECT `id`
FROM `cle_products_categories`
WHERE `lft` >= '14'
AND `rgt` <= '15'
ORDER BY `order
0.0004   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('21')
GROUP BY `cle_relationships`.`category_id
0.0000   SELECT `id`
FROM `cle_products_categories`
WHERE `lft` >= '14'
AND `rgt` <= '15'
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('21')
GROUP BY `cle_relationships`.`category_id
0.0000   SELECT `id`
FROM `cle_products_categories`
WHERE `lft` >= '14'
AND `rgt` <= '15'
ORDER BY `order
0.0004   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('21')
GROUP BY `cle_products`.`id`
ORDER BY `cle_products`.`order`, `cle_products`.`createddesc 
0.0000   SELECT `id`
FROM `cle_products_categories`
WHERE `lft` >= '14'
AND `rgt` <= '15'
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('21')
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` <= '14'
AND `rgt` >= '15'
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.0002   SELECT *
FROM `cle_menu`
WHERE `parent_id` = '57'
AND `menu_id` = '7'
ORDER BY `order`, `createddesc 
0.0003   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` <= '14'
AND `rgt` >= '15'
ORDER BY `level
  DUPLICATE QUERIES: oilnaryihosting_alohousevn (products:$db)  
[4]  SELECT `id` FROM `cle_products_categories` WHERE `lft` >= '14' AND `rgt` <= '15' 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('21') 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('21') 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` <= '14' AND `rgt` >= '15' ORDER BY `level`
  HTTP HEADERS  (Show)
  SESSION DATA  (Show)
  CONFIG VARIABLES  (Show)