由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - MySQL row selection question
相关主题
求救,升级mysql后table not exist大批量文本的存储与查询,用什么数据库比较合适?
大虾帮忙看看MySQL的设置MySQL的InnoDB表不支持full text index 怎么办?
问一个Oralce index的问题MYSQL 的LOG SIZE怎么在不停 变大
请教一个query in mysql问个基础的理论问题----数据库的基本差异
请教一个mysql 排序问题。mysql rebuild index very slow
mysql 问题 (转载)Oracle to buy SUN? (转载)
一个SQL写法性能的请教Meet some of the MySQL geeks at SANTA CLARA
help: questions about MySqlMySQL DBA 的前途
相关话题的讨论汇总
话题: row话题: mysql话题: index话题: table话题: selection
进入Database版参与讨论
1 (共1页)
e****l
发帖数: 204
1
Can I select a specific row from the a table according to index, without cre
ating a field for index?
Say, the 1st row, the 331st row, or 52nd row.
I have a data vector with around 200,000,000 elements and want to store it i
n MySQL. The table should be as small as possible.
Thanks.
I******e
发帖数: 101
2
Create an InnoDB table with your ID as the primary key. Then, you do not
need another index. Is this what you want?
e****l
发帖数: 204
3
But I still have to create a field for the ID, right?
Or the first will natural have an id of "1"? if so, how should I call this p
roperty?

【在 I******e 的大作中提到】
: Create an InnoDB table with your ID as the primary key. Then, you do not
: need another index. Is this what you want?

I******e
发帖数: 101
4
Then, you should use auto_increment on ID, work for you?
e****l
发帖数: 204
5
Thanks. It worked.

【在 I******e 的大作中提到】
: Then, you should use auto_increment on ID, work for you?
1 (共1页)
进入Database版参与讨论
相关主题
MySQL DBA 的前途请教一个mysql 排序问题。
mysql innodb 文件转换mysql 问题 (转载)
急问一个数据库的问题一个SQL写法性能的请教
job openning-Test and Quality Engineer,MySQL Database Admin (转载)help: questions about MySql
求救,升级mysql后table not exist大批量文本的存储与查询,用什么数据库比较合适?
大虾帮忙看看MySQL的设置MySQL的InnoDB表不支持full text index 怎么办?
问一个Oralce index的问题MYSQL 的LOG SIZE怎么在不停 变大
请教一个query in mysql问个基础的理论问题----数据库的基本差异
相关话题的讨论汇总
话题: row话题: mysql话题: index话题: table话题: selection