Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. mysql> show indexes from tree;
  2. +-------+------------+------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
  3. | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
  4. +-------+------------+------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
  5. | tree | 0 | PRIMARY | 1 | child | A | 133 | NULL | NULL | | BTREE | | |
  6. | tree | 0 | PRIMARY | 2 | parent | A | 133 | NULL | NULL | | BTREE | | |
  7. | tree | 0 | PRIMARY | 3 | relation_type | A | 133 | NULL | NULL | | BTREE | | |
  8. | tree | 1 | idx_tree | 1 | child | A | 133 | NULL | NULL | | BTREE | | |
  9. | tree | 1 | idx_tree | 2 | parent | A | 133 | NULL | NULL | | BTREE | | |
  10. | tree | 1 | idx_tree | 3 | relation_type | A | 133 | NULL | NULL | | BTREE | | |
  11. | tree | 1 | idx_tree_1 | 1 | parent | A | 66 | NULL | NULL | | BTREE | | |
  12. | tree | 1 | idx_tree_2 | 1 | child | A | 133 | NULL | NULL | | BTREE | | |
  13. | tree | 1 | idx_tree_3 | 1 | relation_type | A | 14 | NULL | NULL | | BTREE | | |
  14. | tree | 1 | idx_tree_4 | 1 | parent | A | 66 | NULL | NULL | | BTREE | | |
  15. | tree | 1 | idx_tree_4 | 2 | child | A | 133 | NULL | NULL | | BTREE | | |
  16. | tree | 1 | idx_tree_4 | 3 | relation_type | A | 133 | NULL | NULL | | BTREE | | |
  17. | tree | 1 | idx_tree_5 | 1 | parent | A | 66 | NULL | NULL | | BTREE | | |
  18. | tree | 1 | idx_tree_5 | 2 | relation_type | A | 66 | NULL | NULL | | BTREE | | |
  19. | tree | 1 | idx_tree_6 | 1 | child | A | 133 | NULL | NULL | | BTREE | | |
  20. | tree | 1 | idx_tree_6 | 2 | relation_type | A | 133 | NULL | NULL | | BTREE | | |
  21. | tree | 1 | parent | 1 | parent | A | 66 | NULL | NULL | | BTREE | | |
  22. | tree | 1 | child | 1 | child | A | 133 | NULL | NULL | | BTREE | | |
  23. +-------+------------+------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
  24. 18 rows in set (0.00 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement