0.0111041
| 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.0094960
| Memory Before: 1.6 Mb
| Memory After: 1.6 Mb
| Memory Used: 792 b
| Rows: -
| Slave: No
UPDATE phpfox_log_session
SET last_activity = '1329977311', user_id = '0', location = '/dmczxzx/quiz/', is_forum = '0', forum_id = '0', im_hide = '0', ip_address = '38.107.179.216', 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.0003240
| 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.0002952
| 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.0002570
| 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.0002670
| 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.0005059
| 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.0012178
| Memory Before: 2.66 Mb
| Memory After: 2.66 Mb
| Memory Used: 584 b
| 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 = 'dmczxzx'
/* OO Query */
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | ur | system | item_id,item_id_2 | MISSING KEY | | | | const row not found |
| 1 | SIMPLE | u | ref | PRIMARY,user_name,user_group_id | user_name | 303 | const | 1 | Using where |
| 1 | SIMPLE | ug | ref | user_group_id | user_group_id | 1 | phpfoxdev.u.user_group_id | 2 | Using where |
| 1 | SIMPLE | user_space | eq_ref | user_id | user_id | 4 | phpfoxdev.u.user_id | 2 | |
| 1 | SIMPLE | user_activity | eq_ref | user_id | user_id | 4 | phpfoxdev.user_space.user_id | 1 | Using where |
| 1 | SIMPLE | user_field | eq_ref | user_id | user_id | 4 | phpfoxdev.user_activity.user_id | 1 | Using where |
| 1 | SIMPLE | ts | ref | style_id | style_id | 2 | phpfoxdev.user_field.designer_style_id | 1 | |
| 1 | SIMPLE | t | eq_ref | PRIMARY,theme_id | PRIMARY | 2 | phpfoxdev.ts.theme_id | 1 | |
| 1 | SIMPLE | ls | ref | user_id,user_id_2 | user_id | 5 | phpfoxdev.user_space.user_id,const | 20 | Using index |
0.0002880
| Memory Before: 2.79 Mb
| Memory After: 2.79 Mb
| Memory Used: 280 b
| Rows: 1
| Slave: Yes
SELECT COUNT(*)
FROM phpfox_user_blocked
WHERE user_id = 146 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.0003462
| Memory Before: 2.83 Mb
| Memory After: 2.83 Mb
| Memory Used: 728 b
| Rows: 0
| Slave: Yes
SELECT user_id, user_privacy, user_value
FROM phpfox_user_privacy
WHERE user_id = 146
/* 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 | 1 | |
0.0005741
| Memory Before: 3.13 Mb
| Memory After: 3.13 Mb
| Memory Used: 856 b
| Rows: 1
| Slave: Yes
SELECT COUNT(*)
FROM phpfox_quiz
AS q
JOIN phpfox_user
AS u
ON(u.user_id = q.user_id)
WHERE q.user_id = 146 AND (view_id = 0 OR (view_id = 1 AND q.user_id = 0)) AND (q.privacy = 1 OR (q.privacy != 1 && q.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.0004771
| Memory Before: 3.17 Mb
| Memory After: 3.17 Mb
| Memory Used: 536 b
| Rows: 0
| Slave: Yes
SELECT q.*, u.user_id, u.server_id, u.user_name, u.full_name, u.gender, u.user_image, u.is_invisible
FROM phpfox_quiz
AS q
JOIN phpfox_user
AS u
ON(u.user_id = q.user_id)
WHERE q.user_id = 146 AND (view_id = 0 OR (view_id = 1 AND q.user_id = 0)) AND (q.privacy = 1 OR (q.privacy != 1 && q.user_id = 0))
ORDER BY q.time_stamp
DESC
LIMIT 10
/* 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.0005579
| Memory Before: 3.33 Mb
| Memory After: 3.33 Mb
| Memory Used: 464 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 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.0003550
| Memory Before: 3.33 Mb
| Memory After: 3.33 Mb
| Memory Used: 384 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 3
/* 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.0006020
| Memory Before: 3.44 Mb
| Memory After: 3.44 Mb
| Memory Used: 480 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.0003641
| Memory Before: 3.66 Mb
| Memory After: 3.66 Mb
| Memory Used: 264 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 9
/* 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.0003538
| Memory Before: 3.66 Mb
| Memory After: 3.66 Mb
| Memory Used: 264 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 10
/* 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.0003669
| Memory Before: 3.66 Mb
| Memory After: 3.66 Mb
| Memory Used: 264 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 6
/* 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.0003641
| Memory Before: 4.01 Mb
| Memory After: 4.01 Mb
| Memory Used: 560 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 7
/* 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.0003641
| Memory Before: 5.3 Mb
| Memory After: 5.3 Mb
| Memory Used: 600 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 2
/* 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.0003600
| Memory Before: 5.31 Mb
| Memory After: 5.31 Mb
| Memory Used: 400 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 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.0003550
| Memory Before: 5.31 Mb
| Memory After: 5.31 Mb
| Memory Used: 320 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 8
/* 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.0003550
| Memory Before: 5.31 Mb
| Memory After: 5.31 Mb
| Memory Used: 320 b
| Rows: 0
| Slave: No
SELECT *
FROM phpfox_ad
WHERE is_active = 1 AND location = 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 |
Array
(
[session] => 378ef59ecebb3f9eb99fa0c3dd8729ae
[theme] => a:5:{s:8:"style_id";s:1:"1";s:15:"style_parent_id";s:1:"0";s:17:"style_folder_name";s:7:"default";s:17:"theme_folder_name";s:7:"default";s:15:"theme_parent_id";s:1:"0";}
[redirect] => /dmczxzx/quiz/
)