The Arcive of vBulletin Modifications Site. |
|
Transferring a big board to new server Details »»
|
|||||||||||||||||||||||||
I did a dump of my database, in prep to transfer to a new server. The size of the .sql is exactly 3.0G, which leads me to believe maybe there's a file size limitation going on here? I tried restoring this dump on the new server, but any attempt to load a vb page leads to a hung browser (nothing, nada).
How do y'all move huge databases? Mysqlhotcopy? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
how in the world did you get a 3.0G database :shock:
Anyway, you can try mysqlhotcopy, most people use a tool that breaks the sql into smaller chunks, i cant remember the name of it, but hopefully that helps some |
|
#3
|
||||
|
||||
|
you could compress (tar.gz) your db in the actual server, and then scp it thru SSH to the new server. Finally decompress it and load it into your mysql =D
|
|
#4
|
|||
|
|||
|
i use a lil php application called bigdump (its free) for my database cuz its to big to mess with by hand anymore ..3gig db my god man u saving your attachments in your sql?
http://www.ozerov.de/bigdump.php |
|
#5
|
|||
|
|||
|
The way I dump my databases is as follows:
Code:
mysqldump --opt -u username -p dbname > dbname.sql Code:
tail -n 15 dumpfilename Code:
UNLOCK TABLES; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
#6
|
|||
|
|||
|
3GB is a huge database. Our board currently has 10k users and almost 100k posts and is under 150MB, at this rate, we'd need about 2 million users and 2 millions posts
|
|
#7
|
|||
|
|||
|
3gigs is about 4.5 million posts....not impossible, but why keep that many posts in the database?
|
|
#8
|
|||
|
|||
|
Quote:
It depends on hack installs etc. as well We have alot of custom fields etc. |
![]() |
|
|