Re: Copying large datasets in Windows

"Daniel da Veiga" <[email protected]> Tue, 31 Oct 2006 14:55:51 -0300
Newsgroups gmane.comp.db.mysql.windows
Message-ID <[email protected]>
On 10/31/06, Matthew Bernhardt <[email protected]> wrote:
> Hello all,
>    I have a rather large table (29 million records, MySQL Administrator
> shows a data length of 4 Gb) which I need to make a copy of for analysis
> purposes. I've tried using the Backup function in the Admin to get a
> script I can then read into a separate server, but it died about 80% of
> the way through. SQLyog's copy routine died, earlier in the process.
>    As a last resort, can I just copy the files from one server to the other
>  from Windows itself? I seem to recall from the one training session I was
> at that this is an option, but I can't remember for sure - and don't want
> to break either server by just trying it without some research.
>

Is this database MyISAM or Innodb? With MyISAM you just need to copy
the directory and change its name (of course), with Innodb, you can
use mysqldump, and then redirect the resulting file into your server.
Of course, you should ALWAYS copy your data dir, and have some kind of
backup for emergency purposes. There's also a tool (can't remember its
name) for innodb hotcopy... You can search for it.

-- 
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe:    http://lists.mysql.com/[email protected]