Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3333641
  • 博文数量: 815
  • 博客积分: 12898
  • 博客等级: 上将
  • 技术积分: 7883
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-25 09:57
文章分类

全部博文(815)

文章存档

2014年(1)

2011年(46)

2010年(192)

2009年(121)

2008年(70)

2007年(385)

分类: Mysql/postgreSQL

2010-10-14 01:13:35

mysql> desc page;
+-------------------+---------------------+------+-----+---------+----------------+
| Field             | Type                | Null | Key | Default | Extra          |
+-------------------+---------------------+------+-----+---------+----------------+
| page_id           | int(8) unsigned     | NO   | PRI | NULL    | auto_increment |
| page_namespace    | int(11)             | NO   | MUL | NULL    |                |
| page_title        | varchar(255)        | NO   |     | NULL    |                |
| page_restrictions | tinyblob            | NO   |     | NULL    |                |
| page_counter      | bigint(20) unsigned | NO   |     | 0       |                |
| page_is_redirect  | tinyint(1) unsigned | NO   |     | 0       |                |
| page_is_new       | tinyint(1) unsigned | NO   |     | 0       |                |
| page_random       | double unsigned     | NO   | MUL | NULL    |                |
| page_touched      | char(14)            | NO   |     |         |                |
| page_latest       | int(8) unsigned     | NO   |     | NULL    |                |
| page_len          | int(8) unsigned     | NO   | MUL | NULL    |                |
+-------------------+---------------------+------+-----+---------+----------------+
11 rows in set (0.18 sec)

mysql> select * from page where page_title like '一个查找引起%';
+---------+----------------+---------------------------------------+-------------------+--------------+------------------+-------------+----------------+----------------+-------------+----------+
| page_id | page_namespace | page_title                            | page_restrictions | page_counter | page_is_redirect | page_is_new | page_random    | page_touched   | page_latest | page_len |
+---------+----------------+---------------------------------------+-------------------+--------------+------------------+-------------+----------------+----------------+-------------+----------+
|    9968 |              0 | 一个查找引起latch_free的脚本          |                   |           16 |                0 |           1 | 0.909641285984 | 20090409164502 |       17533 |      726 |
+---------+----------------+---------------------------------------+-------------------+--------------+------------------+-------------+----------------+----------------+-------------+----------+
1 row in set (0.12 sec)

阅读(1039) | 评论(0) | 转发(0) |
0

上一篇:oracle 大表复制测试

下一篇:琐碎

给主人留下些什么吧!~~