Query time 0.00209
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "42.89"
},
"ordering_operation": {
"using_filesort": false,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "companies",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 5,
"rows_produced_per_join": 1,
"filtered": "20.00",
"cost_info": {
"read_cost": "2.98",
"eval_cost": "0.20",
"prefix_cost": "3.18",
"data_read_per_join": "6K"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "(`pankajecarter_systemfour`.`companies`.`status` = 'A')"
}
},
{
"table": {
"table_name": "cscart_categories",
"access_type": "ALL",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"rows_examined_per_scan": 84,
"rows_produced_per_join": 3,
"filtered": "4.00",
"using_join_buffer": "Block Nested Loop",
"cost_info": {
"read_cost": "19.59",
"eval_cost": "0.67",
"prefix_cost": "23.44",
"data_read_per_join": "8K"
},
"used_columns": [
"category_id",
"storefront_id",
"usergroup_ids",
"status"
],
"attached_condition": "(((`pankajecarter_systemfour`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`pankajecarter_systemfour`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`pankajecarter_systemfour`.`cscart_categories`.`usergroup_ids`)) and (`pankajecarter_systemfour`.`cscart_categories`.`status` in ('A','H')) and (`pankajecarter_systemfour`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"pankajecarter_systemfour.cscart_categories.category_id"
],
"rows_examined_per_scan": 3,
"rows_produced_per_join": 10,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "3.61",
"eval_cost": "2.02",
"prefix_cost": "29.06",
"data_read_per_join": "161"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "variation_group_products",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"pankajecarter_systemfour.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "13.11",
"using_index": true,
"cost_info": {
"read_cost": "10.08",
"eval_cost": "0.26",
"prefix_cost": "41.16",
"data_read_per_join": "21"
},
"used_columns": [
"product_id",
"group_id"
],
"attached_condition": "(`pankajecarter_systemfour`.`variation_group_products`.`group_id` in (18,22,21,17))"
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"pankajecarter_systemfour.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "8.95",
"cost_info": {
"read_cost": "1.32",
"eval_cost": "0.02",
"prefix_cost": "42.75",
"data_read_per_join": "533"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"amount",
"usergroup_ids",
"parent_product_id"
],
"attached_condition": "((`pankajecarter_systemfour`.`products`.`company_id` = `pankajecarter_systemfour`.`companies`.`company_id`) and ((`pankajecarter_systemfour`.`products`.`usergroup_ids` = '') or find_in_set(0,`pankajecarter_systemfour`.`products`.`usergroup_ids`) or find_in_set(1,`pankajecarter_systemfour`.`products`.`usergroup_ids`)) and (`pankajecarter_systemfour`.`products`.`status` = 'A') and (`pankajecarter_systemfour`.`products`.`product_type` <> 'D'))"
}
},
{
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id",
"lang_code"
],
"key_length": "9",
"ref": [
"pankajecarter_systemfour.products_categories.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.12",
"eval_cost": "0.02",
"prefix_cost": "42.89",
"data_read_per_join": "552"
},
"used_columns": [
"product_id",
"lang_code",
"product",
"full_description"
]
}
}
]
}
}
}
}
Result
| product_id |
amount |
product |
company_name |
variation_group_id |
product_type |
parent_product_id |
full_description |
| 5 |
9 |
46" Class (45.9" Diag.) LCD 610 Series TV |
CS-Cart |
17 |
P |
0 |
<p>
ConnectShare™ Movie lets you watch videos, play music or view photos from a USB drive. Simply plug your USB directly into your Samsung TV’s USB port and watch on the big screen with friends and family.
</p> |
| 149 |
1 |
8GB E Series Walkman Video MP3 |
CS-Cart |
21 |
P |
0 |
<p>Long lasting battery offering up to 50 hours of music or up to 10 hours of video playback, FM tuner, Karaoke mode, Clear Audio technologies, EX headphones, integrated mic and 2.0" LCD.</p> |
| 170 |
2 |
588 Chrome Wedge |
CS-Cart |
22 |
P |
0 |
<p>The 588 Forged wedge maintains the popular, tour-proven shape of its predecessor with a series of technological breakthroughs to provide even more performance. Every wedge is Precision Forged from 1025 carbon steel for incredibly soft, solid feel and the highest level of manufacturing consistency for supreme confidence and trust over every shot. Tour Zip Grooves™ and Laser Milled™ technology maximize spin in accordance with USGA regulations. Exclusive to the 588 Forged wedge is the Tour Concept Wedge steel shaft, co-developed and engineered by Cleveland Golf and industry leader True Temper. With a unique stiffness profile that features a less active tip, this shaft promotes a more penetrating ball flight, increased spin and optimal distance control along with superior feel. Choose from two different finishes – Satin and Chrome – as well as low, standard and high bounce options.</p> |
| 231 |
2 |
2011 Tycoon |
CS-Cart |
18 |
P |
0 |
<p>Hydration Capacity: 100 oz (3 L)<br><br>Total Capacity: 1125 cu in (18.44 L)<br><br>CamelBak® Got Your Bak™ Guarantee: If we built it, we'll Bak it™ with our lifetime guarantee. <br><br>Reservoir Features: Quick Link™ System, 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite™ Valve, HydroGuard™ technology, insulated PureFlow™ tube, easy-to-clean wide-mouth opening<br><br>BACK PANEL: Snowshed™<br><br>HARNESS: Therminator™ provides easy access for frequent sipping, insulated and fully enclosed to protect against freezing<br><br>BELT: Load-bearing<br><br>Additional Features: <br>Snowboard / Ski Carry (Diagonal, Vertical or Horizontal), pack compression, goggle pocket, essentials pocket<br>Drop-out Probe Pocket for instant probe access -- locate survivors without unloading your pack<br><br>Designed to carry: skis/snowboard, shovel, probe, skins or snowshoes, goggles, extra layer, snack, phone, wallet, keys</p> |
| 351 |
9 |
46" Class (45.9" Diag.) LCD 610 Series TV |
CS-Cart |
17 |
V |
5 |
<p>
ConnectShare™ Movie lets you watch videos, play music or view photos from a USB drive. Simply plug your USB directly into your Samsung TV’s USB port and watch on the big screen with friends and family.
</p> |
| 427 |
0 |
2011 Tycoon |
CS-Cart |
18 |
V |
231 |
<p>Hydration Capacity: 100 oz (3 L)<br><br>Total Capacity: 1125 cu in (18.44 L)<br><br>CamelBak® Got Your Bak™ Guarantee: If we built it, we'll Bak it™ with our lifetime guarantee. <br><br>Reservoir Features: Quick Link™ System, 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite™ Valve, HydroGuard™ technology, insulated PureFlow™ tube, easy-to-clean wide-mouth opening<br><br>BACK PANEL: Snowshed™<br><br>HARNESS: Therminator™ provides easy access for frequent sipping, insulated and fully enclosed to protect against freezing<br><br>BELT: Load-bearing<br><br>Additional Features: <br>Snowboard / Ski Carry (Diagonal, Vertical or Horizontal), pack compression, goggle pocket, essentials pocket<br>Drop-out Probe Pocket for instant probe access -- locate survivors without unloading your pack<br><br>Designed to carry: skis/snowboard, shovel, probe, skins or snowshoes, goggles, extra layer, snack, phone, wallet, keys</p> |
| 431 |
0 |
2011 Tycoon |
CS-Cart |
18 |
V |
231 |
<p>Hydration Capacity: 100 oz (3 L)<br><br>Total Capacity: 1125 cu in (18.44 L)<br><br>CamelBak® Got Your Bak™ Guarantee: If we built it, we'll Bak it™ with our lifetime guarantee. <br><br>Reservoir Features: Quick Link™ System, 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite™ Valve, HydroGuard™ technology, insulated PureFlow™ tube, easy-to-clean wide-mouth opening<br><br>BACK PANEL: Snowshed™<br><br>HARNESS: Therminator™ provides easy access for frequent sipping, insulated and fully enclosed to protect against freezing<br><br>BELT: Load-bearing<br><br>Additional Features: <br>Snowboard / Ski Carry (Diagonal, Vertical or Horizontal), pack compression, goggle pocket, essentials pocket<br>Drop-out Probe Pocket for instant probe access -- locate survivors without unloading your pack<br><br>Designed to carry: skis/snowboard, shovel, probe, skins or snowshoes, goggles, extra layer, snack, phone, wallet, keys</p> |
| 456 |
1 |
588 Chrome Wedge |
CS-Cart |
22 |
V |
170 |
<p>The 588 Forged wedge maintains the popular, tour-proven shape of its predecessor with a series of technological breakthroughs to provide even more performance. Every wedge is Precision Forged from 1025 carbon steel for incredibly soft, solid feel and the highest level of manufacturing consistency for supreme confidence and trust over every shot. Tour Zip Grooves™ and Laser Milled™ technology maximize spin in accordance with USGA regulations. Exclusive to the 588 Forged wedge is the Tour Concept Wedge steel shaft, co-developed and engineered by Cleveland Golf and industry leader True Temper. With a unique stiffness profile that features a less active tip, this shaft promotes a more penetrating ball flight, increased spin and optimal distance control along with superior feel. Choose from two different finishes – Satin and Chrome – as well as low, standard and high bounce options.</p> |