Captcha Challenge
Reload Image
phpFox Developers Debug Toggle JavaScript Console
Version:
3.8.0
Product Code Name:
Nebula

Total Time:
5.9788978
PHP General Time:
2.1139707
GZIP:
enabled

Driver Version:
MySQL 5.5.62-0ubuntu0.14.04.1
SQL Time:
3.8649271
SQL Queries:
55
SQL Memory Usage:
82.79 kb
SQL Slave Enabled:
No
SQL Total Slaves:
N/A
SQL Slave Server:
N/A

Total Memory Usage:
2.49 Mb
Total Memory Usage (Including Debug):
2.66 Mb
Memory Limit:
0.5 b (-1)

Load Balancing Enabled:
No
Requests From:
198.13.61.26


Server Time Stamp:
July 3, 2020, 10:12 pm
PHP Version:
5.5.9-1ubuntu4.29
PHP Sapi:
apache2handler
PHP safe_mode:
false
PHP open_basedir:
false
Operating System:
Linux

Cache:
file
SQL Queries
0.0000851 | Memory Before: 442.77 kb | Memory After: 444.28 kb | Memory Used: 1.51 kb | Rows: 1 | Slave: No
SELECT value_actual
FROM phpfox_setting
WHERE var_name = 'phpfox_version'
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEphpfox_settingrefvar_namevar_name102const1Using where
0.0010509 | Memory Before: 738.53 kb | Memory After: 739.88 kb | Memory Used: 1.35 kb | Rows: - | Slave: No
INSERT INTO phpfox_log_session (session_hash, id_hash, user_id, last_activity, location, is_forum, forum_id, im_hide, ip_address, user_agent) VALUES ('2c8a058eddb4cbf2b77f4acfdcd3da75', 'c56fb43d525078d2aaf85f739d93f298', '0', '1593814377', '/mobile/feed/', '0', '0', '0', '3.233.229.90', 'CCBot/2.0 (https://commoncrawl.org/faq/)')
0.0000720 | Memory Before: 873.18 kb | Memory After: 874.69 kb | Memory Used: 1.51 kb | Rows: 1 | Slave: No
SELECT s.style_id, s.parent_id AS style_parent_id, s.folder AS style_folder_name, t.folder AS theme_folder_name, t.parent_id AS theme_parent_id, t.total_column, s.l_width, s.c_width, s.r_width
FROM phpfox_theme_style AS s
     JOIN phpfox_theme AS t
            ON(t.theme_id = s.theme_id)

WHERE s.is_default = 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEsrefis_defaultis_default1const1 
1SIMPLEteq_refPRIMARY,theme_idPRIMARY2phpfoxfb.s.theme_id1 
0.0000620 | Memory Before: 876.52 kb | Memory After: 878.02 kb | Memory Used: 1.51 kb | Rows: 1 | Slave: No
SELECT folder AS parent_style_folder
FROM phpfox_theme_style
WHERE style_id = 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEphpfox_theme_styleconststyle_id_2,style_idstyle_id_22const1 
3.8489821 | Memory Before: 1.74 Mb | Memory After: 1.74 Mb | Memory Used: 1.51 kb | Rows: 10 | Slave: Yes
SELECT feed.*, apps.app_title, u.view_id, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, f.friend_id AS is_friend
FROM (
( SELECT feed.*
FROM phpfox_feed AS feed
     JOIN phpfox_friend AS f
            ON(f.user_id = feed.user_id AND f.friend_user_id = 0)

WHERE feed.privacy IN(1,2) AND feed.time_stamp > '0' AND feed.feed_reference = 0
LIMIT 10
/* OO Query */) UNI             ON ( SELECT feed.*
FROM phpfox_feed AS feed
     JOIN phpfox_friend AS f1
            ON(f1.user_id = feed.user_id)
     JOIN phpfox_friend AS f2
            ON(f2.user_id = 0 AND f2.friend_user_id = f1.friend_user_id)

WHERE feed.privacy IN(2) AND feed.time_stamp > '0' AND feed.feed_reference = 0
LIMIT 10
/* OO Query */) UNI             ON ( SELECT feed.*
FROM phpfox_feed AS feed
WHERE feed.privacy IN(1,2,3,4) AND feed.user_id = 0 AND feed.time_stamp > '0' AND feed.feed_reference = 0
/* OO Query */) UNI             ON ( SELECT feed.*
FROM phpfox_feed AS feed
WHERE feed.privacy IN(0) AND feed.time_stamp > '0' AND feed.feed_reference = 0
/* OO Query */) UNI             ON ( SELECT feed.*
FROM phpfox_feed AS feed
     JOIN phpfox_privacy AS p
            ON(p.module_id = feed.type_id AND p.item_id = feed.item_id)
     JOIN phpfox_friend_list_data AS fld
            ON(fld.list_id = p.friend_list_id AND fld.friend_user_id = 0)

WHERE feed.privacy IN(4) AND feed.time_stamp > '0' AND feed.feed_reference = 0
/* OO Query */)) AS feed
     LEFT JOIN phpfox_friend AS f
            ON(f.user_id = feed.user_id AND f.friend_user_id = 0)
     JOIN phpfox_user AS u
            ON(u.user_id = feed.user_id)
     LEFT JOIN phpfox_app AS apps
            ON(apps.app_id = feed.app_id)

