简体   繁体   English

将用户的arraylist存储到mysql中

[英]Storing arraylist of User's into mysql

I want to store arraylist of User object.It's size is about 50,000, means 50,000 users. 我想存储User对象的arraylist,它的大小约为50,000,意味着50,000个用户。 So will it be possible to store into mysql.? 因此可以存储到mysql中吗? upto how much limit i can store data into mysql.? 最多可以将数据存储到mysql的限制?

Mysql Scalability and Limits Mysql可伸缩性和限制

Support for large databases. 支持大型数据库。 We use MySQL Server with databases that contain 50 million records. 我们将MySQL Server与包含5000万条记录的数据库一起使用。 We also know of users who use MySQL Server with 200,000 tables and about 5,000,000,000 rows. 我们也知道使用MySQL Server的用户有200,000个表和大约5,000,000,000行。

Support for up to 64 indexes per table (32 before MySQL 4.1.2). 每个表最多支持64个索引(MySQL 4.1.2之前为32个)。 Each index may consist of 1 to 16 columns or parts of columns. 每个索引可以包含1到16列或部分列。 The maximum index width is 767 bytes for InnoDB tables, or 1000 for MyISAM; 对于InnoDB表,最大索引宽度为767字节,对于MyISAM,最大索引宽度为1000; before MySQL 4.1.2, the limit is 500 bytes. 在MySQL 4.1.2之前,限制为500个字节。 An index may use a prefix of a column for CHAR, VARCHAR, BLOB, or TEXT column types. 索引可以将列的前缀用于CHAR,VARCHAR,BLOB或TEXT列类型。

Also check these links- 还要检查这些链接-

http://dev.mysql.com/doc/refman/5.7/en/features.html http://dev.mysql.com/doc/refman/5.7/en/features.html

http://www.heidisql.com/forum.php?t=672 http://www.heidisql.com/forum.php?t=672

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM