Query time 0.13820
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 |
| 1598 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
1598 |
P |
0 |
P |
0 |
| 5272 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5272 |
P |
0 |
P |
0 |
| 5273 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5273 |
P |
0 |
P |
0 |
| 5274 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5274 |
P |
0 |
P |
0 |
| 5275 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5275 |
P |
0 |
P |
0 |
| 5276 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5276 |
P |
0 |
P |
0 |
| 5277 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5277 |
P |
0 |
P |
0 |
| 5278 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5278 |
P |
0 |
P |
0 |
| 5279 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5279 |
P |
0 |
P |
0 |
| 5280 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5280 |
P |
0 |
P |
0 |
| 5281 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5281 |
P |
0 |
P |
0 |
| 5282 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5282 |
P |
0 |
P |
0 |
| 5283 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5283 |
P |
0 |
P |
0 |
| 5284 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5284 |
P |
0 |
P |
0 |
| 5285 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5285 |
P |
0 |
P |
0 |
| 5286 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5286 |
P |
0 |
P |
0 |
| 5287 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5287 |
P |
0 |
P |
0 |
| 5288 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5288 |
P |
0 |
P |
0 |
| 5289 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5289 |
P |
0 |
P |
0 |
| 5290 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5290 |
P |
0 |
P |
0 |
| 5291 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5291 |
P |
0 |
P |
0 |
| 5292 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5292 |
P |
0 |
P |
0 |
| 5293 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5293 |
P |
0 |
P |
0 |
| 5294 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5294 |
P |
0 |
P |
0 |
| 5295 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5295 |
P |
0 |
P |
0 |
| 5296 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5296 |
P |
0 |
P |
0 |
| 5297 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5297 |
P |
0 |
P |
0 |
| 5298 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR200/100 DIN |
Gaseus |
5298 |
P |
0 |
P |
0 |
| 1546 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1546 |
P |
0 |
P |
0 |
| 1547 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1547 |
P |
0 |
P |
0 |
| 1548 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1548 |
P |
0 |
P |
0 |
| 1549 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1549 |
P |
0 |
P |
0 |
| 1550 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1550 |
P |
0 |
P |
0 |
| 1551 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1551 |
P |
0 |
P |
0 |
| 1552 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1552 |
P |
0 |
P |
0 |
| 1553 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1553 |
P |
0 |
P |
0 |
| 1554 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1554 |
P |
0 |
P |
0 |
| 1555 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1555 |
P |
0 |
P |
0 |
| 1556 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1556 |
P |
0 |
P |
0 |
| 1557 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1557 |
P |
0 |
P |
0 |
| 1558 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1558 |
P |
0 |
P |
0 |
| 1559 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1559 |
P |
0 |
P |
0 |
| 1560 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1560 |
P |
0 |
P |
0 |
| 1561 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1561 |
P |
0 |
P |
0 |
| 1562 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1562 |
P |
0 |
P |
0 |
| 1563 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1563 |
P |
0 |
P |
0 |
| 1564 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1564 |
P |
0 |
P |
0 |
| 1565 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1565 |
P |
0 |
P |
0 |
| 1566 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1566 |
P |
0 |
P |
0 |
| 1567 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1567 |
P |
0 |
P |
0 |
| 1568 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1568 |
P |
0 |
P |
0 |
| 1569 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1569 |
P |
0 |
P |
0 |
| 1570 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1570 |
P |
0 |
P |
0 |
| 1571 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
1571 |
P |
0 |
P |
0 |
| 5245 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5245 |
P |
0 |
P |
0 |
| 5246 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5246 |
P |
0 |
P |
0 |
| 5247 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5247 |
P |
0 |
P |
0 |
| 5248 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5248 |
P |
0 |
P |
0 |
| 5249 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5249 |
P |
0 |
P |
0 |
| 5250 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5250 |
P |
0 |
P |
0 |
| 5251 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5251 |
P |
0 |
P |
0 |
| 5252 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5252 |
P |
0 |
P |
0 |
| 5253 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5253 |
P |
0 |
P |
0 |
| 5254 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5254 |
P |
0 |
P |
0 |
| 5255 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5255 |
P |
0 |
P |
0 |
| 5256 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5256 |
P |
0 |
P |
0 |
| 5257 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5257 |
P |
0 |
P |
0 |
| 5258 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5258 |
P |
0 |
P |
0 |
| 5259 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5259 |
P |
0 |
P |
0 |
| 5260 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5260 |
P |
0 |
P |
0 |
| 5261 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5261 |
P |
0 |
P |
0 |
| 5262 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5262 |
P |
0 |
P |
0 |
| 5263 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5263 |
P |
0 |
P |
0 |
| 5264 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5264 |
P |
0 |
P |
0 |
| 5265 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5265 |
P |
0 |
P |
0 |
| 5266 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5266 |
P |
0 |
P |
0 |
| 5267 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5267 |
P |
0 |
P |
0 |
| 5268 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5268 |
P |
0 |
P |
0 |
| 5269 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5269 |
P |
0 |
P |
0 |
| 5270 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5270 |
P |
0 |
P |
0 |
| 5271 |
Main and line pressure regulator Oxygen 10-100 bar Vulkan LHR300/100 DIN |
Gaseus |
5271 |
P |
0 |
P |
0 |
| 1600 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1600 |
P |
0 |
P |
0 |
| 1601 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1601 |
P |
0 |
P |
0 |
| 1602 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1602 |
P |
0 |
P |
0 |
| 1603 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1603 |
P |
0 |
P |
0 |
| 1604 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1604 |
P |
0 |
P |
0 |
| 1605 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1605 |
P |
0 |
P |
0 |
| 1606 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1606 |
P |
0 |
P |
0 |
| 1607 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1607 |
P |
0 |
P |
0 |
| 1608 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1608 |
P |
0 |
P |
0 |
| 1609 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1609 |
P |
0 |
P |
0 |
| 1610 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1610 |
P |
0 |
P |
0 |
| 1611 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1611 |
P |
0 |
P |
0 |
| 1612 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1612 |
P |
0 |
P |
0 |
| 1613 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1613 |
P |
0 |
P |
0 |
| 1614 |
Main and line pressure regulator Oxygen 10-200 bar Vulkan LHR300/200 DIN |
Gaseus |
1614 |
P |
0 |
P |
0 |