Query time 0.00183
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.023488254,
"filesort": {
"sort_key": "descr1.product, products.product_id",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "const",
"possible_keys": ["PRIMARY", "c_status", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "range",
"possible_keys": ["PRIMARY", "pt"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["category_id", "product_id"],
"loops": 1,
"rows": 5,
"cost": 0.00422311,
"filtered": 100,
"attached_condition": "products_categories.category_id = 225 and products_categories.product_id <> 31"
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status", "idx_parent_product_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["u985510652_ecartify_dev.products_categories.product_id"],
"loops": 5,
"rows": 1,
"cost": 0.0085682,
"filtered": 27.49785805,
"attached_condition": "products.parent_product_id = 0 and (products.amount > 0 or products.tracking = 'D') and (products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A' and products.product_type <> 'D'"
}
},
{
"table": {
"table_name": "companies",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["company_id"],
"ref": ["u985510652_ecartify_dev.products.company_id"],
"loops": 1.37489286,
"rows": 1,
"cost": 0.002048959,
"filtered": 100,
"attached_condition": "companies.`status` = 'A'"
}
},
{
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["product_id", "lang_code"],
"ref": [
"u985510652_ecartify_dev.products_categories.product_id",
"const"
],
"loops": 1.37489286,
"rows": 1,
"cost": 0.002356071,
"filtered": 100,
"attached_condition": "trigcond(descr1.lang_code = 'en')"
}
},
{
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["u985510652_ecartify_dev.products_categories.product_id"],
"loops": 1.37489286,
"rows": 1,
"cost": 0.002157528,
"filtered": 97.65431976,
"attached_condition": "prices.lower_limit = 1 and prices.usergroup_id in (0,0,1)",
"using_index": true
}
},
{
"table": {
"table_name": "tags_links",
"access_type": "ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["object_type", "object_id"],
"ref": [
"const",
"u985510652_ecartify_dev.products_categories.product_id"
],
"loops": 1.342642287,
"rows": 1,
"cost": 0.002114272,
"filtered": 100,
"attached_condition": "trigcond(tags_links.object_type = 'P')"
}
},
{
"table": {
"table_name": "tags",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["tag_id"],
"ref": ["u985510652_ecartify_dev.tags_links.tag_id"],
"loops": 1.342642287,
"rows": 1,
"cost": 0.002020113,
"filtered": 100,
"attached_condition": "trigcond(tags.`status` = 'A' or tags.tag_id is null) and trigcond(trigcond(tags_links.tag_id is not null))"
}
}
]
}
}
}
}
Result
| product_id |
product |
company_name |
product_type |
parent_product_id |
full_description |
short_description |
tags |
| 34 |
Nike "Untouchable" Women's Tank Top |
Store |
P |
0 |
<div class="text description dark-grey-heather-dark-grey-heather-red">
<div class="product-description-component">
<p><strong>The Nike "Untouchable" Tank Top: Sleeveless tribute to '72</strong></p>
Celebrating a banner year in sports with vibrant print detail, the Nike "Untouchable" Women's Tank Top offers a motion-friendly racerback silhouette in a body-hugging fit.<br />
<p><strong>Benefits</strong></p>
<li>Slim fit contours to your body</li>
<li>Rib scoop-neck and armholes for durability and comfort</li>
<li>Racerback for enhanced range of movement</li>
<li>Screen-print at front</li>
<br />
<p><strong>Additional Details</strong></p>
<li>Fabric: 100% cotton</li>
<li>Machine wash</li>
<li>Imported</li>
</div>
</div> |
|
|
| 38 |
Nike Futura Unravel Women's T-Shirt |
Store |
P |
0 |
<div class="text black-gold description">
<div class="product-description-component">
<p><strong>The Nike Futura Shirt: A flattering fit with bold pops of color</strong></p>
<br />
<p>It's a style explosion in the Nike Futura Unravel Women's T-Shirt, a high-energy essential with a flattering design and playful bursts of color.</p>
<br />
<p><strong>Benefits</strong></p>
<li>Extended rib V-neck for a flattering, comfortable fit</li>
<li>Reflective screen-print at front for a pop of color</li>
<li>A slim fit that's contoured to your body</li>
<br />
<p><strong>Additional Details</strong></p>
<li>Fabric: 100% cotton</li>
<li>Machine wash</li>
<li>Imported</li>
</div>
</div> |
|
|
| 28 |
Run Perf 7/8 Ti |
Store |
P |
0 |
<p>adidas Run Perf 7/8 Ti , new to site, more details coming soon.</p> |
|
|
| 27 |
Trefoil Logo Hoodie |
Store |
P |
0 |
<div class="productText" style="display: block;">
<div class="prodDesc">This classic women's adidas Originals Trefoil Logo Hoodie is made of comfortable fleece with a drawcord hood, a kangaroo pocket and an outsize logo. The pullover hoodie also features extra-long cuffs and hem for feminine style.</div>
<div class="prodDetail">
<h3>Details</h3>
<ul>
<li>Kangaroo pocket</li>
<li>Drawcord-adjustable hood</li>
<li>Ribbed long cuffs and wider hem</li>
<li>Large Trefoil on front</li>
<li>70% cotton / 30% polyester fleece</li>
<li>Imported</li>
</ul>
</div>
</div> |
<p>This classic women's adidas Originals Trefoil Logo Hoodie is made of comfortable fleece with a drawcord hood, a kangaroo pocket and an outsize logo. The pullover hoodie also features extra-long cuffs and hem for feminine style.</p> |
|