SQL Report
Page generated in 1.8825 seconds with 10 queries + 5 queries returning data from cache
Time spent on mysqli queries: 0.30595s | Time spent on PHP: 1.57651s
| 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.57376s | After: 0.59087s | Elapsed: 0.01712s
| 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: 1.17349s | After: 1.17681s | Elapsed: 0.00332s
| Query results obtained from the cache |
|---|
|
Before: 1.19744s | After: 1.19758s | Elapsed [cache]: 0.00013s | Elapsed [db]: 0.07687s
| Query results obtained from the cache |
|---|
|
Before: 1.29668s | After: 1.29681s | Elapsed [cache]: 0.00013s | Elapsed [db]: 0.02267s
| Query results obtained from the cache |
|---|
|
Before: 1.31787s | After: 1.31800s | Elapsed [cache]: 0.00013s | Elapsed [db]: 0.01084s
| 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: 1.36834s | After: 1.38028s | Elapsed: 0.01194s
| 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 | 39 | |
| 1 | SIMPLE | u | eq_ref | PRIMARY | PRIMARY | 4 | sunphu_newforum.ug.user_id | 1 | Using where |
Before: 1.39247s | After: 1.46301s | Elapsed: 0.07055s
| 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: 1.47064s | After: 1.48400s | Elapsed: 0.01336s
| 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: 1.48641s | After: 1.57417s | Elapsed: 0.08776s
| 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 | 39 | Using where |
Before: 1.57849s | After: 1.58939s | Elapsed: 0.01091s
| 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 | 39 | Using where |
| 1 | SIMPLE | a | ref | group_id,auth_role_id | auth_role_id | 3 | sunphu_newforum.r.role_id | 187 | Using where |
Before: 1.59350s | After: 1.59605s | Elapsed: 0.00255s
| Id | Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|
| 1 | SIMPLE | nbb_forums | ALL | | | | | 129 | |
Before: 1.66324s | After: 1.67937s | Elapsed: 0.01613s
| 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: 1.69073s | After: 1.76305s | Elapsed: 0.07232s
| Query results obtained from the cache |
|---|
|
Before: 1.78214s | After: 1.78227s | Elapsed [cache]: 0.00013s | Elapsed [db]: 0.00730s
| Query results obtained from the cache |
|---|
|
Before: 1.87333s | After: 1.87380s | Elapsed [cache]: 0.00047s | Elapsed [db]: 0.09326s