Explain
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
PRIMARY |
companies |
ALL |
PRIMARY |
|
|
|
1 |
Using where; Using temporary; Using filesort |
1 |
PRIMARY |
cscart_orders |
range |
PRIMARY,timestamp,status |
timestamp |
4 |
|
1376 |
Using index condition; Using where; Using join buffer (flat, BNL join) |
1 |
PRIMARY |
cscart_order_details |
ref |
o_k |
o_k |
3 |
toolboxdigitalshop_dev.cscart_orders.order_id |
3 |
Using where |
1 |
PRIMARY |
products |
eq_ref |
PRIMARY,status,idx_parent_product_id |
PRIMARY |
3 |
toolboxdigitalshop_dev.cscart_order_details.product_id |
1 |
Using where |
1 |
PRIMARY |
cscart_discussion |
ref |
object_id |
object_id |
6 |
toolboxdigitalshop_dev.cscart_order_details.product_id,const |
1 |
Using where; Using index |
1 |
PRIMARY |
lm_product_labels |
ref |
product_id,label_id |
product_id |
3 |
toolboxdigitalshop_dev.cscart_order_details.product_id |
1 |
Using where |
1 |
PRIMARY |
prices |
ref |
usergroup,product_id,lower_limit,usergroup_id |
usergroup |
3 |
toolboxdigitalshop_dev.cscart_order_details.product_id |
1 |
Using where; Using index |
1 |
PRIMARY |
products_categories |
ref |
PRIMARY,link_type,pt |
pt |
6 |
toolboxdigitalshop_dev.cscart_order_details.product_id,const |
1 |
Using where; Using index |
1 |
PRIMARY |
cscart_categories |
eq_ref |
PRIMARY,c_status,p_category_id |
PRIMARY |
3 |
toolboxdigitalshop_dev.products_categories.category_id |
1 |
Using where |
1 |
PRIMARY |
descr1 |
eq_ref |
PRIMARY,product_id |
PRIMARY |
9 |
toolboxdigitalshop_dev.cscart_order_details.product_id,const |
1 |
Using where |
1 |
PRIMARY |
shared_descr |
eq_ref |
PRIMARY,product_id,company_id |
PRIMARY |
13 |
toolboxdigitalshop_dev.cscart_order_details.product_id,const,const |
1 |
Using where |
1 |
PRIMARY |
prc |
eq_ref |
PRIMARY |
PRIMARY |
9 |
toolboxdigitalshop_dev.cscart_order_details.product_id,const |
1 |
Using where; Using index |
1 |
PRIMARY |
<derived2> |
ref |
key0 |
key0 |
4 |
toolboxdigitalshop_dev.cscart_discussion.thread_id |
2 |
Using where |
2 |
DERIVED |
cscart_discussion_rating |
ALL |
thread_id |
|
|
|
1 |
Using temporary; Using filesort |