Forum Moderators: coopster

Message Too Old, No Replies

MySQL number of rows in a column

         

flairview

3:10 am on Dec 23, 2004 (gmt 0)

10+ Year Member



Hi,

I have small problem with mysql, i have a large database and one table suppose to have 70 000 rows unfortunately it fits only 65535, i can't add more its seems to be a limit. Is this a hosting setting or is this just a MySQL (or any database) limit?

Thanks,

fv

slade7

3:35 am on Dec 23, 2004 (gmt 0)

10+ Year Member



Hmm - that happens to be the maximum number of rows that will fit into an Excel spreadsheet.

rlkanter

7:20 am on Dec 23, 2004 (gmt 0)

10+ Year Member



Is the index on table an unsigned smallint by chance?

I can't think of a setting that has to be changed to raise the number of entries in a table above that number.

I have a few tables that have 100k+ entries.

bakedjake

7:35 am on Dec 23, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I'm staring at a mySQL table with 3.2 million rows in front of me.

Sure you're not seeing an Excel problem? I'm inclined to agree with the second poster.

coopster

2:49 pm on Dec 23, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, flairview.

The folks here have already given you a couple things to look into (and answer). bakedjake is correct, that amount of rows is nothing for MySQL to handle, but perhaps you have built yourself into some form of limitation inadvertently as suggested by rlkanter.

For the record...


MySQL Server was originally designed to work with medium size databases (10-100 million rows, or about 100MB per table) on small computer systems. Today MySQL Server handles terabyte-size databases, but the code can also be compiled in a reduced version suitable for hand-held and embedded devices. The compact design of the MySQL server makes development in both directions possible without any conflicts in the source tree.

Resource:
[dev.mysql.com...]

flairview

4:42 am on Dec 24, 2004 (gmt 0)

10+ Year Member



Thanks guys, yep the index is an UNSIGNED smallint.

fv