Advertisement
Guest User

EXPLAIN Slow SQL query in Views relationship

a guest
Aug 12th, 2014
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. +----+-------------+----------------+--------+--------------------+-----------+---------+-----------------+-------+-------------+
  2. | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
  3. +----+-------------+----------------+--------+--------------------+-----------+---------+-----------------+-------+-------------+
  4. | 1 | PRIMARY | tn | ref | PRIMARY,vid | PRIMARY | 4 | const | 5 | Using index |
  5. | 1 | PRIMARY | node | eq_ref | vid,uid | vid | 4 | joinup.tn.vid | 1 | |
  6. | 1 | PRIMARY | users | eq_ref | PRIMARY,uid_status | PRIMARY | 4 | joinup.node.uid | 1 | Using where |
  7. | 1 | PRIMARY | <derived2> | ALL | NULL | NULL | NULL | NULL | 23294 | |
  8. | 1 | PRIMARY | userpoints | ref | uid_tid | uid_tid | 4 | joinup.node.uid | 1 | |
  9. | 1 | PRIMARY | node_revisions | eq_ref | PRIMARY | PRIMARY | 4 | joinup.node.vid | 1 | |
  10. | 2 | DERIVED | n | ref | vid,node_type | node_type | 14 | | 11286 | Using where |
  11. | 2 | DERIVED | ctp | eq_ref | PRIMARY | PRIMARY | 4 | joinup.n.vid | 1 | |
  12. +----+-------------+----------------+--------+--------------------+-----------+---------+-----------------+-------+-------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement