MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 9th, 2000, 12:19 AM
raghuramb raghuramb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Chennai,TamilNadu,India
Posts: 33 raghuramb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Hi everyone

Is there any limit for tables in a database and number of fields in a table.

TA
Raghu.

Reply With Quote
  #2  
Old October 9th, 2000, 05:05 AM
Sepodati's Avatar
Sepodati Sepodati is online now
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,385 Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 72383 Folding Title: Intermediate FolderFolding Points: 72383 Folding Title: Intermediate FolderFolding Points: 72383 Folding Title: Intermediate FolderFolding Points: 72383 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 4 Weeks 19 h 40 m 36 sec
Reputation Power: 1784
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
There's a limit on total database size, 2+ gigabytes, depending on your operating system.

I don't remember reading anything about limitations on tables or fields, though.

Read through the manual...it's your best bet.

---JH

------------------
*************************************************************
* The manual can probably answer 90% of your questions...
*
* PHP Manual. www.php.net/manual
* MySQL Manual: www.mysql.com/documentation/mysql/bychapter
*************************************************************

Reply With Quote
  #3  
Old October 9th, 2000, 11:45 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 53
Actually, the default MySQL table size limit for version 3.22.x is 4 GB, but the OS/hardware in question can limit that to 2 GB. 64-bit hardware (Alpha, Sun) can take care of that problem right away.

MySQL 3.23.x Beta has support for tables up to the maximum size of a 64-bit filesystem (about 8 terabytes).

For what it's worth: PostgreSQL has an unlimited table size even on 32-bit hardware.

Reply With Quote
  #4  
Old October 11th, 2000, 04:52 AM
C C is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 4 C User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have a large 223Mb .dmp file that I'm trying to import but I'm having no luck. The symptoms are that the server is just hanging at about 20 tables and gives no error as to what is causing this "hang". I just wonder if the file is too large or if there's "specific" syntax that I'm not using. I'm using: mysql -u root -p DATABASENAME < FILENAME.dmp; Thx.

Reply With Quote
  #5  
Old October 11th, 2000, 06:45 AM
Sepodati's Avatar
Sepodati Sepodati is online now
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,385 Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 72383 Folding Title: Intermediate FolderFolding Points: 72383 Folding Title: Intermediate FolderFolding Points: 72383 Folding Title: Intermediate FolderFolding Points: 72383 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 4 Weeks 19 h 40 m 36 sec
Reputation Power: 1784
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
SIZE DOESN'T MATTER!!!

Now that I've got that out of the way, I wouldn't think there would be a restriction on the dump file size. Maybe you could divide it up into smaller parts and see if it works better. Seems like that would be a big hassle, though.

Are you sure it's really hanging and not just taking a loooooong time to execute?? How long did you give it to complete??

Try searching through the manual to see if there are any comments about dump file sizes....

---John Holmes

------------------
*************************************************************
* The manual can probably answer 90% of your questions...
*
* PHP Manual. www.php.net/manual
* MySQL Manual: www.mysql.com/documentation/mysql/bychapter
*************************************************************

Reply With Quote
  #6  
Old October 11th, 2000, 07:44 AM
C C is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 4 C User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well, I did it again...and it takes about 2hours to get done. I watch the "top" stats until MySQL drops off or goes down to .05% CPU usage. My biggest problem is that the database that was given to me needs to be imported at which time I'm trying to write scripts to massage data. Now since it didn't "seem" like it was done I tried to open it in MSWord (since it is only in text format) I got 32,000 pages through and saw an extra table that I know is supposed to be in there and so that's why I know it's not really a complete import. I tried reading about sizes and I haven't seen anything. I was thinking of dumping portions at a time but I think my only option is to dump each table or the whole thing, right? Well I REALLY appreciate you responding.

Hehe,I suck at MySQL and keep hoping every time I open it up that it acts like Oracle, but to my dismay there's actual leg work. It's free and great for what it's doing now so I'm happy with it, well I will be if I can get this thing imported correctly.

C

Reply With Quote
  #7  
Old October 11th, 2000, 07:52 AM
C C is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 4 C User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
BTW do happen to know what I could use as a reader for a .dmp file of that size? (223MB) I tried MSWord, WordPad, Notepad, and UltraEdit of which couldn't handle it. Thx again.

Ç

Reply With Quote
  #8  
Old October 12th, 2000, 01:47 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 53
UltraEdit should have no problem handling a file much bigger than that, if you just change some settings:

On the toolbar, open Advanced -> Configuration, and go to the 'General' tab. At the top right, check 'Disable line number' and/or 'Open file without Temp file'.

Before you open your text file, though, be sure you have a backup, because without a Temp file, edits will be applied instantly.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > How many tables a database can hold


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT