0.0003002
| Memory Before: 1.76 Mb
| Memory After: 1.76 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: No
SELECT s.session_hash, s.id_hash, s.captcha_hash, s.user_id
FROM phpfox_log_session
AS s
WHERE s.session_hash = '5492336b6ff69c6eabd4ffdef1a00bfb' AND s.id_hash = 'd0b63444099757fedc3d79aa837e804c'
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | s | ref | session_hash,log_session | session_hash | 32 | const | 1 | Using where |
0.0001340
| Memory Before: 1.76 Mb
| Memory After: 1.76 Mb
| Memory Used: 1.07 kb
| Rows: -
| Slave: No
INSERT INTO phpfox_log_view (user_id, ip_address, protocal, cache_data, time_stamp) VALUES ('0', '38.107.191.84', 'GET', 'a:4:{s:8:\"location\";s:7:\"/Jared/\";s:8:\"referrer\";N;s:10:\"user_agent\";s:48:\"CCBot/1.0 (+http://www.commoncrawl.org/bot.html)\";s:7:\"request\";s:29:\"a:1:{s:2:\"do\";s:7:\"/Jared/\";}\";}', '1284027623')
0.0001628
| Memory Before: 1.76 Mb
| Memory After: 1.76 Mb
| Memory Used: 1.07 kb
| Rows: -
| Slave: No
UPDATE phpfox_log_session
SET last_activity = '1284027623', user_id = '0', location = '/Jared/', is_forum = '0', forum_id = '0', im_hide = '0', ip_address = '38.107.191.84', user_agent = 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)'
WHERE session_hash = '5492336b6ff69c6eabd4ffdef1a00bfb'
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_log_session | ref | session_hash,log_session | session_hash | 32 | const | 1 | Using where |
0.0002151
| Memory Before: 2.33 Mb
| Memory After: 2.33 Mb
| Memory Used: 1.13 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
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 */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | s | ref | is_default | is_default | 1 | const | 1 | |
| 1 | SIMPLE | t | eq_ref | PRIMARY,theme_id | PRIMARY | 2 | deathdlr_fox.s.theme_id | 1 | |
0.0000901
| Memory Before: 2.33 Mb
| Memory After: 2.34 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: No
SELECT folder
AS parent_style_folder
FROM phpfox_theme_style
WHERE style_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_theme_style | ref | style_id | style_id | 2 | const | 1 | |
0.0004020
| Memory Before: 2.34 Mb
| Memory After: 2.34 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: No
SELECT folder
AS parent_theme_folder
FROM phpfox_theme
WHERE theme_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_theme | const | PRIMARY,theme_id | PRIMARY | 2 | const | 1 | |
0.0010190
| Memory Before: 2.76 Mb
| Memory After: 2.76 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT ur.rate_id
AS has_rated, 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.parent_id
AS theme_parent_id, ug.prefix, ug.suffix, ug.icon_ext, ug.title
FROM phpfox_user
AS u
LEFT JOIN phpfox_user_rating
AS ur
ON(ur.item_id = u.user_id AND ur.user_id = 0)
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)
LEFT JOIN phpfox_theme
AS t
ON(t.theme_id = ts.theme_id)
LEFT JOIN phpfox_log_session
AS ls
ON(ls.user_id = u.user_id AND ls.im_hide = 0)
WHERE u.user_name = 'Jared'
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | u | ref | PRIMARY,user_name,user_group_id | user_name | 103 | const | 1 | Using where |
| 1 | SIMPLE | ur | ALL | item_id,item_id_2 | MISSING KEY | | | 1 | |
| 1 | SIMPLE | user_space | eq_ref | user_id | user_id | 4 | deathdlr_fox.u.user_id | 1 | |
| 1 | SIMPLE | user_field | eq_ref | user_id | user_id | 4 | deathdlr_fox.u.user_id | 1 | |
| 1 | SIMPLE | ts | ref | style_id | style_id | 2 | deathdlr_fox.user_field.designer_style_id | 1 | |
| 1 | SIMPLE | ug | ref | user_group_id | user_group_id | 1 | deathdlr_fox.u.user_group_id | 2 | Using where |
| 1 | SIMPLE | t | eq_ref | PRIMARY,theme_id | PRIMARY | 2 | deathdlr_fox.ts.theme_id | 1 | |
| 1 | SIMPLE | ls | ref | user_id,user_id_2 | user_id | 5 | deathdlr_fox.user_space.user_id,const | 13 | Using index |
| 1 | SIMPLE | user_activity | eq_ref | user_id | user_id | 4 | deathdlr_fox.user_space.user_id | 1 | Using where |
0.0001070
| Memory Before: 2.92 Mb
| Memory After: 2.92 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT COUNT(*)
FROM phpfox_user_blocked
WHERE user_id = 1 AND block_user_id = 0
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | | | | MISSING KEY | | | | Impossible WHERE noticed after reading const tables |
0.0001421
| Memory Before: 2.97 Mb
| Memory After: 2.97 Mb
| Memory Used: 1.12 kb
| Rows: 3
| Slave: Yes
SELECT user_id, user_privacy, user_value
FROM phpfox_user_privacy
WHERE user_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_user_privacy | ref | user_id,user_id_2 | user_id | 4 | const | 4 | |
0.0002511
| Memory Before: 3.21 Mb
| Memory After: 3.21 Mb
| Memory Used: 1.12 kb
| Rows: 17
| Slave: Yes
SELECT cache_id, block_id, ordering, is_hidden
FROM phpfox_user_design_order
WHERE user_id = 1
ORDER BY ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_user_design_order | ref | user_id | user_id | 4 | const | 17 | Using where; Using filesort |
0.0001040
| Memory Before: 3.45 Mb
| Memory After: 3.45 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT count_view
FROM phpfox_ad
WHERE ad_id = 9
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_ad | const | PRIMARY | PRIMARY | 4 | const | 1 | |
0.0001109
| Memory Before: 3.45 Mb
| Memory After: 3.46 Mb
| Memory Used: 1.07 kb
| Rows: -
| Slave: No
UPDATE phpfox_ad
SET count_view = '74063'
WHERE ad_id = 9
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_ad | const | PRIMARY | PRIMARY | 4 | const | 1 | |
0.0000789
| Memory Before: 3.47 Mb
| Memory After: 3.47 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT count_view
FROM phpfox_ad
WHERE ad_id = 12
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_ad | const | PRIMARY | PRIMARY | 4 | const | 1 | |
0.0000770
| Memory Before: 3.47 Mb
| Memory After: 3.47 Mb
| Memory Used: 1.07 kb
| Rows: -
| Slave: No
UPDATE phpfox_ad
SET count_view = '33309'
WHERE ad_id = 12
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_ad | const | PRIMARY | PRIMARY | 4 | const | 1 | |
0.0001359
| Memory Before: 3.89 Mb
| Memory After: 3.89 Mb
| Memory Used: 1.13 kb
| Rows: 1
| Slave: Yes
SELECT count_view
FROM phpfox_ad
WHERE ad_id = 10
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_ad | const | PRIMARY | PRIMARY | 4 | const | 1 | |
0.0000920
| Memory Before: 3.89 Mb
| Memory After: 3.89 Mb
| Memory Used: 1.07 kb
| Rows: -
| Slave: No
UPDATE phpfox_ad
SET count_view = '115965'
WHERE ad_id = 10
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_ad | const | PRIMARY | PRIMARY | 4 | const | 1 | |
0.0002742
| Memory Before: 4.65 Mb
| Memory After: 4.65 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT *
FROM phpfox_user_custom
WHERE user_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_user_custom | const | user_id | user_id | 4 | const | 1 | |
0.0001669
| Memory Before: 4.99 Mb
| Memory After: 4.99 Mb
| Memory Used: 1.12 kb
| Rows: 0
| Slave: Yes
SELECT mg.genre_id, mg.name, mg.name_url, mgu.order_id
FROM phpfox_music_genre_user
AS mgu
JOIN phpfox_music_genre
AS mg
ON(mg.genre_id = mgu.genre_id)
WHERE mgu.user_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | | | | MISSING KEY | | | | Impossible WHERE noticed after reading const tables |
0.0003860
| Memory Before: 5.04 Mb
| Memory After: 5.04 Mb
| Memory Used: 1.12 kb
| Rows: 0
| Slave: Yes
SELECT ms.song_id, ms.is_sponsor, ms.user_id, ms.album_id, ms.title, ms.title_url, ms.song_path, ms.is_featured, ms.view_id, ms.server_id, ms.explicit, ms.duration, ms.time_stamp, ma.name_url
AS album_url, u.user_name, mp.play_id
AS is_on_profile, mp.user_id
AS profile_user_id, u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_music_song
AS ms
JOIN phpfox_user
AS u
ON(u.user_id = ms.user_id)
LEFT JOIN phpfox_music_album
AS ma
ON(ma.album_id = ms.album_id)
LEFT JOIN phpfox_music_profile
AS mp
ON(mp.song_id = ms.song_id AND mp.user_id = 0)
WHERE ms.view_id = 0 AND ms.user_id = 1
ORDER BY ms.ordering ASC, ms.time_stamp
DESC
LIMIT 10
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | ma | system | PRIMARY | MISSING KEY | | | | const row not found |
| 1 | SIMPLE | u | const | PRIMARY | PRIMARY | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | ms | ref | view_id,view_id_2,view_id_4,view_id_3,view_id_5,view_id_6,user_id | view_id_2 | 5 | const,const | 1 | |
| 1 | SIMPLE | mp | ALL | song_id | MISSING KEY | | | 1 | |
0.0001910
| Memory Before: 5.06 Mb
| Memory After: 5.06 Mb
| Memory Used: 1.12 kb
| Rows: 0
| Slave: Yes
SELECT ms.song_id, ms.user_id, ms.album_id, ms.title, ms.title_url, ms.song_path, ms.is_featured, ms.view_id, ms.server_id, ms.explicit, ms.duration, ms.time_stamp, ma.name_url
AS album_url, u.user_name, mp.play_id
AS is_on_profile, mp.user_id
AS profile_user_id, u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_music_profile
AS mp
JOIN phpfox_music_song
AS ms
ON(ms.song_id = mp.song_id)
JOIN phpfox_user
AS u
ON(u.user_id = ms.user_id)
LEFT JOIN phpfox_music_album
AS ma
ON(ma.album_id = ms.album_id)
WHERE mp.user_id = 1
ORDER BY ms.time_stamp
DESC
LIMIT 0
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | | | | MISSING KEY | | | | Impossible WHERE |
0.0000880
| Memory Before: 5.08 Mb
| Memory After: 5.08 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT var_name, user_value
FROM phpfox_component_setting
WHERE user_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_component_setting | system | user_id,user_id_2 | MISSING KEY | | | 1 | |
0.0015020
| Memory Before: 5.2 Mb
| Memory After: 5.2 Mb
| Memory Used: 1.12 kb
| Rows: 6
| Slave: Yes
SELECT friend.friend_id, friend.is_top_friend, friend.time_stamp, u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_friend
AS friend
JOIN phpfox_user
AS u
ON(u.user_id = friend.friend_user_id)
WHERE friend.user_id = 1
GROUP BY u.user_id
ORDER BY friend.is_top_friend
DESC , friend.ordering ASC, RAND()
LIMIT 6
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | friend | ref | user_id,user_check,top_friend,friend_user_id | top_friend | 4 | const | 98 | Using temporary; Using filesort |
| 1 | SIMPLE | u | eq_ref | PRIMARY | PRIMARY | 4 | deathdlr_fox.friend.friend_user_id | 1 | |
0.0011151
| Memory Before: 5.37 Mb
| Memory After: 5.37 Mb
| Memory Used: 1.12 kb
| Rows: 6
| Slave: Yes
SELECT u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_user_track
AS track
JOIN phpfox_user
AS u
ON(u.user_id = track.user_id)
WHERE track.item_id = 1 AND track.user_id != 1
ORDER BY track.time_stamp
DESC
LIMIT 6
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | track | ref | item_id | item_id | 4 | const | 7 | Using where; Using filesort |
| 1 | SIMPLE | u | eq_ref | PRIMARY | PRIMARY | 4 | deathdlr_fox.track.user_id | 1 | |
0.0001540
| Memory Before: 5.48 Mb
| Memory After: 5.48 Mb
| Memory Used: 1.13 kb
| Rows: 0
| Slave: Yes
SELECT m.title, m.title_url, m.short_description, m.currency_id, m.price, m.time_stamp, m.image_path, m.server_id
FROM phpfox_marketplace
AS m
WHERE m.view_id = 0 AND m.group_id = 0 AND m.user_id = 1
ORDER BY m.time_stamp
DESC
LIMIT 5
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | | | | MISSING KEY | | | | Impossible WHERE noticed after reading const tables |
0.0002739
| Memory Before: 5.61 Mb
| Memory After: 5.61 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT m.event_id, m.title, m.title_url, m.tag_line, m.image_path, m.server_id, m.start_time, m.location, m.country_iso, m.city, m.module_id, m.item_id
FROM phpfox_event
AS m
JOIN phpfox_event_invite
AS ei
ON(ei.event_id = m.event_id AND ei.rsvp_id = 1 AND ei.invited_user_id = 1)
WHERE m.view_id = 0 AND m.start_time >= '1283990400'
ORDER BY m.start_time ASC
LIMIT 5
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | m | range | PRIMARY,view_id_3,view_id_2 | view_id_3 | 5 | | 1 | Using where |
| 1 | SIMPLE | ei | ref | event_id,event_id_2,invited_user_id,event_id_3 | event_id_3 | 9 | deathdlr_fox.m.event_id,const,const | 3 | Using index |
0.0001678
| Memory Before: 5.74 Mb
| Memory After: 5.75 Mb
| Memory Used: 1.12 kb
| Rows: 0
| Slave: Yes
SELECT m.title, m.title_url, m.short_description, m.time_stamp, m.image_path, m.server_id, m.total_member
FROM phpfox_group
AS m
JOIN phpfox_group_invite
AS ei
ON(ei.group_id = m.group_id AND ei.member_id = 1 AND ei.invited_user_id = 1)
WHERE m.view_id IN(0,1)
ORDER BY m.time_stamp
DESC
LIMIT 5
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | | | | MISSING KEY | | | | Impossible WHERE noticed after reading const tables |
0.0005162
| Memory Before: 5.76 Mb
| Memory After: 5.76 Mb
| Memory Used: 1.13 kb
| Rows: 0
| Slave: Yes
SELECT SQL_CALC_FOUND_ROWS u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_friend
AS f
INNER JOIN (
SELECT friend_user_id
FROM phpfox_friend
WHERE user_id = 1)
AS sf
ON(sf.friend_user_id = f.friend_user_id)
JOIN phpfox_user
AS u
ON(u.user_id = f.friend_user_id)
WHERE f.user_id = 0
GROUP BY f.friend_user_id
ORDER BY f.time_stamp
DESC
LIMIT 3
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | PRIMARY | f | ref | user_id,user_check,top_friend,friend_user_id | user_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | PRIMARY | | ALL | | MISSING KEY | | | 124 | Using where |
| 1 | PRIMARY | u | eq_ref | PRIMARY | PRIMARY | 4 | sf.friend_user_id | 1 | Using where |
| 2 | DERIVED | phpfox_friend | ref | user_id,user_check,top_friend | top_friend | 4 | | 98 | |
0.0000520
| Memory Before: 5.76 Mb
| Memory After: 5.77 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: No
SELECT FOUND_ROWS()
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | | | | MISSING KEY | | | | No tables used |
0.0001950
| Memory Before: 5.92 Mb
| Memory After: 5.92 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT COUNT(*)
FROM phpfox_feed
AS feed
WHERE feed.view_id = 0 AND feed.user_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | feed | ref | user_id,view_id,view_id_2 | view_id_2 | 5 | const,const | 39 | Using index |
0.0006652
| Memory Before: 5.92 Mb
| Memory After: 5.92 Mb
| Memory Used: 1.12 kb
| Rows: 10
| Slave: Yes
SELECT feed.*, fl.feed_id
AS is_liked, u1.user_id
AS owner_user_id, u1.server_id
AS owner_server_id, u1.user_name
AS owner_user_name, u1.full_name
AS owner_full_name, u1.gender
AS owner_gender, u1.user_image
AS owner_user_image, u1.is_invisible
AS owner_is_invisible, u2.user_id
AS viewer_user_id, u2.server_id
AS viewer_server_id, u2.user_name
AS viewer_user_name, u2.full_name
AS viewer_full_name, u2.gender
AS viewer_gender, u2.user_image
AS viewer_user_image, u2.is_invisible
AS viewer_is_invisible
FROM phpfox_feed
AS feed
JOIN phpfox_user
AS u1
ON(u1.user_id = feed.user_id)
LEFT JOIN phpfox_user
AS u2
ON(u2.user_id = feed.item_user_id)
LEFT JOIN phpfox_feed_like
AS fl
ON(fl.feed_id = feed.feed_id AND fl.user_id = 0)
WHERE feed.view_id = 0 AND feed.user_id = 1
ORDER BY feed.time_stamp
DESC
LIMIT 10
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | fl | system | feed_id,feed_id_2 | MISSING KEY | | | | const row not found |
| 1 | SIMPLE | u1 | const | PRIMARY | PRIMARY | 4 | const | 1 | Using filesort |
| 1 | SIMPLE | feed | ref | user_id,view_id,view_id_2 | user_id | 4 | const | 37 | Using where |
| 1 | SIMPLE | u2 | eq_ref | PRIMARY | PRIMARY | 4 | deathdlr_fox.feed.item_user_id | 1 | |
0.0001168
| Memory Before: 5.95 Mb
| Memory After: 5.95 Mb
| Memory Used: 1.12 kb
| Rows: 0
| Slave: Yes
SELECT fl.feed_id, u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_feed_like
AS fl
JOIN phpfox_user
AS u
ON(u.user_id = fl.user_id)
WHERE fl.feed_id IN(481,478,454,375,356,354,331,328,327,231)
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | | | | MISSING KEY | | | | Impossible WHERE noticed after reading const tables |
0.0004079
| Memory Before: 7.09 Mb
| Memory After: 7.09 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT COUNT(*)
FROM phpfox_comment
AS cmt
WHERE cmt.type_id = 'feed' AND cmt.item_id IN(481,478,454,375,356,354,331,328,327,231) AND cmt.view_id = 0
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | cmt | range | type_id,view_id | type_id | 82 | | 10 | Using where; Using index |
0.0002511
| Memory Before: 7.33 Mb
| Memory After: 7.33 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT COUNT(*)
FROM phpfox_video
AS m
WHERE m.in_process = 0 AND m.view_id = 0 AND m.user_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | m | ref | in_process,in_process_2,in_process_3,in_process_4,in_process_5,view_id_2,view_id_3,user_id,view_id_4 | in_process_3 | 6 | const,const,const | 6 | Using index |
0.0004120
| Memory Before: 7.33 Mb
| Memory After: 7.34 Mb
| Memory Used: 1.12 kb
| Rows: 6
| Slave: Yes
SELECT m.*, u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_video
AS m
JOIN phpfox_user
AS u
ON(u.user_id = m.user_id)
WHERE m.in_process = 0 AND m.view_id = 0 AND m.user_id = 1
ORDER BY m.is_featured
DESC , m.time_stamp
DESC
LIMIT 6
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | u | const | PRIMARY | PRIMARY | 4 | const | 1 | Using filesort |
| 1 | SIMPLE | m | ref | in_process,in_process_2,in_process_3,in_process_4,in_process_5,view_id_2,view_id_3,user_id,view_id_4 | view_id_4 | 5 | const,const | 6 | Using where |
0.0001321
| Memory Before: 7.43 Mb
| Memory After: 7.43 Mb
| Memory Used: 1.12 kb
| Rows: 0
| Slave: Yes
SELECT ma.name, ma.name_url, ma.year, ma.image_path, ma.server_id, ma.total_track, ma.total_play, ma.time_stamp
FROM phpfox_music_album
AS ma
WHERE ma.view_id = 0 AND ma.user_id = 1
ORDER BY ma.time_stamp
DESC
LIMIT 4
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | | | | MISSING KEY | | | | Impossible WHERE noticed after reading const tables |
0.0004539
| Memory Before: 7.59 Mb
| Memory After: 7.59 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT p.destination, p.server_id, p.title_url, p.title, p.mature, p.album_id, pa.name
AS album_name, pa.name_url
AS album_url, u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_photo
AS p
JOIN phpfox_user
AS u
ON(u.user_id = p.user_id)
LEFT JOIN phpfox_photo_album
AS pa
ON(pa.album_id = p.album_id)
WHERE p.view_id = 0 AND p.group_id = 0 AND p.privacy = 0 AND p.user_id = 1
ORDER BY p.time_stamp
DESC
LIMIT 3
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | u | const | PRIMARY | PRIMARY | 4 | const | 1 | Using filesort |
| 1 | SIMPLE | p | ref | view_id,view_id_2,view_id_3,view_id_4,view_id_5,user_id | view_id_5 | 10 | const,const,const,const | 1 | Using where |
| 1 | SIMPLE | pa | eq_ref | PRIMARY,album_id | PRIMARY | 4 | deathdlr_fox.p.album_id | 1 | |
0.0003810
| Memory Before: 7.89 Mb
| Memory After: 7.89 Mb
| Memory Used: 1.13 kb
| Rows: 2
| Slave: Yes
SELECT cmt.*, comment_text.text_parsed
AS text, u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_comment
AS cmt
LEFT JOIN phpfox_comment_text
AS comment_text
ON(comment_text.comment_id = cmt.comment_id)
LEFT JOIN phpfox_user
AS u
ON(u.user_id = cmt.user_id)
WHERE cmt.type_id = 'profile' AND cmt.item_id = 1 AND cmt.view_id = 0
ORDER BY cmt.time_stamp
DESC
LIMIT 10
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | cmt | ref | type_id,view_id | type_id | 82 | const,const,const | 2 | Using where; Using filesort |
| 1 | SIMPLE | comment_text | ref | comment_id | comment_id | 4 | deathdlr_fox.cmt.comment_id | 3 | |
| 1 | SIMPLE | u | eq_ref | PRIMARY | PRIMARY | 4 | deathdlr_fox.cmt.user_id | 1 | |
0.0001459
| Memory Before: 7.87 Mb
| Memory After: 7.87 Mb
| Memory Used: 1.12 kb
| Rows: 1
| Slave: Yes
SELECT count_view
FROM phpfox_ad
WHERE ad_id = 11
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_ad | const | PRIMARY | PRIMARY | 4 | const | 1 | |
0.0001061
| Memory Before: 7.87 Mb
| Memory After: 7.87 Mb
| Memory Used: 1.07 kb
| Rows: -
| Slave: No
UPDATE phpfox_ad
SET count_view = '115651'
WHERE ad_id = 11
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_ad | const | PRIMARY | PRIMARY | 4 | const | 1 | |