GROUP BY feed.feed_id
ORDER BY feed.time_update DESC
LIMIT 10
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1PRIMARY<derived2>ALL MISSING KEY   144014Using temporary; Using filesort
1PRIMARYfeq_refuser_check,user_id,top_friend,friend_user_iduser_check8feed.user_id,const1Using index
1PRIMARYappseq_refPRIMARY,app_idPRIMARY4feed.app_id1 
1PRIMARYueq_refPRIMARY,user_idPRIMARY4feed.user_id1 
2DERIVEDfrefuser_check,user_id,top_friend,friend_user_idfriend_user_id4 1 
2DERIVEDfeedrefprivacy_2,privacy_3,privacy_4,privacy,time_stamp,privacy_5,user_iduser_id8phpfoxfb.f.user_id2Using where
3UNIONfeedrefprivacy_2,privacy_3,privacy_4,privacy,time_stamp,privacy_5,user_idprivacy_31 1Using where
3UNIONf2refuser_check,user_id,top_friend,friend_user_iduser_check4 1Using index
3UNIONf1eq_refuser_check,user_id,top_friend,friend_user_iduser_check8phpfoxfb.feed.user_id,phpfoxfb.f2.friend_user_id1Using index
4UNIONfeedrangeprivacy_2,privacy_3,privacy_4,privacy,time_stamp,privacy_5,user_iduser_id12 1Using where
5UNIONfeedrefprivacy_2,privacy_3,privacy_4,privacy,time_stamp,privacy_5privacy_21 71299Using where
6UNIONfeedrefprivacy_2,privacy_3,privacy_4,type_id,privacy,time_stamp,privacy_5privacy_31 1Using where
6UNIONprefmodule_id,friend_list_idmodule_id82phpfoxfb.feed.type_id,phpfoxfb.feed.item_id1Using where
6UNIONfldeq_reflist_id,list_id_2list_id8phpfoxfb.p.friend_list_id1Using index
 UNION RESULT<union2,3,4,5,6>ALL MISSING KEY     
0.0011339 | Memory Before: 1.92 Mb | Memory After: 1.92 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT b.blog_id, b.title, b.time_stamp, b.total_comment, b.total_like, bt.text_parsed AS text, b.module_id, b.item_id
FROM phpfox_blog AS b
     JOIN phpfox_blog_text AS bt
            ON(bt.blog_id = b.blog_id)

WHERE b.blog_id = 65762
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEbconstPRIMARYPRIMARY4const1 
1SIMPLEbtconstPRIMARYPRIMARY4const1 
0.0002379 | Memory Before: 1.93 Mb | Memory After: 1.94 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT b.blog_id, b.title, b.time_stamp, b.total_comment, b.total_like, bt.text_parsed AS text, b.module_id, b.item_id
FROM phpfox_blog AS b
     JOIN phpfox_blog_text AS bt
            ON(bt.blog_id = b.blog_id)

WHERE b.blog_id = 65760
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEbconstPRIMARYPRIMARY4const1 
1SIMPLEbtconstPRIMARYPRIMARY4const1 
0.0004241 | Memory Before: 1.93 Mb | Memory After: 1.93 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "blog")

WHERE (l.type_id = 'blog' OR l.type_id = 'blog') AND l.item_id = 65760 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0002389 | Memory Before: 1.93 Mb | Memory After: 1.93 Mb | Memory Used: 1.52 kb | Rows: 1 | Slave: Yes
SELECT COUNT(*)
FROM phpfox_like AS l
WHERE (l.type_id = 'blog' OR l.type_id = 'blog') AND l.item_id = 65760
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using index
0.0002341 | Memory Before: 1.94 Mb | Memory After: 1.94 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "blog" AND a.item_id = 65760
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0003269 | Memory Before: 1.94 Mb | Memory After: 1.94 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "blog")

