SQL Report
Page generated in 0.0495 seconds with 10 queries + 5 queries returning data from cache
Time spent on mysqli queries: 0.00228s | Time spent on PHP: 0.04719s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | nbb_config | ref | is_dynamic | is_dynamic | 1 | const | 23 | |
Before: 0.01471s | After: 0.01482s | Elapsed: 0.00011s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | s | const | PRIMARY,session_user_id | PRIMARY | 96 | const | 1 | |
| 1 | SIMPLE | u | const | PRIMARY | PRIMARY | 4 | const | 1 | |
Before: 0.03027s | After: 0.03056s | Elapsed: 0.00029s
| Query results obtained from the cache |
|---|
|
Before: 0.03163s | After: 0.03170s | Elapsed [cache]: 0.00007s | Elapsed [db]: 0.00015s
| Query results obtained from the cache |
|---|
|
Before: 0.03352s | After: 0.03357s | Elapsed [cache]: 0.00005s | Elapsed [db]: 0.00010s
| Query results obtained from the cache |
|---|
|
Before: 0.03591s | After: 0.03597s | Elapsed [cache]: 0.00006s | Elapsed [db]: 0.00012s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | g | ALL | | | | | 7 | |
| 1 | SIMPLE | t | ALL | | | | | 2 | Using where; Using join buffer (flat, BNL join) |
| 1 | SIMPLE | ug | ref | group_id,user_id | user_id | 4 | const | 1 | Using where |
Before: 0.03621s | After: 0.03639s | Elapsed: 0.00017s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | g | index | PRIMARY | group_legend_name | 770 | | 7 | Using where; Using index; Using temporary; Using filesort |
| 1 | SIMPLE | ug | ref | group_id | group_id | 3 | sunphu_newforum.g.group_id | 38 | |
| 1 | SIMPLE | u | eq_ref | PRIMARY | PRIMARY | 4 | sunphu_newforum.ug.user_id | 1 | Using where |
Before: 0.03689s | After: 0.03715s | Elapsed: 0.00026s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | ao | const | PRIMARY,auth_option | auth_option | 152 | const | 1 | Using index |
| 1 | SIMPLE | a | ref | user_id,auth_option_id,auth_role_id | auth_option_id | 3 | const | 3 | Using where |
Before: 0.03744s | After: 0.03760s | Elapsed: 0.00017s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | ao | const | PRIMARY,auth_option | auth_option | 152 | const | 1 | Using index |
| 1 | SIMPLE | r | ref | PRIMARY,ath_op_id | ath_op_id | 3 | const | 1 | |
| 1 | SIMPLE | a | ref | user_id,auth_role_id | auth_role_id | 3 | sunphu_newforum.r.role_id | 434 | Using where |
Before: 0.03785s | After: 0.03800s | Elapsed: 0.00015s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | ao | const | PRIMARY,auth_option | auth_option | 152 | const | 1 | Using index |
| 1 | SIMPLE | a | ref | group_id,auth_opt_id,auth_role_id | auth_opt_id | 3 | const | 1 | Using where |
| 1 | SIMPLE | g | eq_ref | PRIMARY | PRIMARY | 3 | sunphu_newforum.a.group_id | 1 | |
| 1 | SIMPLE | ug | ref | group_id,user_id,group_leader | group_id | 3 | sunphu_newforum.a.group_id | 38 | Using where |
Before: 0.03826s | After: 0.03839s | Elapsed: 0.00013s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | ao | const | PRIMARY,auth_option | auth_option | 152 | const | 1 | Using index |
| 1 | SIMPLE | r | ref | PRIMARY,ath_op_id | ath_op_id | 3 | const | 1 | |
| 1 | SIMPLE | g | ALL | PRIMARY | | | | 7 | Using join buffer (flat, BNL join) |
| 1 | SIMPLE | ug | ref | group_id,user_id,group_leader | group_id | 3 | sunphu_newforum.g.group_id | 38 | Using where |
| 1 | SIMPLE | a | ref | group_id,auth_role_id | auth_role_id | 3 | sunphu_newforum.r.role_id | 187 | Using where |
Before: 0.03861s | After: 0.03918s | Elapsed: 0.00057s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | nbb_forums | ALL | | | | | 129 | |
Before: 0.03940s | After: 0.03954s | Elapsed: 0.00014s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | nbb_sessions | const | PRIMARY | PRIMARY | 96 | const | 1 | |
Affected rows: 1 | Before: 0.04036s | After: 0.04065s | Elapsed: 0.00029s
| Query results obtained from the cache |
|---|
|
Before: 0.04091s | After: 0.04099s | Elapsed [cache]: 0.00008s | Elapsed [db]: 0.00018s
| Query results obtained from the cache |
|---|
|
Before: 0.04623s | After: 0.04651s | Elapsed [cache]: 0.00028s | Elapsed [db]: 0.00042s