Query time 0.00357
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "17.23"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "absolute_rating",
"access_type": "system",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 0,
"rows_produced_per_join": 1,
"filtered": "0.00",
"const_row_not_found": true,
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "112"
},
"used_columns": [
"object_id",
"object_type",
"rating"
]
}
},
{
"table": {
"table_name": "cscart_companies",
"access_type": "ALL",
"rows_examined_per_scan": 38,
"rows_produced_per_join": 3,
"filtered": "10.00",
"cost_info": {
"read_cost": "5.45",
"eval_cost": "0.38",
"prefix_cost": "5.83",
"data_read_per_join": "26K"
},
"used_columns": [
"company_id",
"status",
"lang_code",
"email",
"timestamp",
"tax_number",
"plan_id",
"stripe_connect_account_id",
"paypal_commerce_platform_account_id"
],
"attached_condition": "(`wearethehelpful_scalesta_net`.`cscart_companies`.`status` = 'A')"
}
},
{
"table": {
"table_name": "company_descr",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id",
"lang_code"
],
"key_length": "10",
"ref": [
"wearethehelpful_scalesta_net.cscart_companies.company_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.38",
"prefix_cost": "6.21",
"data_read_per_join": "6K"
},
"used_columns": [
"company_id",
"lang_code",
"i18n_company"
]
}
},
{
"table": {
"table_name": "cscart_company_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id",
"lang_code"
],
"key_length": "10",
"ref": [
"wearethehelpful_scalesta_net.cscart_companies.company_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.38",
"prefix_cost": "6.59",
"data_read_per_join": "6K"
},
"used_columns": [
"company_id",
"lang_code",
"company_description"
]
}
},
{
"table": {
"table_name": "cscart_vendor_plan_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"plan_id",
"lang_code"
],
"key_length": "10",
"ref": [
"wearethehelpful_scalesta_net.cscart_companies.plan_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.38",
"prefix_cost": "6.97",
"data_read_per_join": "2K"
},
"used_columns": [
"plan_id",
"lang_code",
"plan"
]
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code"
],
"key_length": "206",
"ref": [
"wearethehelpful_scalesta_net.cscart_companies.company_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 7,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(cscart_seo_names), (`wearethehelpful_scalesta_net`.`cscart_seo_names`.`object_id` = `wearethehelpful_scalesta_net`.`cscart_companies`.`company_id`), true)",
"cost_info": {
"read_cost": "1.90",
"eval_cost": "0.76",
"prefix_cost": "9.63",
"data_read_per_join": "12K"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
},
{
"table": {
"table_name": "cscart_discussion",
"access_type": "eq_ref",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type"
],
"key_length": "6",
"ref": [
"wearethehelpful_scalesta_net.cscart_companies.company_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 7,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(cscart_discussion), (`wearethehelpful_scalesta_net`.`cscart_discussion`.`object_id` = `wearethehelpful_scalesta_net`.`cscart_companies`.`company_id`), true)",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.76",
"prefix_cost": "10.39",
"data_read_per_join": "182"
},
"used_columns": [
"thread_id",
"object_id",
"object_type"
]
}
},
{
"table": {
"table_name": "cscart_discussion_posts",
"access_type": "ref",
"possible_keys": [
"thread_id",
"thread_id_2"
],
"key": "thread_id",
"used_key_parts": [
"thread_id"
],
"key_length": "3",
"ref": [
"wearethehelpful_scalesta_net.cscart_discussion.thread_id"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.80",
"eval_cost": "1.52",
"prefix_cost": "15.71",
"data_read_per_join": "6K"
},
"used_columns": [
"post_id",
"thread_id",
"status"
],
"attached_condition": "<if>(is_not_null_compl(cscart_discussion_posts), (`wearethehelpful_scalesta_net`.`cscart_discussion_posts`.`status` = 'A'), true)"
}
},
{
"table": {
"table_name": "cscart_discussion_rating",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"thread_id"
],
"key": "PRIMARY",
"used_key_parts": [
"post_id"
],
"key_length": "3",
"ref": [
"wearethehelpful_scalesta_net.cscart_discussion_posts.post_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "1.52",
"prefix_cost": "17.23",
"data_read_per_join": "243"
},
"used_columns": [
"rating_value",
"post_id",
"thread_id"
],
"attached_condition": "<if>(is_not_null_compl(cscart_discussion_rating), (`wearethehelpful_scalesta_net`.`cscart_discussion_rating`.`thread_id` = `wearethehelpful_scalesta_net`.`cscart_discussion`.`thread_id`), true)"
}
}
]
}
}
}
}
Result
| company_id |
lang_code |
email |
timestamp |
status |
company |
tax_number |
company_description |
paypal_commerce_platform_account_id |
stripe_connect_account_id |
absolute_vendor_rating |
plan |
seo_name |
seo_path |
average_rating |
company_thread_ids |
| 19 |
en |
katie@potsfortots.co.uk |
1728572748 |
A |
Pots for Tots |
380214131 |
|
|
acct_1IHnK4GclQNutBMI |
|
Launch - 15% |
pots-for-tots |
|
|
19_0 |
| 47 |
en |
hello@milkitbakehouse.com |
1767272426 |
A |
Milk it Bakehouse |
|
|
|
acct_1Sl6Ov2Liv8hSqEW |
|
Launch - 15% |
milk-it-bakehouse |
|
|
47_0 |
| 45 |
en |
bonjour@mademoisellemacaron.co.uk |
1754944576 |
A |
Mademoiselle Macaron |
|
|
|
acct_15HdLMJ74GZP4dBD |
|
Launch - 15% |
mademoiselle-macaron |
|
|
45_0 |
| 40 |
en |
wecanlightentheload@gmail.com |
1748882125 |
A |
Lighten The Load |
|
|
|
acct_1RWfCTKv9saXrI1U |
|
LAUNCH - 10% |
lighten-the-load |
|
|
40_0 |
| 46 |
en |
hello@lifepostpartum.com |
1765191583 |
A |
Life Postpartum |
|
|
|
acct_1Sug2tRwRDO5nyMM |
|
Launch - 15% |
life-postpartum |
|
|
46_0 |
| 28 |
en |
pa@life-edit.me |
1733132760 |
A |
LIFE / EDIT Home Organisation Ltd |
466535074 |
|
|
|
|
LAUNCH - 10% |
life-edit-home-organisation-ltd |
|
|
28_0 |
| 37 |
en |
info@lafeve.co.uk |
1744217419 |
A |
La Feve UK |
10991458 |
|
|
acct_1R2AipBxt3GuuIlg |
|
Launch - 15% |
la-feve-uk |
|
|
37_0 |
| 21 |
en |
joanderson81@hotmail.com |
1729694592 |
A |
Joanna Anderson Therapies |
|
|
|
acct_1IDqrqATEsdOBPh2 |
|
LAUNCH - 10% |
joanna-anderson-therapies |
|
|
21_0 |
| 22 |
en |
hello@growandgather.co.uk |
1729701585 |
A |
Grow+Gather |
Grow+Gather |
|
|
acct_1QNaObFLdJObo7VM |
|
LAUNCH - 10% |
growgather |
|
|
22_0 |
| 23 |
en |
ellandsam@fieldgoods.co.uk |
1729793383 |
A |
FieldGoods |
364914575 |
|
|
acct_1QqxQdFNO0feF2TJ |
|
Launch - 15% |
fieldgoods |
|
|
23_0 |