![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a database with 80 tables (mysql on Solaris) Of these tables - there are 2 that are particular massive (one has 2,000,000 records approx) The tables themselves are of a simple structure (3 fields of INT(1) and one field of type VARCHAR(20)) Creating the dump with mysqldump is a matter of minutes ....... see command below /opt/mysql/bin/mysqldump -Q --opt -u root -pmypassword MYDATABASE "$@" | gzip> MYDATABASE.sql.gz BUT when restoring the dump can take almost 24hours (????) and it always gets stuck at these 2 above-mentioned massive tables, see restore command below gzcat /export/home/MYDATABASE.sql.gz | /opt/mysql/mysql/bin/ mysql -u root -p MYDATABASE I have tried invoking mysqldump with the '-K' flag to diable indexes, but this made no difference whatsoever I have no clean efficient solution for backing up and restoring mydatanbase and its a major concern - any help or advice greatly appreciated thanks |
#3
| |||
| |||
|
|
I have a database with 80 tables (mysql on Solaris) Of these tables - there are 2 that are particular massive (one has 2,000,000 records approx) |
|
The tables themselves are of a simple structure (3 fields of INT(1) and one field of type VARCHAR(20)) Creating the dump with mysqldump is a matter of minutes BUT when restoring the dump can take almost 24hours (????) and it always gets stuck at these 2 above-mentioned massive tables |
|
I have no clean efficient solution for backing up and restoring mydatanbase and its a major concern - any help or advice greatly appreciated |
#4
| |||
| |||
|
|
BUT when restoring the dump can take almost 24hours (????) and it always gets stuck at these 2 above-mentioned massive tables, see restore command below |
![]() |
| Thread Tools | |
| Display Modes | |
| |