WHERE (l.type_id = 'blog' OR l.type_id = 'blog') AND l.item_id = 65762 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0001740 | Memory Before: 1.94 Mb | Memory After: 1.94 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT COUNT(*)
FROM phpfox_like AS l
WHERE (l.type_id = 'blog' OR l.type_id = 'blog') AND l.item_id = 65762
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using index
0.0002511 | Memory Before: 1.95 Mb | Memory After: 1.95 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "blog" AND a.item_id = 65762
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0000620 | Memory Before: 1.96 Mb | Memory After: 1.96 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "blog" AND a.item_id = 65762
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0002320 | Memory Before: 1.98 Mb | Memory After: 1.98 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT b.blog_id, b.title, b.time_stamp, b.total_comment, b.total_like, bt.text_parsed AS text, b.module_id, b.item_id
FROM phpfox_blog AS b
     JOIN phpfox_blog_text AS bt
            ON(bt.blog_id = b.blog_id)

WHERE b.blog_id = 65761
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEbconstPRIMARYPRIMARY4const1 
1SIMPLEbtconstPRIMARYPRIMARY4const1 
0.0003560 | Memory Before: 1.97 Mb | Memory After: 1.97 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "blog")

WHERE (l.type_id = 'blog' OR l.type_id = 'blog') AND l.item_id = 65761 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0002439 | Memory Before: 1.97 Mb | Memory After: 1.97 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT COUNT(*)
FROM phpfox_like AS l
WHERE (l.type_id = 'blog' OR l.type_id = 'blog') AND l.item_id = 65761
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using index
0.0002270 | Memory Before: 1.98 Mb | Memory After: 1.98 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "blog" AND a.item_id = 65761
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0000572 | Memory Before: 1.98 Mb | Memory After: 1.98 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "blog" AND a.item_id = 65761
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0003810 | Memory Before: 2 Mb | Memory After: 2 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT crd.total_like, crd.total_comment, u.gender, cr.relation_id,
crd.status_id, crd.relation_data_id, cr.phrase_var_name,
u.user_id, u.full_name, u.user_name,
u2.user_id AS with_user_id,
u2.full_name as with_full_name,
u2.user_name as with_user_name
FROM phpfox_custom_relation_data AS crd
     JOIN phpfox_custom_relation AS cr
            ON(cr.relation_id = crd.relation_id)
     LEFT JOIN phpfox_user AS u
            ON(u.user_id = crd.user_id)
     LEFT JOIN phpfox_user AS u2
            ON(u2.user_id = crd.with_user_id)

WHERE crd.relation_data_id = 53417
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEcrdconstPRIMARYPRIMARY4const1 
1SIMPLEcrconstPRIMARYPRIMARY4const1 
1SIMPLEuconstPRIMARY,user_idPRIMARY4const1 
1SIMPLEu2constPRIMARY,user_idPRIMARY4const unique row not found
0.0010262 | Memory Before: 2 Mb | Memory After: 2 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT cr.phrase_var_name
FROM phpfox_custom_relation AS cr
     JOIN phpfox_custom_relation_data AS crd
            ON(crd.relation_id = cr.relation_id)

WHERE crd.user_id = 8055 AND crd.relation_data_id < 53417
ORDER BY crd.relation_data_id DESC
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEcrdindex_mergePRIMARY,user_iduser_id,PRIMARY4,4 1Using intersect(user_id,PRIMARY); Using where; Using filesort
1SIMPLEcreq_refPRIMARYPRIMARY4phpfoxfb.crd.relation_id1 
0.0003409 | Memory Before: 2.04 Mb | Memory After: 2.04 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "custom-relation")

WHERE (l.type_id = 'custom_relation' OR l.type_id = 'custom-relation') AND l.item_id = 53417 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_iditem_id4const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0001860 | Memory Before: 2.04 Mb | Memory After: 2.04 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT COUNT(*)
FROM phpfox_like AS l
WHERE (l.type_id = 'custom_relation' OR l.type_id = 'custom-relation') AND l.item_id = 53417
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_iditem_id4const1Using where
0.0002179 | Memory Before: 2.04 Mb | Memory After: 2.05 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom-relation" AND a.item_id = 53417
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0000541 | Memory Before: 2.05 Mb | Memory After: 2.05 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom-relation" AND a.item_id = 53417
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0002999 | Memory Before: 2.05 Mb | Memory After: 2.06 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom" AND a.item_id = 8055
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0004001 | Memory Before: 2.06 Mb | Memory After: 2.06 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "custom")

