0.0004461
| Memory Before: 1.59 Mb
| Memory After: 1.59 Mb
| Memory Used: 368 b
| 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 = 'f3d5a875be8fdbc3758a1d3b831bc010' AND s.id_hash = 'af7937af3e4465b9039e98887dc0bc04'
/* 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 | 96 | const | 1 | Using where |
0.0004270
| Memory Before: 1.6 Mb
| Memory After: 1.6 Mb
| Memory Used: 848 b
| Rows: -
| Slave: No
UPDATE phpfox_log_session
SET last_activity = '1337698060', user_id = '0', location = '/event/category-1/', is_forum = '0', forum_id = '0', im_hide = '0', ip_address = '38.107.179.219', user_agent = 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)'
WHERE session_hash = 'f3d5a875be8fdbc3758a1d3b831bc010'
| 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 | 96 | const | 1 | Using where |
0.0003290
| Memory Before: 1.75 Mb
| Memory After: 1.76 Mb
| Memory Used: 264 b
| Rows: 3
| Slave: No
SELECT loc_id,loc_name,isbanned
FROM sc_locswitch
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | sc_locswitch | ALL | | MISSING KEY | | | 3 | |
0.0003011
| Memory Before: 1.76 Mb
| Memory After: 1.76 Mb
| Memory Used: 728 b
| Rows: 1
| Slave: No
SELECT count(*)
FROM phpfox_country
WHERE isbanned =1 and country_iso = ''
/* 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.0002670
| Memory Before: 1.76 Mb
| Memory After: 1.76 Mb
| Memory Used: 328 b
| Rows: 1
| Slave: No
SELECT count(*)
FROM sc_city_ban
WHERE isbanned =1 and city = 'Unknown'
/* 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.0002651
| Memory Before: 1.76 Mb
| Memory After: 1.76 Mb
| Memory Used: 344 b
| Rows: 1
| Slave: No
SELECT count(*)
FROM sc_zip_ban
WHERE isbanned =1 and zip = 'Unknown'
/* 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.0004420
| Memory Before: 2.18 Mb
| Memory After: 2.18 Mb
| Memory Used: 912 b
| 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 | phpfoxdev.s.theme_id | 1 | |
0.0017910
| Memory Before: 3.24 Mb
| Memory After: 3.25 Mb
| Memory Used: 440 b
| Rows: 1
| Slave: Yes
SELECT COUNT(DISTINCT m.event_id)
FROM phpfox_event
AS m
INNER JOIN phpfox_event_category_data
AS mcd
ON(mcd.event_id = m.event_id)
WHERE m.view_id = 0 AND m.privacy = 0 AND m.module_id = 'event' AND m.item_id = 0 AND m.start_time >= '1337644800' AND mcd.category_id IN(1,2,3)
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | m | range | PRIMARY,view_id_3,module_id,view_id,view_id_2 | view_id_2 | 237 | | 8 | Using where |
| 1 | SIMPLE | mcd | ref | category_id,event_id | event_id | 4 | phpfoxdev.m.event_id | 12 | Using where |
0.0021720
| Memory Before: 3.38 Mb
| Memory After: 3.38 Mb
| Memory Used: 320 b
| Rows: 12
| 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_event
AS m
INNER JOIN phpfox_event_category_data
AS mcd
ON(mcd.event_id = m.event_id)
JOIN phpfox_user
AS u
ON(u.user_id = m.user_id)
WHERE m.view_id = 0 AND m.privacy = 0 AND m.module_id = 'event' AND m.item_id = 0 AND m.start_time >= '1337644800' AND mcd.category_id IN(1,2,3)
GROUP BY m.event_id
ORDER BY m.is_featured
DESC , m.start_time ASC
LIMIT 12
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | m | range | PRIMARY,view_id_3,module_id,view_id,view_id_2 | view_id_2 | 237 | | 8 | Using where; Using temporary; Using filesort |
| 1 | SIMPLE | mcd | ref | category_id,event_id | event_id | 4 | phpfoxdev.m.event_id | 12 | Using where |
| 1 | SIMPLE | u | eq_ref | PRIMARY | PRIMARY | 4 | phpfoxdev.m.user_id | 1 | |
0.0007012
| Memory Before: 3.41 Mb
| Memory After: 3.41 Mb
| Memory Used: 272 b
| Rows: 2
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2938
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0005200
| Memory Before: 3.41 Mb
| Memory After: 3.41 Mb
| Memory Used: 272 b
| Rows: 2
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2939
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 2 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0003269
| Memory Before: 3.41 Mb
| Memory After: 3.41 Mb
| Memory Used: 384 b
| Rows: 1
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_event_category | const | PRIMARY | PRIMARY | 3 | const | 1 | |
0.0002789
| Memory Before: 3.41 Mb
| Memory After: 3.41 Mb
| Memory Used: 544 b
| Rows: 0
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_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.0005109
| Memory Before: 3.42 Mb
| Memory After: 3.42 Mb
| Memory Used: 272 b
| Rows: 2
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2940
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0003331
| Memory Before: 3.42 Mb
| Memory After: 3.42 Mb
| Memory Used: 384 b
| Rows: 1
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_event_category | const | PRIMARY | PRIMARY | 3 | const | 1 | |
0.0002770
| Memory Before: 3.42 Mb
| Memory After: 3.42 Mb
| Memory Used: 544 b
| Rows: 0
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_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.0005112
| Memory Before: 3.42 Mb
| Memory After: 3.42 Mb
| Memory Used: 272 b
| Rows: 2
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2941
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0003300
| Memory Before: 3.42 Mb
| Memory After: 3.42 Mb
| Memory Used: 384 b
| Rows: 1
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_event_category | const | PRIMARY | PRIMARY | 3 | const | 1 | |
0.0002789
| Memory Before: 3.42 Mb
| Memory After: 3.42 Mb
| Memory Used: 544 b
| Rows: 0
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_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.0005100
| Memory Before: 3.43 Mb
| Memory After: 3.43 Mb
| Memory Used: 272 b
| Rows: 2
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2942
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 2 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0003312
| Memory Before: 3.43 Mb
| Memory After: 3.43 Mb
| Memory Used: 384 b
| Rows: 1
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_event_category | const | PRIMARY | PRIMARY | 3 | const | 1 | |
0.0002830
| Memory Before: 3.43 Mb
| Memory After: 3.43 Mb
| Memory Used: 544 b
| Rows: 0
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_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.0005090
| Memory Before: 3.43 Mb
| Memory After: 3.43 Mb
| Memory Used: 272 b
| Rows: 2
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2943
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0003331
| Memory Before: 3.43 Mb
| Memory After: 3.43 Mb
| Memory Used: 384 b
| Rows: 1
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_event_category | const | PRIMARY | PRIMARY | 3 | const | 1 | |
0.0002818
| Memory Before: 3.44 Mb
| Memory After: 3.44 Mb
| Memory Used: 544 b
| Rows: 0
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_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.0005000
| Memory Before: 3.44 Mb
| Memory After: 3.44 Mb
| Memory Used: 272 b
| Rows: 2
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2944
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 2 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0003221
| Memory Before: 3.44 Mb
| Memory After: 3.44 Mb
| Memory Used: 384 b
| Rows: 1
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_id = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_event_category | const | PRIMARY | PRIMARY | 3 | const | 1 | |
0.0002751
| Memory Before: 3.44 Mb
| Memory After: 3.44 Mb
| Memory Used: 544 b
| Rows: 0
| Slave: No
SELECT category_id, name, name_url, parent_id
FROM phpfox_event_category
WHERE category_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.0004869
| Memory Before: 3.44 Mb
| Memory After: 3.45 Mb
| Memory Used: 272 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2945
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004871
| Memory Before: 3.45 Mb
| Memory After: 3.45 Mb
| Memory Used: 272 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2946
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004880
| Memory Before: 3.45 Mb
| Memory After: 3.45 Mb
| Memory Used: 272 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2947
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004759
| Memory Before: 3.46 Mb
| Memory After: 3.46 Mb
| Memory Used: 272 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2948
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004869
| Memory Before: 3.46 Mb
| Memory After: 3.46 Mb
| Memory Used: 272 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_event_category_data
AS pcd
JOIN phpfox_event_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.event_id = 2949
ORDER BY pc.parent_id ASC, pc.ordering ASC
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | pcd | ref | category_id,event_id | event_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004339
| Memory Before: 3.73 Mb
| Memory After: 3.73 Mb
| Memory Used: 240 b
| Rows: -
| Slave: No
DELETE FROM phpfox_log_session
WHERE last_activity < '1337687260'
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_log_session | range | specific_forum,general_forum,last_activity | specific_forum | 4 | | 1 | Using where |
0.0003150
| Memory Before: 3.73 Mb
| Memory After: 3.73 Mb
| Memory Used: 288 b
| Rows: -
| Slave: No
UPDATE phpfox_cron
SET next_run = '1337698120', last_run = '1337698060'
WHERE cron_id = 1
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_cron | const | PRIMARY | PRIMARY | 3 | const | 1 | |
0.0002561
| Memory Before: 3.73 Mb
| Memory After: 3.73 Mb
| Memory Used: 256 b
| Rows: -
| Slave: No
INSERT INTO phpfox_cron_log (cron_id, time_stamp) VALUES ('1', '1337698060')