Query time 0.07808
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1712.80"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": true,
"buffer_result": {
"using_temporary_table": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "const",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "4K"
},
"used_columns": [
"category_id",
"storefront_id",
"usergroup_ids",
"status"
]
}
},
{
"table": {
"table_name": "companies",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 1,
"filtered": "50.00",
"cost_info": {
"read_cost": "0.62",
"eval_cost": "0.10",
"prefix_cost": "0.72",
"data_read_per_join": "5K"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "(`test2_gaseus`.`companies`.`status` = 'A')"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 2802,
"rows_produced_per_join": 2802,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "17.76",
"eval_cost": "280.20",
"prefix_cost": "298.68",
"data_read_per_join": "43K"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"test2_gaseus.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 278,
"filtered": "9.95",
"cost_info": {
"read_cost": "700.50",
"eval_cost": "27.89",
"prefix_cost": "1279.38",
"data_read_per_join": "1M"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"usergroup_ids",
"parent_product_id"
],
"attached_condition": "((`test2_gaseus`.`products`.`company_id` = `test2_gaseus`.`companies`.`company_id`) and ((`test2_gaseus`.`products`.`usergroup_ids` = '') or (0 <> find_in_set(0,`test2_gaseus`.`products`.`usergroup_ids`)) or (0 <> find_in_set(1,`test2_gaseus`.`products`.`usergroup_ids`))) and (`test2_gaseus`.`products`.`status` = 'A'))"
}
},
{
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"test2_gaseus.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 278,
"filtered": "99.91",
"cost_info": {
"read_cost": "69.73",
"eval_cost": "27.87",
"prefix_cost": "1377.00",
"data_read_per_join": "6K"
},
"used_columns": [
"product_id",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`test2_gaseus`.`prices`.`lower_limit` = 1) and (`test2_gaseus`.`prices`.`usergroup_id` in (0,0,1)))"
}
},
{
"table": {
"table_name": "var_val_18",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"key_length": "15",
"ref": [
"const",
"test2_gaseus.products_categories.product_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 278,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "69.67",
"eval_cost": "27.87",
"prefix_cost": "1474.53",
"data_read_per_join": "215K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
},
{
"table": {
"table_name": "shared_descr",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"product_id",
"company_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id",
"lang_code",
"company_id"
],
"key_length": "13",
"ref": [
"test2_gaseus.products_categories.product_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 278,
"filtered": "100.00",
"cost_info": {
"read_cost": "69.67",
"eval_cost": "27.87",
"prefix_cost": "1572.06",
"data_read_per_join": "1M"
},
"used_columns": [
"product_id",
"lang_code",
"company_id",
"product"
]
}
},
{
"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": [
"test2_gaseus.products_categories.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 278,
"filtered": "100.00",
"cost_info": {
"read_cost": "112.87",
"eval_cost": "27.87",
"prefix_cost": "1712.80",
"data_read_per_join": "1M"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
}
]
}
}
}
}
}
Result
| product_id |
product |
company_name |
product_ids |
product_types |
parent_product_ids |
product_type |
parent_product_id |
| 1637 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1637 |
P |
0 |
P |
0 |
| 1638 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1638 |
P |
0 |
P |
0 |
| 1639 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1639 |
P |
0 |
P |
0 |
| 1640 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1640 |
P |
0 |
P |
0 |
| 1641 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1641 |
P |
0 |
P |
0 |
| 1642 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1642 |
P |
0 |
P |
0 |
| 1643 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1643 |
P |
0 |
P |
0 |
| 1644 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1644 |
P |
0 |
P |
0 |
| 1645 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1645 |
P |
0 |
P |
0 |
| 1646 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1646 |
P |
0 |
P |
0 |
| 1647 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1647 |
P |
0 |
P |
0 |
| 1648 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1648 |
P |
0 |
P |
0 |
| 1649 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1649 |
P |
0 |
P |
0 |
| 1650 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1650 |
P |
0 |
P |
0 |
| 1651 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1651 |
P |
0 |
P |
0 |
| 1652 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
1652 |
P |
0 |
P |
0 |
| 5326 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5326 |
P |
0 |
P |
0 |
| 5327 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5327 |
P |
0 |
P |
0 |
| 5328 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5328 |
P |
0 |
P |
0 |
| 5329 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5329 |
P |
0 |
P |
0 |
| 5330 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5330 |
P |
0 |
P |
0 |
| 5331 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5331 |
P |
0 |
P |
0 |
| 5332 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5332 |
P |
0 |
P |
0 |
| 5333 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5333 |
P |
0 |
P |
0 |
| 5334 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5334 |
P |
0 |
P |
0 |
| 5335 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5335 |
P |
0 |
P |
0 |
| 5336 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5336 |
P |
0 |
P |
0 |
| 5337 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5337 |
P |
0 |
P |
0 |
| 5338 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5338 |
P |
0 |
P |
0 |
| 5339 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5339 |
P |
0 |
P |
0 |
| 5340 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5340 |
P |
0 |
P |
0 |
| 5341 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5341 |
P |
0 |
P |
0 |
| 5342 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5342 |
P |
0 |
P |
0 |
| 5343 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5343 |
P |
0 |
P |
0 |
| 5344 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5344 |
P |
0 |
P |
0 |
| 5345 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5345 |
P |
0 |
P |
0 |
| 5346 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5346 |
P |
0 |
P |
0 |
| 5347 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5347 |
P |
0 |
P |
0 |
| 5348 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5348 |
P |
0 |
P |
0 |
| 5349 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5349 |
P |
0 |
P |
0 |
| 5350 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5350 |
P |
0 |
P |
0 |
| 5351 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5351 |
P |
0 |
P |
0 |
| 5352 |
Main and line pressure regulator Vulkan LHR 200/200 DIN Oxygen DIN 477-1, 10 - 200 bar |
Gaseus |
5352 |
P |
0 |
P |
0 |
| 2832 |
Main and line regulator CO₂/Argon 0-100 bar Vulkan LHR200/100 BSP |
Gaseus |
2832 |
P |
0 |
P |
0 |
| 2833 |
Main and line regulator CO₂/Argon 0-100 bar Vulkan LHR200/100 BSP |
Gaseus |
2833 |
P |
0 |
P |
0 |
| 2834 |
Main and line regulator CO₂/Argon 0-100 bar Vulkan LHR200/100 BSP |
Gaseus |
2834 |
P |
0 |
P |
0 |
| 2835 |
Main and line regulator CO₂/Argon 0-100 bar Vulkan LHR200/100 BSP |
Gaseus |
2835 |
P |
0 |
P |
0 |
| 6417 |
Main and line regulator CO₂/Argon 0-100 bar Vulkan LHR200/100 BSP |
Gaseus |
6417 |
P |
0 |
P |
0 |