由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - mysql maximum columns <=1000?
相关主题
请教个数据管理的问题Oracle table 备份问题
请教一个问题我的DBA在生成ORACLE table的时候需要一个一个column看
analyze 在oracle里怎么用?问一个转行到数据库方面的事,急求大家建议!
请教一个mysql 排序问题。Oracle,table有上千个column
In MySQL, 如何在procedure里create trigger?谢谢了?求救,咋样架起来自己的database?
新手求助: 学那个DATABASE软件好呢?database project请教
Basic oracle questions.很弱的Oracle问题
zz: Oracle推出免费数据库产品带娃大妈读个州大database certificate如何? (转载)
相关话题的讨论汇总
话题: columns话题: database话题: table话题: 1000话题: matrix
进入Database版参与讨论
1 (共1页)
l**b
发帖数: 11
1
Is there any way to create a table with more than 1000 columns?!!
aw
发帖数: 127
2
WHY DO YOU NEED SUCH A TABLE?
难以想象。

【在 l**b 的大作中提到】
: Is there any way to create a table with more than 1000 columns?!!
l**b
发帖数: 11
3
e.g., a 20000x2000 matrix, which is very common for data mining.

【在 aw 的大作中提到】
: WHY DO YOU NEED SUCH A TABLE?
: 难以想象。

aw
发帖数: 127
4
恕俺无知,你SURE你的一个RECORD有1000个ATTRIBUTES?ORACLE也就是1000的LIMIT,稍
微具体点讲讲你的DESIGN?

【在 l**b 的大作中提到】
: e.g., a 20000x2000 matrix, which is very common for data mining.
l**b
发帖数: 11
5
We know that the common web server log file is just a flat text file.
suppose we have 2000 web pages in a web site. If a row records all pages
visited by a certain user (he may visit some of 2000 pages), and if 20000
users have been identified, how to load such records (in text file it would be
a 20000x2000 matrix, cell value is how many seconds the user spent on the
page.) into database?



【在 aw 的大作中提到】
: 恕俺无知,你SURE你的一个RECORD有1000个ATTRIBUTES?ORACLE也就是1000的LIMIT,稍
: 微具体点讲讲你的DESIGN?

s***e
发帖数: 284
6
table 1: web page (page_id, ...
table 2: user ( user_id, ...
table 3: access record ( user_id, page_id, access_time )

【在 l**b 的大作中提到】
: We know that the common web server log file is just a flat text file.
: suppose we have 2000 web pages in a web site. If a row records all pages
: visited by a certain user (he may visit some of 2000 pages), and if 20000
: users have been identified, how to load such records (in text file it would be
: a 20000x2000 matrix, cell value is how many seconds the user spent on the
: page.) into database?
:
: 稍

aw
发帖数: 127
7
lieb,你该回去复习DATABASE基本概念了,没有冒犯的意思。

would be
恕俺无知,你SURE你的一个RECORD有1000个ATTRIBUTES?ORACLE也就是1000的LIMIT,

【在 s***e 的大作中提到】
: table 1: web page (page_id, ...
: table 2: user ( user_id, ...
: table 3: access record ( user_id, page_id, access_time )

l**b
发帖数: 11
8
Thanks, shuke. you are definitely right from the database design perspective.
Then, for table 3 we would have 40,000,000(much fewer if the original matrix
is a sparse matrix.) rows while having only 3 columns.
The only concern is that for separating into more tables, more aggregation
code (join query) need to be written when geting data back to do some
matrix-oriented computation.
Not sure which way is faster, the database tables or a single 20000x2000
matrix-looking text file, in terms of gett

【在 s***e 的大作中提到】
: table 1: web page (page_id, ...
: table 2: user ( user_id, ...
: table 3: access record ( user_id, page_id, access_time )

l**b
发帖数: 11
9
flush) good reminder, not using database for such a long time...
too much text mining...

20000
the

【在 aw 的大作中提到】
: lieb,你该回去复习DATABASE基本概念了,没有冒犯的意思。
:
: would be
: 恕俺无知,你SURE你的一个RECORD有1000个ATTRIBUTES?ORACLE也就是1000的LIMIT,

b*e
发帖数: 3845
10
exactly.

【在 aw 的大作中提到】
: lieb,你该回去复习DATABASE基本概念了,没有冒犯的意思。
:
: would be
: 恕俺无知,你SURE你的一个RECORD有1000个ATTRIBUTES?ORACLE也就是1000的LIMIT,

s***e
发帖数: 284
11
If you import data into a database, you'd better stick on database for
further computation as much as possible. For example, creating indexes
on user_id or page_id in table 3 could improve your join query performance
a lot. If you can't utilize the advantage of database, just forget it.

【在 l**b 的大作中提到】
: Thanks, shuke. you are definitely right from the database design perspective.
: Then, for table 3 we would have 40,000,000(much fewer if the original matrix
: is a sparse matrix.) rows while having only 3 columns.
: The only concern is that for separating into more tables, more aggregation
: code (join query) need to be written when geting data back to do some
: matrix-oriented computation.
: Not sure which way is faster, the database tables or a single 20000x2000
: matrix-looking text file, in terms of gett

1 (共1页)
进入Database版参与讨论
相关主题
带娃大妈读个州大database certificate如何? (转载)In MySQL, 如何在procedure里create trigger?谢谢了?
mysql database 时间问题 (转载)新手求助: 学那个DATABASE软件好呢?
SQL fast search in a 10 million records table (转载)Basic oracle questions.
Asking help for Access!:(zz: Oracle推出免费数据库产品
请教个数据管理的问题Oracle table 备份问题
请教一个问题我的DBA在生成ORACLE table的时候需要一个一个column看
analyze 在oracle里怎么用?问一个转行到数据库方面的事,急求大家建议!
请教一个mysql 排序问题。Oracle,table有上千个column
相关话题的讨论汇总
话题: columns话题: database话题: table话题: 1000话题: matrix