Query time 0.00053
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "3.47"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "1.21"
},
"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": 2,
"rows_produced_per_join": 1,
"filtered": "60.69",
"index_condition": "(`cscart_db`.`cscart_cp_videos`.`video_id` in (2036,2114))",
"cost_info": {
"read_cost": "1.29",
"eval_cost": "0.12",
"prefix_cost": "1.41",
"data_read_per_join": "1K"
},
"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.30",
"eval_cost": "0.12",
"prefix_cost": "1.83",
"data_read_per_join": "5K"
},
"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.30",
"eval_cost": "0.12",
"prefix_cost": "2.26",
"data_read_per_join": "19"
},
"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 |
| 2114 |
S |
0 |
0 |
0 |
1754997971 |
A |
21551 |
|
0 |
https://www.kindlife.in/cosrx-ultimate-nourishing-rice-overnight-face-mask-60ml-en-2 |
https://www.kindlife.in/images/video_library/2114_SnapInsta.to_AQMW4y1mnKcLvOxRi6M2ZxJuDX_pC-Vp58U47sUGCZ00Itf98ycjD-9zmHKdru37_9hp27OSfvS841DNOy0fYgz5yRSEWSdaSRBJs14_preview.jpg |
https://www.kindlife.in/images/video_library/2114_SnapInsta.to_AQMW4y1mnKcLvOxRi6M2ZxJuDX_pC-Vp58U47sUGCZ00Itf98ycjD-9zmHKdru37_9hp27OSfvS841DNOy0fYgz5yRSEWSdaSRBJs14.mp4 |
0 |
en |
|
COSRX Ultimate Nourishing Rice Overnight Face Mask 60ml |
|
|
1 |
2 |
0 |
0 |
|
|
|
10451 |
7 |
M |
| 2036 |
A |
13 |
0 |
0 |
1751049000 |
A |
229317 |
|
0 |
https://admin.kindlife.in/cult-fave-cosrx-for-the-win |
https://www.kindlife.in/images/video_library/2036_Cosrx_preview.jpg |
https://www.kindlife.in/images/video_library/2036_Cosrx.mp4 |
0 |
en |
|
Cult fave- Cosrx for the win! |
<p>COSRX is a Korean skincare brand known for its effective, science-backed formulations. Focused on addressing common skin concerns like acne, dryness, and sensitivity, COSRX combines simple yet potent ingredients for maximum results!</p> |
|
1 |
2 |
0 |
0 |
|
|
|
10451 |
7 |
M |