Query time 0.00046
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.20"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "1.82"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_cp_videos",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"status_idx",
"video_id_idx",
"idx_cp_videos_status_userid_videoid",
"idx_status_timestamp"
],
"key": "PRIMARY",
"used_key_parts": [
"video_id"
],
"key_length": "3",
"rows_examined_per_scan": 3,
"rows_produced_per_join": 1,
"filtered": "60.69",
"index_condition": "(`cscart_db`.`cscart_cp_videos`.`video_id` in (819,891,908))",
"cost_info": {
"read_cost": "1.93",
"eval_cost": "0.18",
"prefix_cost": "2.11",
"data_read_per_join": "2K"
},
"used_columns": [
"video_id",
"video_type",
"company_id",
"usergroup_ids",
"position",
"timestamp",
"status",
"user_id",
"extra_params",
"community_video_id",
"community_url",
"community_thumbnail",
"community_video_url",
"community_last_sync_timestamp"
],
"attached_condition": "(`cscart_db`.`cscart_cp_videos`.`status` = 'A')"
}
},
{
"table": {
"table_name": "cscart_cp_video_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"video_id",
"lang_code"
],
"key_length": "9",
"ref": [
"cscart_db.cscart_cp_videos.video_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.46",
"eval_cost": "0.18",
"prefix_cost": "2.75",
"data_read_per_join": "7K"
},
"used_columns": [
"video_id",
"lang_code",
"youtube_id",
"video",
"description",
"short_description",
"privacy",
"like_count",
"dislike_count",
"comment_count",
"meta_keywords",
"meta_description",
"page_title",
"tagged_brands"
]
}
},
{
"table": {
"table_name": "cscart_cp_video_category_links",
"access_type": "ref",
"possible_keys": [
"pt"
],
"key": "pt",
"used_key_parts": [
"video_id"
],
"key_length": "3",
"ref": [
"cscart_db.cscart_cp_videos.video_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.46",
"eval_cost": "0.18",
"prefix_cost": "3.38",
"data_read_per_join": "29"
},
"used_columns": [
"video_id",
"category_id",
"link_type",
"position"
]
}
}
]
}
}
}
Result
| video_id |
video_type |
company_id |
usergroup_ids |
position |
timestamp |
status |
user_id |
extra_params |
community_video_id |
community_url |
community_thumbnail |
community_video_url |
community_last_sync_timestamp |
lang_code |
youtube_id |
video |
description |
short_description |
privacy |
like_count |
dislike_count |
comment_count |
meta_keywords |
meta_description |
page_title |
tagged_brands |
category_id |
link_type |
| 908 |
C |
13 |
0 |
0 |
1698604200 |
A |
21551 |
|
1039 |
https://www.kindlife.in/glow-essentials-en |
https://cdn.kindlife.in/images/videos/thumb/1039/2b6ef3818bc8ad1f1816873b9b39be04.jpg |
https://cdn.kindlife.in/images/videos/thumb/1039/2b6ef3818bc8ad1f1816873b9b39be04.mp4 |
1713163221 |
en |
|
My Glow Essentials |
<p><span style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">✨My glow essentials for this festive season✨</span><br style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"><span style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;">If you have oily skin, you cannot miss out on these! These are so hydrating on skin without giving you a sticky-oily appearance. Glow so good that doesn't produce sebum on your skin. </span></p> |
|
1 |
92 |
0 |
0 |
|
|
|
|
7 |
M |
| 819 |
C |
13 |
0 |
0 |
1688063400 |
A |
146299 |
|
865 |
https://www.kindlife.in/building-holistic-skincare-routine-for-damaged-skin-barrier |
https://cdn.kindlife.in/images/videos/thumb/865/92f64721da2fcf5918e1a65723ce1099.jpg |
https://cdn.kindlife.in/images/videos/thumb/865/0fd7b9242f65819b5341649316e7872a.mp4 |
1713162500 |
en |
|
Building holistic skincare routine for damaged skin barrier |
|
|
1 |
0 |
0 |
0 |
|
|
|
|
7 |
M |