WHERE (l.type_id = 'custom' OR l.type_id = 'custom') AND l.item_id = 8055 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0002649 | Memory Before: 2.06 Mb | Memory After: 2.06 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: No
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)

WHERE l.type_id = 'custom' AND l.item_id = 8055
GROUP BY u.user_id
ORDER BY u.full_name ASC
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0000532 | Memory Before: 2.06 Mb | Memory After: 2.06 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom" AND a.item_id = 8055
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0002210 | Memory Before: 2.08 Mb | Memory After: 2.08 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT crd.total_like, crd.total_comment, u.gender, cr.relation_id,
crd.status_id, crd.relation_data_id, cr.phrase_var_name,
u.user_id, u.full_name, u.user_name,
u2.user_id AS with_user_id,
u2.full_name as with_full_name,
u2.user_name as with_user_name
FROM phpfox_custom_relation_data AS crd
     JOIN phpfox_custom_relation AS cr
            ON(cr.relation_id = crd.relation_id)
     LEFT JOIN phpfox_user AS u
            ON(u.user_id = crd.user_id)
     LEFT JOIN phpfox_user AS u2
            ON(u2.user_id = crd.with_user_id)

WHERE crd.relation_data_id = 53416
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEcrdconstPRIMARYPRIMARY4const1 
1SIMPLEcrconstPRIMARYPRIMARY4const1 
1SIMPLEuconstPRIMARY,user_idPRIMARY4const1 
1SIMPLEu2constPRIMARY,user_idPRIMARY4const unique row not found
0.0005939 | Memory Before: 2.08 Mb | Memory After: 2.09 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT cr.phrase_var_name
FROM phpfox_custom_relation AS cr
     JOIN phpfox_custom_relation_data AS crd
            ON(crd.relation_id = cr.relation_id)

WHERE crd.user_id = 32547 AND crd.relation_data_id < 53416
ORDER BY crd.relation_data_id DESC
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEcrdindex_mergePRIMARY,user_iduser_id,PRIMARY4,4 2Using intersect(user_id,PRIMARY); Using where; Using filesort
1SIMPLEcreq_refPRIMARYPRIMARY4phpfoxfb.crd.relation_id1 
0.0003729 | Memory Before: 2.07 Mb | Memory After: 2.08 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "custom-relation")

WHERE (l.type_id = 'custom_relation' OR l.type_id = 'custom-relation') AND l.item_id = 53416 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_iditem_id4const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0001850 | Memory Before: 2.08 Mb | Memory After: 2.08 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT COUNT(*)
FROM phpfox_like AS l
WHERE (l.type_id = 'custom_relation' OR l.type_id = 'custom-relation') AND l.item_id = 53416
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_iditem_id4const1Using where
0.0002291 | Memory Before: 2.08 Mb | Memory After: 2.08 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom-relation" AND a.item_id = 53416
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0000539 | Memory Before: 2.08 Mb | Memory After: 2.08 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom-relation" AND a.item_id = 53416
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0002670 | Memory Before: 2.09 Mb | Memory After: 2.09 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom" AND a.item_id = 32547
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0003459 | Memory Before: 2.09 Mb | Memory After: 2.09 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "custom")

WHERE (l.type_id = 'custom' OR l.type_id = 'custom') AND l.item_id = 32547 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0002201 | Memory Before: 2.09 Mb | Memory After: 2.1 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: No
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)

WHERE l.type_id = 'custom' AND l.item_id = 32547
GROUP BY u.user_id
ORDER BY u.full_name ASC
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0000520 | Memory Before: 2.1 Mb | Memory After: 2.1 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom" AND a.item_id = 32547
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0001791 | Memory Before: 2.11 Mb | Memory After: 2.12 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT b.blog_id, b.title, b.time_stamp, b.total_comment, b.total_like, bt.text_parsed AS text, b.module_id, b.item_id
FROM phpfox_blog AS b
     JOIN phpfox_blog_text AS bt
            ON(bt.blog_id = b.blog_id)

WHERE b.blog_id = 65759
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEbconstPRIMARYPRIMARY4const1 
1SIMPLEbtconstPRIMARYPRIMARY4const1 
0.0003259 | Memory Before: 2.11 Mb | Memory After: 2.11 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "blog")

WHERE (l.type_id = 'blog' OR l.type_id = 'blog') AND l.item_id = 65759 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0001910 | Memory Before: 2.11 Mb | Memory After: 2.11 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT COUNT(*)
FROM phpfox_like AS l
WHERE (l.type_id = 'blog' OR l.type_id = 'blog') AND l.item_id = 65759
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using index
0.0002708 | Memory Before: 2.11 Mb | Memory After: 2.11 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "blog" AND a.item_id = 65759
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0000539 | Memory Before: 2.11 Mb | Memory After: 2.12 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "blog" AND a.item_id = 65759
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0002689 | Memory Before: 2.12 Mb | Memory After: 2.12 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom" AND a.item_id = 28499
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0003102 | Memory Before: 2.12 Mb | Memory After: 2.12 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "custom")

