473,486 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MySQL - Max table size

Tom
Hi

Version of MySQL as yet undetermined but this will be running on White
Box -

Basically whats the maximum table size in GB that MySQL allows? We are
developing an application that streams content - The streams are created
by a CMS from a raw file that gets uploaded by a user - These raw files
are stored in the db by the app. In Oracle i'm used to creating mutiple
datafiles that make up a tablespace and so no singe data file ever
really gets that big. Is the same approach applicable in MySQL and if so
how big can you go?

thanks
Jul 23 '05 #1
6 11183
Tom wrote:
Basically whats the maximum table size in GB that MySQL
allows? We are developing an application that streams
content - The streams are created by a CMS from a raw
file that gets uploaded by a user - These raw files are
stored in the db by the app. In Oracle i'm used to
creating mutiple datafiles that make up a tablespace and
so no singe data file ever really gets that big. Is the
same approach applicable in MySQL and if so how big can
you go?


You are far more likely to run against system limits than MySQL quotas.
Even the obsolete MySQL v3.23 can have tables up to 64000 Gigabytes (64
Terra).

More info:
http://dev.mysql.com/doc/mysql/en/table-size.html

It has also a handy section about file size limits on various operating
systems.

--
Bart

Jul 23 '05 #2
As per my testing, for any single table up to 10GB will obviously slow down
the performance.

Testing environment :
Red Hat 7.x
Dual P-III
Single SCSI HD with about 2000 rpm
MYISAM table type
MySQL 3.x
"Bart Van der Donck" <ba**@nijlen.com> ¦b¶l¥ó
news:11**********************@g49g2000cwa.googlegr oups.com ¤¤¼¶¼g...
Tom wrote:
Basically whats the maximum table size in GB that MySQL
allows? We are developing an application that streams
content - The streams are created by a CMS from a raw
file that gets uploaded by a user - These raw files are
stored in the db by the app. In Oracle i'm used to
creating mutiple datafiles that make up a tablespace and
so no singe data file ever really gets that big. Is the
same approach applicable in MySQL and if so how big can
you go?


You are far more likely to run against system limits than MySQL quotas.
Even the obsolete MySQL v3.23 can have tables up to 64000 Gigabytes (64
Terra).

More info:
http://dev.mysql.com/doc/mysql/en/table-size.html

It has also a handy section about file size limits on various operating
systems.

--
Bart

Jul 23 '05 #3
Ray in HK wrote:
As per my testing, for any single table up to 10GB
will obviously slow down the performance.
Testing environment :
Red Hat 7.x
Dual P-III
Single SCSI HD with about 2000 rpm
MYISAM table type
MySQL 3.x


You 're right - I'ld even suggest to start thinking about "special
arrangments" in case of tables bigger than some hundreds of MB. But not
only table size affects performance: also queries, indexing methods,
table structure, OS, hardware,... So that could depend case per case.

I didn't work with 10GB tables yet, but the slowdown that you mention
doesn't surprise me :-)

I 'ld even have serious objections about tables >1GB in "default"
production environments anyhow.

--
Bart

Jul 23 '05 #4
In that particular project , finally Oracle has been chosen because it
support transparent "Disk level partitioning", which is a new feature since
Oracle 8.

I've forgotten the tech. term but sth like that.

Maybe MySQL dev team should consider this sort of features.
"Bart Van der Donck" <ba**@nijlen.com> ¦b¶l¥ó
news:11**********************@g44g2000cwa.googlegr oups.com ¤¤¼¶¼g...
Ray in HK wrote:
As per my testing, for any single table up to 10GB
will obviously slow down the performance.
Testing environment :
Red Hat 7.x
Dual P-III
Single SCSI HD with about 2000 rpm
MYISAM table type
MySQL 3.x


You 're right - I'ld even suggest to start thinking about "special
arrangments" in case of tables bigger than some hundreds of MB. But not
only table size affects performance: also queries, indexing methods,
table structure, OS, hardware,... So that could depend case per case.

I didn't work with 10GB tables yet, but the slowdown that you mention
doesn't surprise me :-)

I 'ld even have serious objections about tables >1GB in "default"
production environments anyhow.

--
Bart

Jul 23 '05 #5
Tom wrote:
Hi

Version of MySQL as yet undetermined but this will be running on White
Box -

Basically whats the maximum table size in GB that MySQL allows?


Other folks have voiced concerns about letting the tablespace file get
too large. If you use InnoDB, the default is to store all tables in one
shared tablespace file, but you have other options: you can store each
table in another single file, or you can use the shared tablespace but
tell it to split over multiple files.

See configuration options for "innodb_data_file_path" documented here:
http://dev.mysql.com/doc/mysql/en/in...iguration.html

Regards,
Bill K.
Jul 23 '05 #6
Tom
Other folks have voiced concerns about letting the tablespace file get
too large. If you use InnoDB, the default is to store all tables in one
shared tablespace file, but you have other options: you can store each
table in another single file, or you can use the shared tablespace but
tell it to split over multiple files.

See configuration options for "innodb_data_file_path" documented here:
http://dev.mysql.com/doc/mysql/en/in...iguration.html


ahh thanks - yes we'll be using InnoDB and noted the single tablespace
file and this was causing me concern - Think i'll be going the route of
multiple tablespace files so thanks for the link
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2284
by: iwasinnihon | last post by:
I don't usually like to do this, but I need help. I have gone over this code and cannot figure out why it doesn't work. First of all it doesn't check to see if you have filled in the required...
0
1475
by: jackiu | last post by:
------=_NextPart_000_0001_01C35286.10843160 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0002_01C35286.10843160" ------=_NextPart_001_0002_01C35286.10843160 Content-Type:...
0
3304
by: nm | last post by:
Is it possible to MERGE innodb tables? Can't find docs on mysql.com In replication. I guess I can update the slave if the master is not responding, right? Shall I 'stop slave' before , in case...
0
2739
by: Alcyone Oliveira | last post by:
------=_NextPart_000_000D_01C36572.F6480CE0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_000E_01C36572.F6480CE0" ------=_NextPart_001_000E_01C36572.F6480CE0 Content-Type:...
6
22506
by: Matt Liverance | last post by:
I REALLY dont want to switch to oracle :( but I cant get these tables working any faster. I've got 2 dedicated servers, each with a slave, all run 32gig 15k rpm raid 5 on u320 perc raid...
1
3357
by: jlee | last post by:
I'm pretty much a newbie on mysql, and I need some help. I am running mysql Ver 12.22 Distrib 4.0.24, for portbld-freebsd5.4 (i386) on a server hosting an active website. The site's developer...
1
2814
by: Good Man | last post by:
Hi there I've noticed some very weird things happening with my current MySQL setup on my XP Laptop, a development machine. For a while, I have been trying to get the MySQL cache to work....
1
15369
by: Ike | last post by:
Recently, I began using a different MySQL verver (i.e. different machine as well as different version#, going from 4.12a to 4.1.9 max). The following query used to work: select firstname,...
6
38448
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get...
221
366933
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
0
7100
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7330
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5434
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3070
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.