Query time 0.00131
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "11.02"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"grouping_operation": {
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "products",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 3,
"rows_produced_per_join": 1,
"filtered": "49.66",
"index_condition": "((`atulecarter_atul_demo1`.`products`.`product_id` in (237,230,234)) and (`atulecarter_atul_demo1`.`products`.`product_id` is not null))",
"cost_info": {
"read_cost": "6.91",
"eval_cost": "0.30",
"prefix_cost": "7.21",
"data_read_per_join": "7K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"usergroup_ids",
"parent_product_id"
],
"attached_condition": "(((`atulecarter_atul_demo1`.`products`.`usergroup_ids` = '') or find_in_set(0,`atulecarter_atul_demo1`.`products`.`usergroup_ids`) or find_in_set(1,`atulecarter_atul_demo1`.`products`.`usergroup_ids`)) and (`atulecarter_atul_demo1`.`products`.`status` = 'A') and (`atulecarter_atul_demo1`.`products`.`company_id` in ('1','2','3','4','5','6')))"
}
},
{
"table": {
"table_name": "companies",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id"
],
"key_length": "4",
"ref": [
"atulecarter_atul_demo1.products.company_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "16.67",
"cost_info": {
"read_cost": "1.49",
"eval_cost": "0.05",
"prefix_cost": "9.00",
"data_read_per_join": "1K"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "(`atulecarter_atul_demo1`.`companies`.`status` = 'A')"
}
},
{
"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": [
"atulecarter_atul_demo1.products.product_id"
],
"rows_examined_per_scan": 3,
"rows_produced_per_join": 0,
"filtered": "8.79",
"using_index": true,
"cost_info": {
"read_cost": "0.26",
"eval_cost": "0.01",
"prefix_cost": "9.41",
"data_read_per_join": "1"
},
"used_columns": [
"product_id",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`atulecarter_atul_demo1`.`prices`.`lower_limit` = 1) and (`atulecarter_atul_demo1`.`prices`.`usergroup_id` in (0,0,1)) and (`atulecarter_atul_demo1`.`prices`.`usergroup_id` in (0,0,1)))"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "pt",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"atulecarter_atul_demo1.products.product_id"
],
"rows_examined_per_scan": 11,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.59",
"eval_cost": "0.14",
"prefix_cost": "10.14",
"data_read_per_join": "11"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "cscart_categories",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"atulecarter_atul_demo1.products_categories.category_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "5.00",
"cost_info": {
"read_cost": "0.72",
"eval_cost": "0.01",
"prefix_cost": "11.01",
"data_read_per_join": "96"
},
"used_columns": [
"category_id",
"storefront_id",
"usergroup_ids",
"status"
],
"attached_condition": "(((`atulecarter_atul_demo1`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`atulecarter_atul_demo1`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`atulecarter_atul_demo1`.`cscart_categories`.`usergroup_ids`)) and (`atulecarter_atul_demo1`.`cscart_categories`.`status` in ('A','H')) and (`atulecarter_atul_demo1`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"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": [
"atulecarter_atul_demo1.products.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.01",
"prefix_cost": "11.02",
"data_read_per_join": "168"
},
"used_columns": [
"product_id",
"lang_code",
"product",
"full_description"
]
}
}
]
}
}
}
}
Result
product_id |
product |
company_name |
product_type |
parent_product_id |
full_description |
230 |
2011 Pit Boss |
CS-Cart |
P |
0 |
<p>Hydration Capacity: 100 oz (3 L)<br /><br />Total Capacity: 1800 cu in (29.50 L)<br /><br />CamelBak® Got Your Bak™ Guarantee: If we built it, we'll Bak it™ with our lifetime guarantee. <br /><br />Reservoir Features: Quick Link™ System, 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite™ Valve, HydroGuard™ technology, insulated PureFlow™ tube, easy-to-clean wide-mouth opening<br /><br />BACK PANEL: Air Director™ Snowshed™<br /><br />HARNESS: Therminator™ provides easy access for frequent sipping, insulated and fully enclosed to protect against freezing<br /><br />BELT: Load-bearing with cargo<br /><br />Additional Features: <br />Versatile Snowboard / Ski Carry (Diagonal, Vertical or Horizontal), tri-zip quick gear access, gear compression, goggle pocket, essentials pocket<br />Drop-out Probe Pocket for instant probe access -- locate survivors without unloading your pack<br /><br />Designed to carry: skis/snowboard, shovel, probe, skins, snowshoes, helmet, goggles, extra layers, lunch, tools, camera, phone, wallet, keys</p> |
237 |
Elite Evanston 8 Tent |
CS-Cart |
P |
0 |
<p>• 8 person/1 room tent<br />• 12'x12' footprint<br />• Exclusive WeatherTec™ System<br />Keeps you dry -- Guaranteed™<br />• Modified dome structure, easy to transport and simple to set up<br />• 6 ft. 2 in. center height<br />• Hinged door (patent pending)<br />• Great for family camping, scout leaders, extended camping trips<br />• Self-rolling windows (patent pending)<br />• Tent includes remote controlled light<br />• Light is 100 lumens<br />• Control airflow with Variflo™ adjustable ventilation<br />• Privacy vent window<br />• Interior gear pocket<br />• Electrical access port<br />• Front Porch and Wings provide great outdoor living space<br />• Easy set up with continuous, color coded pole sleeves and shock-corded poles<br />• Easy instructions sewn into durable carry bag<br />• Carry bag also includes separate sacks for poles and stakes<br />• Fly: Polyester taffeta 75D <br />• Mesh: Polyester 68D inner tent<br />• Floor: Polyethylene 1000D-140g/sqm floor<br />• Poles: 11 mm, 7.9 mm and 6.3 mm fiberglass<br />• Limited 1 year warranty<br />• Made in China</p> |
234 |
White Waterâ„¢ Cool Weather Sleeping Bag |
CS-Cart |
P |
0 |
<p>• Coleman® cool weather sleeping bags made for camping temperatures between 30 and 50 degrees<br />• Rectangle shape, big & tall 39” x 84”, fits up to 6’4” tall<br />• 4 pounds of Coletherm® insulation<br />• Polyester cover with cotton flannel liner<br />• Groundbreaking headrest shape makes keeping your head off the ground or floor easy<br />• Essential camping gear, sleeping bag for a better night outdoors<br />• Don’t forget the Coleman® camping tent to go with your sleeping bags<br />• ComfortSmart™ Technology includes:<br />• ZipPlow™ plows fabric away from zipper to prevent snags<br />• ComfortCuff™ surrounds your face with softness<br />• Roll Control™ locks bag in place for easier rolling<br />• FiberLock™ prevents insulation from shifting, increases durability<br />• ThermoLock™ construction reduces heat loss through the zipper, keeping you warmer<br />• ZipperGlide™ tailoring allows smooth zipper operation around the corners<br />• QuickCord™ for easy, no tie closure<br />• Commercial Machine washable<br />• Five year limited warranty<br />• Made in China</p> |