» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2007, 04:22 AM
omagen omagen is offline
Junior Member
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
omagen is on a distinguished road
Default few queries to ask?

Hello friends,
I have got a mysql db on a Windows 2000 server that is using mysqldump to create an .sql file every 12 hours. The .sql file is about 340 mb, and there are 3 tables with > 750,000 rows in them. The mysqldump takes only a few minutes to run.

I'm setting up a 2nd copy of the database to a new catalog, so I can do some development work on a backup copy of the database. I launched mysqladmin, created the new empty catalog and a user for the catalog and went to restore.
I located my .sql file, restored into the new database and not overwrite my good one and it's been running now for 24+ hours and is only about 1/3 done.

Please tell me what am I doing wrong, and if my production db were to go down and I were to use this method to restore, are we down for 2+ days? Lastly, how to copy the raw data files to the new directory?
Thank you. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 05-11-2007, 09:03 AM
Yadira Yadira is offline
Senior Member
 
Join Date: Jul 2006
Posts: 183
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 16
Yadira is on a distinguished road
Default Re: few queries to ask?

If you can, provide your entire mysqldump command. Some of the options such as "--extended-insert" or "--disable-keys" can make the reload faster. The option "--opt" is a shortcut to enable several of the available options at once.

Using MyIsam tables, it would be possible to copy the files. Going by this route, you'll want to shutdown the database first so the tables are in a consistent state. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SCSI U320 usage queries Junior Web Hosting Industry 1 04-24-2007 08:55 AM
cisco 2960G switch queries? Rafiq Web Hosting Industry 1 03-03-2007 08:46 AM
updating queries? sizzer MySQL Forums 1 02-09-2007 06:13 AM
to see executed queries?? Skyder MySQL Forums 1 10-16-2006 04:25 AM
API limit queries per day dorfy Yahoo 3 08-26-2006 11:39 AM


All times are GMT. The time now is 08:25 PM.