WHERE (l.type_id = 'custom' OR l.type_id = 'custom') AND l.item_id = 28499 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0002489 | Memory Before: 2.12 Mb | Memory After: 2.13 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: No
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)

WHERE l.type_id = 'custom' AND l.item_id = 28499
GROUP BY u.user_id
ORDER BY u.full_name ASC
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0000520 | Memory Before: 2.13 Mb | Memory After: 2.13 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom" AND a.item_id = 28499
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0002592 | Memory Before: 2.15 Mb | Memory After: 2.15 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT crd.total_like, crd.total_comment, u.gender, cr.relation_id,
crd.status_id, crd.relation_data_id, cr.phrase_var_name,
u.user_id, u.full_name, u.user_name,
u2.user_id AS with_user_id,
u2.full_name as with_full_name,
u2.user_name as with_user_name
FROM phpfox_custom_relation_data AS crd
     JOIN phpfox_custom_relation AS cr
            ON(cr.relation_id = crd.relation_id)
     LEFT JOIN phpfox_user AS u
            ON(u.user_id = crd.user_id)
     LEFT JOIN phpfox_user AS u2
            ON(u2.user_id = crd.with_user_id)

WHERE crd.relation_data_id = 53415
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEcrdconstPRIMARYPRIMARY4const1 
1SIMPLEcrconstPRIMARYPRIMARY4const1 
1SIMPLEuconstPRIMARY,user_idPRIMARY4const1 
1SIMPLEu2constPRIMARY,user_idPRIMARY4const unique row not found
0.0011909 | Memory Before: 2.15 Mb | Memory After: 2.15 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT cr.phrase_var_name
FROM phpfox_custom_relation AS cr
     JOIN phpfox_custom_relation_data AS crd
            ON(crd.relation_id = cr.relation_id)

WHERE crd.user_id = 28499 AND crd.relation_data_id < 53415
ORDER BY crd.relation_data_id DESC
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEcrdindex_mergePRIMARY,user_iduser_id,PRIMARY4,4 1Using intersect(user_id,PRIMARY); Using where; Using filesort
1SIMPLEcreq_refPRIMARYPRIMARY4phpfoxfb.crd.relation_id1 
0.0005300 | Memory Before: 2.14 Mb | Memory After: 2.14 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT l.*, u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id, a.time_stamp as action_time_stamp
FROM phpfox_like AS l
     JOIN phpfox_user AS u
            ON(u.user_id = l.user_id)
     LEFT JOIN phpfox_action AS a
            ON(a.item_id = l.item_id AND a.user_id = l.user_id AND a.item_type_id = "custom-relation")

WHERE (l.type_id = 'custom_relation' OR l.type_id = 'custom-relation') AND l.item_id = 53415 AND l.user_id != 0
GROUP BY u.user_id
ORDER BY l.time_stamp DESC
LIMIT 3
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_iditem_id4const1Using where; Using temporary; Using filesort
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1 
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.l.user_id1 
0.0003500 | Memory Before: 2.14 Mb | Memory After: 2.14 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT COUNT(*)
FROM phpfox_like AS l
WHERE (l.type_id = 'custom_relation' OR l.type_id = 'custom-relation') AND l.item_id = 53415
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_iditem_id4const1Using where
0.0002961 | Memory Before: 2.14 Mb | Memory After: 2.14 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom-relation" AND a.item_id = 53415
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0001111 | Memory Before: 2.15 Mb | Memory After: 2.15 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_action AS a
     JOIN phpfox_user AS u
            ON(u.user_id = a.user_id)

WHERE a.item_type_id = "custom-relation" AND a.item_id = 53415
GROUP BY u.user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEareftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using temporary; Using filesort
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.a.user_id1 
0.0000730 | Memory Before: 2.15 Mb | Memory After: 2.15 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT u.user_id, u.profile_page_id, u.server_id AS user_server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible, u.user_group_id, u.language_id
FROM phpfox_user AS u
WHERE user_id IN (0,0,0,0,0,0,0,0,0)
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEurangePRIMARY,user_idPRIMARY4 1Using where
Array
(
    [session] => 2c8a058eddb4cbf2b77f4acfdcd3da75
    [redirect] => /mobile/feed/
)