0.0004570
| 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 = '378ef59ecebb3f9eb99fa0c3dd8729ae' 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.0004292
| Memory Before: 1.6 Mb
| Memory After: 1.6 Mb
| Memory Used: 824 b
| Rows: -
| Slave: No
UPDATE phpfox_log_session
SET last_activity = '1329976632', user_id = '0', location = '/group/', is_forum = '0', forum_id = '0', im_hide = '0', ip_address = '38.107.179.217', user_agent = 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)'
WHERE session_hash = '378ef59ecebb3f9eb99fa0c3dd8729ae'
| 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.0003090
| Memory Before: 1.75 Mb
| Memory After: 1.75 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.0002749
| 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.0002451
| 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.0002480
| 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.0004270
| 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.0003610
| Memory Before: 3.02 Mb
| Memory After: 3.02 Mb
| Memory Used: 496 b
| Rows: 1
| Slave: Yes
SELECT COUNT(*)
FROM phpfox_group
AS m
WHERE m.view_id IN(0,1)
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | m | range | view_id,view_id_3 | view_id | 1 | | 43 | Using where; Using index |
0.0011461
| Memory Before: 3.15 Mb
| Memory After: 3.15 Mb
| Memory Used: 336 b
| Rows: 12
| Slave: Yes
SELECT ei.member_id, m.*, u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_group
AS m
LEFT JOIN phpfox_group_invite
AS ei
ON(ei.group_id = m.group_id AND ei.invited_user_id = 0)
JOIN phpfox_user
AS u
ON(u.user_id = m.user_id)
WHERE m.view_id IN(0,1)
ORDER BY m.is_featured
DESC , m.time_stamp
DESC
LIMIT 12
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | m | range | view_id,view_id_3 | view_id | 1 | | 43 | Using where; Using filesort |
| 1 | SIMPLE | ei | ref | group_id,invited_user_id,group_id_2,group_id_3,group_id_4,group_id_5 | invited_user_id | 4 | const | 1 | |
| 1 | SIMPLE | u | eq_ref | PRIMARY | PRIMARY | 4 | phpfoxdev.m.user_id | 1 | |
0.0008531
| Memory Before: 3.27 Mb
| Memory After: 3.27 Mb
| Memory Used: 368 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 44
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004640
| Memory Before: 3.27 Mb
| Memory After: 3.28 Mb
| Memory Used: 464 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 43
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004539
| Memory Before: 3.28 Mb
| Memory After: 3.28 Mb
| Memory Used: 400 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 42
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004530
| Memory Before: 3.28 Mb
| Memory After: 3.28 Mb
| Memory Used: 448 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 41
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004461
| Memory Before: 3.28 Mb
| Memory After: 3.28 Mb
| Memory Used: 448 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 40
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004520
| Memory Before: 3.28 Mb
| Memory After: 3.29 Mb
| Memory Used: 448 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 39
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004609
| Memory Before: 3.29 Mb
| Memory After: 3.29 Mb
| Memory Used: 448 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 38
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004539
| Memory Before: 3.29 Mb
| Memory After: 3.29 Mb
| Memory Used: 400 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 37
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004530
| Memory Before: 3.29 Mb
| Memory After: 3.29 Mb
| Memory Used: 448 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 36
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004451
| Memory Before: 3.29 Mb
| Memory After: 3.3 Mb
| Memory Used: 400 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 35
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004511
| Memory Before: 3.3 Mb
| Memory After: 3.3 Mb
| Memory Used: 400 b
| Rows: 1
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 34
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,group_id | group_id | 4 | const | 1 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0004661
| Memory Before: 3.3 Mb
| Memory After: 3.3 Mb
| Memory Used: 648 b
| Rows: 2
| Slave: Yes
SELECT pc.parent_id, pc.category_id, pc.name, pc.name_url
FROM phpfox_group_category_data
AS pcd
JOIN phpfox_group_category
AS pc
ON(pc.category_id = pcd.category_id)
WHERE pcd.group_id = 33
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,group_id | group_id | 4 | const | 2 | Using temporary; Using filesort |
| 1 | SIMPLE | pc | eq_ref | PRIMARY | PRIMARY | 3 | phpfoxdev.pcd.category_id | 1 | Using where |
0.0005822
| Memory Before: 3.57 Mb
| Memory After: 3.57 Mb
| Memory Used: 728 b
| Rows: 3
| Slave: Yes
SELECT cron.*
FROM phpfox_cron
AS cron
JOIN phpfox_product
AS product
ON(product.product_id = cron.product_id AND product.is_active = 1)
JOIN phpfox_module
AS m
ON(m.module_id = cron.module_id AND m.is_active = 1)
WHERE cron.is_active = 1
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | cron | ref | is_active | is_active | 1 | const | 2 | |
| 1 | SIMPLE | product | ref | is_active,product_active,product_id | product_active | 78 | phpfoxdev.cron.product_id,const | 2 | Using index |
| 1 | SIMPLE | m | ref | is_active,module_id,module_is_active | module_is_active | 228 | phpfoxdev.cron.module_id,const | 5 | Using index |
0.0008872
| Memory Before: 5.45 Mb
| Memory After: 5.45 Mb
| Memory Used: 856 b
| Rows: 10
| Slave: No
SELECT *
FROM phpfox_group
WHERE view_id IN(0,1)
ORDER BY total_member
DESC
LIMIT 10
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | phpfox_group | range | view_id,view_id_3 | view_id | 1 | | 43 | Using where; Using filesort |