Query time 0.00782
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "233.44"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"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": "2K"
},
"used_columns": [
"category_id",
"usergroup_ids",
"status",
"storefront_id"
]
}
},
{
"table": {
"table_name": "companies",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id"
],
"key_length": "4",
"rows_examined_per_scan": 5,
"rows_produced_per_join": 1,
"filtered": "33.33",
"cost_info": {
"read_cost": "2.10",
"eval_cost": "0.17",
"prefix_cost": "2.26",
"data_read_per_join": "10K"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "((`nuie_scalesta_net`.`companies`.`status` = 'A') and (`nuie_scalesta_net`.`companies`.`company_id` in (2,8,9,10,0)))"
}
},
{
"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": 302,
"rows_produced_per_join": 503,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.60",
"eval_cost": "50.33",
"prefix_cost": "53.20",
"data_read_per_join": "7K"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"age_verification",
"status",
"idx_parent_product_id",
"my_supplier_id",
"supplier_access_time",
"products_rf_product_code_index",
"products_rf_manufacturer_code_index"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"nuie_scalesta_net.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 25,
"filtered": "5.00",
"cost_info": {
"read_cost": "75.50",
"eval_cost": "2.52",
"prefix_cost": "179.03",
"data_read_per_join": "120K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"usergroup_ids",
"parent_product_id",
"rf_stop_update_price",
"rf_stop_update_amount",
"rf_stop_update_status"
],
"attached_condition": "((`nuie_scalesta_net`.`products`.`company_id` = `nuie_scalesta_net`.`companies`.`company_id`) and (`nuie_scalesta_net`.`products`.`parent_product_id` = 0) and ((`nuie_scalesta_net`.`products`.`usergroup_ids` = '') or (0 <> find_in_set(0,`nuie_scalesta_net`.`products`.`usergroup_ids`)) or (0 <> find_in_set(1,`nuie_scalesta_net`.`products`.`usergroup_ids`))) and (`nuie_scalesta_net`.`products`.`status` = 'A') and (`nuie_scalesta_net`.`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": [
"nuie_scalesta_net.products_categories.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 25,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.78",
"eval_cost": "2.52",
"prefix_cost": "185.32",
"data_read_per_join": "95K"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
},
{
"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": [
"nuie_scalesta_net.products_categories.product_id"
],
"rows_examined_per_scan": 16,
"rows_produced_per_join": 41,
"filtered": "9.92",
"cost_info": {
"read_cost": "6.41",
"eval_cost": "4.14",
"prefix_cost": "233.44",
"data_read_per_join": "993"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`nuie_scalesta_net`.`prices`.`lower_limit` = 1) and (`nuie_scalesta_net`.`prices`.`usergroup_id` in (0,0,1)))"
}
}
]
}
}
}
}
Result
| product_id |
product |
company_name |
price |
product_type |
parent_product_id |
rf_stop_update_price |
rf_stop_update_amount |
rf_stop_update_status |
| 86300 |
Horizontal Double Panel Radiator 600 x 1572mm |
Roxor |
691.67000000 |
P |
0 |
N |
N |
N |
| 86326 |
Horizontal Double Panel Radiator 600 x 1572mm |
Roxor |
691.67000000 |
P |
0 |
N |
N |
N |
| 86270 |
Horizontal Double Panel Radiator 600 x 1572mm |
Roxor |
649.17000000 |
P |
0 |
N |
N |
N |
| 86291 |
Horizontal Double Panel Radiator 600 x 1572mm |
Roxor |
649.17000000 |
P |
0 |
N |
N |
N |
| 86299 |
Horizontal Double Panel Radiator 600 x 1398mm |
Roxor |
649.17000000 |
P |
0 |
N |
N |
N |
| 86325 |
Horizontal Double Panel Radiator 600 x 1398mm |
Roxor |
649.17000000 |
P |
0 |
N |
N |
N |
| 86269 |
Horizontal Double Panel Radiator 600 x 1398mm |
Roxor |
580.83000000 |
P |
0 |
N |
N |
N |
| 86290 |
Horizontal Double Panel Radiator 600 x 1398mm |
Roxor |
580.83000000 |
P |
0 |
N |
N |
N |
| 86292 |
Vertical Double Panel Radiator 1800 x 528mm |
Roxor |
580.83000000 |
P |
0 |
N |
N |
N |
| 86318 |
Vertical Double Panel Radiator 1800 x 528mm |
Roxor |
580.83000000 |
P |
0 |
N |
N |
N |
| 86346 |
Designer Radiator 635 x 1223mm |
Roxor |
538.33000000 |
P |
0 |
N |
N |
N |
| 86350 |
Designer Radiator 635 x 1223mm |
Roxor |
538.33000000 |
P |
0 |
N |
N |
N |
| 86256 |
Vertical Double Panel Radiator 1800 x 528mm |
Roxor |
498.33000000 |
P |
0 |
N |
N |
N |
| 86309 |
Vertical Double Panel Radiator 1800 x 528mm |
Roxor |
498.33000000 |
P |
0 |
N |
N |
N |
| 86298 |
Horizontal Double Panel Radiator 600 x 992mm |
Roxor |
477.50000000 |
P |
0 |
N |
N |
N |
| 86324 |
Horizontal Double Panel Radiator 600 x 992mm |
Roxor |
477.50000000 |
P |
0 |
N |
N |
N |
| 86311 |
Double Panel Designer Radiator 1800 x 381mm |
Roxor |
457.50000000 |
P |
0 |
N |
N |
N |
| 86327 |
Double Panel Designer Radiator 1800 x 381mm |
Roxor |
457.50000000 |
P |
0 |
N |
N |
N |
| 86260 |
Double Panel Radiator With Mirror 1800 x 499mm |
Roxor |
456.67000000 |
P |
0 |
N |
N |
N |
| 86308 |
Double Panel Designer Radiator 1800 x 499mm |
Roxor |
456.67000000 |
P |
0 |
N |
N |
N |
| 86268 |
Horizontal Double Panel Radiator 600 x 992mm |
Roxor |
411.67000000 |
P |
0 |
N |
N |
N |
| 86289 |
Horizontal Double Panel Radiator 600 x 992mm |
Roxor |
411.67000000 |
P |
0 |
N |
N |
N |
| 86304 |
Double Panel Designer Radiator 1800 x 354mm |
Roxor |
393.33000000 |
P |
0 |
N |
N |
N |
| 86317 |
Double Panel Designer Radiator 1800 x 354mm |
Roxor |
393.33000000 |
P |
0 |
N |
N |
N |
| 86347 |
Designer Radiator 635 x 863mm |
Roxor |
375.00000000 |
P |
0 |
N |
N |
N |
| 86351 |
Designer Radiator 635 x 863mm |
Roxor |
375.00000000 |
P |
0 |
N |
N |
N |
| 86344 |
Designer Radiator 1800 x 383mm |
Roxor |
362.50000000 |
P |
0 |
N |
N |
N |
| 86348 |
Designer Radiator 1800 x 383mm |
Roxor |
362.50000000 |
P |
0 |
N |
N |
N |
| 86303 |
Vertical Double Panel Radiator 1500 x 354mm |
Roxor |
345.83000000 |
P |
0 |
N |
N |
N |
| 86316 |
Double Panel Designer Radiator 1500 x 354mm |
Roxor |
345.83000000 |
P |
0 |
N |
N |
N |
| 86254 |
Double Panel Designer Radiator 1800 x 354mm |
Roxor |
342.50000000 |
P |
0 |
N |
N |
N |
| 86306 |
Double Panel Designer Radiator 1800 x 354mm |
Roxor |
342.50000000 |
P |
0 |
N |
N |
N |
| 86312 |
Xcite Designer Radiator 1775 x 450mm |
Roxor |
334.17000000 |
P |
0 |
N |
N |
N |
| 86328 |
Xcite Designer Radiator 1775 x 450mm |
Roxor |
334.17000000 |
P |
0 |
N |
N |
N |
| 86345 |
Designer Radiator 1500 x 383mm |
Roxor |
331.67000000 |
P |
0 |
N |
N |
N |
| 86349 |
Designer Radiator 1500 x 383mm |
Roxor |
331.67000000 |
P |
0 |
N |
N |
N |
| 86273 |
Double Panel Designer Radiator 1500 x 354mm |
Roxor |
312.50000000 |
P |
0 |
N |
N |
N |
| 86305 |
Double Panel Designer Radiator 1500 x 354mm |
Roxor |
312.50000000 |
P |
0 |
N |
N |
N |
| 86296 |
Horizontal Double Panel Radiator 600 x 586mm |
Roxor |
300.00000000 |
P |
0 |
N |
N |
N |
| 86322 |
Horizontal Double Panel Radiator 600 x 586mm |
Roxor |
300.00000000 |
P |
0 |
N |
N |
N |
| 86340 |
Designer Radiator 1800 x 237mm |
Roxor |
280.00000000 |
P |
0 |
N |
N |
N |
| 86341 |
Designer Radiator 1800 x 237mm |
Roxor |
280.00000000 |
P |
0 |
N |
N |
N |
| 86266 |
Horizontal Double Panel Radiator 600 x 586mm |
Roxor |
262.50000000 |
P |
0 |
N |
N |
N |
| 86287 |
Horizontal Double Panel Radiator 600 x 586mm |
Roxor |
262.50000000 |
P |
0 |
N |
N |
N |
| 86294 |
Horizontal Double Panel Radiator 600 x 412mm |
Roxor |
224.17000000 |
P |
0 |
N |
N |
N |
| 86320 |
Horizontal Double Panel Radiator 600 x 412mm |
Roxor |
224.17000000 |
P |
0 |
N |
N |
N |
| 86264 |
Horizontal Double Panel Radiator 600 x 412mm |
Roxor |
195.83000000 |
P |
0 |
N |
N |
N |
| 86285 |
Horizontal Double Panel Radiator 600 x 412mm |
Roxor |
195.83000000 |
P |
0 |
N |
N |
N |
| 95152 |
RND-2C513 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95153 |
RND-2C517 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95154 |
RND-2C522 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95155 |
RND-2C526 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95156 |
RND-2C617 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95157 |
RND-2C622 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95158 |
RND-2C626 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95166 |
RND-FL06AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95167 |
RND-FL08AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95169 |
RND-FL11AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95170 |
RND-FL14AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95172 |
RND-NV2315AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95174 |
RND-NV2315WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95175 |
RND-NV2318A |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95176 |
RND-NV2318AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95178 |
RND-NV2318WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95180 |
RND-NV2915AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95182 |
RND-NV2915WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95183 |
RND-NV2918A |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95184 |
RND-NV2918AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95185 |
RND-NV2918W |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95186 |
RND-NV2918WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95188 |
RND-NV3515AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95190 |
RND-NV3515WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95191 |
RND-NV3518A |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95192 |
RND-NV3518AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95193 |
RND-NV3518W |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95194 |
RND-NV3518WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95196 |
RND-NV4115AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95198 |
RND-NV4115WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95199 |
RND-NV4118A |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95200 |
RND-NV4118AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95202 |
RND-NV4118WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95204 |
RND-NV4715AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95206 |
RND-NV4715WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95207 |
RND-NV4718AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95208 |
RND-NV4718W |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95209 |
RND-NV4718WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95210 |
RND-NV5315A |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95211 |
RND-NV5315AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95212 |
RND-NV5315WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95214 |
RND-NV5318AD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95216 |
RND-NV5318WD |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95217 |
RND-NVH210DW |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95218 |
RND-NVH212DW |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95220 |
RND-NVH214DA |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95221 |
RND-NVH214DW |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95223 |
RND-NVH506DW |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |