Leatha Higgins

Lives in Elsing, United Kingdom · Born on October 8, 1985
Captcha Challenge
Reload Image
phpFox Developers Debug Toggle JavaScript Console
Version:
3.8.0
Product Code Name:
Nebula

Total Time:
0.0868230
PHP General Time:
0.0738217
GZIP:
enabled

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

Total Memory Usage:
3.02 Mb
Total Memory Usage (Including Debug):
3.13 Mb
Memory Limit:
0.5 b (-1)

Load Balancing Enabled:
No
Requests From:
198.13.61.26


Server Time Stamp:
October 21, 2019, 11:44 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.0001400 | Memory Before: 442.41 kb | Memory After: 443.92 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.0015161 | Memory Before: 738.01 kb | Memory After: 739.36 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 ('8ea5e16e01aff044d92842c7c95ca306', 'c56fb43d525078d2aaf85f739d93f298', '0', '1571701463', '/mobile/profile-40560/', '0', '0', '0', '34.204.171.108', 'CCBot/2.0 (https://commoncrawl.org/faq/)')
0.0001030 | Memory Before: 872.56 kb | Memory After: 874.07 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.0000501 | Memory Before: 875.9 kb | Memory After: 877.41 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 
0.0014908 | Memory Before: 1.13 Mb | Memory After: 1.13 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT p.photo_id as cover_photo_exists, u.*, user_space.*, user_field.*, user_activity.*, ls.user_id AS is_online, ts.style_id AS designer_style_id, ts.folder AS designer_style_folder, t.folder AS designer_theme_folder, t.total_column, ts.l_width, ts.c_width, ts.r_width, t.parent_id AS theme_parent_id, ug.prefix, ug.suffix, ug.icon_ext, ug.title, uf.user_id as is_featured
FROM phpfox_user AS u
     JOIN phpfox_user_group AS ug
            ON(ug.user_group_id = u.user_group_id)
     JOIN phpfox_user_space AS user_space
            ON(user_space.user_id = u.user_id)
     JOIN phpfox_user_field AS user_field
            ON(user_field.user_id = u.user_id)
     JOIN phpfox_user_activity AS user_activity
            ON(user_activity.user_id = u.user_id)
     LEFT JOIN phpfox_theme_style AS ts
            ON(ts.style_id = user_field.designer_style_id AND ts.is_active = 1)
     LEFT JOIN phpfox_theme AS t
            ON(t.theme_id = ts.theme_id)
     LEFT JOIN phpfox_user_featured AS uf
            ON(uf.user_id = u.user_id)
     LEFT JOIN phpfox_log_session AS ls
            ON(ls.user_id = u.user_id AND ls.im_hide = 0)
     LEFT JOIN phpfox_photo AS p
            ON(p.photo_id = user_field.cover_photo)

WHERE u.user_name = 'profile-40560'
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEurefPRIMARY,user_name,user_group_id,user_iduser_name103const1Using where
1SIMPLEugeq_refPRIMARY,user_group_idPRIMARY1phpfoxfb.u.user_group_id1Using where
1SIMPLEuser_fieldeq_refuser_iduser_id4phpfoxfb.u.user_id1 
1SIMPLEtseq_refstyle_id_2,style_id,is_activestyle_id_22phpfoxfb.user_field.designer_style_id1 
1SIMPLEteq_refPRIMARY,theme_idPRIMARY2phpfoxfb.ts.theme_id1 
1SIMPLEufeq_refPRIMARYPRIMARY4phpfoxfb.u.user_id1Using index
1SIMPLElsrefuser_id,user_id_2,user_id_3user_id5phpfoxfb.user_field.user_id,const50Using index
1SIMPLEpeq_refPRIMARY,photo_id,photo_id_2PRIMARY4phpfoxfb.user_field.cover_photo1Using index
1SIMPLEuser_activityeq_refuser_iduser_id4phpfoxfb.u.user_id1 
1SIMPLEuser_spaceeq_refuser_iduser_id4phpfoxfb.user_field.user_id1Using where
0.0005350 | Memory Before: 1.53 Mb | Memory After: 1.53 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT user_id, user_privacy, user_value
FROM phpfox_user_privacy
WHERE user_id = 40560
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEphpfox_user_privacyrefuser_id,user_id_2user_id4const1 
0.0001891 | Memory Before: 1.54 Mb | Memory After: 1.54 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT COUNT(*)
FROM phpfox_user_blocked
WHERE user_id = 40560 AND block_user_id = 0
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEphpfox_user_blockedrefuser_id,user_id_2user_id8const,const1Using index
0.0002959 | Memory Before: 1.88 Mb | Memory After: 1.88 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT *
FROM phpfox_user_design_order
WHERE user_id = 40560
ORDER BY ordering ASC
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEphpfox_user_design_orderrefuser_iduser_id4const1Using where; Using filesort
0.0022089 | Memory Before: 2.49 Mb | Memory After: 2.49 Mb | Memory Used: 1.51 kb | Rows: 3 | Slave: Yes
SELECT feed.*, apps.app_title, 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 (
( SELECT feed.*
FROM phpfox_feed AS feed
WHERE feed.type_id = 'friend' AND feed.user_id = 40560
/* OO Query */) UNI             ON ( SELECT feed.*
FROM phpfox_feed AS feed
WHERE feed.privacy IN(0) AND type_id = 'feed_comment' AND feed.user_id = 40560
/* OO Query */) UNI             ON ( SELECT feed.*
FROM phpfox_feed AS feed
WHERE feed.privacy IN(0) AND feed.user_id = 40560 AND feed.feed_reference = 0 AND feed.parent_user_id = 0
/* OO Query */) UNI             ON ( SELECT feed.*
FROM phpfox_feed AS feed
WHERE feed.privacy IN(0) AND feed.parent_user_id = 40560
/* OO Query */)) AS feed
     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_stamp DESC
LIMIT 10
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1PRIMARY<derived2>ALL MISSING KEY   3Using temporary; Using filesort
1PRIMARYappseq_refPRIMARY,app_idPRIMARY4feed.app_id1 
1PRIMARYueq_refPRIMARY,user_idPRIMARY4feed.user_id1 
2DERIVEDfeedreftype_id,user_idtype_id77 3Using where
3UNIONfeedrefprivacy_2,privacy_3,privacy_4,type_id,privacy,privacy_5,user_idtype_id77 2Using where
4UNIONfeedrefprivacy_2,privacy_3,privacy_4,privacy,privacy_5,user_idprivacy_39 3Using where
5UNIONfeedrefprivacy_2,privacy_3,privacy_4,privacy,privacy_5privacy_45 1 
 UNION RESULT<union2,3,4,5>ALL MISSING KEY     
0.0003860 | Memory Before: 2.59 Mb | Memory After: 2.59 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 = 65353
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEbconstPRIMARYPRIMARY4const1 
1SIMPLEbtconstPRIMARYPRIMARY4const1 
0.0000870 | Memory Before: 2.58 Mb | Memory After: 2.59 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 = 65353 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.0003409 | Memory Before: 2.59 Mb | Memory After: 2.59 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 = 65353
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_idtype_id81const,const1Using where; Using index
0.0000911 | Memory Before: 2.59 Mb | Memory After: 2.59 Mb | Memory Used: 1.52 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 = 65353
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.0000591 | Memory Before: 2.6 Mb | Memory After: 2.6 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 = 65353
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.0006049 | Memory Before: 2.62 Mb | Memory After: 2.62 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 = 53081
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEcrdconstPRIMARYPRIMARY4const1 
1SIMPLEcrconstPRIMARYPRIMARY4const1 
1SIMPLEuconstPRIMARY,user_idPRIMARY4const1 
1SIMPLEu2constPRIMARY,user_idPRIMARY4const unique row not found
0.0004561 | Memory Before: 2.62 Mb | Memory After: 2.63 Mb | Memory Used: 1.51 kb | Rows: 0 | 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 = 40560 AND crd.relation_data_id < 53081
ORDER BY crd.relation_data_id DESC
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEcrdrefPRIMARY,user_iduser_id4const1Using where
1SIMPLEcreq_refPRIMARYPRIMARY4phpfoxfb.crd.relation_id1 
0.0001800 | Memory Before: 2.63 Mb | Memory After: 2.63 Mb | Memory Used: 1.51 kb | Rows: 1 | Slave: Yes
SELECT relation_id
FROM phpfox_custom_relation_data
WHERE relation_data_id = 53081
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEphpfox_custom_relation_dataconstPRIMARYPRIMARY4const1 
0.0006540 | Memory Before: 2.65 Mb | Memory After: 2.65 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 = 53081 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.0001979 | Memory Before: 2.65 Mb | Memory After: 2.66 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 = 53081
LIMIT 1
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLElreftype_id,type_id_2,type_id_3,item_iditem_id4const1Using where
0.0002639 | Memory Before: 2.66 Mb | Memory After: 2.66 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 = 53081
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.0000601 | Memory Before: 2.66 Mb | Memory After: 2.66 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 = 53081
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.0002820 | Memory Before: 2.67 Mb | Memory After: 2.67 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 = 40560
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.0003831 | Memory Before: 2.67 Mb | Memory After: 2.67 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 = 40560 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.0003459 | Memory Before: 2.67 Mb | Memory After: 2.67 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 = 40560
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.0000582 | Memory Before: 2.67 Mb | Memory After: 2.68 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 = 40560
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.0000591 | Memory Before: 2.68 Mb | Memory After: 2.68 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)
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEurangePRIMARY,user_idPRIMARY4 1Using where
0.0008211 | Memory Before: 2.82 Mb | Memory After: 2.82 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT uf.dob_setting, friend.friend_id, friend.friend_user_id, friend.is_top_friend, friend.time_stamp, 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_friend AS friend
INNER      JOIN ( SELECT friend_user_id FROM phpfox_friend WHERE is_page = 0 AND user_id = 40560) AS sf
            ON(sf.friend_user_id = friend.friend_user_id)
     JOIN phpfox_user AS u
            ON(u.user_id = friend.friend_user_id AND u.status_id = 0 AND u.view_id = 0)
     JOIN phpfox_user_field AS uf
            ON(u.user_id = uf.user_id)

WHERE friend.is_page = 0 AND friend.user_id = 40560
GROUP BY u.user_id
ORDER BY friend.is_top_friend DESC , friend.ordering ASC, RAND()
LIMIT 6
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1PRIMARY   MISSING KEY    Impossible WHERE noticed after reading const tables
2DERIVEDphpfox_friendrefuser_check,user_id,top_friend,is_page,is_page_2user_check4 1Using where
0.0003209 | Memory Before: 2.88 Mb | Memory After: 2.89 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT count(f.user_id)
FROM phpfox_friend AS f
     JOIN phpfox_friend AS sf
            ON(sf.friend_user_id = f.friend_user_id AND sf.user_id = 40560)
     JOIN phpfox_user AS u
            ON(u.user_id = f.friend_user_id)

WHERE f.is_page = 0 AND f.user_id = 0
GROUP BY f.friend_user_id
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEfrefuser_check,user_id,top_friend,friend_user_id,is_page,is_page_2user_check4const1Using where
1SIMPLEsfeq_refuser_check,user_id,top_friend,friend_user_iduser_check8const,phpfoxfb.f.friend_user_id1Using index
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.f.friend_user_id1Using index
0.0003650 | Memory Before: 2.89 Mb | Memory After: 2.89 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_friend AS f
     JOIN phpfox_friend AS sf
            ON(sf.friend_user_id = f.friend_user_id AND sf.user_id = 40560)
     JOIN phpfox_user AS u
            ON(u.user_id = f.friend_user_id)

WHERE f.is_page = 0 AND f.user_id = 0
GROUP BY f.friend_user_id
ORDER BY f.time_stamp DESC
LIMIT 7
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEfrefuser_check,user_id,top_friend,friend_user_id,is_page,is_page_2user_check4const1Using where; Using temporary; Using filesort
1SIMPLEsfeq_refuser_check,user_id,top_friend,friend_user_iduser_check8const,phpfoxfb.f.friend_user_id1Using index
1SIMPLEueq_refPRIMARY,user_idPRIMARY4phpfoxfb.f.friend_user_id1 
0.0004561 | Memory Before: 2.93 Mb | Memory After: 2.93 Mb | Memory Used: 1.51 kb | Rows: 0 | Slave: Yes
SELECT track.time_stamp, 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_track AS track
     JOIN phpfox_user AS u
            ON(u.user_id = track.user_id AND u.profile_page_id = 0)

WHERE track.item_id = 40560 AND track.user_id != 40560
ORDER BY track.time_stamp DESC
LIMIT 7
/* OO Query */
IdSelect TypeTableTypePossible KeysKeyKey LenRefRowsExtra
1SIMPLEtrackrangeitem_iditem_id8 2Using where; Using filesort
1SIMPLEueq_refPRIMARY,page_id,user_idPRIMARY4phpfoxfb.track.user_id1Using where
Array
(
    [session] => 8ea5e16e01aff044d92842c7c95ca306
    [redirect] => /mobile/profile-40560/
)