Query time 0.00101
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1.00"
},
"nested_loop": [
{
"table": {
"table_name": "p",
"access_type": "const",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"promotion_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.20",
"prefix_cost": "0.00",
"data_read_per_join": "80"
},
"used_columns": [
"promotion_id",
"company_id",
"conditions",
"bonuses",
"to_date",
"from_date",
"priority",
"stop",
"zone",
"conditions_hash",
"status",
"number_of_usages",
"users_conditions_hash",
"stop_other_rules"
]
}
},
{
"table": {
"table_name": "d",
"access_type": "const",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"promotion_id",
"lang_code"
],
"key_length": "9",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "0.00",
"data_read_per_join": "800"
},
"used_columns": [
"promotion_id",
"name",
"short_description",
"detailed_description",
"lang_code"
]
}
},
{
"table": {
"table_name": "images",
"access_type": "const",
"possible_keys": [
"promo"
],
"key": "promo",
"used_key_parts": [
"promotion_id",
"lang_code"
],
"key_length": "10",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "0.00",
"data_read_per_join": "16"
},
"used_columns": [
"promotion_image_id",
"promotion_id",
"lang_code"
]
}
}
]
}
}
Result
promotion_id |
company_id |
conditions |
bonuses |
to_date |
from_date |
priority |
stop |
zone |
conditions_hash |
status |
number_of_usages |
users_conditions_hash |
stop_other_rules |
name |
short_description |
detailed_description |
lang_code |
promotion_image_id |
23 |
1 |
a:3:{s:3:"set";s:3:"all";s:9:"set_value";s:1:"1";s:10:"conditions";a:1:{i:2;a:3:{s:8:"operator";s:2:"in";s:9:"condition";s:8:"products";s:5:"value";s:27:"388,389,390,391,393,331,330";}}} |
a:1:{i:1;a:3:{s:5:"bonus";s:16:"product_discount";s:14:"discount_bonus";s:13:"by_percentage";s:14:"discount_value";s:1:"1";}} |
1704056399 |
0 |
0 |
N |
catalog |
products=388,389,390,391,393,331,330 |
A |
18 |
|
N |
Only today you can buy fresh fruit baskets with - 1% discount |
<p><span class="legal-disclosures-line2"><span class="legal-disclosures-line1"></span>Only today you can buy fresh fruit baskets with - 1% discount<span class="fine-print-description"></span></span></p> |
<p><span class="legal-disclosures-line1"></span>You can get one of our most popular fruit baskets at 1% discount. the fruitful basket is filled with a selection of delicious tropical fruits, candies, nuts, crackers, savory jams and jellies and delectable cookies.</p>
<p>Ideal for relatives, as a thank you gift, for employees, for convalescence, and for anyone who needs a pick me up. A healthy and impressive gift, this gift basket is overflowing with fresh, delicious, seasonal fruit. Fruit baskets are a traditional and useful gift that express many sentiments, from congratulations and thank you, to the difficult expression of sympathy. Send this gift today and they are sure to appreciate the generous thought and the delicious fruit! Please note, the variety of fruit may vary. Remember, each of our fruit baskets is put together by hand with the best selection of the freshest seasonal fruit! All baskets are made locally!<span class="legal-disclosures-line2"></span></p> |
en |
17 |