Limit to the Number of Rows in a Table???

D

Drew Arnold

I manage a very large database, and I'm constantly
appending data rows to it. Does anyone know if there is a
limit to the number of rows a table can have?

Thanks for the help!

Drew Arnold
Research Manager
Horizon Research International
Louisville, KY
 
C

Cheryl Fischer

There is no limit to the number of rows in a table; the operative
specification is the total size of the MDB file: 1 GB for an Access 97 or
older database and 2 GB for an Access 2000 or newer database.

hth,
 
J

John Vinson

I manage a very large database, and I'm constantly
appending data rows to it. Does anyone know if there is a
limit to the number of rows a table can have?

No. There is a limit to 2 GByte in Access2000 and later, 1 GByte in
earlier versions for the entire database. You should regularly use
Tools... Database Utilities... Compact and Repair Database, both to
keep its size under control and to keep it efficient.

In practice, 10,000,000 rows is what I'd call "very large" and a
candidate for upgrading to SQL/Server, MySQL or another true
client/server database.
 
J

Jeff Boyce

Drew

On a side note (see Cheryl's and John's response re: # of rows), each row
has, I believe, a limit of 2000 characters. So while it might be
(theoretically) possible to have 100's of millions of (very small) rows, you
might create a table structure with so many characters in a single row that
you couldn't store a single row!
 
L

Louisville Larry

Jeff Boyce said:
Drew

On a side note (see Cheryl's and John's response re: # of rows), each row
has, I believe, a limit of 2000 characters. So while it might be
(theoretically) possible to have 100's of millions of (very small) rows, you
might create a table structure with so many characters in a single row that
you couldn't store a single row!

I don't think this is true.
I created a small table with eight fields of 255 characters each.
Then I filled each cell with 255 ones, replacing the last three with
"end"
If there was a 2000 character limit, then the last field of the row
would not have the word "end" in it, but it did!
Therefore, the 2000 character limit is not correct, at least not in
the current version of Access.

Unlike Excel, Access no longer has any restrictions other than your
disk space. But since you can use linked tables accessing other disks
on your network (even on other computers), even this limit is not a
hindrance. There is a 255 character limit on your text fields, but
you can then use the memo fields for over that amount. In that case,
you do lose the ability to sort the field in datasheet view, but you
can create a text field and populate it with the first few characters
of the memo field using an update query (Update mytable set
mytable.textfield = Left(mytable.memofield,255). This would allow you
to do the sorting.

BTW: I am currently using Access to store the entire state of Kentucky
voter registration database - over 2.8 million records. I am having
no problems in regards to accessing any of the records, but I am
careful regarding what fields are indexed and I avoid things in my
queries such as "LIKE" statements.

If you need someone experienced in Access in Louisville to help you,
let me know (I'm in the Louisville white pages). (I am currently a
part-time college teacher and could use the extra dough.)

Larry J. West, MCSD, MOS, FLMI, ACS
Microsoft Certified Solution Developer
Microsoft Office Specialist - Access 97 Expert
Louisville, KY
 
J

Jeff Boyce

Thanks!

I've been relying on past information. I wasn't aware the limit had been
changed or eliminated!

Jeff
 
D

Douglas J. Steele

Actually, it hasn't been eliminated, Jeff. It has, however, been changed,
and the Help file not updated to reflect this fact.

As John Viescas explains it, "the page size doubled to 4K with A2000 to
support extended character sets (double byte). If you type 'normal'
characters, Access can compress them down to a single byte and store roughly
4000 characters in a 4096 page (minus overhead for the record itself)." In
tests I ran today, I couldn't go past 3988 characters. However, Steve
Schapel reports being able to get higher than that, but not higher than the
4096 ceiling.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top