Query time 0.00148
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1.81"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "cscart_tags",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"tag"
],
"key": "tag",
"used_key_parts": [
"tag"
],
"key_length": "767",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "33.33",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.07",
"prefix_cost": "1.20",
"data_read_per_join": "261"
},
"used_columns": [
"tag_id",
"tag",
"status"
],
"attached_condition": "(`pankajecarter_systemfour`.`cscart_tags`.`status` = 'A')"
}
},
{
"table": {
"table_name": "cscart_tag_links",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"tag_id",
"ids"
],
"key": "PRIMARY",
"used_key_parts": [
"object_type"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "10.00",
"using_index": true,
"cost_info": {
"read_cost": "0.33",
"eval_cost": "0.01",
"prefix_cost": "1.60",
"data_read_per_join": "0"
},
"used_columns": [
"tag_id",
"object_type",
"object_id"
],
"attached_condition": "(`pankajecarter_systemfour`.`cscart_tag_links`.`tag_id` = `pankajecarter_systemfour`.`cscart_tags`.`tag_id`)"
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status",
"idx_parent_product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"pankajecarter_systemfour.cscart_tag_links.object_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "79.31",
"cost_info": {
"read_cost": "0.03",
"eval_cost": "0.01",
"prefix_cost": "1.64",
"data_read_per_join": "119"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"usergroup_ids",
"parent_product_id"
],
"attached_condition": "((`pankajecarter_systemfour`.`products`.`parent_product_id` = 0) 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": "companies",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id"
],
"key_length": "4",
"ref": [
"pankajecarter_systemfour.products.company_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "20.00",
"cost_info": {
"read_cost": "0.03",
"eval_cost": "0.00",
"prefix_cost": "1.67",
"data_read_per_join": "37"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "(`pankajecarter_systemfour`.`companies`.`status` = 'A')"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "pt",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"pankajecarter_systemfour.cscart_tag_links.object_id"
],
"rows_examined_per_scan": 11,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.05",
"eval_cost": "0.01",
"prefix_cost": "1.73",
"data_read_per_join": "0"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "cscart_categories",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"pankajecarter_systemfour.products_categories.category_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "5.00",
"cost_info": {
"read_cost": "0.06",
"eval_cost": "0.00",
"prefix_cost": "1.80",
"data_read_per_join": "7"
},
"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": "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.cscart_tag_links.object_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.00",
"prefix_cost": "1.80",
"data_read_per_join": "13"
},
"used_columns": [
"product_id",
"lang_code",
"product",
"full_description"
]
}
},
{
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "usergroup",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"pankajecarter_systemfour.cscart_tag_links.object_id"
],
"rows_examined_per_scan": 3,
"rows_produced_per_join": 0,
"filtered": "97.92",
"using_index": true,
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.00",
"prefix_cost": "1.81",
"data_read_per_join": "0"
},
"used_columns": [
"product_id",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`pankajecarter_systemfour`.`prices`.`lower_limit` = 1) and (`pankajecarter_systemfour`.`prices`.`usergroup_id` in (0,0,1)))"
}
}
]
}
}
}
}
Result
| product_id |
product |
company_name |
product_type |
parent_product_id |
full_description |
| 12 |
100g Pants |
CS-Cart |
P |
0 |
<p>
When coach calls you off the bench, you need warm-up pants that come off in three seconds or less. That’s why these men's adidas 100g basketball pants have tear-away snaps down the sides, so you're ready for action as fast as a superhero.
</p> |
| 187 |
2010 TOUR STAFF Bag 10" |
CS-Cart |
P |
0 |
<p>Used by Cleveland Golf tour staff players worldwide</p> |
| 131 |
Catania |
CS-Cart |
P |
0 |
<p class="MsoPlainText">The new Catania features carbon fork, carbon seatpost, Ultegra derailleur, and the new Fezzari Racing Design R3A frame with increased aerodynamic properties and a sleeker look.</p>
<p class="MsoPlainText">The Catania road bike is a great all-around bike. If you want to get into road biking or want a bike that is durable, high-performing, and as comfortable as a road bike can get, the Catania is for you.</p>
<p class="MsoPlainText">The Catania features the R3A frame with compact geometry. Compact geometry means that we shorten the seat tube slightly, which makes the bike a little lighter and reduces lateral flex (you don’t want your bike flexing side to side when you’re pedaling). It also allows your riding position to be a little more upright.</p>
<p class="MsoPlainText">Add to that a great set of components, including: Shimano Ultegra derailleur and Shimano 105 shifters for smooth shifting Fezzari Carbon II fork to minimize the road chatter; FSA Gossamer crank with external oversized bearings that make it pedal smoother and more efficiently; Alex double-wall rims that are extremely durable; Maxxis performance tires; and a Fezzari Racing Design Ultra XR saddle that is one of the most comfortable road saddles you’ll ride.</p> |